Congruences
Congruence
Let n be a positive integer, and let a and b be any integers. We say that a is congruent to b(modn), or a is a residue of b(modn), written
a≡b(modn)
If a and b leave the same remainder when divided by n.To be more precise, we use the division algorithm to put a=qn+r with 0≤r<n, and b=q′n+r′ with 0≤r′<n, and then we say that a≡b(modn) if and only if r=r′
Example:both 28 and 48 leave the same reminder when divided by 5. ie 48≡28(mod5)
We will use the notation a≢b(modn) to denote that a and b are not congruent (modn),that is, they leave different remainders when divided by n.
Example:
100≡2(mod7)
20≢3(mod5)
Theorem: a≡b(modm) if and only if a=b+km for some integer k.
Proof:suppose a≡b(modm), then m|(a−b), so a−b=km for some integer k, tht is a=b+km.
Example:23≡3(mod5) and 23=3+4.5
Note:If a≡0(modm) if and only if m|a, Eg: 28≡0(mod4)
Lemma:For any fixed n≥1 , we have a≡b(modn), if and only if n|a−b
Proof:Putting a=qn+r and b=q′n+r′ as above, we have a−b=(q−q′)n+(r−r′) with −n<r−r′<n.If a≡b(modn), then r=r′,so r−r′=0 and a−b=(q−q′)n, which is divisible byn.Conversely if n divides a−b, then it divides a−b−(q−q′)n=r−r′; now the only integer strictly between −n and n which is divisible by n is 0.So r−r′=0 giving r=r′ and hence a≡b(modn).
Example:
since 5|(23−3) ,we can say 23≡3(mod5).
Lemma:
For any fixed n≥1, we have
1)a≡a for all integers a ; reflexivity
2)If a≡b then b≡a ;symmetry
3)If a≡b and b≡c then a≡c ; transitivity
proof:
- since m|(a−a),a≡a(modm)
- suppose a≡b(modm). Then m|(a−b) ie; m|−(b−a). So m|(b−a), that is b≡a(modm)
- suppose a≡b(modm) and b≡c(modm). Then m|(a−b) and m|(b−c), so m|[(a−b)+(b−c)] ie; m|(a−c), consequently a≡c(modm)
When these three properties are the properties for equivalence relation.So these lemma proves that for each fixed n, congruence mod n is an equivalence relation on Z.It follows that Z is partitioned into disjoint equivalence classes, these are the congruence classes.
Example:since7 \equiv -5 \pmod{4}and-5 \equiv 15 \pmod{4},7 \equiv 15 \pmod{4}$.
When n=1 all integers are congruent to each other, so there is a single congruent class, coinciding with Z.When n=2, the two classes [0]=[0]2 and [1]=[1]2 consist of even and odd integers respectively.
For a given n≥1, we denote the set of n equivalence class(modn) by Zn.We can do arithmetic with these congruence classes, so that Zn become a number system with properties very similar to that of Z.If [a] and [b] are elements of Zn ie; congruent classes mod n.We define the sum, difference and product to be the classes.
[a]+[b]=[a+b]
[a]−[b]=[a−b]
[a][b]=[ab]
containing the integers a+b,a−b and ab respectively.
If we try to define exponentiation of classes in Zn such that
[a][b]=[ab]
restricting b to non-negative values to ensure that ab is an integer.If we take n=3, for instance this gives
[2][1]=[21]=[2]
unfortunately [1]=[4] in Z3, and our definition is also gives
[2][4]=[24]=[16]=[1]≠[2]
So exponentiation of congruence class is not well defined.We therefore confine arithmetic in Zn to operations which are well defined, like addition,subtraction,multiplication and powers.A restricted form of division can also be defined.
A set of n integers, containing one representative from each of the n congruent class in Zn,is called complete set of residues modn.A sensible choice of such a set can ease calculations considerably.One obvious choice is provided by the division algorithm. We can divide an integer a by n to give a=qn+r for some unique r satisfying 0≤r<n; thus each class [a]∈Z contains a uniqe r=0,1,…,n−1, so these n integers form a complete set of residues, called the least non-negative residues mod n. The remainder r satisfying −n/2<r≤n/2.These reminders are the least absolute residues modn, those with least absolute value; when n is odd they are 0,±1,±2,…,±(n−1)/2 and when n is even they are 0,±1,±2,…,±(n−2)/2,±n/2
Example:
Lets calculate the least non-negative residue of 28×33(mod35)
We have 28≡−7(mod35) and 33≡−2(mod35)
So 28×33=−7×−2=14(mod35)
Example:
Lets calculate the least absolute residue of 15×59(mod75). We have
15×59=15×16=−15×4×4=−60×4=15×4=60=−15(mod75)
Example:
Lets calculate the least non negative residue of 38(mod13)
32=9=−4(mod13)
34=(32)2=(−4)2=16=3(mod13)
38=(34)2=32=9(mod13)
Since n divides m if and only if m≡0(modn), it follows that problem about divisibility is equivalent to problems about congruences and these can be sometimes easier to solve.
Example:
Lets prove a(a+1)(2a+1) is divisible by 6 for every integer a.By taking least absolute residues mod 6, we can see that a≡0,±1,±2 and 3.
if a=0 then a(a+1)(2a+1)≡0.1.1≡0
if a=1 then a(a+1)(2a+1)≡1.2.3≡0
We can show this for other values also hence
6|a(a+1)(2a+1) for all a
Theorem: let a≡b(modm) and c≡d(modm). Then a+c≡b+d(modm) and ac≡bd(modm)
Example:We have 17≡−4(mod3) and 28≡7(mod3).So by the theorem 17+28≡−4+7(mod3)ie; 45≡3(mod3).Also 17.28≡(−4).7(mod3) ie; 476≡−28(mod3)
Corollary:If a≡b(modm) and c is any integer, then
a+c≡b+c(modm)
a−c≡b−c(modm)
ac≡bc(modm)
a2≡b2(modm)
Example: Notice that 19≡5(mod7).So 19+11≡5+11(mod7),19−11≡5−11(mod7), and 19.11≡5.11(mod7).
Theorem:If a≡b(modm), then an≡bn(modm) for any positive integer n.
This theorem helps in solving the congruence
Example:Find the remainder when 1653 is divisible by 7.
It is noted that 16≡2(mod7).So by the theorem 1653≡253(mod7).
23=8≡1(mod7). So
253=23.17+2=(23)17.22
≡117.4(mod7)
≡4(mod7)
Theorem:
Let n have prime power factorisation
n=pe11.pe22.….pekk
where p1,p2,…,pk are distinct primes.Then for any integers a and b we have
a≡b(modn) if and only if a≡b(modpeii) for each i=1…k.
Example: 8≡23(mod15)
implies that
8≡23(mod5)
8≡23(mod3)
Lemma
let f(x) be a polynomial with integer coefficients and let n≥1. If a≡b(modn). Then f(a)≡f(b)(modn)
Lets consider the polynomial f(x)=x.(x+1).(2x+1)=2x3+3x2+x and n=6. Use the fact that a≡0,±1,±2or3, then f(a)≡f(0),f(±1),f(±2)orf(3) respectively, all of which are easily seen to be congruent to 0 mod 6.
Suppose that a polynomial f(x) , with integer coefficients , has an integer root x=a∈Z,so that f(a)=0.It follows then that f(a)≡0(modn) for all integers n≥1. We can often use the contra-positive of this to show that certain polynomials f(x) has no integer roots; if there exist an integer n≥1 , such that the congruence f(x)≡0(modn) has no solutions x, then the equation f(x)=0 can have no solutions x.If n is small, we can check whether f(x)≡0(modn) has any solutions simply by evaluating f(x1),…f(xn), where x1,x2,…,xn for a complete set of residues (modn) ; each x∈Z is congruent to some xi. This implies that f(x)≡f(xi), and we simply determine whether any of f(x1),…,f(xn) is divisible by n.
Example:
Lets prove that the polynomial f(x)=x5−x2+x−3 has no integer roots.To do this lets take n=4 and consider the congruence
f(x)=x5−x2+x−3≡0(mod4)
Using the least absolute residues 0,±1,2 , as a complete set of residues(mod 4) we find that
f(0)=−3f(1)=−2f(−1)=−6andf(2)=27
Comments
Post a Comment