Order Of A Modulo N And Cyclotomic Polynomials

by Blender 47 views
Iklan Headers

Let's dive into a fascinating connection between the order of an integer modulo nn and cyclotomic polynomials. Specifically, we're going to explore the theorem that states if dd is the order of aa modulo nn, then nn divides Φd(a)\Phi_d(a), where Φd(a)\Phi_d(a) is the dd-th cyclotomic polynomial evaluated at aa. This is a cool result in number theory, blending abstract algebra concepts with polynomial arithmetic.

Understanding the Basics

Before we jump into the proof, let's make sure we're all on the same page with the terminology. Guys, it's important to have these definitions locked down. First, the order of aa modulo nn, denoted as ordn(a)ord_n(a), is the smallest positive integer dd such that ad1(modn)a^d \equiv 1 \pmod{n}. This means nn divides ad1a^d - 1, and dd is the smallest positive exponent for which this is true. Crucially, we assume that gcd(a,n)=1gcd(a, n) = 1, because the order is only defined when aa and nn are coprime.

Next, let's talk about cyclotomic polynomials. The dd-th cyclotomic polynomial, denoted as Φd(x)\Phi_d(x), is a polynomial whose roots are the primitive dd-th roots of unity. In other words, it's the monic polynomial whose roots are the complex numbers e2πik/de^{2\pi i k/d} where kk ranges from 11 to dd and gcd(k,d)=1gcd(k, d) = 1. A key property of cyclotomic polynomials is that they are irreducible over the rational numbers. Another important property is the identity:

xn1=dnΦd(x)x^n - 1 = \prod_{d|n} \Phi_d(x)

This identity tells us that xn1x^n - 1 can be factored into cyclotomic polynomials whose indices are the divisors of nn. For example, if n=6n = 6, we have:

x61=Φ1(x)Φ2(x)Φ3(x)Φ6(x)x^6 - 1 = \Phi_1(x) \Phi_2(x) \Phi_3(x) \Phi_6(x)

where Φ1(x)=x1\Phi_1(x) = x - 1, Φ2(x)=x+1\Phi_2(x) = x + 1, Φ3(x)=x2+x+1\Phi_3(x) = x^2 + x + 1, and Φ6(x)=x2x+1\Phi_6(x) = x^2 - x + 1.

Theorem Statement

Given an integer aa such that gcd(a,n)=1gcd(a, n) = 1, prove that ordn(a)=dord_n(a) = d if and only if nΦd(a)n | \Phi_d(a).

We are going to prove that ordn(a)=dord_n(a)=d if and only if nΦd(a)n | \Phi_d(a).

Proof

We will prove this in two directions:

Part 1: If ordn(a)=dord_n(a) = d, then nΦd(a)n | \Phi_d(a)

Suppose ordn(a)=dord_n(a) = d. This means that ad1(modn)a^d \equiv 1 \pmod{n}, and dd is the smallest positive integer for which this holds. Since ad1(modn)a^d \equiv 1 \pmod{n}, it follows that n(ad1)n | (a^d - 1). Now, using the identity relating xn1x^n - 1 to cyclotomic polynomials, we can write:

ad1=kdΦk(a)a^d - 1 = \prod_{k|d} \Phi_k(a)

This means that nn divides the product kdΦk(a)\prod_{k|d} \Phi_k(a). Our goal is to show that nn specifically divides Φd(a)\Phi_d(a).

Since n(ad1)n | (a^d - 1), we have ad1(modn)a^d \equiv 1 \pmod{n}. Also, ad1=Φd(a)kd,k<dΦk(a)a^d - 1 = \Phi_d(a) \prod_{k|d, k<d} \Phi_k(a). Let's assume, for the sake of contradiction, that nn does not divide Φd(a)\Phi_d(a).

Since ordn(a)=dord_n(a) = d, we know that ak≢1(modn)a^k \not\equiv 1 \pmod{n} for any k<dk < d. This is crucial. Now, let's consider the product kd,k<dΦk(a)\prod_{k|d, k<d} \Phi_k(a). If we can show that gcd(n,kd,k<dΦk(a))=1gcd(n, \prod_{k|d, k<d} \Phi_k(a)) = 1, then since n(ad1)n | (a^d - 1) and ad1=Φd(a)kd,k<dΦk(a)a^d - 1 = \Phi_d(a) \prod_{k|d, k<d} \Phi_k(a), it must be the case that nΦd(a)n | \Phi_d(a).

