# Abstract Algebra/Group Theory/Cyclic groups

• A cyclic group generated by g is

• ${\displaystyle \langle g\rangle =\lbrace g^{n}\;|\;n\in \mathbb {Z} \rbrace }$
• where ${\displaystyle g^{n}={\begin{cases}\underbrace {g\ast g\cdots \ast g} _{n},&n\in \mathbb {Z} ,n\geq 0\\\underbrace {g^{-1}\ast g^{-1}\cdots \ast g^{-1}} _{-n},&n\in \mathbb {Z} ,n<0\end{cases}}}$
• Induction shows: ${\displaystyle g^{m+n}=g^{m}\ast g^{n}{\text{ and }}g^{mn}=[g^{m}]^{n}}$

## Theorem

Let Cm be a cyclic group of order m generated by g with ${\displaystyle \ast }$

Let ${\displaystyle (\mathbb {Z} /m,+)}$ be the group of integers modulo m with addition

Cm is isomorphic to ${\displaystyle (\mathbb {Z} /m,+)}$

## Lemma

Let n be the minimal positive integer such that gn = e

${\displaystyle g^{i}=g^{j}\leftrightarrow i=j~{\text{mod}}~n}$
Proof of Lemma
Let i > j. Let i - j = sn + r where 0 ≤ r < n and s,r,n are all integers.
 1. ${\displaystyle g^{i}=g^{j}\;}$ 2. ${\displaystyle e=g^{i-j}=g^{sn+r}=[g^{n}]^{s}\ast g^{r}=[e]^{s}\ast g^{r}=g^{r}}$ as i - j = sn + r, and gn = e 3. ${\displaystyle g^{r}=e}$ 4. ${\displaystyle r=0}$ as n is the minimal positive integer such that gn = e and 0 ≤ r < n 5. ${\displaystyle i-j=sn}$ 0. and 7. 6. ${\displaystyle i=j~{\text{mod}}~n}$

## Proof

0. Define   {\displaystyle {\begin{aligned}f\colon C_{m}&\to \mathbb {Z} /m\\g^{i}&\mapsto i~{\text{mod}}~m\end{aligned}}}
Lemma shows f is well defined (only has one output for each input).
f is homomorphism:
${\displaystyle f(g^{i})+f(g^{j})=i+j~{\text{mod}}~m=f(g^{i+j})=f(g^{i}\ast g^{j})}$
f is injective by lemma
f is surjective as both ${\displaystyle \mathbb {Z} /m}$ and ${\displaystyle C_{m}}$ has m elements and m is injective

## Cyclic groups

In the previous section about subgroups we saw that if ${\displaystyle G}$ is a group with ${\displaystyle g\in G}$, then the set of powers of ${\displaystyle g}$, ${\displaystyle \langle g\rangle =\{g^{n}\mid n\in \mathbb {Z} \}}$ constituted a subgroup of ${\displaystyle G}$, called the cyclic subgroup generated by ${\displaystyle g}$. In this section, we will generalize this concept, and in the process, obtain an important family of groups which is very rich in structure.

Definition 1: Let ${\displaystyle G}$ be a group with an element ${\displaystyle g\in G}$ such that ${\displaystyle \langle g\rangle =G}$. Then ${\displaystyle G}$ is called a cyclic group, and ${\displaystyle g}$ is called a generator of ${\displaystyle G}$. Alternatively, ${\displaystyle g}$ is said to generate ${\displaystyle G}$. If there exists an integer ${\displaystyle n}$ such that ${\displaystyle g^{n}=e}$, and ${\displaystyle n}$ is the smallest positive such integer, ${\displaystyle G}$ is denoted ${\displaystyle C_{n}}$, the cyclic group of order ${\displaystyle n}$. If no such integer exists, ${\displaystyle G}$ is denoted ${\displaystyle C_{\infty }}$, the infinite cyclic group.

The infinite cyclic group can also be denoted ${\displaystyle F_{\{g\}}}$, the free group with one generator. This is foreshadowing for a future section and can be ignored for now.

Theorem 2: Any cyclic group is abelian.

Proof: Let ${\displaystyle G}$ be a cyclic group with generator ${\displaystyle g}$. Then if ${\displaystyle h,k\in G}$, then ${\displaystyle h=g^{n}}$ and ${\displaystyle k=g^{m}}$ for some ${\displaystyle n,m\in \mathbb {Z} }$. To show commutativity, observe that ${\displaystyle hk=g^{n}g^{m}=g^{n+m}=g^{m+n}=g^{m}g^{n}=kh}$ and we are done.

Theorem 3: Any subgroup of a cyclic group is cyclic.

