Binary operations · Lesson 1 of 1

Binary operations

Working out a binary operation, testing whether it is associative, completing and reading its table, and finding the identity element and inverses on the real numbers.

20 minYou should already know: Binary operations
  1. 1

This lesson builds on binary operations.

Working out an operation

A binary operation ∗* combines two numbers by a rule. Put the first number in for the first letter and the second for the second:

a * b = 2a + b
5 * 3 = 2(5) + 3 = 13
Following the rulea * b: the first number replaces a, the second replaces b

Order usually matters: a∗ba * b need not equal b∗ab * a.

Worked example · WAEC 2022

WAEC 2022 · Paper 2 · Q1

A binary operation ∗* is defined on the set T={−2,−1,1,2}T = \{-2, -1, 1, 2\} by p∗q=p2+2pq−q2p * q = p^2 + 2pq - q^2, where p,q∈Tp, q \in T.

Copy and complete the table.

∗* −2-2 −1-1 11 22
−2-2 77 −8-8
−1-1 22 −2-2
11 −7-7 11
22 −1-1

Using the table in (a), find the value of pp such that (−2∗p)∗2=−7(-2 * p) * 2 = -7.

  1. Some entries

    • (−2)∗(−2)=4+8−4=8{(-2) * (-2) = 4 + 8 - 4 = 8} and (−2)∗1=4−4−1=−1{(-2) * 1 = 4 - 4 - 1 = -1}.
    • (−1)∗(−2)=1+4−4=1{(-1) * (-2) = 1 + 4 - 4 = 1} and (−1)∗2=1−4−4=−7{(-1) * 2 = 1 - 4 - 4 = -7}.
    • 2∗1=4+4−1=7{2 * 1 = 4 + 4 - 1 = 7} and 2∗2=4+8−4=8{2 * 2 = 4 + 8 - 4 = 8}; the rest follow the same way.

    Think first. p is the row heading, q the column heading.

  2. Solve with the table

    • In the column under 2, −7{-7} is in the row of −1{-1}: so x=−1{x = -1}.
    • In the row of −2{-2}, −1{-1} is under 1{1}: so −2∗p=−1{-2 * p = -1} gives p=1{p = 1}.

    Think first. Let x = −2 * p. Which x gives x * 2 = −7?

More: working out an operation

Is it associative

An operation is associative if moving the brackets never changes the answer, for every aa, bb and cc:

(a∗b)∗c=a∗(b∗c)(a * b) * c = a * (b * c)
abca * b(a * b) * c=abcb * ca * (b * c)
Two ways to bracketLeft: a * b first, then with c. Right: b * c first, then a with it. Associative means they always agree
  • In (a∗b)∗c(a * b) * c, the answer to a∗ba * b is the first number of the second step.
  • In a∗(b∗c)a * (b * c), the answer to b∗cb * c is the second number.
  • To show it is associative, expand both sides with letters and show they are the same expression.
  • To show it is not, one set of numbers that gives two different answers is enough.

Worked example

A binary operation is defined on the real numbers by a∗b=a+b+3aba * b = a + b + 3ab. Show that ∗* is associative.
  1. Brackets on the left

    • Rule with a∗ba * b first: (a∗b)+c+3(a∗b)c{(a * b) + c + 3(a * b)c}.
    • Replace a∗ba * b: (a+b+3ab)+c+3c(a+b+3ab){(a + b + 3ab) + c + 3c(a + b + 3ab)}.
    • Expand: a+b+c+3ab+3ac+3bc+9abc{a + b + c + 3ab + 3ac + 3bc + 9abc}.

    Think first. a * b is now the first number. Put it in for a in the rule.

  2. Brackets on the right

    • Rule with b∗cb * c second: a+(b∗c)+3a(b∗c){a + (b * c) + 3a(b * c)}.
    • Replace b∗cb * c: a+(b+c+3bc)+3a(b+c+3bc){a + (b + c + 3bc) + 3a(b + c + 3bc)}.
    • Expand: a+b+c+3ab+3ac+3bc+9abc{a + b + c + 3ab + 3ac + 3bc + 9abc}.

    Think first. b * c is now the second number. Put it in for b in the rule.

  3. Compare

    • The two expansions match term by term.
    • So (a∗b)∗c=a∗(b∗c)(a * b) * c = a * (b * c) for all real aa, bb, cc: ∗* is associative.

    Think first. Are the two expressions the same for every a, b and c?

