ArticleslgStudy

mathematics

Möbius function

Möbius function is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Möbius function rather than just read about it. In short: The Möbius function μ(n) is a multiplicative function in number theory introduced by the German mathematician August Ferdinand Möbius (also transliterated Moebius) in 1832. It is ubiquitous in elementary and analytic number theory and most often appears as part of its namesake the Möbius inversion formula.

Möbius function — main illustration
Möbius function — illustration

Key takeaways

  • Möbius function belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Möbius function to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Möbius function from memory before moving on to harder problems.

Reference excerpt

The Möbius function μ(n) is a multiplicative function in number theory introduced by the German mathematician August Ferdinand Möbius (also transliterated Moebius) in 1832. It is ubiquitous in elementary and analytic number theory and most often appears as part of its namesake the Möbius inversion formula. Following work of Gian-Carlo Rota in the 1960s, generalizations of the Möbius function were introduced into combinatorics, and are similarly denoted μ(x).

Definition The Möbius function is defined by

μ(n)={1if n=1(−1)kif n is the product of k distinct primes0if n is divisible by a square>1. The Möbius function can alternatively be represented as

μ(n)=δω(n)Ω(n)λ(n), where δij is the Kronecker delta, λ(n) is the Liouville function, and ω(n) and Ω(n) are the prime omega functions. ω(n) is the number of distinct prime divisors of n, and Ω(n) is the number of prime factors of n, counted with multiplicity. Another characterization by Carl Friedrich Gauss is the sum of all primitive roots.

Values The values of μ(n) for the first 60 positive numbers are

The first 50 values of the function are plotted below:

Larger values can be checked in:

Wolframalpha the b-file of OEIS

Applications

Mathematical series The Dirichlet series that generates the Möbius function is the (multiplicative) inverse of the Riemann zeta function; if s is a complex number with real part larger than 1 we have

∑n=1∞μ(n)ns=1ζ(s). This may be seen from its Euler product

1ζ(s)=∏p prime(1−1ps)=(1−12s)(1−13s)(1−15s)⋯ Also:

∑n=1∞|μ(n)|ns=ζ(s)ζ(2s); ∑n=1∞μ(n)n=0; ∑n=1∞μ(n)ln⁡nn=−1; ∑n=1∞μ(n)ln2nn=−2γ, where γ is Euler's constant. The Lambert series for the Möbius function is

∑n=1∞μ(n)qn1−qn=q, which converges for |q|<1. For prime α≥2, we also have

∑n=1∞μ(αn)qnqn−1=∑n≥0qαn,|q|<1.

Algebraic number theory Gauss proved that for a prime number p the sum of its primitive roots is congruent to μ(p−1)modp. If 𝔽q denotes the finite field of order q (where q is necessarily a prime power), then the number N of monic irreducible polynomials of degree n over 𝔽q is given by

N(q,n)=1n∑d∣nμ(d)qnd. The Möbius function is used in the Möbius inversion formula.

Physics The Möbius function also arises in the primon gas or free Riemann gas model of supersymmetry. In this theory, the fundamental particles or "primons" have energies log⁡(p). Under second quantization, multiparticle excitations are considered; these are given by log⁡(n) for any natural number n. This follows from the fact that the factorization of the natural numbers into primes is unique. In the free Riemann gas, any natural number can occur, if the primons are taken as bosons. If they are taken as fermions, then the Pauli exclusion principle excludes squares. The operator (−1)F that distinguishes fermions and bosons is then the Möbius function μ(n). The free Riemann gas has a number of other interesting connections to number theory, including the fact that the partition function is the Riemann zeta function. This idea underlies Alain Connes's attempted proof of the Riemann hypothesis.

Properties The Möbius function is multiplicative (i.e., μ(ab)=μ(a)μ(b) whenever a and b are coprime).

Proof: Given two coprime numbers m≥n, we induct on mn. If mn=1, then μ(mn)=1=μ(m)μ(n). Otherwise, m>n≥1, so 0=∑d|mnμ(d)=μ(mn)+∑d|mn;d<mnμ(d)=inductionμ(mn)−μ(m)μ(n)+∑d|m;d′|nμ(d)μ(d′)=μ(mn)−μ(m)μ(n)+∑d|mμ(d)∑d′|nμ(d′)=μ(mn)−μ(m)μ(n)+0

The sum of the Möbius function over all positive divisors of n (including n itself and 1) is zero except when n=1:

∑d∣nμ(d)={1if n=1,0if n>1. The equality above leads to the important Möbius inversion formula and is the main reason why μ is of relevance in the theory of multiplicative and arithmetic functions. Other applications of μ(n) in combinatorics are connected with the use of the Pólya enumeration theorem in combinatorial groups and combinatorial enumerations. There is a formula for calculating the Möbius function without directly knowing the factorization of its argument:

μ(n)=∑gcd⁡(k,n)=11≤k≤ne2πikn, i.e. μ(n) is the sum of the primitive n-th roots of unity. (However, the computational complexity of this definition is at least the same as that of the Euler product definition.) Other identities satisfied by the Möbius function include

∑k≤n⌊nk⌋μ(k)=1 and

∑jk≤nsin⁡(πjk2)μ(k)=1. The first of these is a classical result while the second was published in 2020. Similar identities hold for the Mertens function.

Proof of the formula for the sum of μ over divisors The formula

∑d∣nμ(d)={1if n=1,0if n>1 can be written using Dirichlet convolution as: 1∗μ=ε where ε is the identity under the convolution. One way of proving this formula is by noting that the Dirichlet convolution of two multiplicative functions is again multiplicative. Thus it suffices to prove the formula for powers of primes. Indeed, for any prime p and for any k>0

1∗μ(pk)=∑d∣pkμ(d)=μ(1)+μ(p)+∑1<m<=kμ(pm)=1−1+∑0=0=ε(pk), while for n=1

1∗μ(1)=∑d∣1μ(d)=μ(1)=1=ε(1).

Other proofs Another way of proving this formula is by using the identity

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Möbius function

Start with the simplest possible case. Write down what Möbius function claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Möbius function before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Möbius function ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Möbius function

In research
Möbius function appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Möbius function in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Möbius function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Multiplicative functions, so understanding it makes those chapters shorter.
In everyday life
Look for Möbius function outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Möbius function” →

How to study Möbius function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Möbius function means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Möbius function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Möbius function in simple terms?

The Möbius function μ(n) is a multiplicative function in number theory introduced by the German mathematician August Ferdinand Möbius (also transliterated Moebius) in 1832. It is ubiquitous in elementary and analytic number theory and most often appears as part of its namesake the Möbius inversion…

Why does Möbius function matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Möbius function?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Möbius function.

Tags

  • Multiplicative functions

Keep exploring