Misplaced Pages

Möbius inversion formula

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Möbius transform) Relation between pairs of arithmetic functions "Möbius transform" redirects here. Not to be confused with Möbius transformation.

In mathematics, the classic Möbius inversion formula is a relation between pairs of arithmetic functions, each defined from the other by sums over divisors. It was introduced into number theory in 1832 by August Ferdinand Möbius.

A large generalization of this formula applies to summation over an arbitrary locally finite partially ordered set, with Möbius' classical formula applying to the set of the natural numbers ordered by divisibility: see incidence algebra.

Statement of the formula

The classic version states that if g and f are arithmetic functions satisfying

g ( n ) = d n f ( d ) for every integer  n 1 {\displaystyle g(n)=\sum _{d\mid n}f(d)\quad {\text{for every integer }}n\geq 1}

then

f ( n ) = d n μ ( d ) g ( n d ) for every integer  n 1 {\displaystyle f(n)=\sum _{d\mid n}\mu (d)g\left({\frac {n}{d}}\right)\quad {\text{for every integer }}n\geq 1}

where μ is the Möbius function and the sums extend over all positive divisors d of n (indicated by d n {\displaystyle d\mid n} in the above formulae). In effect, the original f(n) can be determined given g(n) by using the inversion formula. The two sequences are said to be Möbius transforms of each other.

The formula is also correct if f and g are functions from the positive integers into some abelian group (viewed as a Z-module).

In the language of Dirichlet convolutions, the first formula may be written as

g = 1 f {\displaystyle g={\mathit {1}}*f}

where ∗ denotes the Dirichlet convolution, and 1 is the constant function 1(n) = 1. The second formula is then written as

f = μ g . {\displaystyle f=\mu *g.}

Many specific examples are given in the article on multiplicative functions.

The theorem follows because ∗ is (commutative and) associative, and 1μ = ε, where ε is the identity function for the Dirichlet convolution, taking values ε(1) = 1, ε(n) = 0 for all n > 1. Thus

μ g = μ ( 1 f ) = ( μ 1 ) f = ε f = f {\displaystyle \mu *g=\mu *({\mathit {1}}*f)=(\mu *{\mathit {1}})*f=\varepsilon *f=f} .

Replacing f , g {\displaystyle f,g} by ln f , ln g {\displaystyle \ln f,\ln g} , we obtain the product version of the Möbius inversion formula:

g ( n ) = d | n f ( d ) f ( n ) = d | n g ( n d ) μ ( d ) , n 1. {\displaystyle g(n)=\prod _{d|n}f(d)\iff f(n)=\prod _{d|n}g\left({\frac {n}{d}}\right)^{\mu (d)},\forall n\geq 1.}

Series relations

Let

a n = d n b d {\displaystyle a_{n}=\sum _{d\mid n}b_{d}}

so that

b n = d n μ ( n d ) a d {\displaystyle b_{n}=\sum _{d\mid n}\mu \left({\frac {n}{d}}\right)a_{d}}

is its transform. The transforms are related by means of series: the Lambert series

n = 1 a n x n = n = 1 b n x n 1 x n {\displaystyle \sum _{n=1}^{\infty }a_{n}x^{n}=\sum _{n=1}^{\infty }b_{n}{\frac {x^{n}}{1-x^{n}}}}

and the Dirichlet series:

n = 1 a n n s = ζ ( s ) n = 1 b n n s {\displaystyle \sum _{n=1}^{\infty }{\frac {a_{n}}{n^{s}}}=\zeta (s)\sum _{n=1}^{\infty }{\frac {b_{n}}{n^{s}}}}

where ζ(s) is the Riemann zeta function.

Repeated transformations

Given an arithmetic function, one can generate a bi-infinite sequence of other arithmetic functions by repeatedly applying the first summation.

For example, if one starts with Euler's totient function φ, and repeatedly applies the transformation process, one obtains:

  1. φ the totient function
  2. φ1 = I, where I(n) = n is the identity function
  3. I1 = σ1 = σ, the divisor function

