Friday, February 22, 2008

Starting a new blog on algorithms

For the past two years, I have been working exclusively on a math blog. It has really been great for me. It has been an opportunity to delve into the history of mathematics in the effort of reviewing great works of genius and try to put these achievements in the context of a very tough math problem: Fermat's Last Theorem.

In light of the great enjoyment I've had in running this blog, I've decided to start another blog. This one will be closer to my day job, software engineering.

The purpose of the new blog is to analyze computer algorithms in the same way that I have up to now been analyzing mathematical proofs. It will cover the classic works of algorithms and some contemporary algorithms.

For example, my first series of blogs will be on the $50,000 algorithm. This is the algorithm that has won the 2007 Progress Prize as part of the $1 million Netflix Prize contest. Details on this content can be found here.

I hope to keep up the same standards of rigorous logic as well as clarity and precision. If you have an interest in computer programming, I hope that you find my new blog as interesting complement to this math blog.

I plan to continue the Fermat's Last Theorem blog up until Andrew Wiles' second proof so if math is your thing, please continue coming here. :-)

Regards,

-Larry

Monday, February 04, 2008

Gauss: Periods of Cyclotomic Equations

In today's blog, I show some major results from Carl Friedrich Gauss in his analysis of periods of cyclotomic equations. These results represent a very small subset of Gauss's work in his classic Disquisitiones Arithmeticae which he wrote when he was 21. These properties of periods of cyclotomic equations are later used to demonstrate Gauss's proof that all cyclotomic polynomials are solvable by radicals.

Today's content is taken straight from Jean-Pierre Tignol's Galois' Theory of Algebraic Equations which covers the history of Galois Theory from a mathematical perspective.

Definition 1: μp

Let μp denote the set of p-th roots of unity.

Examples:

μ1 = {1}
μ2 = {1, -1}
μ3 = {1, (1/2)[-1 + √-3], 1/2)[-1 - √-3])
μ4 = {1, -1, i, -i}

I will use μp in the following context:

Definition 2: Q(μp)

Let Q(μp) denote the set of complex numbers are rational expressions in these p-th roots of unity.

So that:



Definition 3: period of f terms of a p-th root of unity

For any two positive integers: e,f where ef = p-1, the periods of f terms are:

η0 = ζ0 + ζe + ζ2e + ... + ζe(f-1)

η1 = ζ1 + ζe+1 + ζ2e+1 + ... + ζe(f-1)+1

η2 = ζ2 + ζe+2 + ζ2e+2 + ... + ζe(f-1)+2

...

ηe-1 = ζe-1 + ζ2e-1 + ζ3e-1 + ... + ζe(f-1)+(e-1)

If you review Alexander-Theophile Vandermonde's solution of the eleventh root of unity, it is clear that Carl Friedrich Gauss's theory of periods is a generalization of his solution. Interestingly, it is not clear if Gauss derived his solution from the work of Vandermonde or if he came upon it independently as part of his solution of the seventeenth root of unity.

Definition 4: σi(f)

If we number each time that we apply σ such that σ(σ(f)) = σ12(f)), then:
σi(f) = σ12(...(σi(f))...))

We will now use the equation ef=p-1 (see Definition 3 above) to define a set whose elements are invariant under σe.

Definition 5: Kf

By Kf, let us denote the set of all Q(μp) which are invariant under σe where ef = p-1.

Examples of Kf:

(1) All rational numbers

u ∈ Q → u ∈ Kf [This is clear from Lemma 6, here]

(2) All periods of cyclotomic equations

This is clear from definition 3 above.

Now, we can use these definitions to identify some properties which we will use later.

Theorem 1: Kf is a vector space

Proof:

The proof follows from Definition 2, here since:

(1) Kf is nonempty [See Lemma 6, here since Q is nonempty]

(2) Kf is closed on addition. [See Lemma 5, here]

(3) Kf is closed on scalar multiplication. [See Lemma 7, here]