Proof: Let ${\displaystyle G}$ be a cyclic group with generator ${\displaystyle g}$, and let ${\displaystyle H\leq G}$. Since ${\displaystyle G=\langle g\rangle }$, in paticular every element of ${\displaystyle H}$ equals ${\displaystyle g^{n}}$ for some ${\displaystyle n\in \mathbb {Z} }$. We claim that if ${\displaystyle a}$ the lowest positive integer such that ${\displaystyle g^{a}\in H}$, then ${\displaystyle H=\langle g^{a}\rangle }$. To see this, let ${\displaystyle g^{n}\in H}$. Then ${\displaystyle n=qa+r}$ and ${\displaystyle 0\leq r for unique ${\displaystyle q,r\in \mathbb {Z} }$. Since ${\displaystyle H}$ is a subgroup and ${\displaystyle g^{a}\in H}$, we must have ${\displaystyle g^{n}(g^{a})^{-q}=g^{qa+r}g^{-qa}=g^{r}\in H}$. Now, assume that ${\displaystyle r>0}$. Then ${\displaystyle g^{r}\in H}$ contradicts our assumption that ${\displaystyle a}$ is the least positive integer such that ${\displaystyle g^{a}\in H}$. Therefore, ${\displaystyle r=0}$. Consequently, ${\displaystyle g^{n}\in H}$ only if ${\displaystyle n=qa}$, and ${\displaystyle H=\langle g^{a}\rangle }$ and is cyclic, as was to be shown.

As the alert reader will have noticed, the preceeding proof invoked the notion of division with remainder which should be familiar from number theory. Our treatment of cyclic groups will have close ties with notions from number theory. This is no coincidence, as the next few statements will show. Indeed, an alternative title for this section could have been "Modular arithmetic and integer ideals". The notion of an ideal may not yet be familiar to the reader, who is asked to wait patiently until the chapter about rings.

Theorem 4: Let ${\displaystyle \mathbb {Z} _{n}=\{0,1,2,...,n-1\}}$ with addition defined modulo ${\displaystyle n}$. That is ${\displaystyle a+b\equiv r\,\mathrm {mod} \,n}$, where ${\displaystyle a+b=qn+r}$. We denote this operation by ${\displaystyle a+_{n}b=r}$. Then ${\displaystyle (\mathbb {Z} _{n},+_{n})}$ is a cyclic group.

Proof: We must first show that ${\displaystyle (\mathbb {Z} _{n},+_{n})}$ is a group, then find a generator. We verify the group axioms. Associativity is inherited from the integers. The element ${\displaystyle 0\in Z_{n}}$ is an identity element with respect to ${\displaystyle +_{n}}$. An inverse of ${\displaystyle a\in Z_{n}}$ is an element ${\displaystyle b}$ such that ${\displaystyle a+_{n}b=0}$. Thus ${\displaystyle b+a|n}$. Then, ${\displaystyle b\equiv n-a\equiv -a\,\mathrm {mod} \,n}$, and so ${\displaystyle b=n-a=-a}$, and ${\displaystyle (\mathbb {Z} _{n},+_{n})}$ is a group. Now, since ${\displaystyle a=a\cdot 1=\underbrace {1+...+1} _{a\,\mathrm {terms} }}$, ${\displaystyle 1}$ generates ${\displaystyle \mathbb {Z} _{n}}$ and so ${\displaystyle (\mathbb {Z} _{n},+_{n})}$ is cyclic.

Unless we explicitly state otherwise, by ${\displaystyle \mathbb {Z} _{n}}$ we will always refer to the cyclic group ${\displaystyle (\mathbb {Z} _{n},+_{n})}$. Since the argument for the generator of ${\displaystyle \mathbb {Z} _{n}}$ can be made valid for any integer ${\displaystyle a}$, this shows that also ${\displaystyle \mathbb {Z} }$ is cyclic with the generator ${\displaystyle 1}$.

Theorem 5: An element ${\displaystyle a\in \mathbb {Z} _{n}}$ is a generator if and only if ${\displaystyle \gcd(a,n)=1}$.

Proof: We will need the following theorem from number theory: If ${\displaystyle m,n}$ are integers, then there exists integers ${\displaystyle r,s}$ such that ${\displaystyle rm+sn=1}$, if and only if ${\displaystyle \gcd(m,n)=1}$. We will not prove this here. A proof can be found in the number theory section.

For the right implication, assume that ${\displaystyle \langle a\rangle =\mathbb {Z} _{n}}$. Then for all ${\displaystyle b\in \mathbb {Z} _{n}}$, ${\displaystyle b\equiv pa\,\mathrm {mod} \,n}$ for some integer ${\displaystyle p}$. In paticular, there exists an integer ${\displaystyle s}$ such that ${\displaystyle sa\equiv 1\,\mathrm {mod} \,n}$. This implies that there exists another integer ${\displaystyle r}$ such that ${\displaystyle sa-rn=1}$. By the above-mentioned theorem from number theory, we then have ${\displaystyle \gcd(a,n)=1}$. For the left implication, assume ${\displaystyle \gcd(a,n)=1}$. Then there exists integers ${\displaystyle s,r}$ such that ${\displaystyle sa-rn=1\,\Rightarrow \,sa\equiv 1\,\mathrm {mod} \,n}$, implying that ${\displaystyle sa=1}$ in ${\displaystyle \mathbb {Z} _{n}}$. Since ${\displaystyle 1}$ generates ${\displaystyle \mathbb {Z} _{n}}$, it must be true that ${\displaystyle a}$ is also a generator, proving the theorem.

We can generalize Theorem 5 a bit by looking at the orders of the elements in cyclic groups.

Theorem 6: Let ${\displaystyle H=\langle g\rangle \leq \mathbb {Z} _{n}}$. Then, ${\displaystyle |H|=|a|={\frac {n}{\gcd(a,n)}}}$.

Proof: Recall that the order of ${\displaystyle a\in \mathbb {Z} _{n}}$ is defined as the lowest positive integer ${\displaystyle r}$ such that ${\displaystyle ra=0}$ in ${\displaystyle \mathbb {Z} _{n}}$. Since ${\displaystyle \langle g\rangle }$ is cyclic, there exists an integer ${\displaystyle s}$ such that ${\displaystyle ra=sn}$ is minimal and positive. This is the definition of the least common multiple; ${\displaystyle \mathrm {lcm} (a,n)=ra=|a|a}$. Recall from number theory that ${\displaystyle \mathrm {lcm} (a,n)\cdot \gcd(a,n)=an}$. Thus, ${\displaystyle |a|={\frac {\mathrm {lcm} (a,n)}{a}}={\frac {an}{a\cdot \gcd(a,n)}}={\frac {n}{\gcd(a,n)}}}$, as was to be proven.

Theorem 7: Every subgroup of ${\displaystyle \mathbb {Z} }$ is of the form ${\displaystyle n\mathbb {Z} =\{na\mid a\in \mathbb {Z} \}}$.

Proof: The fact that any subgroup of ${\displaystyle \mathbb {Z} }$ is cyclic follows from Theorem 3. Therefore, let ${\displaystyle n}$ generate ${\displaystyle H\leq G}$. Then we see immediately that ${\displaystyle H=n\mathbb {Z} }$.

Theorem 8: Let ${\displaystyle a,b\in \mathbb {Z} }$ be fixed, and let ${\displaystyle H=\{ra+sb|r,s\in \mathbb {Z} \}}$. Then ${\displaystyle H}$ is a subgroup of ${\displaystyle \mathbb {Z} }$ generated by ${\displaystyle \gcd(a,b)}$.

Proof: We msut first show that ${\displaystyle H}$ is a subgroup. This is immediate since ${\displaystyle (ra+sb)-(r^{\prime }a+s^{\prime }b)=(r-r^{\prime })a+(s-s^{\prime })b\in H}$. From the proof of Theorem 3, we see that any subgroup of ${\displaystyle \mathbb {Z} }$ is generated by its lowest positive element. It is a theorem of number theory that the lowest positive integer ${\displaystyle d}$ such that ${\displaystyle d=ra+sb}$ for fixed integers ${\displaystyle a,b}$ and ${\displaystyle r,s\in \mathbb {Z} }$ equals the greatest common divisor of ${\displaystyle a}$ and ${\displaystyle b}$ or ${\displaystyle \gcd(a,b)}$. Thus ${\displaystyle \gcd(a,b)}$ generates ${\displaystyle H}$.

Theorem 9: Let ${\displaystyle n\mathbb {Z} }$ and ${\displaystyle m\mathbb {Z} }$ be subgroups of ${\displaystyle \mathbb {Z} }$. Then ${\displaystyle n\mathbb {Z} \cap m\mathbb {Z} }$ is the subgroup generated by ${\displaystyle \mathrm {lcm} (n,m)}$.

Proof: The fact that ${\displaystyle n\mathbb {Z} \cap m\mathbb {Z} }$ is a subgroup is obvious since ${\displaystyle n\mathbb {Z} }$ and ${\displaystyle m\mathbb {Z} }$ are subgroups. To find a generator of ${\displaystyle n\mathbb {Z} \cap m\mathbb {Z} }$, we must find its lowest positive element. That is, the lowest positive integer ${\displaystyle p}$ such that ${\displaystyle p}$ is both a multiple of ${\displaystyle n}$ and of ${\displaystyle m}$. This is the definition of the least common multiple of ${\displaystyle n}$ and ${\displaystyle m}$, or ${\displaystyle \mathrm {lcm} (n,m)}$, and the result follows.

It should be obvious by now that ${\displaystyle C_{n}}$ and ${\displaystyle \mathbb {Z} _{n}}$, and ${\displaystyle C_{\infty }}$ and ${\displaystyle \mathbb {Z} }$ are the same groups. This will be made precise in a later section but can be visualized by denoting any generator of ${\displaystyle C_{n}}$ or ${\displaystyle C_{\infty }}$ by ${\displaystyle 1}$.

We will have more to say about cyclic groups later, when we have more tools at our disposal.