Solve Exercise with Modulo: Is this Correct?

  • Context: MHB 
  • Thread starter Thread starter mathmari
  • Start date Start date
  • Tags Tags
    Exercise
Click For Summary
SUMMARY

The discussion centers on proving that if \( a^p \equiv b^p \pmod{p} \) for a prime \( p \) where \( p \nmid a \) and \( p \nmid b \), then \( a^p \equiv b^p \pmod{p^2} \). The proof utilizes the binomial expansion of \( (b + kp)^p \) and demonstrates that all terms except the first are divisible by \( p^2 \). The participants confirm the correctness of the proof and emphasize the necessity of showing that certain binomial coefficients yield integers.

PREREQUISITES
  • Understanding of modular arithmetic, specifically properties of congruences.
  • Familiarity with binomial coefficients and their properties.
  • Basic knowledge of prime numbers and their characteristics in modular contexts.
  • Experience with mathematical induction as a proof technique.
NEXT STEPS
  • Study the properties of binomial coefficients, particularly in relation to prime numbers.
  • Learn about modular arithmetic proofs involving higher powers, such as Hensel's lemma.
  • Explore the implications of Fermat's Little Theorem in modular arithmetic.
  • Investigate the applications of binomial expansions in number theory.
USEFUL FOR

Mathematicians, students of number theory, and anyone interested in advanced modular arithmetic proofs and properties of prime numbers.

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

I have the following exercise:

If $p$ is prime, $p \nmid a$, $p \nmid b$, prove that $$a^p \equiv b^p \pmod p \Rightarrow a^p \equiv b^p \pmod {p^2}$$

My idea is the following:
$$ a^p \equiv b^p \pmod p $$
$$ a^p \equiv a \pmod p $$
$$ b^p \equiv b \pmod p $$

$$ a \equiv b \pmod p \Rightarrow a=b+kp, k \in \mathbb{Z}$$

$$ a^p=(b+kp)^p=\sum_{m=0}^{p} \binom{p}{m} (kp)^mb^{p-m}=\binom{p}{0}b^p+\binom{p}{1}(kp)b^{p-1}+ \dots + \binom{p}{p}(kp)^p= \\ b^p+kp^2b^{p-1}+ \frac{1}{2}(p-1)p^3b^{p-2}k^2+\dots + k^pp^p$$

$$ p^2 \mid kp^2b^{p-1}+ \frac{1}{2}(p-1)p^3b^{p-2}k^2+\dots + k^pp^p
\Rightarrow p^2 \mid a^p-b^p $$

Is this correct?? (Wondering)
 
Physics news on Phys.org
That looks correct.
 
Deveno said:
That looks correct.

Do we not have to prove that $$kb^{p-1}+ \frac{1}{2}(p-1)pb^{p-2}k^2+\dots + k^pp^{p-2} \in \mathbb{Z} $$?? (Wondering)
 
mathmari said:
Do we not have to prove that $$kb^{p-1}+ \frac{1}{2}(p-1)pb^{p-2}k^2+\dots + k^pp^{p-2} \in \mathbb{Z} $$?? (Wondering)

Yep. We do.
Can you? (Wondering)
 
I like Serena said:
Yep. We do.
Can you? (Wondering)

Consider that each of the binomial coefficients is of the form:
$$\binom p k = \frac{p \cdot (p-1) \cdot ... \cdot (p-k+1)}{1\cdot 2 \cdot ... \cdot k}$$
It is given that this is an integer.
So each of those factors in the denominator come back in the numerator somehow.
Can any of them contain a factor that divides $p$? (Wondering)
 
One can prove that:

$\displaystyle \binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k}$

which furnishes an easy inductive proof that for all $0 \leq k \leq n$ that $\displaystyle \binom{n}{k}$ is an integer, given:

$\displaystyle \binom{n}{0} = \binom{n}{n} = 1$, for all $n \in \Bbb Z^+$.

Then the only fact we need in the expansion of $(b + kp)^p$ is that $\displaystyle p|\binom{p}{1}$

since $p^2$ occurs in all the other terms of the expansion, no matter what the coefficient is.
 

Similar threads

  • · Replies 31 ·
2
Replies
31
Views
2K
  • · Replies 21 ·
Replies
21
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K