Solveeit Logo

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)4x = 5\left( {\bmod 9} \right) is:
A) 6(mod9)6\left( {\bmod 9} \right)
B) 8(mod9)8\left( {\bmod 9} \right)
C) 9(mod9)9\left( {\bmod 9} \right)
D) 10(mod9)10\left( {\bmod 9} \right)

Explanation

Solution

First of all, find the gcd(4,9)\gcd \left( {4,9} \right). If the gcd(4,9)\gcd \left( {4,9} \right) is 1, then the inverse exists. Write the gcd(4,9)\gcd \left( {4,9} \right)=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 xx.

Complete step by step solution:
We will first find the gcd(4,9)\gcd \left( {4,9} \right)
By Euclid’s division lemma, we have,
9=2(4)+1 4=4(1)+0  9 = 2\left( 4 \right) + 1 \\\ 4 = 4\left( 1 \right) + 0 \\\
Hence, gcd(4,9)=1\gcd \left( {4,9} \right) = 1
Therefore, the inverse of 4 modulo 9 exists.
Now, we write the gcd(4,9)=1\gcd \left( {4,9} \right) = 1 as a multiple of 4 and 9.
9=2(4)+1 1=2(4)+9  9 = 2\left( 4 \right) + 1 \\\ 1 = - 2\left( 4 \right) + 9 \\\
Hence, the inverse is 2 - 2
Also, 2mod9=7mod9 - 2\bmod 9 = 7\bmod 9, this implies 7 is also an inverse.
Multiply each side by 7, we get,
7(4x)=7(5)mod9 28x=35mod9  7\left( {4x} \right) = 7\left( 5 \right)\bmod 9 \\\ 28x = 35\bmod 9 \\\
Now, on dividing 28 by 9, we will get remainder as 1, therefore, we will get
x=35mod9x = 35\bmod 9
Next, on dividing 35 by 9, we will get remainder as 8, therefore, we will get
x=8mod9x = 8\bmod 9

Hence, option B is correct.

Note:
If a number is written in the form of a=bmodca = b\bmod c and gcd(a,c)=1\gcd \left( {a,c} \right) = 1 , then the inverse of the expression exists. Also, if we have a=bmodca = b\bmod c, then aa is the value of remainder that we get after we divide bb by cc.