Group Theory – How to Find the Order of an Element in a Group

abstract-algebrafinite-groupsgroup-theory

Is there a better way of finding the order of an element in a group other than circling until the identity is reached?

Is there or CAN there be a better general ways of finding orders of elements?
(if no, please, explain why there can't be any ways)

An example I have is a multiplicative group of elements $Z_{20}$ under modulo 20. Do I have to circle over every element to find orders?

Best Answer

This is a good question. As you may have gathered from the comments, in the absence of any further information about the group, the answer is no, all you can do is to successively try higher powers.

But in most situations that arise in practice you do have extra information of one kind or another. For example, if your element is a matrix over a finite field, or even over the rational number or a number field, then the set of all possible orders of elements is known (at least in theory).

In such situations, you typically have a multiplicative upper bound for the order. In other words, you know a (possibly very large) integer $N$ such that the order of the element $g$ divides $N$. Then you can proceed as follows

For all primes $p$ dividing $N$, compute $g^{N/p}$. If $g^{N/p} = 1$ for some $p$, then replace $N$ by $N/p$ and start again - note that there will be a maximum of $\log n$ reductions of this kind. Otherwise, if $g^{N/p} \ne 1$ for all $p$, then the order of $g$ must be $N$.

Note also that computing $g^N$ can be accomplished on $O(\log n)$ group operations, by writing $N$ in binary $N = 2^{n_1} + \cdots + 2^{n_k}$, and then you can compute $g^N$ as $g^{2^{n_1}} \cdots g^{2^{n_k}}$.