(4) Kf addition is associative. [See Lemma 5, here]

(5) 0 ∈ Kf [See Lemma 6, here since 0 ∈ Q]

(6) Kf has negative elements [See Lemma 7, here since (-1)*σ(x) = σ(-x)]

(7) Kf addition is commutative. [See Lemma 5, here]

(8) All elements of Kf are distributive since:

σ(a[b + c]) = σ(ab + ac)

(9) Scalar multiplication is associative [See Lemma 7, here]

(10) Existence of 1 [See Lemma 6, here since 1 ∈ Q]

QED

Theorem 2: Every element in Kf can be written in a unique way as a linear combination with rational coefficients of the e periods of f terms.

(1) Let a be an arbitrary element in Kf [See Definition 5 above]

(2) We can write a as follows: [See Definition 2 above and See Definition 1, here, for ζi]

a = a0ζ0 + a1ζ1 + ... + ae-1ζe-1 +
+ aeζe + ae+1ζe+1 + ... + a2e-1ζ2e-1 +
+ ... +
+ ae(f-1)ζe(f-1) + ae(f-1)+1ζe(f-1)+1 + ... + ap-2ζp-2

(3) By the definition of σi [See Definition 4 above], we have:

σe(a) = a0ζe + a1ζe+1 + ... + ae-1ζ2e-1 +
+ a2e + ae+1ζ2e+1 + ... + a2e-1ζ3e-1 +
+ ... +
+ ae(f-1)ζ0 + ae(f-1)+1ζ1 + ... + ap-2ζe-1.

(4) Since a ∈ Kf, we know that:

σe(a) = a

(5) Thus:

a0 = ae = a2e = ... = ae(f-1)

a1 = ae+1 = a2e+1 = ... = ae(f-1)+1

...

ae-1 = a2e-1 = a3e-1 = ... = ap-2

(6) Therefore:

a = a00 + ζe + ... + ζe(f-1)) +
+ a11 + ζe+1 + ... + ζe(f-1)+1) +
+ ... +
+ ae-1e-1 + ζ2e-1 + ... + ζp-2).

(7) This proves that a is a linear combination of the periods, since the expressions between the brackets are the periods of f terms. [See Definition 3 above]

(8) Further, this expression is unique. [See Theorem 4, here]

QED

Corollary 2.1: 1, η, η2, ..., ηe-1 is a basis for Kf

Proof:

This follows directly from Theorem 1 above, Theorem 2 above and Lemma 1, here.

QED

Theorem 3:

1, η, η2, ..., ηe-1 is a basis for the vector space Kf

Proof:

(1) 1, η, η2, ..., ηe-1 are linearly independent [see Definition 1, here for definition of linearly independent if needed] since:

(a) Assume that a0 + a1η + ... + ae-1ηe-1 = 0 for some rational numbers a0, ..., ae-1

(b) Then η is the root of the polynomial p(x) where:

