Mobius Function

Introduction

In the study of multiplicative number theory, certain arithmetic functions arise naturally when analyzing the structure of integers. Among these, the Mobius function stands out as one of the most fundamental and elegant. It encodes essential information about the prime factorization of integers in a remarkably compact form.

The Mobius function μ⁡(n) mu of n was introduced by August Ferdinand Mobius in 1832 1832. Despite its simple definition, this function serves as the cornerstone of multiplicative number theory, appearing in the celebrated Mobius inversion formula, which provides a powerful tool for inverting summatory relationships between arithmetic functions.

The function takes only three possible values: −1 negative 1 0 0 and 1 1 This simplicity belies its deep importance: the Mobius function connects to the Riemann zeta function, the distribution of prime numbers, and fundamental questions about the arithmetic structure of integers.

Formal Definition

The Mobius function μ:ℤ+→{−1,0,1} mu colon the positive integers right arrow the set negative 1 comma 0 comma 1 is defined as follows. For any positive integer n n

μ⁡(n)={1if n=1(−1)kif n=p1⁢p2⋯pk (distinct primes)0if p2⁢(n)∣ for some prime p mu of n equals 3 cases Case 1: 1 if n equals 1 Case 2: open paren negative 1 close paren to the k-th power if n equals p sub 1 p sub 2 dot dot dot p sub k open paren distinct primes close paren Case 3: 0 if p squared times n divides for some prime p

In words, μ⁡(n) mu of n equals 1 1 if n n is a product of an even number of distinct primes (including the empty product for n=1 n equals 1, equals −1 negative 1 if n n is a product of an odd number of distinct primes, and equals 0 0 if n n has any repeated prime factor.

An integer n n with no repeated prime factors is called squarefree. The Möbius function is nonzero precisely on squarefree integers. The set of squarefree integers has natural density 6π2≈0.608 the fraction with numerator 6 and denominator pi squared almost equals 0.608, meaning roughly 61% 61 percent of positive integers are squarefree.

Computing Initial Values

To develop intuition, we compute μ⁡(n) mu of n for small values of n n

μ⁡(1)=1 mu of 1 equals 1 (the empty product of zero primes)

μ⁡(2)=−1 mu of 2 equals negative 1 (one prime factor)

μ⁡(3)=−1 mu of 3 equals negative 1 (one prime factor)

μ⁡(4)=0 mu of 4 equals 0 (since 4=22 4 equals 2 squared has a repeated prime)

μ⁡(5)=−1 mu of 5 equals negative 1 (one prime factor)

μ⁡(6)=1 mu of 6 equals 1 (since 6=2⋅3 6 equals 2 times 3 has two distinct primes)

μ⁡(30)=−1 mu of 30 equals negative 1 (since 30=2⋅3⋅5 30 equals 2 times 3 times 5 has three distinct primes)

μ⁡(12)=0 mu of 12 equals 0 (since 12=22⋅3 12 equals 2 squared times 3 has a repeated prime)

Fundamental Properties

Multiplicativity

The Möbius function is multiplicative, meaning that for any two coprime positive integers m m and n n (that is, gcd⁡(m,n)=1 the gcd of open paren m comma n close paren equals 1):

μ⁢(m⁢n)=μ⁡(m)⋅μ⁡(n) mu times m n equals mu of m times mu of n

This property follows directly from the definition. If m m and n n share no common prime factors, then m⁢n m n is squarefree if and only if both m m and n n are squarefree. Moreover, the number of prime factors of m⁢n m n equals the sum of the number of prime factors of m m and n n, so (−1)km+kn=(−1)km⋅(−1)kn open paren negative 1 close paren raised to the k sub m plus k sub n power equals open paren negative 1 close paren raised to the k sub m power times open paren negative 1 close paren raised to the k sub n power.

Multiplicativity is crucial because it means that to compute μ⁡(n) mu of n for any n n, we only need to know μ mu at prime powers. For a prime p p:

μ⁡(pk)={−1if k=10if k≥2 mu of open paren p to the k-th power close paren equals 2 cases Case 1: negative 1 if k equals 1 Case 2: 0 if k is greater than or equal to 2

Sum Over Divisors

Perhaps the most important property of the Möbius function is the following identity. For any positive integer n n:

∑d⁢n∣μ⁡(d)={1if n=10if n>1 the sum over d n vertical bar of mu of d equals 2 cases Case 1: 1 if n equals 1 Case 2: 0 if n is greater than 1

This identity states that the sum of μ⁡(d) mu of d over all divisors d d of n n equals 1 1 when n=1 n equals 1 and 0 0 otherwise. Using the notation of the identity function and Dirichlet convolution, this can be written as μ∗1=ε mu asterisk 1 equals epsilon, where ε⁡(n) epsilon of n is 1 1 if n=1 n equals 1 and 0 0 otherwise.

To prove this, let n=p1a1⁢p2a2⋯pkak n equals p sub 1 raised to the a sub 1 power p sub 2 raised to the a sub 2 power dot dot dot p sub k raised to the a sub k power be the prime factorization of n>1 n is greater than 1. Only squarefree divisors contribute to the sum, so:

∑d⁢n∣μ⁡(d)=∑S⊆{p1,…,pk}(−1)=∑j=0k((kj)⁢(−1)j=(1−1)k=0) the sum over d n vertical bar of mu of d equals the sum over S subset of or equal to the set p sub 1 comma dot dot dot comma p sub k of negative 1 equals the sum from j equals 0 to k of open paren open paren k over j close paren times open paren negative 1 close paren to the j-th power equals open paren 1 minus 1 close paren to the k-th power equals 0 close paren

The last equality uses the binomial theorem. This elegant cancellation is the key to why the Möbius function enables inversion formulas.

The Möbius Inversion Formula

The Möbius inversion formula is a fundamental tool that allows us to recover a function from its summatory function. If ƒ f with hook and g g are arithmetic functions related by:

g⁡(n)=∑d⁢n∣ƒ⁡(d) g of n equals the sum over d n vertical bar of f with hook of d

then the original function ƒ f with hook can be recovered using:

ƒ⁡(n)=∑d⁢n∣μ⁡(d)⋅g⁢(nd)=∑d⁢n∣(μ)⁢(nd)⋅g⁡(d) f with hook of n equals the sum over d n vertical bar of mu of d times g times open paren n over d close paren equals the sum over d n vertical bar of mu times open paren n over d close paren times g of d

To verify this, substitute the definition of g g into the inversion formula:

∑d⁢n∣μ⁡(d)⋅g⁢(nd)=∑d⁢n∣(μ⁡(d))⁢∑e⁢nd∣ƒ⁡(e)=∑e⁢n∣(ƒ⁡(e))⁢∑d⁢ne∣μ⁡(d) the sum over d n vertical bar of mu of d times g times open paren n over d close paren equals the sum over d n vertical bar of mu of d the sum over e n over d vertical bar of f with hook of e equals the sum over e n vertical bar of f with hook of e the sum over d n over e vertical bar of mu of d

The inner sum equals 1 1 when n/e=1 n divided by e equals 1 (i.e., e=n e equals n) and 0 0 otherwise, yielding ƒ⁡(n) f with hook of n as required.

Classical Application: Euler Totient Function

The Euler totient function ϕ⁡(n) phi of n counts integers from 1 1 to n n that are coprime to n n. A classical identity states:

∑d⁢n∣ϕ⁡(d)=n the sum over d n vertical bar of phi of d equals n

Applying Möbius inversion with g⁡(n)=n g of n equals n and ƒ=ϕ f with hook equals phi, we obtain:

ϕ⁡(n)=∑d⁢n∣μ⁡(d)⋅nd=n⁢∑d⁢n∣μ⁡(d)d phi of n equals the sum over d n vertical bar of mu of d times n over d equals n the sum over d n vertical bar of mu of d over d

Since both μ mu and the function n↦1n n right arrow from bar 1 over n are multiplicative, so is their pointwise product. Using multiplicativity, for n=p1a1⋯pkak n equals p sub 1 raised to the a sub 1 power dot dot dot p sub k raised to the a sub k power:

ϕ⁡(n)=n⁢∏p⁢n∣(1−1p) phi of n equals n the product over p n vertical bar of open paren 1 minus 1 over p close paren

This is the well-known product formula for the Euler totient function.

Connection to the Riemann Zeta Function

The Möbius function has a deep connection to the Riemann zeta function. Recall that for Re⁡(s)>1 real s is greater than 1, the Riemann zeta function is defined as:

ζ⁡(s)=∑n=1∞1ns=∏p prime11−p−s zeta of s equals the sum from n equals 1 to infinity of the fraction with numerator 1 and denominator n to the s-th power equals the product over p prime of the fraction with numerator 1 and denominator 1 minus p raised to the negative s power

The Dirichlet series for the Möbius function is the reciprocal of the zeta function:

∑n=1∞μ⁡(n)ns=1ζ⁡(s) the sum from n equals 1 to infinity of the fraction with numerator mu of n and denominator n to the s-th power equals 1 over zeta of s

To prove this, we use the Euler product. For each prime p p:

∑k=0∞μ⁡(pk)pk⁢s=1+μ⁡(p)ps+0+0+⋯=1−1ps the sum from k equals 0 to infinity of the fraction with numerator mu of open paren p to the k-th power close paren and denominator p raised to the k s power equals 1 plus the fraction with numerator mu of p and denominator p to the s-th power plus 0 plus 0 plus dot dot dot equals 1 minus the fraction with numerator 1 and denominator p to the s-th power

Taking the product over all primes:

∑n=1∞μ⁡(n)ns=∏p(1−1ps)=1ζ⁡(s) the sum from n equals 1 to infinity of the fraction with numerator mu of n and denominator n to the s-th power equals the product over p of open paren 1 minus the fraction with numerator 1 and denominator p to the s-th power close paren equals 1 over zeta of s

This relationship means that the Möbius function encodes information about the zeros of the zeta function, connecting it to the distribution of prime numbers through the Prime Number Theorem and its refinements.

Dirichlet Convolution

The Möbius function plays a central role in the theory of Dirichlet convolution. For two arithmetic functions ƒ f with hook and g g, their Dirichlet convolution is defined as:

(ƒ∗g)⁢(n)=∑d⁢n∣ƒ⁡(d)⋅g⁢(nd) open paren f with hook asterisk g close paren times n equals the sum over d n vertical bar of f with hook of d times g times open paren n over d close paren

Under this operation, the set of arithmetic functions forms a commutative ring with the identity element ε epsilon (where ε⁡(1)=1 epsilon of 1 equals 1 and ε⁡(n)=0 epsilon of n equals 0 for n>1 n is greater than 1).

The constant function 1⁢(n)=1 1 times n equals 1 for all n n has the Möbius function as its Dirichlet inverse:

μ∗1=ε mu asterisk 1 equals epsilon

This is precisely the sum-over-divisors property proven earlier. The Möbius inversion formula is simply the statement that if g=ƒ∗1 g equals f with hook asterisk 1, then ƒ=g∗μ f with hook equals g asterisk mu.

The Mertens Function

The summatory function of the Möbius function is called the Mertens function:

M⁡(x)=∑n≤xμ⁡(n) M of x equals the sum over n is less than or equal to x of mu of n

The behavior of M⁡(x) M of x is intimately connected to the Riemann Hypothesis. Specifically, the Riemann Hypothesis is equivalent to the bound:

M⁡(x)=O⁡(x1/2+ε) M of x equals O of open paren x raised to the 1 divided by 2 plus epsilon power close paren

for any ε>0 epsilon is greater than 0. This shows how the seemingly simple Möbius function connects to one of the deepest unsolved problems in mathematics.

What is known unconditionally is that M⁡(x)=o⁡(x) M of x equals o of x, which is equivalent to the Prime Number Theorem. The Mertens function oscillates between positive and negative values, and understanding its growth is central to analytic number theory.

Generalizations

The Mobius function generalizes to other algebraic structures. On any locally finite partially ordered set (poset), one can define a Mobius function μ⁡(x,y) mu of open paren x comma y close paren for pairs x≤y x is less than or equal to y that satisfies an analogous inversion formula. This broader framework, developed by Gian-Carlo Rota, unifies many combinatorial identities.

For the divisibility poset on positive integers (where d≤n d is less than or equal to n means d⁢n∣ d n vertical bar, the poset Mobius function μ⁡(d,n) mu of open paren d comma n close paren equals μ⁢(n/d) mu times open paren n divided by d close paren recovering the classical Mobius function.

Another important generalization is the Liouville function λ⁡(n)=(−1)Ω⁡(n) lamda of n equals open paren negative 1 close paren raised to the Omega of n power where Ω⁡(n) Omega of n counts prime factors with multiplicity. While μ⁡(n) mu of n vanishes on non-squarefree integers, λ⁡(n) lamda of n is always ±1 plus or minus 1 Both functions share the property that their Dirichlet series relate to ζ⁡(s) zeta of s

Summary

The Mobius function μ⁡(n) mu of n is a fundamental arithmetic function that takes values in {−1,0,1} the set negative 1 comma 0 comma 1 It equals (−1)k open paren negative 1 close paren to the k-th power when n n is a product of k k distinct primes, and 0 0 when n n has a repeated prime factor.

The key property is that ∑d⁢n∣μ⁡(d)=0 the sum over d n vertical bar of mu of d equals 0 for all n>1 n is greater than 1 This enables the Mobius inversion formula: if g⁡(n)=∑d⁢n∣ƒ⁡(d) g of n equals the sum over d n vertical bar of f with hook of d then ƒ⁡(n)=∑d⁢n∣(μ⁡(d))⁢g⁢(n/d) f with hook of n equals the sum over d n vertical bar of mu of d g times open paren n divided by d close paren

In the language of Dirichlet convolution, the Mobius function is the inverse of the constant function 1 1 we have μ∗1=ε mu asterisk 1 equals epsilon Its Dirichlet series is 1/ζ⁡(s) 1 divided by zeta of s connecting it to the Riemann zeta function and the distribution of primes.

The Mobius function is multiplicative, meaning μ⁢(m⁢n)=μ⁡(m)⁢μ⁡(n) mu times m n equals mu of m mu of n when gcd⁡(m,n)=1 the gcd of open paren m comma n close paren equals 1 This allows efficient computation and leads to elegant formulas such as ϕ⁡(n)=n⁢∏p⁢n∣(1−1/p) phi of n equals n the product over p n vertical bar of open paren 1 minus 1 divided by p close paren for the Euler totient function.

The summatory Mertens function M⁡(x)=∑n≤xμ⁡(n) M of x equals the sum over n is less than or equal to x of mu of n connects to the Riemann Hypothesis, and squarefree integers (where μ≠0 mu is not equal to 0 have density 6/π2 6 divided by pi squared The Mobius function thus serves as a bridge between elementary arithmetic and deep analytic number theory.