Order of an Element
How many times must you rotate a square before it returns to its starting position? How many times must you shuffle a deck by a fixed procedure before it returns to its original arrangement? Both questions ask for the order of an element. This is the smallest number of times an operation must be repeated to reach the identity. This single integer, when it exists, controls an enormous amount of the internal structure of a group. The order of an element is one of the first genuinely structural invariants a student meets in group theory. It is more refined than merely asking whether a group is finite or infinite. Two elements in the same finite group can have wildly different orders. The set of possible orders is heavily constrained by the size of the group itself. Lagrange's Theorem will later make this precise. Even without invoking that theorem, the order of an element already determines a whole subgroup. This is the cyclic subgroup it generates. Understanding this subgroup is the gateway to understanding Cyclic Groups and Generators. The big picture is this: every element of a group generates a subgroup . It does so purely by taking its powers . The order of is exactly the size of this subgroup. If the powers of never repeat, is an infinite cyclic group isomorphic to . If they do repeat, there is a smallest positive exponent that brings you back to the identity. That exponent is the order of . Then is a finite cyclic group of exactly that size. It is isomorphic to under addition. This article gives the rigorous definition of the order of an element. It proves the fundamental theorem identifying with . It works out the arithmetic of orders under powers. It also separates the phenomenon from cases where it degenerates — infinite order, or the trivial element. Building on Basic Consequences of the Group Axioms and Examples: Cyclic Groups and Modular Arithmetic, it sets up the machinery needed to classify cyclic groups completely.
- The order of is the smallest positive integer with ; if no such exists, has infinite order.
- The cyclic subgroup generated by , written , consists of all integer powers of .
- Main theorem: — the order of an element equals the size of the subgroup it generates.
- If , then if and only if ; this pins down all the relations among powers of .
- Orders behave predictably under powers: when .
- In a finite group every element has finite order dividing (a consequence proved rigorously once Lagrange's Theorem is available; here we establish the order-cyclic-subgroup correspondence that makes that later theorem meaningful).
- Key idea: the order of an element is precisely the length of the cycle its powers trace out before returning to the identity.
Where this lives today
The order of an element is the load-bearing concept behind the classification of finite abelian groups and the structure theorem for finitely generated abelian groups, both of which describe every such group as a product of cyclic pieces determined by element orders. In number theory, the multiplicative order of an integer modulo — exactly the order of that integer's residue class in — governs the periods of decimal expansions, the structure of pseudorandom number generators, and primality tests such as the Lucas–Lehmer test. In cryptography, the security of Diffie–Hellman key exchange and ElGamal encryption rests on choosing a generator whose order is a large prime, so that the discrete logarithm problem in the corresponding cyclic group is computationally hard; RSA's correctness likewise depends on Euler's theorem, a direct generalization of the order-divides-a-power fact proved here. In physics and crystallography, the order of a symmetry operation (a rotation, reflection, or screw axis) determines the periodicity of a crystal lattice's point group, dictating which rotational symmetries (2-fold, 3-fold, 4-fold, 6-fold) are geometrically possible. In computer science, the order of a permutation produced by a shuffling algorithm determines how many repeated applications are needed to return a deck (or any data structure) to its original arrangement, a fact used in the analysis of pseudorandom permutation ciphers.
Ask the tutor: How does the order of an element change when you pass to a quotient group or a direct product of groups?
Let be a group with identity , and let . If there exists a positive integer such that , the order of , denoted or , is the smallest such positive integer:
If no positive integer satisfies , we say has infinite order, written . Here for is defined recursively in the usual way: , for , and for . This makes and hold for all , as established among the Basic Consequences of the Group Axioms. The cyclic subgroup generated by is
Intuition
Think of repeatedly applying a group element as taking steps around a track. Each application of moves you one step forward; moves you one step back. Two things can happen. Either you keep visiting new points forever — the track is infinitely long, and has infinite order — or after some number of steps you land back exactly where you started. Because the group operation is completely determined by shifting by each time, once you return to the start the whole pattern repeats, and the track closes up into a cycle. The order of is the length of that cycle. This picture immediately explains why exactly when divides : the only way to return to the starting point after steps is to go around the closed loop of length some whole number of times. It also explains why the distinct powers of are precisely — these are the points on the cycle — and why this set is closed under the group operation, forming the subgroup .
The relationship, precisely
Let be a group and . 1. If has infinite order, then the map , , is a bijection; in particular is infinite, all powers () are distinct, and only for . 2. If has finite order , then
these elements are pairwise distinct, so . Moreover, for any integer ,
and more generally .
Technique: direct computation with the division algorithm, plus a pigeonhole/minimality argument. All facts about exponents (, , ) are taken from Basic Consequences of the Group Axioms and used freely.
Part 1 (infinite order). Suppose , meaning for every positive integer . We show the map , , is injective; since it is surjective onto by definition of , this makes it a bijection. Suppose for integers with, say, . Then . Multiplying both sides on the right by gives
and , so where . If , this contradicts the assumption that for all positive . Hence , i.e., . This proves injectivity, so is a bijection and is in bijection with , hence infinite. Distinctness of all powers and the claim " only for " are immediate: forces by the injectivity just proved.
Part 2 (finite order ). Suppose now that has finite order , i.e., is the smallest positive integer with . Step A: . () If , write for some integer . Then
() Suppose . By the division algorithm for integers, write with and . Then
So with . Since is the smallest positive integer with , and , the only way can hold is (if were a positive integer less than with , this would contradict minimality of ). Hence , so , i.e., . Step B: , for arbitrary integers . We have (multiply/divide by as in Part 1) by Step A . This proves Step B. Step C: and these elements are distinct. Every integer can be written as with (division algorithm), and then . So every power equals one of ; combined with the definition , this shows
The reverse inclusion is trivial since each () is by definition a power of , hence in . So the two sets are equal. For distinctness: if for , then by Step B, . But , so the only multiple of that can equal is . Hence . Thus the listed elements are pairwise distinct. Combining Step C with distinctness: has exactly elements, i.e.,
This completes the proof of Part 2, and with Part 1 the theorem is fully established.
∎For any , the set is a subgroup of .
Technique: direct verification of the subgroup criterion. is nonempty since . It is closed under the operation since for any integers . It is closed under inverses since . A nonempty subset of a group closed under the operation and under inverses is a subgroup (this is the standard subgroup criterion, a basic consequence of the group axioms), so .
∎Let with , and let be any integer. Then
Technique: reduce to the divisibility criterion of the main theorem and use properties of . Write , and let ; we must show . First, , where is an integer because . (Here we used and that since .) Since is a positive integer with , and is by definition the smallest such positive integer, we get
Next we show , i.e. using the fact that 's counterpart. By the main theorem applied to (Part 2, Step A), means , and this forces
Write and where (dividing by their gcd produces coprime integers — a standard fact about the gcd). Then becomes , i.e. . Since , Euclid's lemma (a coprime integer dividing a product must divide the other factor) gives
In particular (as and are both positive). Combining and gives , i.e., .
∎Worked examples
Example 1: An element of order 12 inside -style additive computations — using under addition. Let under addition, and let (the residue class of ). Note the group operation is addition, so "" means , and the identity is . We compute the order of directly: we need the smallest positive integer with , i.e. . Since , this forces , so the smallest positive such is . Thus , and generates all of : . Now consider in the same group. We want the smallest with . Since , we have (dividing both sides by ); since , this means . The smallest positive such is . So , and
obtained as — indeed distinct elements before returning to , confirming exactly as the theorem predicts. As a check on the order-of-a-power lemma: take (order ) and . Then , so the lemma predicts . Direct check: gives — that's steps to return to , confirming . Matches.
Example 2: A non-abelian group — , the symmetric group on 4 letters. Let , i.e. the 3-cycle sending and fixing , living in under composition (identity = the identity permutation). Compute powers: , (applying the cycle twice), and since applying a 3-cycle three times returns every element to itself. No smaller positive power works: (it moves to ) and (it moves to ). So , and
a cyclic subgroup of order , exactly matching as guaranteed by the theorem. Now let , the 4-cycle. Its powers are , , , , and none of equals (each moves some element). So . Apply the order-of-a-power lemma with : , so the lemma predicts . Direct check: , and while , confirming . This also illustrates that a power of an element of order need not itself have order — the exponent's gcd with genuinely reduces the order, and the reduction is not merely an upper bound but exact.
The definition insists be the smallest positive integer with — not merely some positive integer with that property. Dropping minimality breaks the entire correspondence between order and . To see this concretely, take under addition and . We have , so is a positive integer with . If we (incorrectly) declared "the order" to be this non-minimal witness , we would predict . But directly: (since , and are the nonzero multiples before returning), so , not . The true (minimal) order is , since , , : the smallest positive witness is , and indeed , matching the theorem. The non-minimal witness gives the wrong count entirely, because Step A of the proof (that ) genuinely requires to be minimal — the division-algorithm argument in the proof only forces the remainder to vanish because and was chosen as small as possible. Without minimality, that step collapses and the identification of with as a list of distinct elements fails.
Scope, edge cases & common traps
| Situation | What happens | Why |
|---|---|---|
| , and is the smallest positive integer, period. | ||
| infinite, | order may still be finite | e.g. (multiplicatively) has order even though has only two elements; more strikingly, a finite-order element can sit inside an infinite group like . |
| finite | every element has finite order | the powers can only take finitely many values, so by pigeonhole some with , forcing ; a rigorous bound on which orders occur needs Lagrange's Theorem. |
| for some not a multiple of | impossible | this is precisely ruled out by Step A of the theorem: . |
| Confusing with | these can differ wildly | e.g. in () the element has order , far smaller than . |
The mathematician behind it
Origins · 1 minJoseph-Louis Lagrange and how this was discovered
Lagrange's investigations into the solvability of polynomial equations by radicals led him to study the permutations of the roots and how repeatedly applying a substitution cycles through a finite set of arrangements before returning to the start. Although the modern axiomatic notion of a group and the abstract definition of "order of an element" postdate him — crystallizing later in the work of Cauchy, Galois, and Cayley — the phenomenon that a permutation's powers eventually cycle back to the identity, and that this cycle length divides the size of the ambient symmetric group, traces directly to Lagrange's 18th-century analysis of resolvent equations.
What is the difference between the order of a group and the order of an element?
The order of a group , written , is simply its cardinality — the number of elements it contains, possibly infinite. The order of an element is the smallest positive integer with (or if no such exists). These are related but distinct: the theorem proved here shows equals the size of the cyclic subgroup , and once Lagrange's Theorem is available, one learns further that must divide when is finite. But itself is generally much smaller than , except in the special case where generates the entire group.
Can an element have order 0?
No. By definition, the order of an element is either a positive integer (the least with ) or the symbol signifying that no such positive integer exists. The value is never assigned as an order, though always holds trivially for every element — that is a statement about the exponent , not about the order of . Confusing " trivially" with "" is a common notational slip to avoid.
Does every element of a finite group have finite order?
Yes, and this is not hard to see directly, without invoking Lagrange's theorem. Since is finite, the infinite list of powers cannot consist of pairwise distinct elements, so by the pigeonhole principle for some integers . Multiplying both sides by gives with , so the set of positive integers with is nonempty, and hence has a least element by the well-ordering principle. That least element is , which is therefore finite.
How is the multiplicative order used in modular arithmetic related to this definition?
Exactly the same way. If , the residue class of lies in the group under multiplication, and its "multiplicative order mod " is precisely in that group: the smallest positive with . Euler's theorem states , which by the theorem proved here is equivalent to saying — a special case of the later fact (via Lagrange's theorem) that element order divides group order.
If and commute and have finite orders and , does have order ?
Not necessarily — this common guess is false in general, even for commuting elements, unless . A simple counterexample: in (abelian, so everything commutes), take (order 4) and (also order 4); then has order , not . The correct general statement — that divides , with equality guaranteed under the extra hypothesis that is trivial — is a more delicate fact than the basic order-of-a-power lemma proved in this article.
Why do we care about instead of just the number ?
Because is an actual subgroup of — a structured object with its own operation table — while is just a number describing its size. Knowing tells you is a cyclic group of order , isomorphic to via . This isomorphism is exactly the bridge that lets you transport arithmetic facts about (like the classification of subgroups, or which elements generate the whole group) into facts about inside any group , which is the substance of Cyclic Groups and Generators.
Is the order of an element always well defined, i.e., does the minimum in the definition always make sense?
Yes, whenever the underlying set of positive witnesses is nonempty. The well-ordering principle guarantees every nonempty set of positive integers has a least element, so the minimum in the definition genuinely exists whenever some positive power of equals . When no positive power equals , the set is empty and there is no minimum to take — this is exactly the infinite-order case, handled separately and explicitly in the definition rather than left ambiguous.