Question
Question: The solution of the linear congruence \[4x = 5\left( {\bmod 9} \right)\] is: A) \[6\left( {\bmod 9...
The solution of the linear congruence 4x=5(mod9) is:
A) 6(mod9)
B) 8(mod9)
C) 9(mod9)
D) 10(mod9)
Solution
First of all, find the gcd(4,9). If the gcd(4,9) is 1, then the inverse exists. Write the gcd(4,9)=1 as the multiple of 4 and 9. Then, the coefficient of 4 will be its inverse. Next, make the inverse positive by finding its equivalent expression. The, we will solve for the value of x.
Complete step by step solution:
We will first find the gcd(4,9)
By Euclid’s division lemma, we have,
9=2(4)+1 4=4(1)+0
Hence, gcd(4,9)=1
Therefore, the inverse of 4 modulo 9 exists.
Now, we write the gcd(4,9)=1 as a multiple of 4 and 9.
9=2(4)+1 1=−2(4)+9
Hence, the inverse is −2
Also, −2mod9=7mod9, this implies 7 is also an inverse.
Multiply each side by 7, we get,
7(4x)=7(5)mod9 28x=35mod9
Now, on dividing 28 by 9, we will get remainder as 1, therefore, we will get
x=35mod9
Next, on dividing 35 by 9, we will get remainder as 8, therefore, we will get
x=8mod9
Hence, option B is correct.
Note:
If a number is written in the form of a=bmodc and gcd(a,c)=1 , then the inverse of the expression exists. Also, if we have a=bmodc, then a is the value of remainder that we get after we divide b by c.