Loading…
Binary operations give sets algebraic structure; monoids describe composition, groups add reversibility, and homomorphisms preserve these laws.
Set theory lets us compare sets by functions, relations, and cardinalities. But many mathematical objects are not interesting merely because of which elements they contain. They are interesting because the set carries extra structure.
For example, from the point of view of bare cardinality, the set {5, dog} and
the set both have two elements. But also supports familiar
operations such as addition and multiplication modulo , while 5 + dog is
not meaningful unless extra structure has been specified.
Many mathematical objects can be read as sets with additional data: natural numbers with addition and multiplication, the plane with vector addition, and permutations with composition.
The common pattern is:
This is one of the central habits of modern mathematics. Instead of proving the same fact separately for many examples, define a structure once and prove what all examples of that structure must satisfy.
Definition 7.1.1
(Binary operation)
Let be a set. A binary operation on is a function
For , we usually write instead of .
There are two important parts to this definition.
First, the operation takes two inputs from . Second, the output must again belong to . That second requirement is often called closure, although in this course it is already built into the function type .
Common mistake
(A formula is not automatically a binary operation on every set)
Subtraction is a binary operation on , because whenever . But subtraction is not a binary operation on if is required to stay closed under the operation, because is not a natural number.
Define
On this set, addition is given by
and multiplication is given by
Definition 7.1.2
(Boolean integers)
The Boolean integers are the triple
where and , are the two binary operations displayed above.
Even a two-element set can carry different operations, whose laws must be examined separately.
Worked example 7.1.3
(Solving in )
Every can be paired with an element whose sum with is zero:
Check the two possible values of .
If , choose , since .
If , choose , since .
Thus every element of has an additive inverse with respect to this addition rule.
The familiar examples are:
If and , their composition again maps to . Hence composition defines a binary operation
Worked example 7.1.4
(Composition as a binary operation)
Let with . Define by , and let exchange the two elements: and . Then
Both composites belong to , but they are different functions. Composition is closed on without being commutative. The elements being combined are functions, not elements of .
Function composition has two properties independent of the choice of : regrouping a sequence of compositions leaves the result unchanged, and composing with leaves a function unchanged. A monoid abstracts these two laws, so that the same arguments apply to addition, multiplication, and composition.
Definition 7.1.5
(Monoid)
A monoid is a set together with a binary operation
such that:
for all ,
(associativity);
there exists such that for all ,
(existence of an identity element).
Associativity tells us that parentheses do not matter when multiplying three elements in a row. The identity element tells us that there is an element that does nothing when combined on either side.
The standard examples are:
Worked example 7.1.6
(Checking that is a monoid)
The operation is a binary operation on .
Associativity holds:
for all natural numbers .
The identity is , because
Therefore is a monoid.
Worked example 7.1.7
(Checking the composition monoid)
Let be any set. The elements of are functions .
Composition is associative:
The identity function satisfies
Therefore under composition is a monoid.
Worked example 7.1.8
( is not a monoid)
If denotes the positive integers, then addition is closed and associative. But there is no identity element inside .
The additive identity would have to be , because . But . So is not a monoid.
Worked example 7.1.9
( is not a monoid)
Subtraction is a binary operation on , but it is not associative. For example,
while
Since these are not equal, associativity fails. Therefore is not a monoid.
Common mistake
(Having an identity is not enough)
An operation can have a plausible identity and still fail to be a monoid if it is not associative. Associativity and identity are separate requirements.
Theorem 7.1.10
(Uniqueness of identity)
A monoid has exactly one identity element.
Suppose and are both identity elements. Since is an identity,
Since is an identity,
Therefore
so the identity element is unique.
The proof is short because the identity law works on both sides. Each identity must leave the other one unchanged, forcing them to be equal.
A monoid allows operations to be composed, but does not require them to be reversible. In the two-element example above, . No function can satisfy : that equation would require the single value to equal both and . By contrast, the exchange satisfies and undoes itself.
Restricting to bijections removes this obstruction. A composite of bijections is a bijection, is a bijection, and every bijection has an inverse from to itself. These reversible operations form the model for a group. Symmetries provide geometric examples: they can be composed, include the identity symmetry, and can be reversed. The group axioms express these laws without requiring the elements to be functions.
Definition 7.1.11
(Group)
A group is a set equipped with an element and a binary operation
such that:
for all ,
for all ,
for every , there exists an inverse element satisfying
Under this standard reading, every group is a monoid after forgetting the inverse axiom. What makes a group stronger is not a different identity or a different associativity law, but the existence of inverses.
Common mistake
(A group is not just any set with a binary operation)
The operation must be associative, there must be a two-sided identity, and every element must have an inverse. If any one of these fails, the structure is not a group.
The basic examples are:
Worked example 7.1.12
(Why is a group)
The identity element is .
For every integer , the inverse is , since
Addition is associative, so is a group.
Worked example 7.1.13
(Why is a group)
The identity element is .
For every positive rational , the inverse is , which is again a positive rational. Then
Multiplication is associative, so is a group.
Common mistake
( is a monoid but not a group)
The identity for multiplication on is , and multiplication is associative. But most integers do not have multiplicative inverses in . For example, there is no integer such that .
Theorem 7.1.14
(Uniqueness of inverses)
For each , the inverse is unique.
Suppose and are both inverses of . Then
and
Using the identity and associativity,
So .
The proof shows why inverse notation is legitimate. If an inverse exists, there is only one such element, so writing is unambiguous.
The inverse-of-a-product rule is often called the socks-shoes property: to undo two operations, undo the second one first.
Theorem 7.1.15
(Socks-shoes property)
For elements in a group,
Compute:
The product in the opposite order is also the identity:
Thus is a two-sided inverse of . Uniqueness of inverses proves the formula.
The order reversal is essential. In a non-commutative group, need not undo .
Theorem 7.1.16
(Cancellation laws)
In a group:
Assume
Multiply on the left by :
By associativity,
Since , this becomes
and hence .
The proof of right cancellation is analogous, multiplying on the right by .
The group axioms require a two-sided inverse. For functions, a left inverse gives injectivity and a right inverse gives surjectivity; both are needed for a genuine inverse function. In an arbitrary monoid, one-sided inverses need not automatically coincide, so the side on which an equation is multiplied must be recorded.
Theorem 7.1.17
(Two opposite-sided equations identify the inverse)
If in a monoid, then ; no separate two-sided-inverse assumption is needed because the displayed equations already provide the needed sides. The proof is . In a group every element therefore has one well-defined inverse, and both left and right cancellation follow by multiplying on the corresponding side.
Theorem 7.1.18
(Right inverses everywhere force a group)
Let be a monoid. If every has a right inverse, choose with and . Then
so . Thus each right inverse is also a left inverse, and is a group. The opposite-sided identity is derived from associativity.
Worked example 7.1.19
(The group is noncommutative)
is the set of real matrices with nonzero determinant, under matrix multiplication. Let
Both determinants equal , so both matrices lie in . But
which are different. Thus associativity does not imply commutativity. The identity is the identity matrix, and each matrix has its usual inverse, so the group axioms still hold.
Common mistake
(Boolean multiplication is not a group)
The Boolean multiplication monoid has identity , but has no inverse: for both possible , never . Therefore is not a group.
A bijection compares the sizes of two sets, but can ignore their operations. To compare groups, a map must respect multiplication: multiplying first and then applying the map must give the same result as mapping each factor first and multiplying in the target group. This requirement allows algebraic calculations to pass from one group to another.
Definition 7.1.20
(Group homomorphism)
For groups and , a function is a homomorphism if
for all . It preserves the operation, but it need not be injective or surjective.
Theorem 7.1.21
(Homomorphisms preserve identity and inverses)
If is a homomorphism, then and .
Since , multiply by the inverse of in to obtain . Also, , and the same calculation in the opposite order gives the other side. Uniqueness of inverses in proves the claim.
If a homomorphism is also bijective, no elements are identified or omitted. It gives a reversible relabelling that preserves every product, so the two groups have the same algebraic structure.
Definition 7.1.22
(Isomorphism)
An isomorphism is a bijective group homomorphism. If one exists, write ; the groups have the same operation structure after relabelling.
For a finite set , the symmetric group consists of the bijections under composition. These are precisely the reversible self-maps considered above. For , write . Cycle notation sends each displayed element to the next, sends to , and fixes the elements not displayed.
The elements of are the identity and the transposition , with . Write for the group with Boolean addition defined above. Its addition table and the composition table of have the same pattern: exchanging for and for preserves the operation.
Worked example 7.1.23
(The composition table for )
Define by and . The table shows . It is bijective, hence .
For permutations, a change of labels also changes the formula for an operation. If maps the old labels to the new ones, the operation is represented in the new labels by : undo the relabelling, apply , and restore the new labels. This expression makes sense in any group, with its multiplication in place of composition.
For a group and elements , define if there exists such that . This is conjugacy. Reflexivity follows from . If , then , proving symmetry. If also , then , proving transitivity. Thus conjugacy is an equivalence relation on . Its equivalence classes, called conjugacy classes, partition the group.
For the group of symmetries of a square, conjugacy permits only changes of labels that are themselves square symmetries. The conjugacy classes distinguish reflections in diagonals from reflections in lines through opposite edge midpoints, even though both reverse the orientation of the square.
Label the square's vertices by , , , and . Let be the quarter-turn and let be reflection in the diagonal . We compose permutations rightmost first. The eight symmetries are
The action on makes the geometric description explicit:
| symmetry | image tuple |
|---|---|
Here , , and the geometric reflection relation is . These relations describe every product after moving a power of to the left and using .
Worked example 7.1.24
(Conjugacy classes in )
Conjugating a rotation by sends to , so and form one class. The element is fixed by both rotations and reflections, so it forms its own class. Conjugating reflections by powers of gives two families, according to parity of the exponent:
For example, and , while conjugation by reverses the rotation exponent. Conjugation by each generator and preserves each displayed set. Since every group element is a product of these generators, no conjugation can move an element into a different displayed set. The calculations above also connect the two members of each two-element set. Thus these sets are exactly the conjugacy classes.
There is an inclusion obtained by letting a permutation of fix : and . Composition is unchanged, so is a homomorphism. It is injective but not surjective: a permutation that moves is not in its image. Preserving the operation therefore does not require covering the target group.
For the reverse direction, put and in . Direct composition gives and . The six distinct permutations are : the last three are respectively . Thus each element has a unique form with and . From ,
where powers of are reduced modulo three and powers of modulo two. Define in . The formula shows that the exponent of adds modulo two, exactly as the exponent of does. Hence . This is the parity homomorphism; the elements mapped to the identity are precisely , often denoted . This homomorphism is surjective because and , but it is not injective because have the same image. The two examples show separately why neither injectivity nor surjectivity is part of the definition.
The checker tests closure, associativity, identity, and inverse laws for small operation tables. Compare Boolean addition with Boolean multiplication to see which axiom distinguishes a group from a monoid.