p(x) = a0 + a1x + ... + ae-1xe-1 (from step #1a)

(c) Now if a0 + a1η + ... + ae-1ηe-1 = 0, it follows that:

σ(a0 + a1η + ... + ae-1ηe-1 ) = σ(0) = 0

σ2(a0 + a1η + ... + ae-1ηe-1 ) = σ2(0) = 0

σ3(a0 + a1η + ... + ae-1ηe-1 ) = σ3(0) = 0

...

σe-1(a0 + a1η + ... + ae-1ηe-1 ) = σe-1(0) = 0

(d) So, σ(η), σ2(η), ..., σe-1(η) are all roots of p(x) in step #1b

(e) Now, each of η, σ(η), etc. are the e periods of f terms which are pairwise distinct [See Definition 3 above]

(f) Since by the Fundamental Theorem of Algebra (see Theorem, here), the polynomial p(x) has degree at most e -1, it cannot have as roots the e periods of the f terms unless it is the zero polynomial.

(g) Therefore, a0 = ... = ae-1 = 0

(h) This then proves 1, η, η2, ..., ηe-1 are linearly independent. [See Definition 1, here]

(2) From Corollary 2.1 above, we know that dim Kf = e. [See Theorem 1, here and Definition 2, here]

(3) But then using the fact 1, η, η2, ..., ηe-1 are linearly independent and Lemma 2, here, we can conclude that:

1, η, η2, ..., ηe-1 is a basis for Kf.

QED

Corollary 3.1:

If η, η' are periods of f terms, then:

η' = a0 + a1η + ... + ae-1ηe-1

for some rational numbers a0, ..., ae-1

Proof:

This follows from Theorem 3 above since η' ∈ Kf and 1, η, η2, ..., ηe-1 is a basis for the vector space Kf.

QED

Lemma 4:

if gh=ef=p-1 and f divides g, then it follows that:

Kg ⊂ Kf

Proof:

(1) Since gh=ef and f divides g, there exists an integer k such that:

k = g/f = e/h

(2) Therefore e = hk which gives us that:

σe = (σh)k

(3) This means that every element that is invariant under σh is also invariant under σe since:

(a) Assume that an element a is invariant under σh such that:

σh(a) = a

(b) Further:

σh1h2(...(σhk(a)...))) = a

(4) Since h*k = e, it follows from definition 4 above that:

σh1h2(...(σhk(a)...))) = σe(a)

(5) And it follows that:

σe(a) = a

(6) Since σh(a) = a → a ∈ Kg and σe(a) = a → a ∈ Kf, it follows that:

Kg ⊂ Kf

QED

Lemma 5:

Let f,g be divisors of p-1.

If f divides g, then every element in Kf is a root of a polynomial of degree g/f with coefficients in Kg

Proof:

(1) Let a be an element of Kf

(2) Let us define k such that:

k = g/f

Since ef = gh, it follows that:

k = g/f = e/h

(3) Let use define P(x) such that:

P(x) = (x - a)(x - σh(a))(x - σ2h(a))*...*(x - σh(k-1)(a))

(4) P(x) has degree hk/h = k = g/f

(5) It is also clear that a is a root of P(x). [Since if x=a, then P(x)=0]

(6) We note that:

σhh(k-1)(a)) = σhk(a) = (σh(a))k

(7) Since k = e/h, it follows that e=hk and:

h(a))k = σe(a) = a

(8) Step #3 and step #6 and step #7 give us that:

σh(P(x)) = P(x)

(9) Therefore, we conclude that P(x) has coefficients in Kg.

QED

Corollary 5.1:

Let f,g be divisors of p-1 and let η, ξ be periods of f and g terms respectively.

If f divides g, then η is a root of a polynomial of degree g/f whose coefficients are rational expressions of ξ

Proof:

(1) ξ ∈ Kg, and η ∈ Kf

(2) Using Lemma 5 above, we know that η is a root of a polynomial P(x) of degree g/f with coefficients in Kg

(3) Using Theorem 3 above, it follows that:

P(x) has coefficients which are rational expressions of ξ.

QED

References

Sunday, February 03, 2008

Gauss: σ notation

In today's blog, I present a mapping notation σ(f) that I will use in proofs about periods of cyclotomic equations. I will talk in more detail in my next blog about Gauss's concept of periods which generalize the same method that Alexander-Theophile Vandermonde used to solve the eleventh root of unity.

The content in today's blog is taken straight from Jean-Pierre Tignol's Galois' Theory of Algebraic Equations.

Lemma 1:

for any prime p, if m ≡ n (mod p), and ζ is a p-th root of unity

then:

ζm = ζn

Proof:

(1) Assume m ≡ n (mod p) [See here for a review of modular arithmetic if needed]

(2) Then, there exists an integer d such that:

0 ≤ d ≤ p-1

and

