Home

> urticator.net
  Search

  About This Site
> Domains
  Glue
  Stories

  Computers
  Driving
  Games
  Humor
  Law
> Math
  Numbers
  Science

  Continued Fractions
  Game Theory (Section)
> Group Theory
  Probability
  Miscellaneous

  A Theorem on Finite Abelian Groups
> The Structure of Zn

The Structure of Zn

I've talked before about both the group Zn of integers under addition mod n and the group Un of integers relatively prime to n under multiplication mod n, notably here.

The Structure of Un
Multiplication in Base 7

Unfortunately I haven't used the symbol Zn consistently. Sometimes (mainly in Multiplication in Base 7) it means the group of integers under addition mod n, but most of the time it means that I'm considering isomorphic groups to be the same and talking about the unique cyclic group of order n without thinking of its elements as specifically integers. Sorry for any confusion!

For the arguments I want to make here, I'd like to think of Zn as an abstract cyclic group of order n. Let's say it has an identity element e and a generator a such that an = e.

Orders of Elements

For various reasons, it will be useful to understand the orders of the elements of Zn. What does that even mean? Well, the word “order” can be used in two different ways. We say a group has order n, meaning that it has n elements, but we also say an element x has order m, meaning that m is the smallest number such that xm = e. In symbols, o(x) = m.

We already know o(a) = n, by definition. What about o(a2)? If n is even, then the powers of a2 include an,

(a2)n/2 = an = e,

and therefore o(a2) = n/2. But, if n is odd, then the powers of a2 skip over an and go all the way up to a2n,

(a2)n = a2n = (an)2 = e2 = e,

and therefore o(a2) = n.

What about the general case, o(ak)? To get (ak)m = akm = e, we need km to be a multiple of n. The k part can provide whatever factors k and n have in common, then the m part has to provide the rest. And what factors do k and n have in common? Exactly (k,n), the greatest common divisor of k and n; consequently o(ak) = m = n/(k,n).

Let's look at a couple of examples. If n is prime, say n = 7, there are no common factors and the orders are all the same.

k0123456
o(ak)1777777

On the other hand, if n is composite, say n = 12, there are plenty of common factors and we get a nice pattern.

k01234567891011
o(ak)1126431221234612

The positions of the 12s is a clue leading to the fact that these statements are all equivalent.

k and n are relatively prime
k and n have no common factors
(k,n) = 1
o(ak) = n
ak is a generator of the group

Finally, here's a pair of results about orders of elements.

  • The order of an element is always a divisor of the order of the group. This is actually a basic result of group theory that applies to all groups.
  • Conversely, for any divisor d of the order of the group, there is at least one element with that order, namely an/d. This part only applies to cyclic groups (because if it applies, then we can take d = n and obtain a generator).

Subgroups

Here's a very similar pair of results about orders of subgroups.

  • The order of a subgroup is always a divisor of the order of the group. This is also a basic result of group theory that applies to all groups.
  • Conversely, for any divisor d of the order of the group, there is exactly one subgroup with that order, and it's cyclic, namely the subgroup generated by an/d. Proof is below. This part also only applies to cyclic groups (because if it applies, then the “subgroup” with order n is cyclic).

