Question is -:
Solve the linear congruence 3x≡4(mod7), and find the smallest positive integer that is a solution of this congruence
My Approach-:
3x≡4(mod7)
⇒x≡3−14(mod7)
3−1 means it is the multiplicative inverse of 3mod7
multiplicative inverse of 3mod7
⇒7=3∗2+1
⇒3=1∗3+0
⇒1=1∗7+(−2)3
thus −2 or 5 is the inverse.
Thus i am getting
⇒x≡3−14(mod7)
⇒x≡20(mod7)
But in the solution they are multiplying the inverse 5 to both sides and get equation as-:
15x≡20(mod7)
and then
x≡15x≡20≡6(mod7)
The solution is given here
Please help me out ,where i am wrong!
thanks!
Answer
You're not wrong, when you write x≡3−14, then you have
also multiplied both sides by the inverse of 3. You're just using
different notation.
No comments:
Post a Comment