Boi
New member
- Joined
- Feb 14, 2023
- Messages
- 30
View attachment 39388
I'll be using [imath]o(g)[/imath] to denote the order of an element [imath]g[/imath], [imath]e[/imath] to denote the neutral element and [imath]\langle g \rangle[/imath] to denote the cyclic group of [imath]g[/imath].
For the proof I'll have to prove 2 lemmas first (they're very obvious results, but they are not stated in the book, so I've felt the need to prove them).
Lemma 1: If [imath]G[/imath] is a group, [imath]g \in G[/imath], [imath]o(g) = n[/imath], [imath]p, q \in \mathbb{Z}[/imath] and [imath]p \equiv q \; (\mathrm{mod} \; n)[/imath], then [imath]g^{p}=g^{q}[/imath].
Proof of Lemma 1: if [imath]p \equiv q \; (\mathrm{mod} \; n)[/imath], then, by defenition of congruence modulo n, [imath]p-q=kn[/imath], where [imath]k[/imath] is an integer. It follows that [imath]p = q+kn[/imath]. So, [math]g^{p}=g^{q+kn}=g^{q} \cdot g^{kn}=g^{q} \cdot (g^{n})^{k}=g^{q}\cdot e^{k}=g^{q}[/math].
Lemma 2: If [imath]n, m \in \mathbb{Z}[/imath], [imath]d=\mathrm{gcd}(n, m)[/imath], [imath]n_0=\frac{n}{d}[/imath] and [imath]m_0=\frac{m}{d}[/imath], then [imath]n_0[/imath] and [imath]m_0[/imath] are coprime.
Proof of Lemma 2: suppose the opposite is true: [imath]n_0[/imath] and [imath]m_0[/imath] are not coprime and they have a common divisor [imath]f>1[/imath]. So, [imath]n_0=fs[/imath] and [imath]m_0=fr[/imath] ([imath]s[/imath] and [imath]r[/imath] are integers). By "unwrapping" the definitions of [imath]n_0[/imath] and [imath]m_0[/imath] and multiplying by [imath]d[/imath] on both sides we get [imath]n = dfs[/imath] and [imath]m=dfr[/imath]. Now we have reached a contradiction: we assumed [imath]d[/imath] to be the greatest common divisor of [imath]n[/imath] and [imath]m[/imath], but [imath]D=df[/imath] clearly divides both [imath]n[/imath] and [imath]m[/imath] without dividing [imath]d[/imath] (since we assumed [imath]f>1[/imath]).
The proof itself: Without the loss of generality I am going to assume that [imath]m \ge n[/imath]. I'll denote the element of order [imath]n[/imath] by [imath]a[/imath] and the element of order [imath]m[/imath] by [imath]b[/imath]. Since [imath]G[/imath] is abelian, for all [imath]j \in \mathbb{Z}[/imath] [imath](ab)^{j}=a^{j}b^{j}[/imath]. By using Lemma 1 we can represent every element of [imath]\langle ab \rangle[/imath] with a pair of integers [imath](x, y)[/imath], [imath]0 \le x \le n-1[/imath], [imath]0 \le y \le m-1[/imath] and for which ther exists such an integer [imath]z[/imath], that [imath]z \equiv x \; (\mathrm{mod} \; n)[/imath] [imath]z \equiv y\; (\mathrm{mod} \; m)[/imath]. I want to replace the last requirement with the following: [imath]x[/imath] and [imath]y[/imath] must be congruent modulo [imath]d[/imath] (where [imath]d= \mathrm{gcd}(n, m)[/imath]). Let me show that these are equivalent.
[imath]\Rightarrow[/imath]
If [imath]z \equiv x \; (\mathrm{mod} \; n)[/imath] and [imath]z \equiv y \; (\mathrm{mod} \; m)[/imath], then [imath]z=x+nu[/imath] and [imath]z=y+mv[/imath], so [imath]x+nu=y+mv[/imath] ([imath]u,v \in \mathbb{Z}[/imath]. It follows that [imath]x-y=mv-nu[/imath]. If we pull out [imath]d[/imath] from [imath]n[/imath] and [imath]m[/imath] we get [imath]x-y=d(m_0v-n_0u)=dh[/imath]. Hence [imath]x \equiv y \; (\mathrm{mod} \;d)[/imath].
[imath]\Leftarrow[/imath]
If [imath]x \equiv y \; (\mathrm{mod} \; d)[/imath], then [imath]x-y=dh[/imath], [imath]h \in \mathbb{Z}[/imath]. Now, using Lemma 2 and Bezout's identity we get [imath]1=n_0u+m_0v[/imath]. Substituting [imath]u=-t[/imath] and multiplying both sides by [imath]h[/imath] we get [imath]h=m_0v-n_0t[/imath]. So, [imath]x-y=dh=d(m_0v-n_0t)=mv-nt \Rightarrow x+nt=y+mv[/imath]. Letting [imath]z=x+nt[/imath] we get the exact [imath]z[/imath] we need.
With the change of the last requirement it's easier to count the elements of [imath]\langle ab \rangle[/imath]. Let's first choose [imath]x[/imath]. Remembering our constraints ([imath]0 \le x \le n-1[/imath]) we have [imath]n[/imath] choices for [imath]x[/imath]. Now, to count choices for [imath]y[/imath] let me first the number of choices for [imath]y[/imath] when [imath]x=0[/imath]. If [imath]x=0[/imath], then [imath]y[/imath] should take the form [imath]dk[/imath] to meet the condition. There would be [imath]\frac{m}{d}[/imath] such choices ([imath]0, \;d, \; 2d, \; ...\: , (\frac{m}{d}-1)d[/imath]). When [imath]0 < x[/imath], we can just shift all these numbers by [imath]x[/imath]... except for the larger ones. Well, to not change the total number of choices for [imath]y[/imath] we should make a new valid choice for every failed one. So, if [imath]m-1 < x+ds[/imath], then [imath]d(m_0-s)-1 < x \Rightarrow -1 < x- d(m_0-s)[/imath]. Because [imath]x-d(m-0-s)[/imath] is an integer, we can change the last inequality to [imath]0 \le x-d(m_0-s)[/imath], making [imath]x-d(m_0-s)[/imath] a viable choice for [imath]y[/imath]. Finally, we have [imath]n[/imath] choices for [imath]x[/imath], [imath]\frac{m}{d}[/imath] choices for y, giving us a total of [imath]\frac{nm}{d}[/imath] or [imath]\mathrm{lcm}(n, m)[/imath] elements in [imath]\langle ab \rangle[/imath]. [imath]\langle ab \rangle[/imath] having [imath]\mathrm{lcm}(n, m)[/imath] means that [imath]ab[/imath], an element of [imath]G[/imath], has order [imath]\mathrm{lcm}(n, m)[/imath]. QED.
I hope it's comprehensible.
I'll be using [imath]o(g)[/imath] to denote the order of an element [imath]g[/imath], [imath]e[/imath] to denote the neutral element and [imath]\langle g \rangle[/imath] to denote the cyclic group of [imath]g[/imath].
For the proof I'll have to prove 2 lemmas first (they're very obvious results, but they are not stated in the book, so I've felt the need to prove them).
Lemma 1: If [imath]G[/imath] is a group, [imath]g \in G[/imath], [imath]o(g) = n[/imath], [imath]p, q \in \mathbb{Z}[/imath] and [imath]p \equiv q \; (\mathrm{mod} \; n)[/imath], then [imath]g^{p}=g^{q}[/imath].
Proof of Lemma 1: if [imath]p \equiv q \; (\mathrm{mod} \; n)[/imath], then, by defenition of congruence modulo n, [imath]p-q=kn[/imath], where [imath]k[/imath] is an integer. It follows that [imath]p = q+kn[/imath]. So, [math]g^{p}=g^{q+kn}=g^{q} \cdot g^{kn}=g^{q} \cdot (g^{n})^{k}=g^{q}\cdot e^{k}=g^{q}[/math].
Lemma 2: If [imath]n, m \in \mathbb{Z}[/imath], [imath]d=\mathrm{gcd}(n, m)[/imath], [imath]n_0=\frac{n}{d}[/imath] and [imath]m_0=\frac{m}{d}[/imath], then [imath]n_0[/imath] and [imath]m_0[/imath] are coprime.
Proof of Lemma 2: suppose the opposite is true: [imath]n_0[/imath] and [imath]m_0[/imath] are not coprime and they have a common divisor [imath]f>1[/imath]. So, [imath]n_0=fs[/imath] and [imath]m_0=fr[/imath] ([imath]s[/imath] and [imath]r[/imath] are integers). By "unwrapping" the definitions of [imath]n_0[/imath] and [imath]m_0[/imath] and multiplying by [imath]d[/imath] on both sides we get [imath]n = dfs[/imath] and [imath]m=dfr[/imath]. Now we have reached a contradiction: we assumed [imath]d[/imath] to be the greatest common divisor of [imath]n[/imath] and [imath]m[/imath], but [imath]D=df[/imath] clearly divides both [imath]n[/imath] and [imath]m[/imath] without dividing [imath]d[/imath] (since we assumed [imath]f>1[/imath]).
The proof itself: Without the loss of generality I am going to assume that [imath]m \ge n[/imath]. I'll denote the element of order [imath]n[/imath] by [imath]a[/imath] and the element of order [imath]m[/imath] by [imath]b[/imath]. Since [imath]G[/imath] is abelian, for all [imath]j \in \mathbb{Z}[/imath] [imath](ab)^{j}=a^{j}b^{j}[/imath]. By using Lemma 1 we can represent every element of [imath]\langle ab \rangle[/imath] with a pair of integers [imath](x, y)[/imath], [imath]0 \le x \le n-1[/imath], [imath]0 \le y \le m-1[/imath] and for which ther exists such an integer [imath]z[/imath], that [imath]z \equiv x \; (\mathrm{mod} \; n)[/imath] [imath]z \equiv y\; (\mathrm{mod} \; m)[/imath]. I want to replace the last requirement with the following: [imath]x[/imath] and [imath]y[/imath] must be congruent modulo [imath]d[/imath] (where [imath]d= \mathrm{gcd}(n, m)[/imath]). Let me show that these are equivalent.
[imath]\Rightarrow[/imath]
If [imath]z \equiv x \; (\mathrm{mod} \; n)[/imath] and [imath]z \equiv y \; (\mathrm{mod} \; m)[/imath], then [imath]z=x+nu[/imath] and [imath]z=y+mv[/imath], so [imath]x+nu=y+mv[/imath] ([imath]u,v \in \mathbb{Z}[/imath]. It follows that [imath]x-y=mv-nu[/imath]. If we pull out [imath]d[/imath] from [imath]n[/imath] and [imath]m[/imath] we get [imath]x-y=d(m_0v-n_0u)=dh[/imath]. Hence [imath]x \equiv y \; (\mathrm{mod} \;d)[/imath].
[imath]\Leftarrow[/imath]
If [imath]x \equiv y \; (\mathrm{mod} \; d)[/imath], then [imath]x-y=dh[/imath], [imath]h \in \mathbb{Z}[/imath]. Now, using Lemma 2 and Bezout's identity we get [imath]1=n_0u+m_0v[/imath]. Substituting [imath]u=-t[/imath] and multiplying both sides by [imath]h[/imath] we get [imath]h=m_0v-n_0t[/imath]. So, [imath]x-y=dh=d(m_0v-n_0t)=mv-nt \Rightarrow x+nt=y+mv[/imath]. Letting [imath]z=x+nt[/imath] we get the exact [imath]z[/imath] we need.
With the change of the last requirement it's easier to count the elements of [imath]\langle ab \rangle[/imath]. Let's first choose [imath]x[/imath]. Remembering our constraints ([imath]0 \le x \le n-1[/imath]) we have [imath]n[/imath] choices for [imath]x[/imath]. Now, to count choices for [imath]y[/imath] let me first the number of choices for [imath]y[/imath] when [imath]x=0[/imath]. If [imath]x=0[/imath], then [imath]y[/imath] should take the form [imath]dk[/imath] to meet the condition. There would be [imath]\frac{m}{d}[/imath] such choices ([imath]0, \;d, \; 2d, \; ...\: , (\frac{m}{d}-1)d[/imath]). When [imath]0 < x[/imath], we can just shift all these numbers by [imath]x[/imath]... except for the larger ones. Well, to not change the total number of choices for [imath]y[/imath] we should make a new valid choice for every failed one. So, if [imath]m-1 < x+ds[/imath], then [imath]d(m_0-s)-1 < x \Rightarrow -1 < x- d(m_0-s)[/imath]. Because [imath]x-d(m-0-s)[/imath] is an integer, we can change the last inequality to [imath]0 \le x-d(m_0-s)[/imath], making [imath]x-d(m_0-s)[/imath] a viable choice for [imath]y[/imath]. Finally, we have [imath]n[/imath] choices for [imath]x[/imath], [imath]\frac{m}{d}[/imath] choices for y, giving us a total of [imath]\frac{nm}{d}[/imath] or [imath]\mathrm{lcm}(n, m)[/imath] elements in [imath]\langle ab \rangle[/imath]. [imath]\langle ab \rangle[/imath] having [imath]\mathrm{lcm}(n, m)[/imath] means that [imath]ab[/imath], an element of [imath]G[/imath], has order [imath]\mathrm{lcm}(n, m)[/imath]. QED.
I hope it's comprehensible.