Solve Exercise with Modulo: Is this Correct?

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

Discussion Overview

The discussion revolves around a mathematical exercise involving modular arithmetic, specifically proving a statement related to prime numbers and binomial expansions. Participants explore the implications of the exercise and the necessary conditions for the proof to hold, focusing on the relationship between congruences modulo \( p \) and \( p^2 \).

Discussion Character

  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents a proof attempt showing that if \( a^p \equiv b^p \pmod{p} \), then \( a^p \equiv b^p \pmod{p^2} \) by expanding \( (b + kp)^p \) using the binomial theorem.
  • Several participants express agreement with the initial proof attempt, stating it looks correct.
  • Questions arise regarding the necessity to prove that certain terms in the expansion are integers, specifically \( kb^{p-1} + \frac{1}{2}(p-1)pb^{p-2}k^2 + \dots + k^pp^{p-2} \in \mathbb{Z} \).
  • Another participant discusses the properties of binomial coefficients, asserting that they are integers and questioning whether any factors in the denominator could divide \( p \).
  • A later reply references a known identity for binomial coefficients and suggests that the only relevant factor in the expansion is \( p|\binom{p}{1} \), noting that \( p^2 \) appears in all other terms of the expansion.

Areas of Agreement / Disagreement

Participants generally agree on the correctness of the initial proof attempt, but there is ongoing discussion regarding the necessity of proving certain integer conditions and the implications of binomial coefficients. The discussion remains unresolved regarding the completeness of the proof.

Contextual Notes

Participants have not fully addressed the implications of proving that specific terms are integers, and there is uncertainty about the role of binomial coefficients in the proof.

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
2K
  • · 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