Prove Polynomial Congruence $(x+y)^n \equiv x^n + y^n$ (mod $p$)

  • Context: MHB 
  • Thread starter Thread starter lfdahl
  • Start date Start date
  • Tags Tags
    Polynomial
Click For Summary
SUMMARY

The polynomial congruence $(x+y)^n \equiv x^n + y^n$ (mod $p$) holds true if and only if the exponent $n$ is a power of the prime number $p$. This conclusion is derived from examining the properties of binomial expansions and their behavior under modular arithmetic with respect to prime moduli. The proof leverages the fact that for non-powers of $p$, the congruence fails due to the presence of mixed terms in the expansion.

PREREQUISITES
  • Understanding of modular arithmetic, specifically with prime moduli.
  • Familiarity with polynomial expansions and binomial coefficients.
  • Knowledge of number theory concepts, particularly properties of prime numbers.
  • Experience with congruences and their applications in algebra.
NEXT STEPS
  • Study the properties of binomial coefficients in modular arithmetic.
  • Explore the implications of Fermat's Little Theorem on polynomial congruences.
  • Investigate the relationship between powers of primes and polynomial identities.
  • Learn about applications of polynomial congruences in cryptography and coding theory.
USEFUL FOR

Mathematicians, number theorists, and students studying algebraic structures, particularly those interested in polynomial identities and modular arithmetic.

lfdahl
Gold Member
MHB
Messages
747
Reaction score
0
Given a prime number $p$, prove that the polynomial congruence
$(x + y)^n \equiv x^n + y^n$ (mod $p$) is true if and only if $n$ is a power of $p$.
 
Mathematics news on Phys.org
Hint:

Define the polynomial: $$P(x,y) = (x+y)^n-x^n-y^n = \sum_{k=1}^{n-1}{ n\choose k }x^ky^{n-k}$$

Consider the two cases:

(i). $n = p^a$

(ii). $n$ is not a power of $p$.
 
Suggested solution:

Let \[P(x,y) = (x+y)^n-x^n-y^n = \sum_{k=1}^{n-1}\binom{n}{k}x^{k}y^{n-k}.\]

(a). If $n = p^a$, then all the coefficients of $P$ are divisible by $p$.
Proof: For $1 \leq j \leq p^a-1$, $\binom{p^a}{j}=\frac{p^a}{j}\binom{p^a-1}{j-1}.$
If $j = rp^b$, where $gcd(r,p)=1$, then $\frac{p^a}{j}=\frac{p^{a-b}}{r}$, where $a-b \geq 1$ (since $j < p^a$). Thus $r$ must divide $\binom{p^a-1}{j-1}$ (since $\binom{p^a}{j}$ is an integer), and $\binom{p^a}{j}$ is divisible by $p^{a-b}$.

(b). If $n$ is not a power of $p$, then not all $\binom{n}{j}$ are divisible by $p$.
Proof: For $p^a < n < p^{a+1}$, let $c = n – p^a$ so $0 < c < p^a(p-1)$. Then $\binom{n}{c} = \binom{p^a+c}{c} = \prod_{j=1}^{c}\frac{p^a+j}{j}$. If $j = rp^b$, where $gcd(r,p) = 1$ and $b<a$, then $\frac{p^a+j}{j} = \frac{p^{a-b}+r}{r}$. From this $\binom{n}{c}$ equals a product of fractions none of whose numerators is a multiple of $p$.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 48 ·
2
Replies
48
Views
4K
  • · Replies 96 ·
4
Replies
96
Views
12K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K