More: is it associative

The identity element

The identity ee leaves every number unchanged: a∗e=aa * e = a (and e∗a=ae * a = a). Solve a∗e=aa * e = a for ee; the answer must not depend on aa.

⊗1234
11234
22413
33142
44321
The identity in a tableIts row and column repeat the headings

Worked example · WAEC 2016

WAEC 2016 · Paper 2 · Q1

A binary operation ∗* is defined on the set R\mathbb R of real numbers by m∗n=m+n+2m * n = m + n + 2. Find the:

identity element under the operation ∗*;

inverse of nn under the operation ∗*.

  1. The identity

    • m+e+2=m{m + e + 2 = m}, so e=−2{e = -2}.

    Think first. Solve m * e = m.

  2. The inverse

    • n+n−1+2=−2{n + n^{-1} + 2 = -2}.
    • So n−1=−4−n{n^{-1} = -4 - n}.

    Think first. n * n⁻¹ must give the identity, −2.

More: the identity element

Inverses

The inverse of aa is the number a−1a^{-1} with a∗a−1=ea * a^{-1} = e. Solve for a−1a^{-1}; some values of aa may have no inverse.

Identity and inversePick an operation, set its constant and a
−3identity e−8inverse of 2
a * b = a + b + 3. Identity: a + e + 3 = a, so e = −3. Inverse: a + a⁻¹ + 3 = −3, so a⁻¹ = −a − 6. For a = 2: a⁻¹ = −8. Check: 2 * (−8) = −3 = e ✓.

Worked example · WAEC 2022

WAEC 2022 · Paper 2 · Q1

A binary operation Δ\Delta is defined on the set of real numbers, R\mathbb R, by p Δ q=pq+p+qp\,\Delta\,q = pq + p + q for p,q∈Rp, q \in \mathbb R.

Find the: (i) identity element; (ii) inverse element.

Given that m Δ 8=35m\,\Delta\,8 = 35, find the value of mm.

  1. The identity

    • pe+p+e=p{pe + p + e = p}, so e(p+1)=0{e(p + 1) = 0} for every pp: e=0{e = 0}.
  2. The inverse

    • pp−1+p+p−1=0{pp^{-1} + p + p^{-1} = 0}, so p−1(p+1)=−p{p^{-1}(p + 1) = -p}.
    • p−1=−pp+1{p^{-1} = -\frac{p}{p + 1}}, for p≠−1{p \ne -1}.

    Think first. p Δ p⁻¹ = 0.

  3. Solve m Δ 8 = 35

    • 8m+m+8=35{8m + m + 8 = 35}, so 9m=27{9m = 27} and m=3{m = 3}.

More: binary operations

Your turn

WAEC 2019 · Paper 2 · Q3 (a)

  1. (a)

    A binary operation ∗* is defined on the set of real numbers, R\mathbb R, by x∗y=x+y−3xyx * y = x + y - 3xy, where x,y∈Rx, y \in \mathbb R. Find the identity element in R\mathbb R under the operation ∗*.

Worked solution (try it first)

(a)

  1. The identity ee satisfies x∗e=xx * e = x: x+e−3xe=xx + e - 3xe = x.
  2. Take xx from both sides: e−3xe=0e - 3xe = 0, so e(1−3x)=0e(1 - 3x) = 0.
  3. This must hold for every xx, so e=0e = 0.
  4. Check: x∗0=x+0−0=xx * 0 = x + 0 - 0 = x ✓.

Report a problem with this question