Figure. Monoids and groups both require associativity and an identity. A group also requires every element to have an inverse.
Check monoid and group laws
Pick a structure and check the three laws in order. A monoid needs the first two; a group needs all three.
Operation:
Holds: (Z,+) is a group
This is a group. All three laws hold.
NoticeOn an infinite set a law needs an argument for every element: computing a few products cannot prove it, but one counterexample disproves it. Only B is small enough to check every case.
Quick check
(What must be true for a rule to be a binary operation on a set ?)
State the input and output requirement.
It must be a function . Thus it takes two elements of as input and returns an element of .
Quick check
(Why is not a monoid?)
Name the failed axiom and give a concrete calculation.
Subtraction is not associative. For instance,
but
Since the two results differ, is not a monoid.
Quick check
(Why is not a group?)
Focus on inverses.
Although multiplication on is associative and has identity , not every integer has a multiplicative inverse in . For example, no integer satisfies .
Quick check
(What is the inverse of in a group?)
Pay attention to the order.
The inverse is
The order reverses.
Show directly that is a monoid using the Boolean addition rule above.
Check associativity and identify the identity.
The identity is , since , , , and therefore for both .
Associativity can be checked by the finite cases . Boolean addition is addition modulo , so both and record the parity of the number of s among . Hence they agree.
A binary operation on has a left identity and a right identity . Prove that and that this common element is a two-sided identity. Is associativity needed?
Evaluate using each identity property separately.
Because is a left identity, . Because is a right identity, . Hence . The common element inherits both identity properties. Associativity is not used: the argument evaluates one product, without regrouping.
Let be an element of a monoid with a left inverse , so . Prove that implies . Explain why a right inverse is not needed.
Multiply both sides on the left by , keeping the order fixed.
From , left multiplication by and associativity give . Since , this reduces to , hence . Only the equation is used; no equation for is needed.
2.2 Functions and relations supplies composition, inverse functions, and the partition theorem for equivalence classes used in conjugacy. The quantifiers in the algebraic axioms use the language of 1.3 Quantifiers and negation.
3.4 Rationals and well-defined operations gives another example of specifying an operation on mathematical objects and checking that it is well-defined. Order relations provide a different kind of extra structure, illustrated in 6.3 Intervals, Cantor set, density, and well-ordering; those results are a comparison, not a prerequisite for the group proofs here.
Work out your answer, then check it. You can revise and try again.
Loading…