Binary Operations
Senior 4 · Mathematics
Binary Operations
Lesson 2 of 4
25 min
To add nobody asks where the brackets go: . Yet in the last lesson the operation gave but . Ordinary arithmetic also has a number that changes nothing () and, for each number, a partner that undoes it (). This lesson turns those three everyday facts into properties that any binary operation may or may not have, and adds a fourth that links two operations: distributivity.
Definition
Associative operation: a binary operation on is associative if
Then can be written without brackets. Examples: , , , and composition of functions are associative; subtraction is not, since but .
Worked example 1: proving associativity
Show that is associative on .
Solution Expand both sides for arbitrary real .
The two expressions are identical, so is associative.
Definition
Identity (neutral) element: an element such that
Inverse (symmetric) element: if has identity , an element is an inverse of when
Examples: for on the identity is 0 and the inverse of is . For on the identity is 1 and the inverse of is . For on the subsets of , the identity is ; for it is itself.
Important
Theorem 1. A binary operation has at most one identity element.
Proof. Suppose and are both identities. Then (because is an identity) and (because is an identity). So .
Theorem 2. If is associative with identity , an element has at most one inverse.
Proof. Let and both be inverses of . Then . (Notice where associativity is used.)
Worked example 2: finding the identity and the inverses
For on , find the identity element and the inverse of each element that has one.
Solution Identity: we need for every : , so for all . That forces . Since is commutative, too. So .
Inverse: we need : , so and
The element has no inverse: for every , never 0. Check with : , and . ✓
Worked example 3: identity and inverses on
On , . Find the identity, the inverse of a general element, and the inverse of 4.
Solution gives , so (and is commutative). Then gives , so , which is an integer for every . The inverse of 4 is . Check: . ✓
Warning
An identity must work on both sides, for every element. For on , for all , so 0 is a right identity. But when , so 0 is not an identity, and no other number works either. Without an identity, the word "inverse" has no meaning.
Definition
Distributive operation: let and be binary operations on . The operation is distributive over if, for all ,
If is commutative, the first equality is enough. Example: on , is distributive over : . But is not distributive over : , while .
For subsets of a set , intersection distributes over union, and union distributes over intersection:
In the diagram, the shaded region is the part of that lies in or in . Read it as " and ( or )" and as "( and ) or ( and )": both describe the same region.
Worked example 4: testing distributivity
On , define and . (a) Is distributive over ? (b) Is distributive over ?
Solution (a) Both operations are commutative, so one side is enough.
They are equal for all integers, so is distributive over .
(b) Try : , but . One counterexample: is not distributive over .
Tip
A checklist for any new operation: closed? commutative? associative? identity? inverses? Find the identity first, by solving for and checking that the answer does not depend on ; only then solve for the inverse.
Understanding Mathematics Academy: Binary operations, finding the identity and inverse elements. Watch for the two equations: a * e = a gives the identity, then a * a′ = e gives the inverse.
Practice
Show your working; give a counterexample for every "no".
Key points
Sources and credits
Quick check
On ℤ, a ∘ b = a + b + 1. What is the identity element?