Difference between revisions of "Proof of the Existence of Primitive Roots"
(Created page with "This page is dedicated to proving the existence of primitive roots for certain integers. ==Statement== Let <math>n</math> be a positive integer. Then <math>n</math> have a p...") |
(→Proof) |
||
Line 7: | Line 7: | ||
==Proof== | ==Proof== | ||
+ | |||
+ | We start case by case, starting with the easiest case: | ||
+ | |||
+ | ===Case 1=== | ||
+ | In this case, we have <math>n=p</math>, where <math>p</math> is prime. | ||
+ | |||
+ | We wish to show that <math>n</math> have a primitive root. | ||
+ | |||
+ | To do so, we first need a few lemmas regarding the solutions of [[polynomial congruences]]. | ||
+ | |||
+ | '''Lemma 1 (Lagrange's Theorem):''' | ||
+ | |||
+ | Let <math>p</math> be a prime and let | ||
+ | |||
+ | <cmath>f(x)= \sum _{i=0}^{n} (a_i \cdot x^i)</cmath> | ||
+ | |||
+ | be a polynomial with degree <math>n</math> (where <math>n</math> is an integer), with integer coeficients and leading coeficient <math>a_n</math> not divisible by <math>p</math>. | ||
+ | |||
+ | Then <math>f(x)</math> have at most <math>n</math> incongruent roots modulo <math>p</math>. | ||
+ | |||
+ | |||
+ | Note that this is a number theory analogue of the fundamental theorem of algebra. | ||
+ | |||
+ | Note also that this theorem only holds for primes. For example, when <math>f(x)=x^2-x</math>, there is <math>4</math> incongruent roots (as the reader should verify) modulo <math>6</math>, but this does not contradicts Lagrange's theorem since <math>6</math> is composite. | ||
+ | |||
+ | |||
+ | ''Proof:'' We proceed by mathematical induction. When <math>n=1</math>, the statement is obvious; it merely states that a linear congruence have at most one solution modulo <math>p</math>, which is true since <math>\gcd (a_1,p)=1</math>. | ||
+ | |||
+ | Now, suppose the theorem holds for a (n-1)th degree polynomial. Let <math>f(x)</math> be a nth degree polynomial with leading coeficient relatively prime to <math>p</math>. Then assume it have <math>n+1</math> incongruent roots modulo <math>p</math>, say <math>c_1, c_2, \dots , c_{n+1}</math>. Then, | ||
+ | |||
+ | <cmath>f(x) - f(c_1) = \sum _{i=0}^{n} a_i \cdot (x^i- {c_1}^i)</cmath> | ||
+ | |||
+ | <cmath>=\sum _{i=0}^{n} a_i \cdot (x-c_1) \cdot (\sum _{j=0}^{i-1} x^j \cdot {c_1}^{i-1-j})</cmath> | ||
+ | |||
+ | <cmath>=(x-c_1) \cdot g(x)</cmath> | ||
+ | |||
+ | for a (n-1)th degree polynomial <math>g(x)</math> with leading coeficient <math>a_{n}</math>. Then <math>g(x)</math> satisfy the conditions of the inductive hypothesis. | ||
+ | |||
+ | Now, let <math>k</math> be an arbitary integer with <math>1 \le k \le n+1</math>. <math>f(c_k) \equiv 0 \equiv f(c_i) \pmod {p}</math>. Thus, | ||
+ | |||
+ | <cmath>0 \equiv f(c_k) - f(c_1) = (c_k-c_1) g(c_k) \pmod {p}</cmath> | ||
+ | |||
+ | <cmath>\implies g(c_k) \equiv 0 \pmod {p}</cmath> | ||
+ | |||
+ | since | ||
+ | |||
+ | <cmath>c_k \not\equiv c_1 \pmod {p}</cmath> | ||
+ | |||
+ | Thus <math>c_2 , c_2 , \dots , c_{n+1}</math> are all roots of <math>g(x)</math>. This contradicts the inductive hypothesis, and thus establishes the lemma. <math>\square</math>. | ||
+ | |||
+ | |||
+ | Now, we have a useful corollary: | ||
+ | |||
+ | |||
+ | '''Corollary (Lemma 2):''' | ||
+ | |||
+ | Let <math>p</math> be prime and let <math>d</math> be a divisor of <math>p-1</math>. Then the polynomial <math>x^d -1</math> have exactly <math>d</math> incongruent roots modulo <math>p</math>. | ||
+ | |||
+ | |||
+ | ''Proof:'' Let <math>p-1 =d \cdot e</math>. We have | ||
+ | |||
+ | <cmath>x^{p-1} -1= (x^d-1) g(x)</cmath> | ||
+ | |||
+ | for a <math>p-1-d</math> degree polynomial <math>g(x)</math>. By Fermat's Little Theorem, <math>x^{p-1}-1</math> have exactly <math>p-1</math> roots modulo <math>p</math>. By Lagrange's Theorem, <math>g(x)</math> have at most <math>p-d-1</math> incongruent roots modulo <math>p</math>. Thus, <math>x^d -1</math> have at least <math>d</math> roots modulo <math>p</math>. On the other hand, Lagrange's Theorem again implies <math>x^d -1</math> have at ''most'' <math>d</math> incongruent roots. Thus, <math>x^d -1</math> have exactly <math>d</math> roots. <math>\square</math> | ||
+ | |||
+ | |||
+ | This result can be used to prove a result regarding the number of integer of a certain integer a prime <math>p</math> can have. Before we state and prove that, we present yet another lemma. | ||
+ | |||
+ | |||
+ | '''Lemma 3:''' | ||
+ | |||
+ | Let <math>p</math> be prime and let <math>d</math> be a divisor of <math>p-1</math>. Then the number of positive integers less than <math>p</math> of order <math>d</math> modulo <math>p</math> do not exceed <math>\phi (d)</math>. | ||
+ | |||
+ | |||
+ | ''Proof:'' Let <math>F(d)</math> denote the number of positive integers less than <math>p</math> of order <math>d</math> modulo <math>p</math>. | ||
+ | |||
+ | Now, if <math>F(d)=0</math>, the result is trivial. Assume <math>F(d) \ne 0</math>, and that <math>a</math> is an integer with order <math>d</math> modulo <math>p</math>. Then the integers | ||
+ | |||
+ | <cmath>a, a^2, \dots , a^d</cmath> | ||
+ | |||
+ | are incongruent modulo <math>p</math>. Also, each of those integers are a root of <math>x^d-1</math>. By Lemma 3, those are the only roots. Thus, every possible integer with order <math>d</math> modulo <math>p</math> must be a power of <math>a</math>. Obviously, the exponent of <math>a</math> must be relatively prime to <math>d</math>, or otherwise there exist a smaller solution to <math>(a^k)^x \equiv 1 \pmod {p}</math> (for <math>x</math>) than <math>d</math>, which would cause <math>\text {ord} _d a^k</math> to be less than <math>d</math>. Therefore, the result follow by the definition of the Euler-Phi Function. <math>\square</math>. | ||
+ | |||
+ | |||
+ | In fact, the number of positive integers less than <math>p</math> of order <math>d</math> modulo <math>p</math> is ''exactly'' <math>\phi (d)</math>, as the following lemma shows: | ||
+ | |||
+ | |||
+ | '''Lemma 4:''' | ||
+ | |||
+ | Let <math>p</math> be prime and let <math>d</math> be a divisor of <math>p-1</math>. Then the number of positive integers less than <math>p</math> of order <math>d</math> modulo <math>p</math> is exactly <math>\phi (d)</math>. | ||
+ | |||
+ | |||
+ | ''Proof:'' As the page [[Proof of Some Primitive Roots Facts]] proved, the order of an integer modulo <math>p</math> divides <math>p-1</math>, we have | ||
+ | |||
+ | <cmath>\sum _{d|p-1} F(d) = p-1</cmath> | ||
+ | |||
+ | By some Euler-Phi Function facts, we know that | ||
+ | |||
+ | <cmath>\sum _{d|p-1} \phi (d) = p-1</cmath> | ||
+ | |||
+ | Lemma 3 implies <math>F(d) \le \phi (d)</math> for each <math>d|p-1</math>, so it follows that <math>F(d)= \phi (d)</math> for every <math>d</math>. <math>\square</math>. | ||
+ | |||
+ | |||
+ | An easy corollary of that is when we take <math>d=p-1</math>, and we get that every prime have <math>\phi (p-1)</math> primitive roots. We have thus shown that every prime have a primitive roots. | ||
+ | |||
+ | Case 1 is completed. | ||
+ | |||
+ | ===Case 2=== | ||
+ | |||
+ | UNDER CONSTRUCTION |
Revision as of 22:34, 19 January 2025
This page is dedicated to proving the existence of primitive roots for certain integers.
Contents
Statement
Let be a positive integer. Then
have a primitive root if and only if
Proof
We start case by case, starting with the easiest case:
Case 1
In this case, we have , where
is prime.
We wish to show that have a primitive root.
To do so, we first need a few lemmas regarding the solutions of polynomial congruences.
Lemma 1 (Lagrange's Theorem):
Let be a prime and let
be a polynomial with degree (where
is an integer), with integer coeficients and leading coeficient
not divisible by
.
Then have at most
incongruent roots modulo
.
Note that this is a number theory analogue of the fundamental theorem of algebra.
Note also that this theorem only holds for primes. For example, when , there is
incongruent roots (as the reader should verify) modulo
, but this does not contradicts Lagrange's theorem since
is composite.
Proof: We proceed by mathematical induction. When , the statement is obvious; it merely states that a linear congruence have at most one solution modulo
, which is true since
.
Now, suppose the theorem holds for a (n-1)th degree polynomial. Let be a nth degree polynomial with leading coeficient relatively prime to
. Then assume it have
incongruent roots modulo
, say
. Then,
for a (n-1)th degree polynomial with leading coeficient
. Then
satisfy the conditions of the inductive hypothesis.
Now, let be an arbitary integer with
.
. Thus,
since
Thus are all roots of
. This contradicts the inductive hypothesis, and thus establishes the lemma.
.
Now, we have a useful corollary:
Corollary (Lemma 2):
Let be prime and let
be a divisor of
. Then the polynomial
have exactly
incongruent roots modulo
.
Proof: Let . We have
for a degree polynomial
. By Fermat's Little Theorem,
have exactly
roots modulo
. By Lagrange's Theorem,
have at most
incongruent roots modulo
. Thus,
have at least
roots modulo
. On the other hand, Lagrange's Theorem again implies
have at most
incongruent roots. Thus,
have exactly
roots.
This result can be used to prove a result regarding the number of integer of a certain integer a prime can have. Before we state and prove that, we present yet another lemma.
Lemma 3:
Let be prime and let
be a divisor of
. Then the number of positive integers less than
of order
modulo
do not exceed
.
Proof: Let denote the number of positive integers less than
of order
modulo
.
Now, if , the result is trivial. Assume
, and that
is an integer with order
modulo
. Then the integers
are incongruent modulo . Also, each of those integers are a root of
. By Lemma 3, those are the only roots. Thus, every possible integer with order
modulo
must be a power of
. Obviously, the exponent of
must be relatively prime to
, or otherwise there exist a smaller solution to
(for
) than
, which would cause
to be less than
. Therefore, the result follow by the definition of the Euler-Phi Function.
.
In fact, the number of positive integers less than of order
modulo
is exactly
, as the following lemma shows:
Lemma 4:
Let be prime and let
be a divisor of
. Then the number of positive integers less than
of order
modulo
is exactly
.
Proof: As the page Proof of Some Primitive Roots Facts proved, the order of an integer modulo divides
, we have
By some Euler-Phi Function facts, we know that
Lemma 3 implies for each
, so it follows that
for every
.
.
An easy corollary of that is when we take , and we get that every prime have
primitive roots. We have thus shown that every prime have a primitive roots.
Case 1 is completed.
Case 2
UNDER CONSTRUCTION