m ≡ d (mod p)
n ≡ d (mod p)

(3) So there exists m' and n' such that:

m = m'*p + d
n = n'*p + d

(4) Since ζp = 1 (see here for review of roots of unity if needed), this gives us that:

ζm = ζm'*p + d = (ζp)m'd = 1m'd = ζd

ζn = ζn'*p + d = (ζp)n'd = 1n'd = ζd

QED

Definition 1: ζi

Let ζi = ζgi where g is a primitive root of a prime p.

Lemma 2:

ζp-1 = ζ0

ζp = ζ1

Proof:

(1) Since g is a primitive root, gp-1 ≡ 1 (mod p) [By Fermat's Little Theorem, see here].

(2) So using Lemma 1 above, it follows that:

ζp-1 = ζgp-1 = ζ1 = ζg0 = ζ0

and

ζp = ζg(p-1)+1 = ζgp-1*g1 = (ζgp-1)g = (ζ1)g = ζg1 = ζ1

QED

Definition 2: μp

Let μp denote the set of p-th roots of unity so that:

μp = { 1, ζ0, ζ1, ..., ζp-2 }

Example:

μ1 = {1}
μ2 = {1, -1}
μ3 = {1, (1/2)[-1 + √-3], 1/2)[-1 - √-3])
μ4 = {1, -1, i, -i}

Definition 3: σ(ζ) where ζ ∈ μp

Let σ be a map that changes f(ζ) to f(ζg)

Lemma 3: σ(ζi) = ζi+1

Proof:

(1) From the definition of ζi [See Definition 1 above]

σ(ζi) = σ(ζgi)

(2) From the definition of σ [See Definition 2 above]

σ(ζgi) = ζgi+1 = ζi+1

QED

Lemma 4:

if ρ, ω ∈ μp

then:

σ(ρω) = σ(ρ)σ(ω)

Proof:

(1) Since ρ, ω ∈ μp, there exists i,j such that:

ρ = ζi

ω = ζj

(2) σ(ρ)σ(ω) = (ζgi+1)*(ζgj+1) = (ζgi)g*(ζgj)g = (ζgigj)g

(3) There also exists a,b such that:

gi ≡ a (mod p)
gj ≡ b (mod p)

(4) So that ρ*ω = ζab = ζa+b

(5) There exists d such that a+b ≡ d (mod p) and 0 ≤ d ≤ p-1 so it follows that ζd ∈ μp

(6) There exists k such that gk ≡ d (mod p) so we have:

σ(ρ*ω) = σ(ζgk) = ζgk+1 = (ζgk)g = (ζa + b)g = (ζgi + gj)g = (ζgigj)g

QED

Definition 4: Q(μp)

Let Q(μp) denote the set of complex numbers that are rational expressions in these p-th roots of unity.

This gives us that:



Definition 5: σ(f) where f ∈ Q(μp)

σ(a0ζ0 + ... + ap-2ζp-2) = a0σ(ζ0) + ... + ap-2σ(ζp-2)

where ai ∈ Q and ζi ∈ μp

Lemma 5: σ is well-defined on the whole of Q(μp)

Proof:

This follows from Definition 5 above and Theorem 4, here.

QED

Lemma 6:

The map σ is a field automorphism of Q(μp) which leaves every element of Q invariant.

Proof:

(1) σ is bijective . [See Definition 1, here for definition of bijective; see Definition 5 above]

(2) σ(ua + vb) = uσ(a) + vσ(b) for a,b ∈ Q(μp) and u,v ∈ Q. [see Definition 5 above]

(3) If a ∈ Q, then using Corollary 1.1, here, we have:

a = (-a)ζ + (-a)ζ2 + ... + (-a)ζp-1

where ζ is a primitive p-th root of unity

(4) Since each of these ζi corresponds to a different p-th root of unity (see Theorem 3, here), this implies that:

a = (-a)ζ0 + (-a)ζ1 + ... + (-a)ζp-2

