Posted on

Table of Contents

Proposition 1

Definition

If a,b,m∈Za,b,m\in \Z and m≠0m \neq 0, then we can say that a is congruent to bb modulo mm if m divides b−ab-a. $a \equiv b (m) $

  • a≡a(m)a\equiv a(m)
  • a≡b(m)  ⟹  b≡a(m)a\equiv b(m) \implies b \equiv a(m)
  • a≡b(m),b≡c(m)  ⟹  a≡c(m)a\equiv b(m),b\equiv c(m) \implies a\equiv c(m)

Proof:

  • m∣(a−a)=0m|(a-a)=0
  • m∣(a−b)  ⟹  m∣(b−a)m|(a-b) \implies m|(b-a)​
  • m∣(b−a),m∣(c−b)  ⟹  m∣(c−b+b−a)=c−am|(b-a),m|(c-b)\implies m|(c-b+b-a)=c-a

That implies, congruence modulo is an equivalence relation on a set of integer.

Proposition 2

Definition

let aˉ\bar a as a set of integers that aˉ≡a(m)\bar a \equiv a(m). aˉ=a+km\bar a = a+km​. aˉ\bar a is called a congruence class modulo mm.

  • aˉ=bˉ  ⟺  a≡b(m)\bar a=\bar b \iff a \equiv b(m)​
  • aˉ≠bˉ  ⟺  aˉ∩bˉ=∅\bar a \neq \bar b \iff \bar a \cap \bar b = \empty​
  • There are m distinct congruence classes modulo m

Proof:

  • If aˉ=bˉ,\bar a = \bar b, a∈aˉ=bˉa\in \bar a = \bar b that is a≡b(m)a\equiv b(m). If a≡b(m),a\equiv b(m), a∈bˉa\in \bar b so aˉ⊂bˉ\bar a \subset \bar b.
  • If aˉ∩bˉ≠∅\bar a \cap \bar b \neq \empty, we shall have c≡a(m),c≡b(m)c\equiv a(m), c\equiv b(m). That is a≡b(m)a\equiv b(m) so aˉ=bˉ\bar a = \bar b.
  • Suppose 0≤k<l<m0 \leq k < l < m and kˉ=lˉ\bar k = \bar l. That implies k≡l(m)  ⟹  m∣(l−k)k \equiv l(m) \implies m|(l-k). But (l−m)<m(l-m) < m, that is a contradiction. So for 0≤k<l<m0 \leq k < l < m, kˉ≠lˉ\bar k \neq \bar l. So there are m distinct congruence classes.

Proposition 3

Definition

If aˉ1,aˉ2,aˉ3...aˉm\bar a_1,\bar a_2, \bar a_3...\bar a_m are a complete set of congruence classes modulo m, then {aˉ1,aˉ2,aˉ3...aˉm}\{\bar a_1,\bar a_2, \bar a_3...\bar a_m\} is called a complete set of residues modulo m.

The set of congruence classes modulo m is Z/mZ\Z/m\Z.

This set can be made into a ring.

If a≡c(m),b≡d(m)a\equiv c(m), b\equiv d(m), then a+b≡c+d (m)a+b\equiv c+d\ (m) also ab≡cd(m)ab\equiv cd(m).

Proof:

By definition, m∣c−a,m∣d−bm|c-a, m| d-b. m∣(c−a)+(d−b)=(c+d)−(a+b)  ⟹  a+b≡c+d (m) m|(c-a)+(d-b) = (c+d)-(a+b) \implies a+b \equiv c+d \ (m)

m∣c(d−b)+b(c−a)=cd−ab  ⟹  ab≡cd (m) m|c(d-b)+b(c-a) = cd -ab \implies ab \equiv cd\ (m)

Application

If p(x)∈Z[x]p(x)\in \Z[x], assume a≡b(m)a\equiv b(m), we have p(a)≡p(b)(m)p(a)\equiv p(b)(m). So when m=2m=2, we have p(a)≡p(0)(2)p(a)\equiv p(0)(2) or p(a)≡p(1)(2)p(a)\equiv p(1)(2).

For p(x)=a0xn+a1xn−1...an−1x+anp(x)=a_0x^n+a_1x^{n-1}...a_{n-1}x+a_n. p(0)=anp(0)=a_n and p(1)=a0+a1+...anp(1)=a_0 + a_1+...a_n.

If p(x)∈Z[x],p(0),p(1)p(x)\in \Z[x], p(0),p(1) are both odd, there are no integer roots.