Integers Mod n Under Addition
under addition mod is a group of order : the identity is , and the inverse of is (taking to its own inverse ).
A clock face is in disguise: the hour hand wraps from straight back to because the hours are added mod , not as ordinary integers. Closure and associativity cost nothing new, since addition mod inherits them from ordinary addition; the only axiom worth a sentence is inverses, because itself is rarely one of , but its remainder always is, and . Addition is commutative no matter what, so is abelian for every single — a uniformity the next section loses the moment addition is swapped for multiplication.
Build the addition table for : row , column holds . For instance row , column holds . The table is symmetric across the main diagonal, the Cayley-table signature of an abelian group; every row is also the row above it shifted one step, since adding slides every entry forward and wraps the overflow back to the front.
Solve for . Add the inverse of to both sides: the inverse of in is , so . Check: . Unlike solving (which needs to be a unit, the subject of the next section), an additive equation like this one is always solvable, because every element of has an additive inverse.
List every multiple of inside : , , , — the list repeats after steps, giving the set . This set is closed under addition (, , ) and contains and every inverse, so it is a subgroup of — the cyclic subgroup generated by , of order (more on subgroups in Topic 3).
A natural but wrong guess is that the identity of is , carried over from thinking of as "the" identity number. Test it: in , , so fails to be an identity the moment it is added to anything but itself. The identity of an additive group is always : for every , with no exception.
Find the additive inverse of in .
Show the answerHide the answer
The inverse of in is , so the inverse of in is . Check: .
Units Mod n: the Group U(n)
under multiplication mod is a group of order (Euler's totient), the group of units mod .
Multiplication mod is always closed and associative, and is always the identity, so building really comes down to one question: which elements have inverses? An element has a multiplicative inverse mod exactly when , because Bezout's identity then gives integers with , so and is the inverse; when , every multiple of mod is also a multiple of , so can never hit . This is a sharp contrast with : addition mod is a group for every , but multiplication mod only becomes one after the non-invertible elements are thrown out.
, the four numbers below coprime to it ( all share the factor ). The multiplication table mod shows every element squares to : , , . A group in which every non-identity element has order is the Klein four-group, , not the cyclic group of order .
The units mod are the numbers below coprime to both and : . Computing the order of each by its powers (e.g. , so ) shows every element has order , or : only has order ; have order ; and have order . Since but no element reaches order , is not cyclic.
In , the powers of are : all six nonzero residues appear before returning to , so , and is cyclic. In fact is cyclic exactly when is , , , , or for an odd prime — which is why succeeds and above does not.
It is tempting to think is just "everything but " mod . It is not, whenever is composite: , because , and indeed has no inverse mod — checking all eight values, for gives only , and never appears.
List and give .
Show the answerHide the answer
The numbers below coprime to it are , so .
Symmetries of a Polygon: the Dihedral Groups
is the group of symmetries of a regular -gon — rotations and reflections, composed like functions — and it has order : it is generated by a rotation of order and a reflection of order , subject to the relation . For , is non-abelian.
Every symmetry of a regular polygon either fixes the center and rotates it, or flips it over through an axis, and composing two symmetries gives a third, so these motions close up into a group under composition — the first group in this gallery not built from ordinary arithmetic. The relation says a reflection reverses the direction of a rotation: rotating then reflecting lands in the same place as reflecting first and rotating the other way. That one relation already forces to be non-abelian whenever , i.e. whenever , since and cannot be equal unless . Every element is uniquely or for : the rotations and the reflections, elements in all.
The multiplication table of (symmetries of an equilateral triangle) is NOT symmetric across the diagonal, unlike every table drawn so far: the entry in row , column is , while the entry in row , column is — a different element. This asymmetry is the Cayley-table signature of a non-abelian group.
Label the triangle's vertices counterclockwise; let rotate and let fix vertex while swapping . Apply then (that is, ): , , , so sends — the reflection , fixing vertex . Apply then (that is, ): , , , so sends — the reflection , fixing vertex instead. Since fixes vertex while fixes vertex , they are different reflections: .
, the symmetries of a regular hexagon, has order : six rotations and six reflections . Every reflection has order , since reflecting twice returns every vertex to its start — that is already elements. Among the rotations, has order only when , i.e. , i.e. : only works among , giving the single rotation (the rotation). So has exactly elements of order : the reflections together with .
It is tempting to think a reflection commutes with rotations, since geometrically "flipping" feels independent of "turning." It does not: the defining relation is , not . Concretely in (the square, a rotation), conjugating by gives , the rotation by — the opposite rotation, never itself (unless , which only happens for the order- rotation ).
In (symmetries of a regular 12-gon), has order . What is the order of ?
Show the answerHide the answer
By the order formula for powers (proved in Why It Works below), . Check directly: applied three times is , while , so really is smallest.
Matrix Groups
The invertible real matrices form a group under matrix multiplication, : the identity is , and has an inverse exactly when . For , is non-abelian.
Closure needs one check: if and then , so the product of two invertible matrices is again invertible — singular matrices are thrown out of the set for exactly the reason non-units were thrown out of to build . Matrix multiplication is associative for any matrices, invertible or not, so that axiom is inherited free of charge. Unlike every group met so far in this gallery, is infinite, and for it is also non-abelian: invertible matrices do not generally commute, even with each other.
Let and ; both have determinant , so both lie in . Multiplying in one order, ; in the other order, . Since , is non-abelian — confirmed by nothing more exotic than matrix multiplication.
Find the inverse of . First , so is invertible. The inverse formula swaps the diagonal, negates the off-diagonal, and divides by the determinant: (since ). Check: .
Over the field there are matrices in all; a matrix is invertible exactly when . Checking all leaves exactly invertible matrices, so . Multiplying them out shows the group is non-abelian with one identity, three elements of order , and two of order — exactly the order pattern of from the previous section: , the smallest non-abelian group, realized here as matrices instead of triangle symmetries.
The inverse of a product reverses the order: , not . With and (both determinant ), while — a different matrix — and it is that matches exactly. Undoing two steps means undoing the second one first.
Find the inverse of and check your answer.
Show the answerHide the answer
Here , so . Check: , so .
The Order of an Element
The order of , written or , is the smallest positive integer with (additively, the smallest with ); if no such exists, has infinite order. Every element of a finite group has finite order, since the powers cannot all be distinct, and a repeat () forces .
Order measures how long it takes an element, repeated, to cycle back to doing nothing — a rotation returns after steps, a reflection after . Every worked example so far secretly computed an order: the smallest with , or the smallest with . The subgroup generated by an element of order has exactly elements, since it cannot repeat before by the minimality of , and it must repeat by then — so order and subgroup size are really the same number in disguise, the start of the story that Lagrange's theorem (Topic 5) finishes.
Find in . Add to itself repeatedly: — reached after steps, with no earlier partial sum equal to . So in , matching the general formula for : here .
Find in . The powers of mod are — all ten nonzero residues appear before returning to , so : is a generator of .
By the formula (proved below), . Test it concretely with , the rotation of order in : applied four times is , and are all different from , so really is smallest.
A common guess is . This is only valid when and commute and generate subgroups meeting only at — exactly the situation in a direct product (Topic 8). It fails badly otherwise: in , and , yet , not — indeed has only elements total and is not cyclic, so no element of could have order .
Find in .
Show the answerHide the answer
Powers of mod : — back to after three steps. So in (which has order , so generates a subgroup of size , not the whole group).
Why It Works
Let have finite order . Claim: if and only if . () If then . () Suppose ; write with (the division algorithm). Then , so with ; since is the smallest positive exponent killing , this forces , i.e. . Corollary (order of a power): . Let . Then , since (as makes a whole multiple of ); so divides . Conversely, if then , so by the claim ; dividing through by gives , and since , this forces . Hence .
Represent a symmetry of the regular -gon with vertices labeled around a circle by an affine map with : preserves the cyclic order of the vertices (a rotation), reverses it (a reflection). Composing two such maps, , is again of this form with new coefficient , so rotations and reflections close under composition; every symmetry of the -gon is one of these maps (one for each and ), so . Writing and : since , , so . Hence , for every .