(5) This shows that every rational number is invariant under σ.

(6) Finally: σ(ab) = σ(a)σ(b) where a,b ∈ Q(μp) since:

(a) We can define a,b, and ab as summations:

a = ∑ (i=0, p-2) aiζi

b = ∑ (j=0, p-2) bjζj

ab = ∑ (i,j =0, p-2) aibjζiζj

(b) From Definition 5 above, we have:

σ(ab) = ∑ (i,j=0, p-2) σ(aibjζiζj)

(c) Since ai, bj ∈ Q, we have:

σ(ab) = ∑ (i,j=0, p-2) aibjσ(ζiζj)

(d) Since ζi, ζj ∈ μp, using Lemma 4 above, we have:

σ(ab) = ∑ (i,j=0, p-2) aibjσ(ζi)σ(ζj)

(e) Also, using Definition 5 above, we have:

σ(a)σ(b) = [∑ (i=0, p-2) σ(aiζi)][∑ (j=0, p-2) σ(bjζj)]

(f) Since ai, bj ∈ Q, we have:

σ(a)σ(b) = [∑ (i=0, p-2) aiσ(ζi)][∑ (j=0, p-2) bjσ(ζj)] =

= ∑ (i,j=0, p-2) aibjσ(ζi)σ(ζj)

(7) This shows that σ is a field automorphism of Q(μp) [See Definition 6, here, for definition of field automorphism]

QED

Definition 6: σ(f) where f ∈ Q(μk)(μp) where k divides p-1.

σ(a0ζ0 + ... + ap-2ζp-2) = a0σ(ζ0) + ... + ap-2σ(ζp-2)

where ai ∈ Q(μk) and ζi ∈ μp

Lemma 7: σ is well-defined on the whole of Q(μk)(μp)

Proof:

This follows from Definition 6 above and Corollary 3.1, here.

QED

Lemma 8:

The map σ is a field automorphism of Q(μk)(μp) which leaves every element of Qk) invariant.

Proof:

(1) σ is bijective . [See Definition 1, here for definition of bijective; see Definition 6 above]

(2) σ(ua + vb) = uσ(a) + vσ(b) for a,b ∈ Q(μk)(μp) and u,v ∈ Q(μk). [see Definition 6 above]

(3) If a ∈ Qk), then using Corollary 1.1, here, we have:

a = (-a)ζ + (-a)ζ2 + ... + (-a)ζp-1

where ζ is a primitive p-th root of unity

(4) Since each of these ζi corresponds to a different p-th root of unity (see Theorem 3, here), this implies that:

a = (-a)ζ0 + (-a)ζ1 + ... + (-a)ζp-2

(5) This shows that every number a ∈ Q(μk) is invariant under σ.

(6) Finally: σ(ab) = σ(a)σ(b) where a,b ∈ Q(μk)(μp) since:

(a) We can define a,b, and ab as summations:

a = ∑ (i=0, p-2) aiζi

b = ∑ (j=0, p-2) bjζj

ab = ∑ (i,j =0, p-2) aibjζiζj

(b) From Definition 6 above, we have:

σ(ab) = ∑ (i,j=0, p-2) σ(aibjζiζj)

(c) Since ai, bj ∈ Q, we have:

σ(ab) = ∑ (i,j=0, p-2) aibjσ(ζiζj)

(d) Since ζi, ζj ∈ μp, using Lemma 4 above, we have:

σ(ab) = ∑ (i,j=0, p-2) aibjσ(ζi)σ(ζj)

(e) Also, using Definition 6 above, we have:

σ(a)σ(b) = [∑ (i=0, p-2) σ(aiζi)][∑ (j=0, p-2) σ(bjζj)]

(f) Since ai, bj ∈ Q(μk), we have:

σ(a)σ(b) = [∑ (i=0, p-2) aiσ(ζi)][∑ (j=0, p-2) bjσ(ζj)] =

