Multiplicative Functions: a Rewrite of Andrews Chapter 6
Total Page:16
File Type:pdf, Size:1020Kb
MULTIPLICATIVE FUNCTIONS: A REWRITE OF ANDREWS CHAPTER 6 In these notes we offer a rewrite of Andrews Chapter 6. Our aim is to replace some of the messier arguments in Andrews. To achieve this, we need to change the order of presentation of the material. The main aim is to study the three important functions: Euler's phi function, ϕ(n); the number of divisors of n, d(n); and the sum of the divisors of n, σ(n). Each function is multiplicative, in the sense defined below. Definition A function f : N ! R is completely multiplicative if f(mn) = f(m)f(n)(m; n 2 N): An easy inductive argument shows that we have f(m1m2 : : : ms) = f(m1)f(m2) : : : f(ms) and so α1 α2 αs α1 αs α1 αs z f(p1 p2 : : : ps ) = f(p1 ) : : : f(ps ) = (f(p1)) ::: (f(ps)) ( ) Thus, a completely multiplicative function is determined by its values on the prime numbers. The simplest natural examples are given by f(n) = nc. But the interesting functions of number theory have only the weaker property that f(mn) = f(m)f(n)(m; n 2 N; gcd(m; n) = 1): For such functions, only the first equation in (z) holds true. Equivalently, a multiplicative function is known when we know its values on every power of each prime number. Recall that Uk is the set of invertible elements in Zk; equivalently it is the set of all those elements x 2 Zk which are coprime to k. Euler's phi-function is just the number of elements in Uk. THEOREM 1. Euler's phi-function is multiplicative. Proof. Let m; n be coprime. We are going to show that the set Umn is in one-one correspondence with the Cartesian product Um × Un. This then gives immediately that ϕ(mn) = ϕ(m)ϕ(n), as required. Given x 2 Umn, reduce x modulo m and also modulo n. Thus we get a 2 Zm; b 2 Zn such that x ≡ a (mod m) and y ≡ b (mod n). Suppose that p j a and p j m. It 1 follows that p j x, and also p j mn. Since x 2 Umn, we must have p = 1 and so a 2 Um. Similarly, b 2 Un. So we get a function F : Umn ! Um × Un defined by F (x) = (a; b). It remains to show that F is one-one and onto. To see that F is one-one, suppose that F (x) = F (y) with x; y 2 Umn. Then x ≡ a ≡ y (mod m); x ≡ b ≡ y (mod n): This gives m j (x − y) and n j (x − y). But m; n are coprime, and so mn j (x − y), that is, x = y. To see that F is onto, take any a 2 Um and any b 2 Un. By the Chinese Remainder Theorem, there exists x 2 Zmn such that x ≡ a (mod m) and x ≡ b (mod n). To see that x 2 Umn, suppose that a prime p divides both x and mn. But then p divides either m or n, which contradicts the fact that a 2 Um and b 2 Un. Thus x 2 Umn and we have F (x) = (a; b). So F is onto, and the proof is complete. We can now get the formula for ϕ(n). For n = pα, we see that the only elements not coprime to n are 0; p; 2p; : : : p2; p2 + p; : : : pα − p and so ϕ(pα) = pα − pα−1: Since ϕ is multiplicative, we get ! Y Y Y ( ) − 1 ϕ(n) = ϕ pαi = (pαi − pαi 1) = n 1 − : i i i p i i i i The last product above gives the fraction of n for which the numbers are coprime to n. When n is a large prime, this fraction is very nearly 1. When n is the product of the first k primes, then the fraction goes to zero as k goes to infinity. This last assertion is by no means obvious,P but it corresponds to the fact (to be proved later) that the infinite series (1=pi) diverges. 2 We are now going to see how to build a new multiplicative function from an old one. As an immediate corollary we shall see that our other two functions d(n) and σ(n) are also multiplicative. THEOREM 2. Let f be multiplicative and let X F (n) = f(k): kjn Then F is multiplicative. Proof. Let m; n be coprime, and let k j mn. By the Fundamental Theorem of Arithmetic, k = ab where a j m, b j n and a; b are coprime. Conversely, each such choice of a; b gives a product ab which is a factor of mn. Hence, X X X X X F (mn) = f(k) = f(ab) = f(a)f(b) = f(a) f(b) = F (m)F (n): kjmn ajm;bjn ajm;bjn ajm bjn Take f(n) = 1 (which is completely multiplicative) and we see that d(n) is multiplicative. Take f(n) = n (which is also completely multiplicative) and we see that σ(n) is also multiplicative. To get the formulas for d(n) and σ(n), we just have to calculate that d(pα) = α + 1 and pα+1)−1 σ(pα) = 1 + p + p2 + ··· + pα = : p − 1 As another application of Theorem 2, take f = ϕ and we claim that the associated function F is given by F (n) = n. To get this, we just have to show that F (pα) = pα. But F (pα) = ϕ(1)+ϕ(p)+ϕ(p2)+···+ϕ(pα) = 1+(p−1)+(p2−p)+···+(pα−pα−1 = pα as required. We find below another way to get the same result. Our final special function is a very curious one, called the M¨obiusfunction, s denoted by µ(n). We let µ(1) = 1, µ(p1p2 : : : ps) = (−1) , and µ(n) = 0 otherwise, that is, if n has at least one repeated prime factor. It is routine by 3 case-checking to see that µ(n) is also multiplicative. Apply Theorem 2 with f = µ to get associated multiplicative function M(n). Clearly M(1) = 1 and M(pα) = µ(1) + µ(p) + µ(p2) + ··· + µ(pα) = 1 − 1 + 0 + ··· + 0 = 0: It follows that M(n) = 0 whenever n > 1, in other words, X µ(k) = 0 (n > 1): kjn The next theorem is called the M¨obiusInversion Theorem. Since summation corresponds to integration and differences (here with spacing h = 1) corre- spond to derivatives, you may think of the theorem as a discrete version of the Fundamental Theorem of Calculus. THEOREM 3. Let f; g be any (real) functions on N. Then X f(n) = g(k)(n 2 N)(∗) kjn if and only if X g(n) = µ(k)f(n=k)(n 2 N)(∗∗): kjn Proof. Suppose that (∗) holds. Then X X X X X X µ(k)f(n=k) = µ(k) g(e) = µ(k)g(e) = g(e) µ(j): kjn kk0=n ejk0 keh=n ee0=n jje0 From above, the inner summation in the last equation is zero except when e0 = 1 and so e = n. Thus the sum is f(n), as required. The other half of the proof is similar. A pair of functions (f; g) satisfying either of the equivalent conditions (∗) or (∗∗) is called a M¨obiuspair. Thus (n; ϕ), (d; 1), (σ; n) are all M¨obiuspairs. So also is (µ, δ), where δ is the Dirac delta function which is 1 at 1 and zero elsewhere. Our final theorem is about the multiplicative properties of a M¨obiuspair. We have already proved one half of it. The other half is similar and is left to the reader. 4 THEOREM 4. Let (f; g) be a M¨obiuspair. Then f is multiplicative if and only if g is multiplicative. When we invert the M¨obiuspair (n; ϕ), we get the formula X n ϕ(n) = µ(k) : k kjn Of course this is easy to check when n = pα. It is tempting to think that we now have a quick proof that ϕ is multiplicative. Unfortunately this is not the case, since we would need to check that one of the M¨obiuspair equations holds for all n. Remark. In combinatorics, the M¨obiusInversion Theorem has been generalized by replacing N by certain partially ordered spaces. 5.