Direct Products
For groups and , the direct product is the set of pairs under the componentwise operation . It is a group, with identity , inverse , and order . The order of an element is
Every axiom for reduces to the same axiom for and for , checked in each coordinate at once — associativity, the identity, and inverses all come along for free, so forming a direct product never requires checking anything new. The construction says a group of order can be built from two smaller, already-understood groups running side by side, like two independent clocks whose hands are read together. The order formula is the engine behind the rest of this topic: returns to exactly when BOTH coordinates have returned home, so the wait is the first time that is simultaneously a multiple of and of — the least common multiple, never the sum and never the plain product.
Find the order of in . By the order formula in (Topic 3), in , and in . So . Check directly: , and no smaller positive multiple of can be , since that would need a common multiple of and smaller than .
Build the Cayley table of under componentwise addition mod . Every entry reduces coordinate by coordinate, e.g. . The table is symmetric, so the group is abelian, and the diagonal shows every element is its own inverse: , and likewise for and . This is the Klein four-group, the unique group of order with no element of order .
An element has order dividing exactly when both and have order dividing in — that means . That gives pairs, and removing the identity leaves exactly elements of order exactly : , , . (Every other pair, with at least one coordinate equal to or , has order by the order formula, since with a present is always .)
The construction needs neither factor to be abelian. In , take . Since in (Topic 4) and in , . Check: , the identity of , and no smaller positive power works, since that would need a common multiple of and below . itself is not abelian, since is not: a direct product inherits non-abelian-ness from either factor.
The order of is — never the sum, and never the plain product, of the two orders. Take in : in and in , so the true order is — NOT the sum , and NOT the product . Stepping through the multiples of by hand reaches for the first time after exactly steps, ruling out the other two guesses entirely.
Find the order of in .
Show the answerHide the answer
In , ; in , . So . Check: .
When Is a Product Cyclic?
is cyclic — and then — if and only if . More generally, for finite groups and , is cyclic exactly when and are both cyclic and .
A cyclic group of order needs some element of order exactly . By the order formula (Section 1), the largest possible order in is , achieved only when some element of has order and some element of has order — which needs both factors cyclic. And equals the full order precisely when ; otherwise , and no element can reach the whole group. This single gcd test is the direct-product version of the Chinese Remainder Theorem (Number Theory), now phrased as a statement about groups rather than about congruences.
, so by the criterion is cyclic of order . The generator is : , matching the full order of the group, so generates everything and .
, so the criterion says (order ) cannot be cyclic. Indeed, the largest possible element order is , achieved at — well short of — and no other pair can do better, since no coordinate order can exceed or . With no element of order , nothing generates the whole group.
, so no. The group has order , but the largest element order is : for instance has order , and no pair of coordinate-orders dividing and respectively can beat that, since whenever and . A group of order with largest element order only is far from cyclic.
For , is never cyclic, since . Concretely in (order ), every nonzero coordinate has order by Lagrange (Topic 5: is prime, so every non-identity order divides and must equal ), so the of two orders from never exceeds — far short of the a generator would need.
Both factors being cyclic is not enough on its own; the orders must also be coprime. and are each cyclic, yet (order ) is not: , and the largest element order is , reached at — no element of order exists. Looking cyclic piece by piece is not the same as being cyclic as a whole.
Is cyclic? If so, what group is it isomorphic to?
Show the answerHide the answer
, so yes: by the criterion, is cyclic, generated by since , the full order of the group. So .
The Fundamental Theorem of Finite Abelian Groups
Every finite abelian group is isomorphic to a direct product of cyclic groups of prime-power order,
and this list of prime powers (the elementary divisors of ) is unique up to the order in which the factors are written.
This is the group-theory analogue of unique prime factorization: just as every integer breaks uniquely into prime powers, every finite abelian group breaks uniquely into cyclic prime-power pieces, its atoms. Existence comes in two stages, both proved in "Why It Works": first splits along its distinct primes into primary components, by the same coprimality idea as Section 2; then each prime-power piece, taken alone, further splits into cyclic factors. Uniqueness means there is exactly one correct list of prime powers for a given , not several equally valid ones — which is what makes "the isomorphism type of " a well-defined, checkable piece of data rather than a matter of how you happened to write it.
with , so by Section 2, . Both factors already have prime-power order (, ), so this IS the elementary divisor decomposition: the elementary divisors of are and .
, and are pairwise coprime, so — three cyclic factors of prime-power order, with confirming nothing was lost.
An abelian group of order has an element of order but none of order . Which group is ? There are three abelian groups of order up to isomorphism (Section 4): , , and . has an element of order , which does not, ruling it out; has every non-identity element of order , so it has no element of order either, ruling it out too. Only fits both conditions: it has of order and nothing of order . So .
Neither factor of already has prime-power order, so split each one first: and . So , with elementary divisors — note TWO separate factors of , since the theorem allows repeats among different primes' powers as long as each one individually has prime-power order. The order checks: .
A direct-product split into two coprime-looking pieces is not automatically the elementary divisor decomposition. It is tempting to write as , since — but is NOT isomorphic to at all: , so by Section 2 it is not even cyclic, with largest element order only , while plainly has an element of order . The theorem's factors must each have prime-power order precisely to rule out non-coprime splits like this one; is the correct split, not .
Write as a product of cyclic groups of prime-power order.
Show the answerHide the answer
, and , so .
Counting Abelian Groups of a Given Order
If , the number of abelian groups of order , up to isomorphism, is
where is the number of integer partitions of — the number of ways to write as a sum of positive integers, order not mattering.
By the Fundamental Theorem, an abelian group of prime-power order is a direct product of cyclic factors with and — exactly a partition of , and distinct partitions give non-isomorphic groups, by the uniqueness half of the theorem. A general order factors into primes, its primary components (Section 3) are built independently, one partition choice per prime, and different primes never interact — so the total count across all primes multiplies rather than adds. This turns "how many groups of order " from a search into ordinary partition-counting.
, and the partitions of are — so , and there are exactly abelian groups of order : , , and , matching Section 3's example.
, and has partitions: . So there are abelian groups of order : , , , , and .
(Section 3). Each prime contributes its own partition count: for the part, for the part (, ), and for the part. By the counting formula, there are abelian groups of order , up to isomorphism.
. Both exponents are , and — there are partitions of . So the number of abelian groups of order is : each prime's partition choice is independent of the other's, so the count squares rather than merely doubling.
The count uses partitions of the EXPONENTS, not divisors of itself. For , the number of divisors of is (), but the number of abelian groups of order is : just and . Counting divisors answers a different question — how many ways factors as — not how many non-isomorphic groups of order exist.
How many abelian groups of order are there, up to isomorphism?
Show the answerHide the answer
, and for each prime, so the count is : , , , and .
Elementary Divisors and Invariant Factors
A finite abelian group has two standard descriptions. The elementary divisor form is the Fundamental Theorem's decomposition into cyclic groups of prime-power order (Section 3). The invariant factor form writes with (each divides the next) — also unique. To convert elementary divisors to invariant factors: group them by prime in decreasing order, pad any short prime-list with s so every prime has the same number of entries, then multiply straight across each column; the column products, in increasing order, are the invariant factors.
The two forms carry the same information, read two different ways — much like a number written as its prime factorization versus as its list of divisors. The largest invariant factor is always the EXPONENT of the group: the largest possible element order, since it is built from the largest power of every prime at once (ties back to the order formula of Section 1). Invariant factors are often the more useful form for comparing two groups at a glance, since exactly when their invariant factor lists match term for term — no regrouping by prime is needed once you already have them.
A group has elementary divisors (order ). Group by prime, largest first: prime gives ; prime gives . Multiply across each column: , then . The invariant factors, in increasing order, are and , and indeed . So , with confirming the order.
A group has invariant factors and (with ), so , order . Factor each invariant factor into prime powers: , and . Collecting all the prime powers gives the elementary divisors — note the TWO factors of , one from each invariant factor. Check: , matching .
A group has elementary divisors (order ). Prime contributes only one entry, ; prime contributes two, and . Since prime has more entries, prime 's short list must be padded with a to match: . Multiplying across columns: , then . The invariant factors are and (), so , order — matching, because the padding was included.
Are and isomorphic? Both have order . For the first, elementary divisors give invariant factors and (padding prime 's missing second entry with : columns and ). For the second, first split and , giving elementary divisors and invariant factors and (columns , ). The invariant factor lists and do not match, so the two groups are not isomorphic, despite having the same order.
Forgetting to pad a prime's shorter list with s silently loses a whole invariant factor. For elementary divisors (order ), prime has two entries () but prime has only one (); padding gives prime 's list , and the columns multiply to and — invariant factors , product , matching the group's order. Skipping the pad and writing just "" alone loses the second factor entirely: , an immediate contradiction with the group's actual order.
Find the invariant factor decomposition of the group with elementary divisors .
Show the answerHide the answer
Group by prime: gives ; gives (padded to ); gives (padded to ). Columns: , then . The invariant factors are and (), so . Check: .
Why It Works
Let with , , and let . For any , exactly when AND , i.e. exactly when and , i.e. exactly when (a common multiple of and is a multiple of together precisely when it is a multiple of their least common multiple). So the positive integers with are exactly the multiples of , and the smallest one is itself: .
Let be finite groups. () Suppose , are cyclic with . By the order formula, (a least common multiple with gcd equals the plain product), which is exactly . An element whose order equals the order of the whole group generates it, so is cyclic. () Suppose is cyclic, generated by some ; then . But and by Lagrange (Topic 5), so , with equality throughout forcing , (so are cyclic, generated by ) and , which happens only when .
If a prime divides for a finite abelian group , then has an element of order . Proof by strong induction on . If , any has order dividing (Lagrange) and order , so order . Otherwise pick any . If , then by the order formula for a cyclic group (Topic 3), has order , done. If , let , automatically normal since is abelian, and form the quotient (Topic 7), of order . Since and but , Euclid's lemma forces . By induction has an element of order . Let in ; then , so is a multiple of (the order of a coset divides any exponent that collapses it to the identity coset). Writing , the element has order , again by the cyclic order formula. Either way, has an element of order .
Let be a finite abelian group of order , and single out one prime , writing with . Let and . Each is a subgroup: if then, being abelian, divides (a short direct check: ), itself a power of , and ; the same argument with in place of handles . Since , Bezout gives integers with . For any , . Now since (Lagrange), so ; likewise , so . So : every element is a product of one piece from each. If , then divides both and , hence divides , forcing : the intersection is trivial. A group that is the product of two subgroups meeting only at , with every element of one commuting with every element of the other (automatic here, since is abelian), is their internal direct product, so . Finally, if some prime divided , the lemma above (applied to the abelian group ) would produce an element of of order — impossible, since every element of has -power order. So has no prime factor besides , i.e. for some ; likewise has no factor of . Since and contributes no factor of , : exactly. Repeating this argument on for its next prime (induction on the number of distinct primes dividing ) splits completely into one primary component per prime, with .
Let be a finite abelian -group and let have maximal order among all elements of (every other order is a smaller power of , hence divides ). Then there is a subgroup with . Proof by strong induction on . If , take . Otherwise pick of minimal order among elements outside (such exists since ). Then has order , so minimality forces , say . Since , divides , so ; raising to the power gives , so , forcing . Write and set . Then , so ; it cannot be (else , contradiction), so , and for the same reason. Since is prime, is a subgroup of that cannot be all of it (that would put ), so it is trivial. Now pass to the quotient (normal since is abelian), of order . Because , the quotient map is injective on , so has order in ; and for any , gives , so divides too — hence has maximal order in as well. By induction, for some . Let be the preimage of in . If then , so ; combined with and , this gives — so . And for any , for some and some , so , giving — so . With trivial intersection, elementwise commuting (abelian), and , .
Let be a finite abelian group of order . By strong induction on : if , , the empty product. Otherwise let have maximal order (, since has an element of order by Cauchy's lemma above). By the splitting lemma, for some with . By induction, is itself a direct product of cyclic groups of -power order, so exhibits as such a product too. Combined with the primary decomposition above, every finite abelian group is a direct product of cyclic groups of prime-power order — existence in the Fundamental Theorem.
Suppose with , a -group. For each , let — a count depending only on itself, not on any chosen decomposition. Inside a cyclic factor , the solutions of form the subgroup of order (Topic 3's subgroup count, with ). Across the whole product, where . The increment equals the number of with , since each term is if and otherwise. Since (hence , hence ) is computable from alone, the sequence — the number of parts , for every — is an invariant of . But that sequence determines the partition completely: the number of equal to exactly is . So the multiset , and hence the elementary divisors , are the same for every decomposition of of this form — they depend only on , not on how it happened to be written. The same argument applies independently at each prime dividing , so the full list of elementary divisors across all primes is unique.