Math 2.0

Number theory Proof

Proof of the Möbius inversion formula

Builds on Möbius functionThe Möbius function is the inverse of the constant function 1Divisors of a natural number

Proof

We rearrange finite double sums and use ∑d∣kμ(d)=[k=1]\sum_{d \mid k} \mu(d) = [k = 1]. Here [k=1][k = 1] is 11 if k=1k = 1 and 00 otherwise.

  1. By the sum of the Möbius function over divisors, for each positive integer kk we have ∑d∣kμ(d)=[k=1]\sum_{d \mid k} \mu(d) = [k = 1]. All divisors here are positive divisors.
  2. Fix a positive integer nn. Let TT be the set of pairs (d,e)(d, e) of positive integers with de∣nde \mid n.
  3. For positive integers dd and ee, the conditions "d∣nd \mid n and e∣n/de \mid n/d", "de∣nde \mid n" and "e∣ne \mid n and d∣n/ed \mid n/e" are equivalent. Each one says that n=dekn = dek for a positive integer kk.
  4. Assume first that g(m)=∑e∣mf(e)g(m) = \sum_{e \mid m} f(e) for all positive integers mm. Then ∑d∣nμ(d)g ⁣(nd)=∑d∣n∑e∣n/dμ(d)f(e)=∑(d,e)∈Tμ(d)f(e).\sum_{d \mid n} \mu(d) g\!\left(\frac{n}{d}\right) = \sum_{d \mid n} \sum_{e \mid n/d} \mu(d) f(e) = \sum_{(d, e) \in T} \mu(d) f(e).
  5. By step 3, we can sum over ee first: ∑(d,e)∈Tμ(d)f(e)=∑e∣nf(e)∑d∣n/eμ(d)=∑e∣nf(e) [n/e=1].\sum_{(d, e) \in T} \mu(d) f(e) = \sum_{e \mid n} f(e) \sum_{d \mid n/e} \mu(d) = \sum_{e \mid n} f(e) \, [n/e = 1]. The last equality is step 1 with k=n/ek = n/e.
  6. Only e=ne = n has n/e=1n/e = 1. So the sum equals f(n)f(n). This proves the formula for ff.
  7. Conversely, assume that f(m)=∑e∣mμ(e)g(m/e)f(m) = \sum_{e \mid m} \mu(e) g(m/e) for all positive integers mm. Then ∑d∣nf(d)=∑d∣n∑e∣dμ(e) g ⁣(de).\sum_{d \mid n} f(d) = \sum_{d \mid n} \sum_{e \mid d} \mu(e) \, g\!\left(\frac{d}{e}\right).
  8. The pairs (d,e)(d, e) with d∣nd \mid n and e∣de \mid d correspond one-to-one to the pairs (e,k)(e, k) with ek∣nek \mid n, by k=d/ek = d/e and d=ekd = ek.
  9. So, using step 3 with (e,k)(e, k) in place of (d,e)(d, e), ∑d∣nf(d)=∑(e,k): ek∣nμ(e)g(k)=∑k∣ng(k)∑e∣n/kμ(e)=∑k∣ng(k) [n/k=1].\sum_{d \mid n} f(d) = \sum_{(e, k) :\, ek \mid n} \mu(e) g(k) = \sum_{k \mid n} g(k) \sum_{e \mid n/k} \mu(e) = \sum_{k \mid n} g(k) \, [n/k = 1].
  10. Only k=nk = n contributes, so ∑d∣nf(d)=g(n)\sum_{d \mid n} f(d) = g(n). Since nn was arbitrary, both directions hold.

Idea

Substitute one relation into the other and swap the order of the two divisor sums. The inner sum then becomes a sum of μ\mu over the divisors of a number. That sum is 11 for the number 11 and 00 otherwise, so only one term survives.

Reading path

To understand this page from the ground up, read these 54 pages in order. The foundations come first. The path takes the proofs Proof of Bézout's identity, Proof of the generalized Euclid's lemma, Proof of the commutativity of addition by induction, Proof of Euclid's lemma, Proof of strong induction from ordinary induction, Proof of the fundamental theorem of arithmetic, Proof of Pascal's rule from the recursive definition, Proof of the existence of prime factorization, Proof of the factorial formula for binomial coefficients by induction, Proof of the binomial theorem by induction, Proof of the well-ordering principle from strong induction, Proof of the division algorithm, Proof that the Möbius function is the inverse of the constant function 1, Proof of the existence of a prime divisor.

  1. Arithmetic function definition
  2. Binomial coefficient definition
  3. Definition by recursion concept
  4. Divisibility definition
  5. Factorial definition
  6. Group concept
  7. Mathematical induction concept
  8. Natural numbers object
  9. Peano axioms concept
  10. Proof of Pascal's rule from the recursive definition proof
  11. Divisors of a natural number definition
  12. Greatest common divisor definition
  13. Prime number definition
  14. Ring definition
  15. Successor function definition
  16. Dirichlet convolution definition
  17. Pascal's rule statement
  18. Number of distinct prime factors definition
  19. Coprime integers definition
  20. Prime factorization definition
  21. Square-free integer definition
  22. Commutative ring definition
  23. Addition of natural numbers definition
  24. The successor function is injective statement
  25. Zero is not a successor statement
  26. Proof of the factorial formula for binomial coefficients by induction proof
  27. Möbius function definition
  28. Proof of the commutativity of addition by induction proof
  29. Order on the natural numbers definition
  30. Factorial formula for binomial coefficients statement
  31. Commutativity of addition statement
  32. Proof of strong induction from ordinary induction proof
  33. Proof of the binomial theorem by induction proof
  34. Strong induction statement
  35. Binomial theorem statement
  36. Proof of the well-ordering principle from strong induction proof
  37. Well-ordering principle statement
  38. Proof of the division algorithm proof
  39. Proof of the existence of a prime divisor proof
  40. Division algorithm statement
  41. Existence of a prime divisor statement
  42. Proof of Bézout's identity proof
  43. Proof of the existence of prime factorization proof
  44. Bézout's identity statement
  45. Existence of prime factorization statement
  46. Proof of the generalized Euclid's lemma proof
  47. Generalized Euclid's lemma statement
  48. Proof of Euclid's lemma proof
  49. Euclid's lemma statement
  50. Proof of the fundamental theorem of arithmetic proof
  51. Fundamental theorem of arithmetic statement
  52. Proof that the Möbius function is the inverse of the constant function 1 proof
  53. The Möbius function is the inverse of the constant function 1 statement
  54. Proof of the Möbius inversion formula proof

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/M%C3%B6bius_inversion_formula, Proofs of generalizations
About this page
TagS9N8VV57EJ
URIm2://S9N8VV57EJ
Kindproof
WritingW0 stub
MSC11A25
ProvesMöbius inversion formula
UsesMöbius function, The Möbius function is the inverse of the constant function 1, Divisors of a natural number
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.