It's pretty clear that the subgroup generated by an/d is cyclic and has order d, so we have all the subgroups we need. The interesting question is, how do we know there aren't any other subgroups (that we don't need)? Well, suppose we have an arbitrary subgroup of Zn. What can we say about it? Does it contain anything besides the identity element e? If not, that's the case d = 1, and we're done. Otherwise, let k be the smallest positive number such that ak is a member of the subgroup. But then consider the powers of ak.

  1. k has to be a divisor of n, or else the powers will wrap around at n and produce a remainder less than k.
  2. The subgroup can't contain any other elements, or else we'd be able to remove powers of ak and produce a remainder less than k.

And that's the case d = n/k. By the way, that kind of argument is very common in algebra and number theory.

Some Theory

A homomorphism is a function from one group to another that commutes with group multiplication, like so.

f(xy) = f(x)f(y)

A homomorphism always maps the identity element e in one group to the identity element ê in the other group.

f(e) = f(e)ê = f(e)[f(e)f(e)−1] = [f(e)f(e)]f(e)−1 = f(e2)f(e)−1 = f(e)f(e)−1 = ê

A homomorphism that originates from Zn is completely determined by f(a) because the definition of homomorphism makes f(ak) = f(a)k. Does that mean we can construct a homomorphism by setting f(a) to whatever we want? Not quite. Because o(a) = n, we have the constraint

f(a)n = f(an) = f(e) = ê,

which means that o(f(a)) has to be a divisor of n.

A homomorphism that's also a one-to-one correspondence is called an isomorphism. Groups that are isomorphic are essentially the same. Any two cyclic groups with the same order are isomorphic; that's the source of the confusion I was talking about at the start of the essay.

Technical detail that I feel compelled to include: by “one-to-one correspondence” I mean a function that's both one-to-one and onto, like in set theory when you're proving that two sets have the same cardinality.

An isomorphism from a group back to itself is called an automorphism. For example, for any element g we can define the function fg(x) = gxg−1, “conjugation by g” (see Conjugates). The function is a homomorphism because

fg(xy) = gxyg−1 = gxeyg−1 = gx(g−1g)yg−1 = (gxg−1)(gyg−1) = fg(x)fg(y),

and you can check that it's one-to-one and onto, therefore it's an automorphism.

The set of automorphisms of a group is itself a group. How do we take the product of two automorphisms f1 and f2? Well, the product needs to be an automorphism, which first of all means it needs to be a function, and we define that function to be (f1f2)(x) = f1(f2(x)). The function is a homomorphism because

(f1f2)(xy) = f1(f2(xy)) = f1(f2(x)f2(y)) = f1(f2(x))f1(f2(y)) = (f1f2)(x)(f1f2)(y),

and you can check that it's one-to-one and onto, therefore it's an automorphism.

Coming back to conjugation, here's an interesting fact.

fgh(x) = (gh)x(gh)−1 = ghxh−1g−1 = g(hxh−1)g−1 = gfh(x)g−1 = fg(fh(x)) = (fgfh)(x)

The functions fgh and fgfh are the same at every point, so they're the same as functions.

fgh = fgfh

You can probably see where this is going, but just to make everything perfectly clear, let's define a function C from the group under consideration to the group of automorphisms of that group by C(g) = fg. Then we have the following.

C(gh) = C(g)C(h)

Yes, it's another homomorphism. But that's all I'm going to say about conjugation, because in abelian groups like Zn, gxg−1 = xgg−1 = xe = x, so conjugation does nothing.

Automorphisms

Now we have everything we need to find all the automorphisms of Zn.

Any homomorphism from Zn back to itself is completely determined by f(a), but there are only n possible values for f(a), so there are only n possible homomorphisms: fk(a) = ak for 0 ≤ k < n. They all satisfy the constraint fk(a)n = e, so they all really are homomorphisms.

Which ones are also automorphisms? The only remaining condition is that fk should be one-to-one and onto. But, that obviously happens if and only if fk(a) = ak is a generator, and from above we know that happens if and only if k is relatively prime to n.

So, those are the automorphisms of Zn. How do they combine? By multiplication!

(fjfk)(a) = fj(fk(a)) = fj(ak) = fj(a)k = (aj)k = ajk = (fjk)(a)

Unfortunately, there's a flaw in that equation, which is that jk might not fall into the range 0 ≤ jk < n. But, because an = e, we can subtract multiples of n from jk to get it into the correct range. Then the equation ends like this.

(fjfk)(a) = … = ajk = ajk mod n = (fjk mod n)(a)

Therefore the two sides are the same as functions.

fjfk = fjk mod n

Then we can define a function M from the group Un of integers relatively prime to n under multiplication mod n to the group of automorphisms of Zn by M(k) = fk and see that the two groups are isomorphic.

M(j)M(k) = M(jk mod n)

In other words, since isomorphic groups are essentially the same, the group of automorphisms of Zn is Un!

About that “mod” operation, please see the first part of Reduction Rules. The fact that I'm using it here in a mathematical context means that I failed to find a more elegant approach.

The last piece of the puzzle is, what exactly does the action of Un on Zn look like? The answer will be more compelling if we cast it in terms of the original definition of Zn. So, let's define one more function, the natural isomorphism N from Zn the group of integers under addition mod n to Zn the abstract cyclic group of order n, N(k) = ak. Then we have the following.

M(j)N(k) = fj(ak) = fj(a)k = (aj)k = ajk = ajk mod n = N(jk mod n)

Apply N−1 to both sides, and here's what it says. If we have integers j in Un and k in Zn, we can move them over to abstract cyclic group land, let j act on k, and move the result back, and what we end up with is the product jk mod n. That is, Un acts on Zn by multiplication.

Finally, I'd like to point out that you can repeat the whole argument above without the “relatively prime” condition. The homomorphisms from Zn back to itself form what's called a monoid. They combine by multiplication and are isomorphic to the monoid of integers under multiplication mod n. And they act on Zn by multiplication. But, at that point you might as well admit that you're talking about the ring of integers mod n.

 

  See Also

  Equivalence
  Nice Correspondence, A

@ September (2020)