= ∑ (i,j=0, p-2) aibjσ(ζi)σ(ζj)

(7) This shows that σ is a field automorphism of Q(μk)(μp) [See Definition 6, here, for definition of field automorphism]

QED

References

Friday, February 01, 2008

Gauss: Q(μp)

In today's blog, I will review some basic properties of Q(μp) which is the set of complex numbers which are rational expressions in the p-th roots of unity.

The content in today's blog is taken straight from Jean-Pierre Tignol's Galois Theory of Algebraic Equations. I will later use the results in today's blog in the proof by Carl Friedrich Gauss that all roots of unity are expressible as radicals.

Definition 1: μp

Let μp denote the set of p-th roots of unity.

Example:

μ1 = {1}
μ2 = {1, -1}
μ3 = {1, (1/2)[-1 + √-3], 1/2)[-1 - √-3])
μ4 = {1, -1, i, -i}

Now, let's use this to define a field (see Definition 3, here for definition of a field if needed)

Definition 2: Q(μp)

Let Q(μp) denote the set of complex numbers that are rational expressions in these p-th roots of unity.

This gives us that:



Now, we can show that Q(μp) = Q(ζ).

Lemma 1:

Q(μp) = Q(ζ)

Proof:

(1) From Defintion 1 above:

μp = { ρ1, ..., ρp}

(2) Let ζ = a primitive p-th root of unity (see Definition 2, here for definition of a primitive p-th root of unity if needed)

(3) Using Theorem 3, here, we have:

μp = { 1, ζ, ζ2, ..., ζp-1 }

(4) Then we have:



QED

Lemma 2:

Let P,Q be polynomials with coefficients in field F.

If:

P is irreducible in F[X]. (See Definition 1, here, for definition of irreducible polynomials)

P,Q have a common root u in field K which contains F

Then:

P divides Q.

Proof:

(1) Assume that P does not divide Q.

(2) Then P,Q are relatively prime polynomials since P is irreducible. [See Definition 1, here for definition of irreducible polynomials]

(3) Then (see Corollary 3.1, here), there exists polynomials U,V in F[X] such that:

P(X)U(X) + Q(X)V(X) = 1

(4) Substituting the common root u into the polynomials, we get:

P(u)U(u) + Q(u)V(u) = 1 in K

(5) Since u is the root for P(X) and Q(X), this gives us that:

P(u) = 0, Q(u) = 0 in K

(6) But then:

o*U(u) + 0*V(u) = 1 in K which is impossible.

(7) Therefore we reject our assumption in step #1.

QED

Lemma 3:

If u ∈ field K is a root of an irreducible polynomial P ∈ F[X] of degree d

and



Then:

every element in F(u) can be uniquely written in the form:

a0 + a1u + a2u2 + ... + ad-1ud-1 with ai field F.

Proof:

(1) Let f(u)/g(u) be an arbitrary element in F(u)

(2) Since g(u) ≠ 0, it follows that g(u) is not divisible by P since:

(a) Assume that g(u) is divisible by P.

(b) Since P(u) = 0, if follows that (X - u) divides P. [See Theorem, here]

(c) But if P divides g(u), then (X -u) divides g(u).

(d) But this is impossible since this implies g(u) = 0 [See Theorem, here] but g(u) ≠ 0.

(e) So we reject the assumption in step #2a.

(3) Then, g(u) is relatively prime to P since P is irreducible. [See Definition 1, here for definition of irreducible polynomials]

(4) Then (see Corollary 3.1, here), there exists polynomials h,U in F such that:

g(X)h(X) + P(X)U(X) = 1 in F[X]

(5) Since P(u) = 0, substituting u for X gives us:

g(u)h(u) + P(u)U(u) = g(u)h(u) + 0*U(u) = g(u)h(u) = 1 in K.

(6) Since g(u) ≠ 0, we have:

h(u) = 1/g(u) in K

