A question on modular arithmetics

  • Thread starter Thread starter life is maths
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around the problem of showing that the equation x² ≡ 1 (mod p) has exactly two solutions when p is a prime number greater than 2. The context involves modular arithmetic and properties of prime numbers.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the factorization of the equation x² - 1 = 0 (mod p) into (x + 1)(x - 1) = 0 (mod p) and explore the implications of zero divisors in modular arithmetic. Some express confusion regarding the application of these concepts without prior knowledge of zero divisors.

Discussion Status

There is an ongoing exploration of how to approach the proof, with some participants suggesting that assuming one of the factors is zero is a valid step. The discussion reflects a mix of understanding and uncertainty regarding the implications of prime modulus and zero divisors.

Contextual Notes

Some participants note that they have not yet learned about zero divisors, which adds a layer of complexity to their understanding of the problem. The original poster indicates that this is a suggested exercise rather than a formal homework assignment.

life is maths
Messages
37
Reaction score
0

Homework Statement





Hi, my question is:

Show that if p is a prime, x2≡1(mod p) has exactly two solutions for p>2.

Homework Equations





The Attempt at a Solution


I did:
p|x2-1
Then for a number a;
pa=x2-1
pa+1=x2
x=[tex]\mp[/tex][tex]\sqrt{pa+1}[/tex]

But I did not use the fact that p is prime and greater than 2. Do you have any ideas? Thanks in advance.

This is not a homework but a suggested exercise before exam.
 
Physics news on Phys.org
It's more likely the problem is based on
[tex]x^2 - 1 = 0 (mod\ p)[/tex]
[tex](x+1)(x-1) = 0 (mod\ p)[/tex]
and the facts about the "zero divisors" of mod p arithmetic.
 
Thank you, but we haven't learned zero divisors yet. Is it a subject related to rings?
Since I have no idea on that subject, do you have any ideas about how to solve it in another way? Thanks again :)
 
Yes, it is a topic in rings. It's also one of main reasons that people are interested in have a prime modulus.

If you can have non-zero numbers such a,b such that ab = 0 (mod K) then the mod K arithmetic is said to have "zero divisors". For example if you are solving

(x)(x+1) = 0 (mod 12) , you get one solution due to x = 3 because ( 3)(4) = 0 (mod 12).
You also can have the solutions x = 0 and x = 11. That's more than 2 solutions to this quadratic equation.

When the modulus is a prime number, you can solve an equation like
(x)(x+1) = 0 (mod p) just as you would solve it in ordinary algebra by assuming that one of the factors must be zero. That gives only two solutions.
 
Thanks, I think I understood the zero divisors, but I'm still a bit confused and couldn't actually constructed a good proof. I have (x+1)(x-1) = 0 (mod p) and what should I do next? Should I assume the factors are 0? How is it possible without knowing p? Thanks for your help.
 
life is maths said:
(x+1)(x-1) = 0 (mod p) and what should I do next? Should I assume the factors are 0?

Assume one or the other factor is zero. It's just like solving a quadratic equation by factoring.


How is it possible without knowing p?

Because p is a prime, so in its modular arithmetic there can't be two non-zero factors whose product is zero. Arithmetic modulo a prime has no zero divisors. And p > 2 so x+1 and x-1 can't be the same number.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 28 ·
Replies
28
Views
6K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
6
Views
5K
Replies
1
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K