Show -1 and +1 are only solutions to x^2 = 1 (mod p^2) for odd prime p.

  • Thread starter Thread starter Vespero
  • Start date Start date
  • Tags Tags
    Prime
Click For Summary

Homework Help Overview

The problem involves showing that -1 and +1 are the only solutions to the equation x^2 ≡ 1 (mod p^n) for an odd prime p. The discussion centers around modular arithmetic and properties of prime numbers.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore the implications of the modular equation, factoring x^2 - 1, and the conditions under which p^n divides the factors. There is an attempt to connect the properties of perfect squares and modular arithmetic.

Discussion Status

Some participants have provided reasoning and attempted to derive the solutions based on the properties of primes and modular equations. There is acknowledgment of the correctness of certain steps, but the discussion remains open to further verification and exploration of the implications.

Contextual Notes

The discussion is constrained by the requirement to show the result for odd primes specifically, and there is a hint provided by the original poster that suggests a deeper exploration of the modular definition.

Vespero
Messages
26
Reaction score
0

Homework Statement



Let p be an odd prime and n be an integer. Show that -1 and +1 and the only solutions to x^2 \equiv 1\ mod\ p^n. Hint: What does a \equiv b\ mod\ m mean, then think a bit.

Homework Equations



x^2 \equiv 1\ mod\ p^n \rightarrow x^2 = 1 + p^nk for k an integer.

The Attempt at a Solution



I've tried using the fact that x^2 \equiv 1\ mod\ p^n implies that x is its own inverse and thus that x \equiv x\ mod\ p^n and that x^2 \equiv 1\ mod\ p^n implies x^2 \equiv 1\ mod\ p^{n-1}, attempting to find a way to combine the equations to force x to be either 1 or -1, but neither of these got me anywhere. The hint the teacher left makes me think the answer is something fairly simple (perhaps perfect squares cannot have the form x^2 = p^nk + 1 for p > 2), but I just can't seem to see it. I have a feeling that just the tiniest push in the right direction would lead me to the answer.
 
Physics news on Phys.org
If x^2=1 (mod p^n), then p^n divides x^2-1.

Rewrite x^2-1.
 
So, x^2 \equiv 1\ mod\ p^n implies p^n|x^2 - 1.
Factoring x^2 - 1, we have that p^n|(x+1)(x-1).
Since (x + 1) - (x - 1) = 2, p^n|(x+1) and p^n|(x-1) only if p|2, which would imply that p=2. However, since we are dealing with odd primes, Euclid's Lemma requires that either p^n|(x+1) or p^n|(x-1). For x\ mod\ p^n, the only solution to the first relation is x\ =\ p^n - 1 \equiv -1\ (mod p^n), and the only solution to the second relation is x\ =\ 1 \equiv 1\ (mod p^n). Thus, x \equiv \pm 1\ (mod\ p^n) are the only solutions to x^2 \equiv 1\ (mod\ p^n) for p < 2.

Is this correct?
 
Last edited:
Seems ok! Congratulations! :smile:
 

Similar threads

Replies
6
Views
4K
Replies
15
Views
4K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K