However, proving that gcd(n,kd,k<dΦk(a))=1gcd(n, \prod_{k|d, k<d} \Phi_k(a)) = 1 directly can be tricky. Instead, we'll use a slightly different approach.

Consider the minimal polynomial m(x)m(x) of aa modulo nn. This is the monic polynomial of smallest degree such that m(a)0(modn)m(a) \equiv 0 \pmod{n}. Since ad1(modn)a^d \equiv 1 \pmod{n}, the polynomial xd1x^d - 1 is a polynomial that vanishes at aa modulo nn. Therefore, m(x)m(x) must divide xd1x^d - 1. Also, since Φd(a)0(modn)\Phi_d(a) \equiv 0 \pmod{n} (we want to show this), it means that m(x)m(x) divides Φd(x)\Phi_d(x).

Now, because xd1=kdΦk(x)x^d - 1 = \prod_{k|d} \Phi_k(x), we know that all irreducible factors of xd1x^d - 1 modulo nn must be among the Φk(x)\Phi_k(x) for kdk|d. Since ordn(a)=dord_n(a) = d, it means that dd is the smallest positive integer such that ad1(modn)a^d \equiv 1 \pmod{n}. Thus, if we consider any k<dk < d such that kdk|d, we must have ak≢1(modn)a^k \not\equiv 1 \pmod{n}.

This implies that nn cannot divide ak1a^k - 1 for any k<dk < d. Therefore, nn cannot divide Φk(a)\Phi_k(a) for any k<dk < d. If nn divides ad1=kdΦk(a)a^d - 1 = \prod_{k|d} \Phi_k(a) and nn does not divide Φk(a)\Phi_k(a) for any k<dk < d, then it must be that nΦd(a)n | \Phi_d(a).

Part 2: If nΦd(a)n | \Phi_d(a), then ordn(a)=dord_n(a) = d

Now, suppose that nΦd(a)n | \Phi_d(a). This means that Φd(a)0(modn)\Phi_d(a) \equiv 0 \pmod{n}. We want to show that ordn(a)=dord_n(a) = d.

Since Φd(a)0(modn)\Phi_d(a) \equiv 0 \pmod{n}, we know that aa is a root of Φd(x)\Phi_d(x) modulo nn. Also, we know that xd1=kdΦk(x)x^d - 1 = \prod_{k|d} \Phi_k(x). Therefore, ad1=kdΦk(a)a^d - 1 = \prod_{k|d} \Phi_k(a). Since nΦd(a)n | \Phi_d(a), it follows that Φd(a)0(modn)\Phi_d(a) \equiv 0 \pmod{n}, and thus ad10(modn)a^d - 1 \equiv 0 \pmod{n}. This implies that ad1(modn)a^d \equiv 1 \pmod{n}.

Now, we need to show that dd is the smallest positive integer such that ad1(modn)a^d \equiv 1 \pmod{n}. Suppose, for the sake of contradiction, that there exists a positive integer k<dk < d such that ak1(modn)a^k \equiv 1 \pmod{n}. Then ordn(a)=k<dord_n(a) = k < d.

If ak1(modn)a^k \equiv 1 \pmod{n} for some k<dk < d, then n(ak1)n | (a^k - 1). We also know that xk1=jkΦj(x)x^k - 1 = \prod_{j|k} \Phi_j(x). Thus, ak1=jkΦj(a)a^k - 1 = \prod_{j|k} \Phi_j(a). Since n(ak1)n | (a^k - 1), it means that nn must divide jkΦj(a)\prod_{j|k} \Phi_j(a).

However, this contradicts the fact that ordn(a)=dord_n(a) = d. To see why, consider the identity xd1=kdΦk(x)x^d - 1 = \prod_{k|d} \Phi_k(x). If ak1(modn)a^k \equiv 1 \pmod{n} for some k<dk < d, it means that ordn(a)k<dord_n(a) \leq k < d. But we assumed that ordn(a)=dord_n(a) = d, which is a contradiction. Therefore, there cannot exist any k<dk < d such that ak1(modn)a^k \equiv 1 \pmod{n}.

Thus, dd must be the smallest positive integer such that ad1(modn)a^d \equiv 1 \pmod{n}, which means ordn(a)=dord_n(a) = d.

Conclusion

In conclusion, we have shown that ordn(a)=dord_n(a) = d if and only if nΦd(a)n | \Phi_d(a). This theorem provides a powerful connection between the order of an element modulo nn and cyclotomic polynomials, illustrating the deep interplay between number theory and abstract algebra. This is a beautiful result, and I hope this explanation has made it clear and understandable for everyone!