Using Modular Arithmetic to Solve Congruence Equations

  • Thread starter Thread starter jreis
  • Start date Start date
  • Tags Tags
    Arithmetic
Click For Summary

Homework Help Overview

The discussion revolves around solving the congruence equation 2k ≡ 1 (mod 11) and determining if a positive integer k exists that satisfies this condition. The subject area is modular arithmetic and congruence relations.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants explore the implications of Fermat's Little Theorem and question how it relates to the original congruence. There are discussions about the periodic nature of modular multiplication and the need to find a specific k such that 2^k = 1 (mod 11). Some participants express uncertainty about the approach and seek simpler methods to verify their reasoning.

Discussion Status

The discussion is ongoing, with participants offering insights and questioning assumptions. Some guidance has been provided regarding the periodicity of powers of 2 modulo 11, and there is an exploration of the implications of Fermat's Little Theorem. Multiple interpretations of the problem are being examined without a clear consensus.

Contextual Notes

Participants mention the challenge of confirming the existence of k and the constraints of working within modular arithmetic, particularly regarding the division of numbers in this context.

jreis
Messages
24
Reaction score
0

Homework Statement



Determine whether there is a positive integer k so that the congruence is satisfied.

2k ≡ 1 (mod 11)

Homework Equations



gcd(2k,11) = 1

The Attempt at a Solution



Well, I know the answer is false. Because of Fermat's Little Theorem, 2k ≡ 2 (mod 11)

But I'm not satisfied with this answer. How could I show the answer to #1?
 
Physics news on Phys.org
No, Fermat's Little Theorem tells you 2^11=2 (mod 11). That doesn't tell you it's false because you only need to find one value of k such that 2^k=1 (mod 11). What can you do with 2^11=2 (mod 11)?
 
Modular multiplication is periodic.
 
Dick said:
No, Fermat's Little Theorem tells you 2^11=2 (mod 11). That doesn't tell you it's false because you only need to find one value of k such that 2^k=1 (mod 11). What can you do with 2^11=2 (mod 11)?

Oh good point... I'm not sure, I'm trying to work this out
 
If 2 =2 mod 11, that means 2=11k+2.
2 times that is 11(2k)+4 =4 mod k.
By fermat's little theorem above, if you repeat that process 10 times, you will get back to 2^11=2 mod 11, and the cycle repeats.
Either 1 mod 11 is in the first 10 powers of 2, or it won't be found in any of them.
 
jreis said:
Oh good point... I'm not sure, I'm trying to work this out

You are trying to solve 2^k=1 (mod 11) and you have 2^11=2 (mod 11). Look at those two things and try not to think very hard.
 
Dick said:
You are trying to solve 2^k=1 (mod 11) and you have 2^11=2 (mod 11). Look at those two things and try not to think very hard.
So do what RUber said? I feel like there is a faster way than checking 10 powers of 2... I know the answer is false from doing that. However, you are hinting at something simpler but I really don't know what. I just started learning modules.
 
You don't need to check the powers of two.
Notice that when you multiply (a mod 11) by two, your result (mod 11) will be 2a.
So you get:
2, 4, 8, 16 = 5 mod 11, 10, 20 = 9 mod 11, ...
If you get back to 2 without seeing 1, there is no power of 2 that will give you 1 mod 11.
However, you may be wondering how you got back to 2 if that is the case.
 
RUber said:
You don't need to check the powers of two.
Notice that when you multiply (a mod 11) by two, your result (mod 11) will be 2a.
So you get:
2, 4, 8, 16 = 5 mod 11, 10, 20 = 9 mod 11, ...
If you get back to 2 without seeing 1, there is no power of 2 that will give you 1 mod 11.
However, you may be wondering how you got back to 2 if that is the case.
Where are the 10 and 20 coming from?
 
  • #10
Multiplying by 2. That's how this works.
16 = 5 mod 11, so 2*16 = 2*5 mod 11= 10 mod 11.
2(10 mod 11)= 2*10 mod 11 = 20 mod 11 = 9 mod 11.
 
  • #11
Wait doesn't fermat's little theorem say 210 = 1 mod 11 ? That's all I need right
 
  • #12
jreis said:
So do what RUber said? I feel like there is a faster way than checking 10 powers of 2... I know the answer is false from doing that. However, you are hinting at something simpler but I really don't know what. I just started learning modules.

I am hinting think about dividing 2^11=2 (mod 11) by 2. What does that give you? In general, you can't divide by an arbitrary number modulo something so just think of it as a guess. What is your guess for what 2^10 mod (11) might be? If you can confirm that guess is true, then you are done.
 

Similar threads

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