which gives us that:

f(u)/g(u) = f(u)h(u) in K

(7) Using the Division Algorithm for Polynomials (see Theorem, here), there exists Q, R such that:

fh = PQ + R in F[X] with deg R ≤ d - 1.

(8) Since P(u) = 0, it follows that:

f(u)h(u) = P(u)Q(u) + R(u) = 0*Q(u) + R(u) = R(u) in K

(9) Since R(u) is a polynomial of degree at most d-1, we have converted an arbitrary expression f(u)/g(u) ∈ F(u) into a polynomial expression of the type:

a0 + a1u + ... + ad-1ud-1

with ai ∈ F

(10) Now, I will prove uniqueness.

(11) Assume that:

a0 + a1u + ... + ad-1ud-1 = b0 + b1u + ... + bd-1ud-1

(12) Let us define V(X) such that:

V(X) = (a0 - b0) + (a1 - b1)X + ... + (ad-1 - bd-1)Xd-1 ∈ F[X]

(13) It is clear that V(u) = 0 from step #11.

(14) Using Lemma 2 above, it is clear that P divides V.

(15) But since deg V ≤ d-1 and since P is of degree d, this is impossible unless V=0.

(16) Therefore, it follows that:

a0 - b0 = a1 - b1 = ... = ad-1 - bd-1 = 0

QED

Theorem 4: Every element in Q(μp) can be expressed in one and only one way as a linear combination with rational coefficients of the p-th roots of unity other than 1:

a1ζ + a2ζ2 + ... + ap-1ζp-1

with ai ∈ Q.

Proof:

(1) Let ζ be a root of Φp [See Definition 1, here]

(2) Q(μp) = Q(ζ) [From Lemma 1 above]

(3) Since p is a prime, Φp is irreducible over Q . [See Corollary 1.1., here]

(4) Using Lemma 3 above, since the degree of ζ is p-1, it follows that every element a ∈ Q(μp) can be uniquely expressed in the form:

a = a0 + a1ζ + a2ζ2 + ... + ap-2ζp-2

for some ai ∈ Q.

(5) Using the cyclotomic equation (see Lemma 1, here), we have:

Φp(ζ) = 1 + ζ + ζ2 + ... + ζp-1 = 0

which means that:

ζ + ζ2 + ... + ζp-1 = -1

(6) This gives us that:

a0 = -a0(ζ + ζ2 + ... + ζp-1)

(7) Combining step #6 with step #4 gives us:

