Why Must We Solve Linear Congruences in the Chinese Remainder Theorem?

  • MHB
  • Thread starter evinda
  • Start date
  • Tags
    Linear
In summary, the Chinese remainder theorem states that a system of linear congruences with pairwise coprime moduli can be equivalent to one linear congruence, and the proof involves solving a system of linear congruences in the first step. The reason for solving this system becomes apparent in a later step of the proof.
  • #1
evinda
Gold Member
MHB
3,836
0
Hey! (Wasntme)

I am looking at the proof of the Chinese remainder theorem,which is:
Let $m_1,m_2, \dots, m_n$ be pairwise coprime.
Then the system $$\left\{\begin{matrix}
x \equiv c_1 \pmod {m_1}\\
\dots \dots\\
x \equiv c_n \pmod {m_n}
\end{matrix}\right.$$

is equivalent with one linear congruence of the form $x \equiv c \pmod {m_1 \dots m_n} $ for a ($\text{ unique } \pmod {m_1 \dots m_n} c$).

At the proof,we consider the numbers:

$M=m_1 \cdots m_n $
$M_j=\frac{M}{m_j}, 1 \leq j \leq n$

$\forall j$ we solve the linear congruence

$$M_j \cdot x \equiv c_j \pmod{m_j}$$

But...why do we have to solve this linear congruence? (Thinking)
 
Mathematics news on Phys.org
  • #2
evinda said:
Hey! (Wasntme)

I am looking at the proof of the Chinese remainder theorem,which is:
Let $m_1,m_2, \dots, m_n$ be pairwise coprime.
Then the system $$\left\{\begin{matrix}
x \equiv c_1 \pmod {m_1}\\
\dots \dots\\
x \equiv c_n \pmod {m_n}
\end{matrix}\right.$$

is equivalent with one linear congruence of the form $x \equiv c \pmod {m_1 \dots m_n} $ for a ($\text{ unique } \pmod {m_1 \dots m_n} c$).

At the proof,we consider the numbers:

$M=m_1 \cdots m_n $
$M_j=\frac{M}{m_j}, 1 \leq j \leq n$

$\forall j$ we solve the linear congruence

$$M_j \cdot x \equiv c_j \pmod{m_j}$$

But...why do we have to solve this linear congruence? (Thinking)

The procedure is explained here...

http://mathhelpboards.com/number-theory-27/applications-diophantine-equations-6029.html#post28283

Kind regards

$\chi$ $\sigma$
 
  • #3
chisigma said:
The procedure is explained here...

http://mathhelpboards.com/number-theory-27/applications-diophantine-equations-6029.html#post28283

Kind regards

$\chi$ $\sigma$

I still haven't understood why we have to solve the system $M_j \cdot x \equiv c_j \pmod {m_j}$... (Sweating)
 
  • #4
evinda said:
I still haven't understood why we have to solve the system $M_j \cdot x \equiv c_j \pmod {m_j}$... (Sweating)

Hey! (Emo)

It's the first step in the proof...
The reason why we're solving that system will become apparent in a later step where everything cancels nicely. (Nerd)
 
  • #5
I like Serena said:
Hey! (Emo)

It's the first step in the proof...
The reason why we're solving that system will become apparent in a later step where everything cancels nicely. (Nerd)

Ok..thank you very much! :)
 

Related to Why Must We Solve Linear Congruences in the Chinese Remainder Theorem?

What is a linear congruence?

A linear congruence is a type of mathematical equation that involves finding the value of a variable that satisfies the given equation, while also being congruent to a given number modulo a specified modulus.

Why do we need to solve linear congruences?

Linear congruences are commonly used in various fields of mathematics, such as number theory, cryptography, and coding theory. They also have real-world applications, such as in computer graphics and network security. Solving linear congruences helps us understand the relationships between numbers and solve problems efficiently.

What are the steps involved in solving a linear congruence?

The first step is to rewrite the given equation in the form of ax ≡ b (mod m), where a, b, and m are integers. Then, calculate the greatest common divisor (GCD) of a and m. If the GCD does not divide b, then the congruence has no solutions. If the GCD divides b, then we can use modular arithmetic and inverse operations to solve for x. Finally, we check the solution to see if it satisfies the original equation.

Can all linear congruences be solved?

No, not all linear congruences have solutions. If the GCD of a and m does not divide b, then the congruence has no solutions. However, if the GCD does divide b, then there will be a unique solution or a set of solutions depending on the values of a, b, and m.

Are there any other methods for solving linear congruences?

Yes, there are other methods such as the Chinese Remainder Theorem and the Extended Euclidean Algorithm. These methods can be useful for solving more complex linear congruences or solving multiple congruences simultaneously.

Similar threads

Replies
2
Views
4K
  • Precalculus Mathematics Homework Help
Replies
4
Views
987
  • Precalculus Mathematics Homework Help
Replies
3
Views
900
  • Precalculus Mathematics Homework Help
Replies
3
Views
2K
  • Precalculus Mathematics Homework Help
Replies
1
Views
959
  • Precalculus Mathematics Homework Help
Replies
7
Views
2K
  • General Math
Replies
7
Views
2K
  • General Math
Replies
1
Views
1K
Replies
21
Views
4K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top