Linear Congruences Theorems - Lecture Notes | MATH 420, Study notes of Algebra

Material Type: Notes; Class: Algebra I; Subject: MATHEMATICAL SCIENCES; University: Northern Illinois University; Term: Unknown 1989;

Typology: Study notes

Pre 2010

Uploaded on 08/18/2009

koofers-user-q8i
koofers-user-q8i 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Linear Congruences ax bmod m
Theorem 1. If (a, m) = 1, then the congruence ax bmod mphas 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 u1and u2are solutions, then
au1b(mod m) and au2b(mod m)
=au1au2(mod m)
=u1u2(mod m) since (a, m) = 1.
So there is only one solution.
Example 1. 3x50 (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. 5x1 (mod 15) is not solvable.
Theorem 2. Consider the congruence ax b(mod m).
1. The congruence has a solution if and only if (a, m)|b.
2. If u0is any particular solution, then a complete set of solutions is:
u0, u0+m
g, u0+2m
g, . . . , u0+(g1)m
g
where g= (a, m). Thus there are gsolutions.
3. A particular solution u0can be obtained by solving the congruence
a
gxb
g(mod m
g)
This is possible since a
g,m
g= 1. (See last theorem.)
Example 3. 42x12 (mod 78)
pf2

Partial preview of the text

Download Linear Congruences Theorems - Lecture Notes | MATH 420 and more Study notes Algebra in PDF only on Docsity!

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).

  1. The congruence has a solution if and only if (a, m) | b.
  2. If u 0 is any particular solution, then a complete set of solutions is:

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.

  1. A particular solution u 0 can be obtained by solving the congruence a g x^ ≡^

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.

  1. If ax ≡ b (mod m) has a solution and g = (a, m), then clearly g|b. 
  2. Suppose g = (a, m) and g|b. Then

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). 

  1. Suppose u 0 is a solution. Then

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.