Prove Wilson's theorem by Lagrange's theorem

  • Thread starter Thread starter kingwinner
  • Start date Start date
  • Tags Tags
    Theorem
Click For Summary
SUMMARY

This discussion focuses on proving Wilson's theorem using Lagrange's theorem. The proof involves defining the polynomial f(x) = (x-1)(x-2)...(x-(p-1)) - (x^{p-1} - 1) for an odd prime p. It establishes that if f(x) has at least p-1 roots modulo p, it contradicts Lagrange's theorem, which states that a polynomial of degree n can have at most n roots. Consequently, f(x) must be identically zero modulo p, leading to the conclusion that (-1)^{p-1}(p-1)! + 1 ≡ 0 (mod p) for odd primes p.

PREREQUISITES
  • Understanding of Lagrange's theorem in modular arithmetic
  • Familiarity with Wilson's theorem and its implications
  • Knowledge of polynomial functions and their roots
  • Basic concepts of modular arithmetic and prime numbers
NEXT STEPS
  • Study the implications of Lagrange's theorem in polynomial equations
  • Explore advanced topics in number theory related to Wilson's theorem
  • Learn about polynomial identities and their applications in proofs
  • Investigate Fermat's Little Theorem and its relationship with Wilson's theorem
USEFUL FOR

Mathematicians, students of number theory, and anyone interested in advanced algebraic proofs, particularly those involving prime numbers and polynomial functions.

kingwinner
Messages
1,266
Reaction score
0
Lagrange's Theorem: let p be any prime and f(x) = a_nx^n +a_{n-1}x^{n-1} + ... + a_1x + a_0 with a_n ≡/≡ 0 (mod p). Then f(x) ≡ 0 (mod p) has at most n solutions.

Use the above theorem to prove Wilson's theorem.
Hint: Let f(x) = (x-1)(x-2)...(x-(p-1)) - (x^{p-1} - 1) for an odd prime p.

Proof:
Expanding,
f(x) = (x-1)(x-2)...(x-(p-1)) - (x^{p-1} - 1)
= a_{p-2}x^{p-2} +...+ a_1x + a_0 where the a_i are some coefficients
By the above theorem, f has at most p-2 roots mod p IF a_{p-2} ≡/≡ 0 (mod p). (*)
But by Fermat's theorem, for a=1,2,...,p-1, a^{p-1} -1 ≡ 0 (mod p).
So for a=1,2,...,p-1, f(a) ≡ 0 (mod p).
So f has at least p-1 roots mod p. (**)
(*) and (**) contradict unless f(x) ≡ 0 (mod p). Therefore, we must have f(x) ≡ 0 (mod p).
=> f(0)=(-1)(-2)...(-(p-1)) - (-1) ≡ 0 (mod p)
=> (-1)^{p-1} (p-1)! + 1 ≡ 0 (mod p)
For odd primes p, p-1 is even, so (p-1)! ≡ -1 (mod p)
(For p=2, check directly.)
=========================================

I don't understand the two lines in red.
I understand that there is a contradiction, but why does this imply that f(x) ≡ 0 (mod p)? Why in this case, there will be no contradiction? I'm totally lost here...

Also, f(x) ≡ 0 (mod p) doesn't necessarily mean it holds for EVERY integer x, so why can we substitute x=0 and say that f(0) ≡ 0 (mod p)? What is the justification for this step?

I hope someone can explain this proof.
Thank you very much!

[also under discussion in math help forum]
 
Physics news on Phys.org
If a polynomial with at most p-2 roots has, in fact, p-1, then it must be identically 0.
 
JSuarez said:
If a polynomial with at most p-2 roots has, in fact, p-1, then it must be identically 0.

Why? What is the reasoning?
Polynomial with at most p-2 roots has, in fact, p-1 roots <----this is already a contradiction. The statement is inconsistent...
 
Because the complete statement of Lagrange's theorem, is that, if f(x) is a nontrivial (not identically 0) polynomial with degree n, then it has at most n roots (mod p).

This doesn't happen with your polynomial, so it must be the trivial one. What does this imply for f(0)(mod p)?
 
Last edited:
Thanks! I think I got it!
 
I am studying the mathematical formalism behind non-commutative geometry approach to quantum gravity. I was reading about Hopf algebras and their Drinfeld twist with a specific example of the Moyal-Weyl twist defined as F=exp(-iλ/2θ^(μν)∂_μ⊗∂_ν) where λ is a constant parametar and θ antisymmetric constant tensor. {∂_μ} is the basis of the tangent vector space over the underlying spacetime Now, from my understanding the enveloping algebra which appears in the definition of the Hopf algebra...

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
Replies
48
Views
4K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 21 ·
Replies
21
Views
1K
  • · Replies 31 ·
2
Replies
31
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K