a = (a1 - a0)ζ + (a2 - a02 + ... + (ap-2 - a0p-2 + (-a0p-1

(8) To prove uniqueness, let's assume that:

a1ζ + ... + ap-1ζp-1 = b1ζ + ... + bp-1ζp-1

(9) From step #5, we also have:

ζp-1 = -1 - ζ - ζ2 + ... -ζp-2

(10) Putting this into step #8 gives us:

a1ζ + ... + ap-1(-1 - ζ - ζ2 + ... -ζp-2) = b1ζ + ... + bp-1(-1 - ζ - ζ2 + ... -ζp-2)

which reduces to:

-ap-1 + (a1 - ap-1)ζ + (a2 - ap-12 + ... + (ap-2 - ap-1p-2 = -bp-1 + (b1 - bp-1)ζ + (b2 - bp-12 + ... + (bp-2 - bp-1p-2

(11) From Lemma 3 above, we can conclude that the coefficients on both sides are equal which gives us:

ap-1 = bp-1

which then gives us:

a1 = b1
...
ap-2 = bp-2

QED

References

Thursday, January 31, 2008

Eisenstein: Criteria for Irreducibility of Polynomials

In today's blog, I will go over a classical result from Ferdinand Eisenstein. The content in today's proof is taken directly from Jean-Pierre Tignol's Galois' Theory of Algebraic Equations.

I will later use this result in Carl Friedrich Gauss's proof that all roots of unity are expressible as radicals.

For those who are not familiar, a monic polynomial is a polynomial whose leading coefficient is 1.

Theorem 1: Eisenstein's Criteria for Irreducibility of Polynomials

Let P be a monic polynomial with integral coefficients such that:

P = Xt + ct-1Xt-1 + ... + c1X + c0 ∈ Z[X]

If there is a prime number p which divides ci for i = 0, ..., t-1 but p2 does not divide c0

then:

P is irreducible over Q

Proof

(1) Assume that P is not irreducible over Q.

(2) Then there exist two non-constant polynomials f,g ∈ Q[X] such that:

P = fg

(3) Assume that f has degree n with n ≥ 1 and g has degree m with m ≥ 1 so that:

f = Xn + an-1Xn-1 + ... + a1X + a0 ∈ Z[X]

g = Xm + bm-1Xm-1 + ... + b1X + b0 ∈ Z[X]

(4) Since P is monic, we can assume that f,g are monic [if f,g are not monic, then (f/an is monic and an*g is monic since P = (f/an)*(g*an)]

(5) From step #2, it is also clear that c0 = a0*b0

(6) Using Euclid's Lemma (see Lemma 2, here), it is clear that for the prime p, p divides a0 or b0.

(7) It is also clear that since p2 does not divide c0 that p cannot divide both a0 and b0.

(8) We can assume that p divides a0 but not b0 (if it did not, we could switch f,g since they are interchangeable with respect to p and make the same assumption)

(9) Let i be the largest index of a such that p divides ai. It is clear that 0 ≤ i ≤ n-1. So, we can conclude that for any i, p divides a0, a1, ..., ai.

(10) Let k = i+1, it is clear that 1 ≤ k ≤ n and p does not divide ak.

(11) So:

ci+1 = ai+1b0 + aib1 + ai-1b2 + ... + a0bi+1.

where bj = 0 if j is greater than m.

(12) Now i+1 ≤ n which is less than t since n+1 ≤ m+n = t [since m ≥ 1 and n ≥ 1]

(13) So it follows that i+1 ≤ t-1 and p divides ci+1. [From the given in the theorem that p divides c0, ..., ct-1]

(14) So, from step #13, it follows that since p divides ci+1 and p divides a0, a1, ..., ai [step #9] that p must also divide ai+1b0.

(15) But this is impossible since p doesn't divide b0 (step #8) and p doesn't divide ai+1 [step #10]

(16) So we have a contradiction and we must reject our assumption in step #1.

QED

Corollary 1.1: For every prime p, the cyclotomic polynomial

Φp(x) = xp-1 + xp-2 + ... + x + 1

is irreducible over the field of rational numbers

Proof:

(1) From the definition of the cyclotomic polynomial (see Definition 1, here):

Φp(x) = (xp - 1)/(x - 1)

(2) Setting x = y + 1, we get:

Φp(y+1) = ([y + 1]p - 1)/([y + 1] - 1) =

= ([y + 1]p - 1)/y

(3) Using the Binomial Theorem (see Theorem, here):



(4) So, combining this with step #2 gives us:












(5) Now, it is clear that for (y+1)p all the resulting coefficients are integral (since integers are closed on additional and multiplication, see Lemma 1 and Lemma 2, here).

(6) Further, we know that for p!/[(m!)(p-m)!] where 1 ≤ m ≤ p-2, p is not divisible by (m!) or by (p-1)! [Since p is a prime and only divisible by p and m! and (p-m)! does not include p]

(7) So, we can conclude that for m=1, ..., p-2, we have p divides p!/[(m!)(p-m)!]

(8) Now, we can use Eisenstein's Criterion above to conclude that the cyclotomic polynomial is irreducible in the field Q since:

the cyclotomic polynomial is monic, p divides all coefficients except for the leading coefficient, and p2 does not divide the last coefficient (p2 does not divide p.)

QED

References