5.
(i) Solution: By the Chinese Remainder Theorem,
Given
Given
b1=3,b2=5,m1=7,m2=11,m=m1⋅m2=7×11=77,M1=777=11,M2=1177=7.11M1′=1(mod7), so M1′=2.7M2′=1(mod11), so M2′=8.
Therefore, the solution is
x≡3×11×2+5×7×8≡346≡38(mod77)
(ii) Solution: The moduli are pairwise coprime, so the Chinese Remainder Theorem can be used.
b1=2,b2=5,b3=4m1=11,m2=7,m3=5m=m1⋅m2⋅m3=11×7×5=385M1=11385=35,M2=7385=55M3=5385=77
By
That is
35M1′≡1(mod11)
So
(11×3+2)M1′≡1(mod11)2M1′≡1(mod11)
We get
M1′=−5
Similarly, by
55M2′≡1(mod7), i.e., 6M2′≡1(mod7),
We get
M2′=−1
By
77M3′≡1(mod5), i.e., 2M3′≡1(mod5) ,
We get
M3′=3
By the Chinese Remainder Theorem, the solution is
x≡2×35×(−5)+5×55×(−1)+4×77×3≡299(mod385)
(iii) Solution: From the second and third equations, we get
x≡3(mod5),x≡5(mod9)
Combining the first equation with the above two equations, we can use the Chinese Remainder Theorem to solve.
b1=1,b2=3,b3=5m1=7,m2=5,m3=9m=m1⋅m2⋅m3=7×5×9=315
M1=7315=45,M2=5315=63,M3=9315=35
By
45M1′≡1(mod7) , we get M1′=−2 .
By 63M2′≡1(mod5) , we get M2′=2 .
By 35M3′≡1(mod9) , we get M3′=−1 .
Therefore,
x≡1×45×(−2)+3×63×2+5×35×(−1)≡113(mod315)