

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Algebra I; Subject: MATHEMATICAL SCIENCES; University: Northern Illinois University; Term: Unknown 1989;
Typology: Study notes
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Linear Congruences ax ≡ b mod m
Theorem 1. If (a, m) = 1, then the congruence ax ≡ b mod m phas exactly one solution modulo m.
Constructive. Solve the linear system
sa + tm = 1.
Then sba + tbm = b. So sba ≡ b (mod m) gives the solution x = sb.
If u 1 and u 2 are solutions, then au 1 ≡ b (mod m) and au 2 ≡ b (mod m) =⇒ au 1 ≡ au 2 (mod m) =⇒ u 1 ≡ u 2 (mod m) since (a, m) = 1.
So there is only one solution.
Example 1. 3 x ≡ 50 (mod 113)
Note that ax ≡ b (mod m) implies ax = b + qm for some integer q. So a common divisor of a, m also divides b.
Example 2. 5 x ≡ 1 (mod 15) is not solvable.
Theorem 2. Consider the congruence ax ≡ b (mod m).
u 0 , u 0 + m g , u 0 + 2 m g ,... , u 0 + (g − 1)m g where g = (a, m). Thus there are g solutions.
b g (mod^
m g )
This is possible since
( (^) a g
m g
= 1. (See last theorem.)
Example 3. 42 x ≡ 12 (mod 78)
2
Proof.
a g ,^ m g
= 1. So we can find a u 0 such that a g u 0 ≡ b g (mod m g
Therefore, au 0 ≡ b (mod m).
u = u 0 + t m g =⇒ au = au 0 + at m g =⇒ au = au 0 + a g tm =⇒ au = au 0 (mod m) =⇒ au = b (mod m). So u is a solution.
Suppose, on the other hand, that u is a solution. Then au ≡ au 0 ≡ b (mod m) =⇒ a(u − u 0 ) ≡ 0 (mod m) =⇒ a g (u − u 0 ) ≡ 0 (mod m g
=⇒ u − u 0 ≡ 0 (mod m g
=⇒ u − u 0 = t m g
Let j ≡ t (mod g) where 0 ≤ j ≤ g − 1. Then
t m g ≡^ j
m g (mod^ m) =⇒ u − u 0 ≡ j m g (mod m)
=⇒ u ≡ u 0 + j m g (mod m),
where 0 ≤ j ≤ g − 1.
It is easy to check that no two of the numbers u 0 + j m g (0 ≤ j < g) are congruent
modulo m.