Solve the simultaneous linear congruences

  • Thread starter Math100
  • Start date
  • Tags
    Linear
In summary: Also 244(7)=1708=3mod5=6mod7=6mod11.And 244(11)=2684=4mod5=3mod7=2mod11.In summary, the given set of simultaneous linear congruences can be solved using the Chinese Remainder Theorem to obtain the solution x≡244(mod 385). There are no typos in the given solution.
  • #1
Math100
802
221
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
  • #2
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.
 
  • #3
fresh_42 said:
Correct, if I haven't overlooked a typo. The result is definitely correct.
Is there a typo?
 
  • #4
Math100 said:
Is there a typo?
No.
 
  • Like
Likes Math100
  • #5
You can verify the solution yourself:
244(3)=732=2Mod5=4mod7=6Mod11
 

FAQ: Solve the simultaneous linear congruences

What is the definition of simultaneous linear congruences?

Simultaneous linear congruences refer to a system of equations in which each equation is a linear congruence. A linear congruence is an equation in the form of ax ≡ b (mod m), where a, b, and m are integers and x is the unknown variable. The goal of solving simultaneous linear congruences is to find a solution for x that satisfies all of the equations in the system.

How do you solve simultaneous linear congruences?

To solve simultaneous linear congruences, you can use the Chinese Remainder Theorem. This theorem states that if the moduli in the system of equations are pairwise relatively prime (meaning they have no common factors), then there is a unique solution for x that satisfies all of the equations. This solution can be found using a system of modular equations and the Extended Euclidean Algorithm.

What is the importance of solving simultaneous linear congruences?

Solving simultaneous linear congruences is important in various fields such as cryptography, number theory, and computer science. It allows us to find solutions to systems of equations that involve modular arithmetic, which is essential in many real-life applications such as data encryption and error-correcting codes.

Are there any special cases when solving simultaneous linear congruences?

Yes, there are two special cases when solving simultaneous linear congruences. The first is when the moduli in the system of equations are not relatively prime. In this case, there may not be a unique solution for x, and the system may have no solutions or infinitely many solutions. The second special case is when the system of equations is inconsistent, meaning there are no values of x that satisfy all of the equations.

What are some tips for solving simultaneous linear congruences efficiently?

One tip for solving simultaneous linear congruences efficiently is to use the Chinese Remainder Theorem to reduce the system of equations into a smaller set of equations with relatively prime moduli. Additionally, using the Extended Euclidean Algorithm can help find the inverse of a number modulo another number, which is useful in solving modular equations. It is also important to carefully check for any special cases and to use a calculator or computer program to handle large numbers and complex calculations.

Back
Top