Docsity

Word formation exercises WF1, Schemes and Mind Maps of English Language

Toggle sidebar
bg1
LECTURE 4: CHINESE REMAINDER THEOREM AND
MULTIPLICATIVE FUNCTIONS
1. The Chinese Remainder Theorem
We now seek to analyse the solubility of congruences by reinterpreting their
solutions modulo a composite integer min terms of related congruences modulo
prime powers.
Theorem 1.1 (Chinese Remainder Theorem).Let m1, . . . , mrdenote positive
integers with (mi, mj) = 1 for i6=j, and let a1, . . . , ar∈Z. Then the system
of congruences
x≡ai(mod mi) (1 6i6r) (1.1)
is soluble simultaneously for some integer x. If x0is any one such solution,
then xis a solution of (1.1) if and only if x≡x0(mod m1m2. . . mr).
Proof. Let m=m1m2. . . mr, and nj=m/mj(1 6j6r). Then for each
j= 1, . . . , r one has (mj, nj) = 1, whence there exists an integer bjwith
njbj≡1 (mod mj).
Moreover,
njbj=m1· · · mr
mjmi
bjmi≡0 (mod mi)
whenever i6=j. Then if we put
x0=n1b1a1+· · · +nrbrar,
we find that
x0≡nibiai≡ai(mod mi)
for 1 6i6r. Thus we may conclude that x0is a solution of (1.1).
In order to establish uniqueness, suppose that xand yare any two solutions
of (1.1). Then one has
x≡y(mod mi),16i6r, and (mi, mj) = 1, i 6=j.
Then it follows that x≡y(mod [m1, . . . , mr]). Since mi’s are coprime,
[m1, . . . , mr] = m1. . . mr.
Example 1.2. Find the set of solutions to the system of congruences
4x≡1 (mod 3), x ≡2 (mod 5),2x≡5 (mod 7).
We first convert this into a form where the leading coefficients are all 1. Thus,
multiplying the final congruence through by 4 (the multiplicative inverse of 2
modulo 7), we obtain the equivalent system
x≡1 (mod 3), x ≡2 (mod 5), x ≡6 (mod 7).
1
pf3
pf4
pf5

Partial preview of the text

Download Word formation exercises WF1 and more Schemes and Mind Maps English Language in PDF only on Docsity!

LECTURE 4: CHINESE REMAINDER THEOREM AND

MULTIPLICATIVE FUNCTIONS

  1. The Chinese Remainder Theorem

We now seek to analyse the solubility of congruences by reinterpreting their solutions modulo a composite integer m in terms of related congruences modulo prime powers.

Theorem 1.1 (Chinese Remainder Theorem). Let m 1 ,... , mr denote positive integers with (mi, mj ) = 1 for i 6 = j, and let a 1 ,... , ar ∈ Z. Then the system of congruences x ≡ ai (mod mi) (1 6 i 6 r) (1.1)

is soluble simultaneously for some integer x. If x 0 is any one such solution, then x is a solution of (1.1) if and only if x ≡ x 0 (mod m 1 m 2... mr).

Proof. Let m = m 1 m 2... mr, and nj = m/mj (1 6 j 6 r). Then for each j = 1,... , r one has (mj , nj ) = 1, whence there exists an integer bj with

nj bj ≡ 1 (mod mj ).

Moreover,

nj bj =

m 1 · · · mr mj mi

bj

mi ≡ 0 (mod mi)

whenever i 6 = j. Then if we put

x 0 = n 1 b 1 a 1 + · · · + nrbrar,

we find that x 0 ≡ nibiai ≡ ai (mod mi)

for 1 6 i 6 r. Thus we may conclude that x 0 is a solution of (1.1).

In order to establish uniqueness, suppose that x and y are any two solutions of (1.1). Then one has

x ≡ y (mod mi), 1 6 i 6 r, and (mi, mj ) = 1, i 6 = j.

Then it follows that x ≡ y (mod [m 1 ,... , mr]). Since mi’s are coprime, [m 1 ,... , mr] = m 1... mr. 

Example 1.2. Find the set of solutions to the system of congruences

4 x ≡ 1 (mod 3), x ≡ 2 (mod 5), 2 x ≡ 5 (mod 7).

We first convert this into a form where the leading coefficients are all 1. Thus, multiplying the final congruence through by 4 (the multiplicative inverse of 2 modulo 7), we obtain the equivalent system

x ≡ 1 (mod 3), x ≡ 2 (mod 5), x ≡ 6 (mod 7). 1

We next put m 1 = 3, m 2 = 5, m 3 = 7, so that (mi, mj ) = 1 for i 6 = j. Define m = 3 · 5 · 7 = 105, and n 1 = 105/3 = 35, n 2 = 105/5 = 21, n 3 = 105/7 = 15. We compute integers bj with nj bj ≡ 1 (mod mj ) (j = 1, 2 , 3) by means of the Euclidean Algorithm (or directly, if the numbers are small enough). Thus we find that

35 b 1 ≡ 1 (mod 3) ⇒ 2 b 1 ≡ 1 (mod 3) ⇒ b 1 ≡ 2 (mod 3), 21 b 2 ≡ 1 (mod 5) ⇒ b 2 ≡ 1 (mod 5), 15 b 3 ≡ 1 (mod 7) ⇒ b 3 ≡ 1 (mod 7).

So take

x 0 = 35 · 2 · 1 + 21 · 1 · 2 + 15 · 1 · 6 = 70 + 42 + 90 = 202 ≡ 97 (mod 105).

