4.3: Mobius inversion
( \newcommand{\kernel}{\mathrm{null}\,}\)
Lemma 4.12
Define ϵ(n)≡∑d|nμ(d). Then ϵ(1)=1 and for all n>1,ϵ(n)=0.
- Proof
-
Lemma 4.8 says that μ is multiplicative. Therefore, by Proposition 4.3, ϵ is also multiplicative. It follows that ϵ(πri=1plii) can be calculated
by evaluating a product of terms like ϵ(pl) where p is prime. For example, when p is prime, we have
ϵ(p)=μ(1)+μ(p)=1+(−1)=0 and
ϵ(p2)=μ(1)+μ(p)+μ(p2)=1−1+0=0
Thus one sees that ϵ(pl) is zero unless l=0.
Lemma 4.13
For n∈N, define
Sn≡{(a,b)∈N|∃d>0 such that d|n and ab=d}
Tn≡{(a,b)∈N2|b|n and a|nb}
Then Sn=Tn.
- Proof
-
Suppose (a,b) is in Sn. Then ab|n and so
ab=d|n}⇒b|n and a|nd
And so (a,b) is in Tn. Vice versa, if (a,b) is in Tn, then by setting d≡ab,
we get
a|nb}⇒d|n and ab=d
And so (a,b) is in Sn
Theorem 4.14: Mobius Inversion
Let F:N→C be any number theoretic function. Then the equation
F(n)=∑d|nf(d)
if and only if f:N→C satisfies
f(d)=∑a|dμ(a)F(da)=∑{(a,b)|ab=d}μ(a)F(b)
- Proof
-
⇐: We show that substituting f gives F. Define H as
H(n)≡∑d|nf(d)=∑d|n∑a|dμ(a)F(da)
Then we need to prove that H(n)=F(n). This proceeds in three steps. For the first step we write ab=d, so that now
H(n)≡∑f(d)=∑d|n∑ab=dμ(a)F(b)
For the second step we apply Lemma 4.13 to the set over which the summation takes place. This gives:
H(n)=∑b|n∑a|(nb)μ(a)F(b)=∑b|n(∑a|nbμ(a))F(b)
Finally, Lemma 4.12 implies that the term in parentheses equals G(nb). It equals 0, except when b=n when it equals 1. The result follows.
Uniqueness: Suppose there are two solutions f and g. We have:
F(n)=∑d|nf(d)=∑d|ng(d)
We show by induction on n that f(n)=g(n).
Clearly F(1)=f(1)=g(1). Now suppose that for i∈{1,⋯k}, we have f(i)=g(i). Then
F(k+1)=(∑d|(k+1),d≤kf(d))+f(k+1)=(∑d|(k+1),d≤kg(d))+g(k+1)
So that the desired equality for k+1 follows from the induction hypothesis.