If the starting function is the Möbius function itself, the list of functions is:

  1. μ, the Möbius function
  2. μ1 = ε where ε ( n ) = { 1 , if  n = 1 0 , if  n > 1 {\displaystyle \varepsilon (n)={\begin{cases}1,&{\text{if }}n=1\\0,&{\text{if }}n>1\end{cases}}} is the unit function
  3. ε1 = 1, the constant function
  4. 11 = σ0 = d = τ, where d = τ is the number of divisors of n, (see divisor function).

Both of these lists of functions extend infinitely in both directions. The Möbius inversion formula enables these lists to be traversed backwards.

As an example the sequence starting with φ is:

f n = { μ μ n  factors φ if  n < 0 φ if  n = 0 φ 1 1 n  factors if  n > 0 {\displaystyle f_{n}={\begin{cases}\underbrace {\mu *\ldots *\mu } _{-n{\text{ factors}}}*\varphi &{\text{if }}n<0\\\varphi &{\text{if }}n=0\\\varphi *\underbrace {{\mathit {1}}*\ldots *{\mathit {1}}} _{n{\text{ factors}}}&{\text{if }}n>0\end{cases}}}

The generated sequences can perhaps be more easily understood by considering the corresponding Dirichlet series: each repeated application of the transform corresponds to multiplication by the Riemann zeta function.

Generalizations

A related inversion formula more useful in combinatorics is as follows: suppose F(x) and G(x) are complex-valued functions defined on the interval [1, ∞) such that

G ( x ) = 1 n x F ( x n )  for all  x 1 {\displaystyle G(x)=\sum _{1\leq n\leq x}F\left({\frac {x}{n}}\right)\quad {\mbox{ for all }}x\geq 1}

then

F ( x ) = 1 n x μ ( n ) G ( x n )  for all  x 1. {\displaystyle F(x)=\sum _{1\leq n\leq x}\mu (n)G\left({\frac {x}{n}}\right)\quad {\mbox{ for all }}x\geq 1.}

Here the sums extend over all positive integers n which are less than or equal to x.

This in turn is a special case of a more general form. If α(n) is an arithmetic function possessing a Dirichlet inverse α(n), then if one defines

G ( x ) = 1 n x α ( n ) F ( x n )  for all  x 1 {\displaystyle G(x)=\sum _{1\leq n\leq x}\alpha (n)F\left({\frac {x}{n}}\right)\quad {\mbox{ for all }}x\geq 1}

then

F ( x ) = 1 n x α 1 ( n ) G ( x n )  for all  x 1. {\displaystyle F(x)=\sum _{1\leq n\leq x}\alpha ^{-1}(n)G\left({\frac {x}{n}}\right)\quad {\mbox{ for all }}x\geq 1.}

The previous formula arises in the special case of the constant function α(n) = 1, whose Dirichlet inverse is α(n) = μ(n).

A particular application of the first of these extensions arises if we have (complex-valued) functions f(n) and g(n) defined on the positive integers, with

g ( n ) = 1 m n f ( n m )  for all  n 1. {\displaystyle g(n)=\sum _{1\leq m\leq n}f\left(\left\lfloor {\frac {n}{m}}\right\rfloor \right)\quad {\mbox{ for all }}n\geq 1.}

By defining F(x) = f(⌊x⌋) and G(x) = g(⌊x⌋), we deduce that

f ( n ) = 1 m n μ ( m ) g ( n m )  for all  n 1. {\displaystyle f(n)=\sum _{1\leq m\leq n}\mu (m)g\left(\left\lfloor {\frac {n}{m}}\right\rfloor \right)\quad {\mbox{ for all }}n\geq 1.}

A simple example of the use of this formula is counting the number of reduced fractions 0 < ⁠a/b⁠ < 1, where a and b are coprime and bn. If we let f(n) be this number, then g(n) is the total number of fractions 0 < ⁠a/b⁠ < 1 with bn, where a and b are not necessarily coprime. (This is because every fraction ⁠a/b⁠ with gcd(a,b) = d and bn can be reduced to the fraction ⁠a/d/b/d⁠ with ⁠b/d⁠ ≤ ⁠n/d⁠, and vice versa.) Here it is straightforward to determine g(n) = ⁠n(n − 1)/2⁠, but f(n) is harder to compute.

Another inversion formula is (where we assume that the series involved are absolutely convergent):

g ( x ) = m = 1 f ( m x ) m s  for all  x 1 f ( x ) = m = 1 μ ( m ) g ( m x ) m s  for all  x 1. {\displaystyle g(x)=\sum _{m=1}^{\infty }{\frac {f(mx)}{m^{s}}}\quad {\mbox{ for all }}x\geq 1\quad \Longleftrightarrow \quad f(x)=\sum _{m=1}^{\infty }\mu (m){\frac {g(mx)}{m^{s}}}\quad {\mbox{ for all }}x\geq 1.}

As above, this generalises to the case where α(n) is an arithmetic function possessing a Dirichlet inverse α(n):

g ( x ) = m = 1 α ( m ) f ( m x ) m s  for all  x 1 f ( x ) = m = 1 α 1 ( m ) g ( m x ) m s  for all  x 1. {\displaystyle g(x)=\sum _{m=1}^{\infty }\alpha (m){\frac {f(mx)}{m^{s}}}\quad {\mbox{ for all }}x\geq 1\quad \Longleftrightarrow \quad f(x)=\sum _{m=1}^{\infty }\alpha ^{-1}(m){\frac {g(mx)}{m^{s}}}\quad {\mbox{ for all }}x\geq 1.}

For example, there is a well known proof relating the Riemann zeta function to the prime zeta function that uses the series-based form of Möbius inversion in the previous equation when s = 1 {\displaystyle s=1} . Namely, by the Euler product representation of ζ ( s ) {\displaystyle \zeta (s)} for ( s ) > 1 {\displaystyle \Re (s)>1}

log ζ ( s ) = p   p r i m e log ( 1 1 p s ) = k 1 P ( k s ) k P ( s ) = k 1 μ ( k ) k log ζ ( k s ) , ( s ) > 1. {\displaystyle \log \zeta (s)=-\sum _{p\mathrm {\ prime} }\log \left(1-{\frac {1}{p^{s}}}\right)=\sum _{k\geq 1}{\frac {P(ks)}{k}}\iff P(s)=\sum _{k\geq 1}{\frac {\mu (k)}{k}}\log \zeta (ks),\Re (s)>1.}

These identities for alternate forms of Möbius inversion are found in. A more general theory of Möbius inversion formulas partially cited in the next section on incidence algebras is constructed by Rota in.

Multiplicative notation

As Möbius inversion applies to any abelian group, it makes no difference whether the group operation is written as addition or as multiplication. This gives rise to the following notational variant of the inversion formula:

if  F ( n ) = d | n f ( d ) ,  then  f ( n ) = d | n F ( n d ) μ ( d ) . {\displaystyle {\mbox{if }}F(n)=\prod _{d|n}f(d),{\mbox{ then }}f(n)=\prod _{d|n}F\left({\frac {n}{d}}\right)^{\mu (d)}.}

Proofs of generalizations

The first generalization can be proved as follows. We use Iverson's convention that is the indicator function of the condition, being 1 if the condition is true and 0 if false. We use the result that

d | n μ ( d ) = ε ( n ) , {\displaystyle \sum _{d|n}\mu (d)=\varepsilon (n),}

that is, 1 μ = ε {\displaystyle 1*\mu =\varepsilon } , where ε {\displaystyle \varepsilon } is the unit function.

We have the following:

1 n x μ ( n ) g ( x n ) = 1 n x μ ( n ) 1 m x n f ( x m n ) = 1 n x μ ( n ) 1 m x n 1 r x [ r = m n ] f ( x r ) = 1 r x f ( x r ) 1 n x μ ( n ) 1 m x n [ m = r n ] rearranging the summation order = 1 r x f ( x r ) n | r μ ( n ) = 1 r x f ( x r ) ε ( r ) = f ( x ) since  ε ( r ) = 0  except when  r = 1 {\displaystyle {\begin{aligned}\sum _{1\leq n\leq x}\mu (n)g\left({\frac {x}{n}}\right)&=\sum _{1\leq n\leq x}\mu (n)\sum _{1\leq m\leq {\frac {x}{n}}}f\left({\frac {x}{mn}}\right)\\&=\sum _{1\leq n\leq x}\mu (n)\sum _{1\leq m\leq {\frac {x}{n}}}\sum _{1\leq r\leq x}f\left({\frac {x}{r}}\right)\\&=\sum _{1\leq r\leq x}f\left({\frac {x}{r}}\right)\sum _{1\leq n\leq x}\mu (n)\sum _{1\leq m\leq {\frac {x}{n}}}\left\qquad {\text{rearranging the summation order}}\\&=\sum _{1\leq r\leq x}f\left({\frac {x}{r}}\right)\sum _{n|r}\mu (n)\\&=\sum _{1\leq r\leq x}f\left({\frac {x}{r}}\right)\varepsilon (r)\\&=f(x)\qquad {\text{since }}\varepsilon (r)=0{\text{ except when }}r=1\end{aligned}}}

The proof in the more general case where α(n) replaces 1 is essentially identical, as is the second generalisation.

On posets

See also: Incidence algebra

For a poset P, a set endowed with a partial order relation {\displaystyle \leq } , define the Möbius function μ {\displaystyle \mu } of P recursively by

μ ( s , s ) = 1  for  s P , μ ( s , u ) = s t < u μ ( s , t ) ,  for  s < u  in  P . {\displaystyle \mu (s,s)=1{\text{ for }}s\in P,\qquad \mu (s,u)=-\sum _{s\leq t<u}\mu (s,t),\quad {\text{ for }}s<u{\text{ in }}P.}

(Here one assumes the summations are finite.) Then for f , g : P K {\displaystyle f,g:P\to K} , where K is a commutative ring, we have

g ( t ) = s t f ( s )  for all  t P {\displaystyle g(t)=\sum _{s\leq t}f(s)\qquad {\text{ for all }}t\in P}

if and only if

f ( t ) = s t g ( s ) μ ( s , t )  for all  t P . {\displaystyle f(t)=\sum _{s\leq t}g(s)\mu (s,t)\qquad {\text{ for all }}t\in P.}

(See Stanley's Enumerative Combinatorics, Vol 1, Section 3.7.) The classical arithmetic Mobius function is the special case of the poset P of positive integers ordered by divisibility: that is, for positive integers s, t, we define the partial order s t {\displaystyle s\preccurlyeq t} to mean that s is a divisor of t.

Contributions of Weisner, Hall, and Rota

The statement of the general Möbius inversion formula was first given independently by Weisner (1935) and Philip Hall (1936); both authors were motivated by group theory problems. Neither author seems to have been aware of the combinatorial implications of his work and neither developed the theory of Möbius functions. In a fundamental paper on Möbius functions, Rota showed the importance of this theory in combinatorial mathematics and gave a deep treatment of it. He noted the relation between such topics as inclusion-exclusion, classical number theoretic Möbius inversion, coloring problems and flows in networks. Since then, under the strong influence of Rota, the theory of Möbius inversion and related topics has become an active area of combinatorics.

See also

Notes

  1. Möbius 1832, pp. 105–123
  2. NIST Handbook of Mathematical Functions, Section 27.5.
  3. Bender & Goldman 1975, pp. 789–803

References

External links

Categories: