I'm having a hard time showing this congruence has a unique solution modulo p.

  • Thread starter Thread starter jdinatale
  • Start date Start date
  • Tags Tags
    Hard Time
Click For Summary

Homework Help Overview

The problem involves proving that the congruence equation \( ax \equiv b \mod p \) has a unique solution modulo a prime \( p \), given that \( a \) is not congruent to zero modulo \( p \). The original poster expresses confusion about the uniqueness of the solution, particularly in the context of specific examples.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to understand the uniqueness of solutions by questioning the implications of their example with specific values for \( a \), \( b \), and \( p \). Some participants clarify the nature of solutions in modular arithmetic and suggest considering differences between potential solutions.

Discussion Status

Participants are exploring the implications of the prime condition on the uniqueness of solutions. Some guidance has been offered regarding the interpretation of modular arithmetic and the significance of considering differences between solutions. There is an ongoing examination of the original poster's reasoning and assumptions.

Contextual Notes

The discussion includes the clarification that in modulo \( p \) arithmetic, the only relevant integers are from the set \( \{0, 1, \ldots, p-1\} \), which is crucial for understanding the uniqueness of solutions.

jdinatale
Messages
153
Reaction score
0

Homework Statement


Prove that if [itex]p[/itex] is a prime and [itex]a, b \in \mathbf{Z}[/itex] with [itex]a \not \cong 0 \mod p[/itex], then [itex]ax \cong b \mod p[/itex] has a unique solution modulo [itex]p[/itex].

I'm having a hard time proving there exists only one solution by using a contradiction.

But my biggest problem is that I don't understand why this statement should have a unique solution modulo p. For example, let a = 3, b = 2, and p = 2. Then [itex]3x \cong 2 \mod 2[/itex] has multiple solutions. (x = 2,4,6,...) And that's just one example. Or does the "unique modulo p, mean that you take all of the solutions, and apply mod p to them and that is unique? For example (x = 2,4,6,...) mod p = 0.

Homework Equations


N/A

The Attempt at a Solution



logico3.jpg
 
Physics news on Phys.org
Referring to your example, don't forget that for modulo 2 arithmetic, the only numbers are 0 and 1. So all the solutions you give (2, 4, 6, ...) are all "0" in mod 2.

In regards to your equation [itex]3x \equiv 2[/itex] (mod 2), you are "allowed" to have the multiplicative factor be a number not in the system, but your equivalence is really [itex]3x \equiv 0[/itex] (mod 2).
 
dynamicsolo said:
Referring to your example, don't forget that for modulo 2 arithmetic, the only numbers are 0 and 1. So all the solutions you give (2, 4, 6, ...) are all "0" in mod 2.

In regards to your equation [itex]3x \equiv 2[/itex] (mod 2), you are "allowed" to have the multiplicative factor be a number not in the system, but your equivalence is really [itex]3x \equiv 0[/itex] (mod 2).

Thank you, I now understand that. But I'm still have trouble devising a contradiction based on the knowledge that [itex]\frac{r + b}{a}[/itex] and [itex]\frac{s + b}{a}[/itex] are possible solutions. Since r and s are arbitrary integers, it's very difficult for me to manipulate them.
 
I think you're making trouble for yourself in that last statement, because indeed r and s can be any integers. You may have better luck if you look at differences, since (r - s) is an integer and all integer multiples of p are equivalent to 0 (mod p). So what is x - y , and what does that mean in modular arithmetic? [EDIT: oh yes, the requirement that p be a prime number is important in the argument.]

[Keep in mind that, in modular arithmetic, the only numbers are 0, 1, ... , (p-1) . So "a unique solution" means that there are not two possible results from that set, not that there is only a single answer in Z .]
 
Last edited:

Similar threads

Replies
4
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
8
Views
2K