Using the Chinese Remainder Theorem to Solve Systems of Linear Congruences

  • Thread starter Thread starter oliver$
  • Start date Start date
  • Tags Tags
    Linear Systems
Click For Summary
The discussion revolves around solving a system of linear congruences using the Chinese Remainder Theorem (CRT). Participants confirm the reduction of the original equations to simpler congruences, specifically x ≡ -3 (mod 10), x ≡ 12 (mod 35), and x ≡ 4 (mod 5). Different participants arrive at solutions, with one finding x = 47 and another concluding x ≡ 2 (mod 35). The conversation emphasizes the importance of correctly applying the CRT to derive solutions from the reduced congruences. Ultimately, the solutions are expressed in terms of a parameter, indicating multiple valid results based on the congruences.
oliver$
Messages
6
Reaction score
0
ok, am i doing this right?

here's the system:

3x== 1 (mod 10)
4x== 3 (mod 5)
3x== 1 (mod 35)

(3,10), (4,5), (3,35) all are 1.

it reduces to:

x== -3 (mod 10)
x== 12 (mod 35)
x== 4 (mod 5)

and then i use the CRT to solve this system? is that right?
 
Physics news on Phys.org
oliver$ said:
ok, am i doing this right?
here's the system:
3x== 1 (mod 10)
4x== 3 (mod 5)
3x== 1 (mod 35)
(3,10), (4,5), (3,35) all are 1.
it reduces to:
x== -3 (mod 10)
x== 12 (mod 35)
x== 4 (mod 5)
and then i use the CRT to solve this system? is that right?


I found x=47.What did u find??

Daniel.
 
i got x== 2(mod 35).
 
ok, so from
x== 7 (mod 10)
x== 2 (mod 5)
x== 12 (mod 35)

i got:
7 + 10t== 12 (mod 35), which reduces
10t==5 (mod 35)
(10, 35)= 5
10r + 35s = 5
r=-3, s= 1
(-3)(5)/5 = -5
t= -5 (mod 7)== 2 (mod 7)
t= 2 + 7l == 2 (mod 5)
7l== 0 (mod 5)
(7,5)= 1
7r + 5s=0
r=0 s=0
x= 0 (mod 5)
l=5m
x= 7 (5m) +2= 35m +2
or x== 2 (mod 35)
 
oliver$ said:
ok, so from
x== 7 (mod 10)
x== 2 (mod 5)
x== 12 (mod 35)


Here's how i see it:
x==7(mod 10)=>x=10a+7,a={0,1,...}(1)
x==2(mod 5)=>x=5b+2,b={0,1,...}(2)
x==12(mod 35)=>x=35c+12,c={0,1,...}(3)

You want to find "x" and hence "a","b","c".
From (1) and (2)=>b=2a+1,a={0,1,...}(4)
From (1) and (3)=>a=(7c+1)/2,c={1,3,5,...}(5)
From (4) and (5)=>b=7c+2,c={1,3,5,...}(6)
From (3),(5) and (6) u can write the solution to the problem
x=35c+12(7)
,where "c" can take only positive odd values (eq.(5)/(6)).
So x\in\{47,117,187,...\}

Daniel.

PS.I solved the problem in the positive numbers set,for the set of integers it can be generalized straightforwardly.
 
Last edited:
Thread 'Correct statement about size of wire to produce larger extension'
The answer is (B) but I don't really understand why. Based on formula of Young Modulus: $$x=\frac{FL}{AE}$$ The second wire made of the same material so it means they have same Young Modulus. Larger extension means larger value of ##x## so to get larger value of ##x## we can increase ##F## and ##L## and decrease ##A## I am not sure whether there is change in ##F## for first and second wire so I will just assume ##F## does not change. It leaves (B) and (C) as possible options so why is (C)...

Similar threads

Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
815
  • · Replies 2 ·
Replies
2
Views
3K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K