Solve the simultaneous linear congruences

  • Thread starter Thread starter Math100
  • Start date Start date
  • Tags Tags
    Linear
Click For Summary
SUMMARY

The simultaneous linear congruences 3x ≡ 2 (mod 5), 3x ≡ 4 (mod 7), and 3x ≡ 6 (mod 11) can be solved using the Chinese Remainder Theorem. The solution yields x ≡ 244 (mod 385), where n = 5 × 7 × 11 = 385. The values of N_k are calculated as N_1 = 77, N_2 = 55, and N_3 = 35, leading to the unique solution for x. Verification confirms that 244 satisfies all original congruences.

PREREQUISITES
  • Understanding of modular arithmetic
  • Familiarity with the Chinese Remainder Theorem
  • Basic knowledge of congruences and their properties
  • Ability to perform calculations with coprime integers
NEXT STEPS
  • Study the Chinese Remainder Theorem in depth
  • Learn about modular inverses and their applications
  • Explore advanced topics in number theory
  • Practice solving more complex systems of linear congruences
USEFUL FOR

Mathematicians, students studying number theory, and anyone interested in solving linear congruences and applying the Chinese Remainder Theorem.

Math100
Messages
817
Reaction score
230
Homework Statement
Solve the simultaneous linear congruences ## 3x\equiv 2\pmod {5}, 3x\equiv 4\pmod {7}, 3x\equiv 6\pmod {11} ##.
Relevant Equations
Let ## p, q ## be coprime. Then the system of equations ## x\equiv a\pmod {p}, x\equiv b\pmod {q}## has a unique solution for ## x ## modulo ## pq ##.
Consider the following set of simultaneous linear congruences:
## 3x\equiv 2\pmod {5}, 3x\equiv 4\pmod {7}, 3x\equiv 6\pmod {11} ##.
Observe that
\begin{align*}
&3x\equiv 2\pmod {5}\implies 6x\equiv 4\pmod {5}\implies x\equiv 4\pmod {5}\\
&3x\equiv 4\pmod {7}\implies 15x\equiv 20\pmod {7}\implies x\equiv 6\pmod {7}\\
&3x\equiv 6\pmod {11}\implies 12x\equiv 24\pmod {11}\implies x\equiv 2\pmod {11}.\\
\end{align*}
Applying the Chinese Remainder Theorem produces:
## n=5\cdot 7\cdot 11=385 ##.
Now we define ## N_{k}=\frac{n}{n_{k}} ## for ## k=1,2,...,r ##.
Note that ## N_{1}=\frac{385}{5}=77, N_{2}=\frac{385}{7}=55 ## and ## N_{3}=\frac{385}{11}=35 ##.
Then ## 77x_{1}\equiv 1\pmod {5}, 55x_{2}\equiv 1\pmod {7} ## and ## 35x_{3}\equiv 1\pmod {11} ##.
This implies ## x_{1}=3, x_{2}=6 ## and ## x_{3}=6 ##.
Thus ## x\equiv (4\cdot 77\cdot 3+6\cdot 55\cdot 6+2\cdot 35\cdot 6)\pmod {385}\equiv 3324\pmod {385}\equiv 244\pmod {385} ##.
Therefore, ## x\equiv 244\pmod {385} ##.
 
Physics news on Phys.org
Math100 said:
Homework Statement:: Solve the simultaneous linear congruences ## 3x\equiv 2\pmod {5}, 3x\equiv 4\pmod {7}, 3x\equiv 6\pmod {11} ##.
Relevant Equations:: Let ## p, q ## be coprime. Then the system of equations ## x\equiv a\pmod {p}, x\equiv b\pmod {q}## has a unique solution for ## x ## modulo ## pq ##.

Consider the following set of simultaneous linear congruences:
## 3x\equiv 2\pmod {5}, 3x\equiv 4\pmod {7}, 3x\equiv 6\pmod {11} ##.
Observe that
\begin{align*}
&3x\equiv 2\pmod {5}\implies 6x\equiv 4\pmod {5}\implies x\equiv 4\pmod {5}\\
&3x\equiv 4\pmod {7}\implies 15x\equiv 20\pmod {7}\implies x\equiv 6\pmod {7}\\
&3x\equiv 6\pmod {11}\implies 12x\equiv 24\pmod {11}\implies x\equiv 2\pmod {11}.\\
\end{align*}
Applying the Chinese Remainder Theorem produces:
## n=5\cdot 7\cdot 11=385 ##.
Now we define ## N_{k}=\frac{n}{n_{k}} ## for ## k=1,2,...,r ##.
Note that ## N_{1}=\frac{385}{5}=77, N_{2}=\frac{385}{7}=55 ## and ## N_{3}=\frac{385}{11}=35 ##.
Then ## 77x_{1}\equiv 1\pmod {5}, 55x_{2}\equiv 1\pmod {7} ## and ## 35x_{3}\equiv 1\pmod {11} ##.
This implies ## x_{1}=3, x_{2}=6 ## and ## x_{3}=6 ##.
Thus ## x\equiv (4\cdot 77\cdot 3+6\cdot 55\cdot 6+2\cdot 35\cdot 6)\pmod {385}\equiv 3324\pmod {385}\equiv 244\pmod {385} ##.
Therefore, ## x\equiv 244\pmod {385} ##.
Correct, if I haven't overlooked a typo. The result is definitely correct.
 
fresh_42 said:
Correct, if I haven't overlooked a typo. The result is definitely correct.
Is there a typo?
 
Math100 said:
Is there a typo?
No.
 
  • Like
Likes   Reactions: Math100
You can verify the solution yourself:
244(3)=732=2Mod5=4mod7=6Mod11
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
3
Views
3K