Then we find that x 0 = 97 satisfies the given congruences, and the complete set of solutions is given by x = 97 + 105k (k ∈ Z).

Example 1.3. Find the set of solutions, if any, to the system of congruences

x ≡ 1 (mod 15), x ≡ 2 (mod 35).

In this example, the moduli of the two congruences are not coprime, since (35, 15) = 5. In order to determine whether or not the system is soluble, we therefore need to examine the underlying congruences, extracting as a modulus this greatest common divisor. Thus we find that any potential solution x of the system must satisfy

x ≡ 1 (mod 15) ⇒ x ≡ 1 (mod 3) and x ≡ 1 (mod 5),

and at the same time

x ≡ 2 (mod 35) ⇒ x ≡ 2 (mod 5) and x ≡ 2 (mod 7).

But then one has x ≡ 1 (mod 5) and x ≡ 2 (mod 5), two congruence condi- tions that are plainly incompatible. We may conclude then that there are no so- lutions of the simultaneous congruences x ≡ 1 (mod 15) and x ≡ 2 (mod 35).

  1. Multiplicative functions

We wish to investigate further the properties of the Euler totient function, and so pause to introduce the concept of a multiplicative function.

Definition 2.1. (i) We say that a function f : N → C is an arithmetical function; (ii) An arithmetical function f is said to be multiplicative if (a) f is not identically zero, and (b) whenever (m, n) = 1, one has f (mn) = f (m)f (n);

(iii) An arithmetical function g is said to be totally multiplicative if for all natural numbers m and n, one has g(mn) = g(m)g(n).

Note that if f (n) is multiplicative, then necessarily one has f (1) = 1.

Lemma 2.3. Suppose that f is multiplicative, and define g(n) =

d|n f^ (d). Then g is a multiplicative function.

Proof. Suppose that m and n are natural numbers with (m, n) = 1, and sup- pose that d | mn. Write d 1 = (d, m) and d 2 = (d, n). Then d = d 1 d 2 and (d 1 , d 2 ) = 1. Thus we obtain

g(mn) =

d|mn

f (d) =

d 1 |m

d 2 |n

f (d 1 d 2 ) =

d 1 |m

f (d 1 )

d 2 |n

f (d 2 )

whence g(mn) = g(m)g(n). This completes the proof that g is multiplicative. 

Corollary 2.4. One has

d|n φ(d) =^ n.

Proof. Observe that for each prime number p, and every natural number r, one has ∑

d|pr

φ(d) =

∑^ r

h=

φ(ph) = 1 +

∑^ r

h=

(ph^ − ph−^1 ) = pr.

Thus, owing to the multiplicative property of φ established in Theorem 2.2, it follows from Lemma 2.3 that

d|n φ(d) is a multiplicative function, and when n =

∏t t=1 p

ri i ∑

d|n

φ(d) =

∏^ t

i=

d|pri

φ(d)

∏^ t

i=

pri^ = n.

To conclude this section, we examine the set of solutions of a polynomial congruence.

Definition 2.5. Let f ∈ Z[x], and suppose that r 1 ,... , rm is a complete residue system modulo m. Then we say that the number of solutions of the congruence f (x) ≡ 0 (mod m) is the number of residues ri with f (ri) ≡ 0 (mod m).

Theorem 2.6. Suppose that f ∈ Z[x], and denote by Nf (m) the number of solutions of the congruence f (x) ≡ 0 (mod m). Then Nf (m) is a multiplicative function of m, so that when m =

∏t t=1 p

ri i ,

Nf (m) =

∏^ t

i=

Nf (pri^ ).

Proof. Suppose that m 1 and m 2 are natural numbers with m = m 1 m 2 and (m 1 , m 2 ) = 1. Let {r 1 ,... , rm 1 }, {s 1 ,... , sm 2 } and {t 1 ,... , tm} be complete residue systems modulo m 1 , m 2 and m, respectively. Suppose that some tk satisfies f (tk) ≡ 0 (mod m). Then there exist unique ri and sj with

tk ≡ ri (mod m 1 ) and tk ≡ sj (mod m 2 ),

and they satisfy

f (ri) ≡ 0 (mod m 1 ) and f (sj ) ≡ 0 (mod m 2 ).

Further, if tk and t` satisfy

tk ≡ t≡ ri (mod m 1 ) and tk ≡ t ≡ sj (mod m 2 ),

then, by the Chinese Remainder Theorem tk ≡ t(mod m), so that tk = t. Thus we have defined an injective map from the set of solutions modulo m to the set of pairs of solutions modulo m 1 and m 2. In the other direction, whenever there exist residues ri and sj with f (ri) ≡ 0 (mod m 1 ) and f (sj ) ≡ 0 (mod m 2 ),

then by the Chinese Remainder Theorem there exists unique tk with

tk ≡ ri (mod m 1 ) and tk ≡ sj (mod m 2 ),

so that f (tk) ≡ 0 (mod mi), i = 1, 2.

But since (m 1 , m 2 ) = 1, it follows that

f (tk) ≡ 0 (mod m).

There is therefore an injective map from pairs of solutions (ri, sj ) modulo m 1 and m 2 respectively, to solutions modulo m.

Collecting together the above conclusions, we find that the solutions modulo m, and pairs of solutions modulo m 1 and m 2 , are in bijective correspondence, whence Nf (m) = Nf (m 1 )Nf (m 2 ) whenever (m 1 , m 2 ) = 1. The desired conclu- sion now follows on considering the prime factorisation of m.