Misplaced Pages

Möbius function

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 Moebius mu function) Multiplicative function in number theory This article is about the number-theoretic Möbius function. For the combinatorial Möbius function, see incidence algebra. For the rational functions defined on the complex numbers, see Möbius transformation.

This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (October 2024) (Learn how and when to remove this message)
Möbius function
Named afterAugust Ferdinand Möbius
Publication year1832
Author of publicationAugust Ferdinand Möbius
No. of known termsinfinite
First terms1, −1, −1, 0, −1, 1, −1, 0, 0, 1
OEIS index
  • A008683
  • Möbius (or Moebius) function mu(n). mu(1) = 1; mu(n) = (-1)^k if n is the product of k different primes; otherwise mu(n) = 0.

The Möbius function μ ( n ) {\displaystyle \mu (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 ) {\displaystyle \mu (x)} .

Definition

The Möbius function is defined by

μ ( n ) = { 1 if  n = 1 ( 1 ) k if  n  is the product of  k  distinct primes 0 if  n  is divisible by a square > 1 {\displaystyle \mu (n)={\begin{cases}1&{\text{if }}n=1\\(-1)^{k}&{\text{if }}n{\text{ is the product of }}k{\text{ distinct primes}}\\0&{\text{if }}n{\text{ is divisible by a square}}>1\end{cases}}}

The Möbius function can alternatively be represented as

μ ( n ) = δ ω ( n ) Ω ( n ) λ ( n ) , {\displaystyle \mu (n)=\delta _{\omega (n)\Omega (n)}\lambda (n),}

where δ {\displaystyle \delta } is the Kronecker delta, λ ( n ) {\displaystyle \lambda (n)} is the Liouville function, ω ( n ) {\displaystyle \omega (n)} is the number of distinct prime divisors of n {\displaystyle n} , and Ω ( n ) {\displaystyle \Omega (n)} is the number of prime factors of n {\displaystyle n} , counted with multiplicity.

Another characterization by Gauss is the sum of all primitive roots.

Values

The values of μ ( n ) {\displaystyle \mu (n)} for the first 50 positive numbers are

n {\displaystyle n} 1 2 3 4 5 6 7 8 9 10
μ ( n ) {\displaystyle \mu (n)} 1 −1 −1 0 −1 1 −1 0 0 1
n {\displaystyle n} 11 12 13 14 15 16 17 18 19 20
μ ( n ) {\displaystyle \mu (n)} −1 0 −1 1 1 0 −1 0 −1 0
n {\displaystyle n} 21 22 23 24 25 26 27 28 29 30
μ ( n ) {\displaystyle \mu (n)} 1 1 −1 0 0 1 0 0 −1 −1
n {\displaystyle n} 31 32 33 34 35 36 37 38 39 40
μ ( n ) {\displaystyle \mu (n)} −1 0 1 1 1 0 −1 1 1 0
n {\displaystyle n} 41 42 43 44 45 46 47 48 49 50
μ ( n ) {\displaystyle \mu (n)} −1 −1 −1 0 0 1 −1 0 0 0

The first 50 values of the function are plotted below:

The 50 first values of '"`UNIQ--postMath-00000019-QINU`"'
The 50 first values of μ ( n ) {\displaystyle \mu (n)}

Larger values can be checked in:

Applications

Mathematical series

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

n = 1 μ ( n ) n s = 1 ζ ( s ) . {\displaystyle \sum _{n=1}^{\infty }{\frac {\mu (n)}{n^{s}}}={\frac {1}{\zeta (s)}}.}

This may be seen from its Euler product

1 ζ ( s ) = p  prime ( 1 1 p s ) = ( 1 1 2 s ) ( 1 1 3 s ) ( 1 1 5 s ) {\displaystyle {\frac {1}{\zeta (s)}}=\prod _{p{\text{ prime}}}{\left(1-{\frac {1}{p^{s}}}\right)}=\left(1-{\frac {1}{2^{s}}}\right)\left(1-{\frac {1}{3^{s}}}\right)\left(1-{\frac {1}{5^{s}}}\right)\cdots }

Also:

  • n = 1 | μ ( n ) | n s = ζ ( s ) ζ ( 2 s ) ; {\displaystyle \sum \limits _{n=1}^{\infty }{\frac {|\mu (n)|}{n^{s}}}={\frac {\zeta (s)}{\zeta (2s)}};}
  • n = 1 μ ( n ) n = 0 ; {\displaystyle \sum _{n=1}^{\infty }{\frac {\mu (n)}{n}}=0;}
  • n = 1 μ ( n ) ln n n = 1 ; {\displaystyle \sum \limits _{n=1}^{\infty }{\frac {\mu (n)\ln n}{n}}=-1;}
  • n = 1 μ ( n ) ln 2 n n = 2 γ , {\displaystyle \sum \limits _{n=1}^{\infty }{\frac {\mu (n)\ln ^{2}n}{n}}=-2\gamma ,} where γ {\displaystyle \gamma } is Euler's constant.

The Lambert series for the Möbius function is

n = 1 μ ( n ) q n 1 q n = q , {\displaystyle \sum _{n=1}^{\infty }{\frac {\mu (n)q^{n}}{1-q^{n}}}=q,}

which converges for | q | < 1 {\displaystyle |q|<1} . For prime α 2 {\displaystyle \alpha \geq 2} , we also have

n = 1 μ ( α n ) q n q n 1 = n 0 q α n , | q | < 1. {\displaystyle \sum _{n=1}^{\infty }{\frac {\mu (\alpha n)q^{n}}{q^{n}-1}}=\sum _{n\geq 0}q^{\alpha ^{n}},|q|<1.}

Algebraic number theory

Gauss proved that for a prime number p {\displaystyle p} the sum of its primitive roots is congruent to μ ( p 1 ) mod p {\displaystyle \mu (p-1)\mod p} .

If F q {\displaystyle \mathbb {F} _{q}} denotes the finite field of order q {\displaystyle q} (where q {\displaystyle q} is necessarily a prime power), then the number N {\displaystyle N} of monic irreducible polynomials of degree n {\displaystyle n} over F q {\displaystyle \mathbb {F} _{q}} is given by

N ( q , n ) = 1 n d n μ ( d ) q n d . {\displaystyle N(q,n)={\frac {1}{n}}\sum _{d\mid n}\mu (d)q^{\frac {n}{d}}.}

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 ) {\displaystyle \log(p)} . Under second quantization, multiparticle excitations are considered; these are given by log ( n ) {\displaystyle \log(n)} for any natural number n {\displaystyle 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 {\displaystyle (-1)^{F}} that distinguishes fermions and bosons is then none other than the Möbius function μ ( n ) {\displaystyle \mu (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., μ ( a b ) = μ ( a ) μ ( b ) {\displaystyle \mu (ab)=\mu (a)\mu (b)} whenever a {\displaystyle a} and b {\displaystyle b} are coprime).

Proof: Given two coprime numbers m n {\displaystyle m\geq n} , we induct on m n {\displaystyle mn} . If m n = 1 {\displaystyle mn=1} , then μ ( m n ) = 1 = μ ( m ) μ ( n ) {\displaystyle \mu (mn)=1=\mu (m)\mu (n)} . Otherwise, m > n 1 {\displaystyle m>n\geq 1} , so

0 = d | m n μ ( d ) = μ ( m n ) + d | m n ; d < m n μ ( d ) = induction μ ( m n ) μ ( m ) μ ( n ) + d | m ; d | n μ ( d ) μ ( d ) = μ ( m n ) μ ( m ) μ ( n ) + d | m μ ( d ) d | n μ ( d ) = μ ( m n ) μ ( m ) μ ( n ) + 0 {\displaystyle {\begin{aligned}0&=\sum _{d|mn}\mu (d)\\&=\mu (mn)+\sum _{d|mn;d<mn}\mu (d)\\&{\stackrel {\text{induction}}{=}}\mu (mn)-\mu (m)\mu (n)+\sum _{d|m;d'|n}\mu (d)\mu (d')\\&=\mu (mn)-\mu (m)\mu (n)+\sum _{d|m}\mu (d)\sum _{d'|n}\mu (d')\\&=\mu (mn)-\mu (m)\mu (n)+0\end{aligned}}}

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

d n μ ( d ) = { 1 if  n = 1 , 0 if  n > 1. {\displaystyle \sum _{d\mid n}\mu (d)={\begin{cases}1&{\text{if }}n=1,\\0&{\text{if }}n>1.\end{cases}}}

The equality above leads to the important Möbius inversion formula and is the main reason why μ {\displaystyle \mu } is of relevance in the theory of multiplicative and arithmetic functions.

Other applications of μ ( n ) {\displaystyle \mu (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 ) = 1 1 k n e 2 π i k n , {\displaystyle \mu (n)=\sum _{\stackrel {1\leq k\leq n}{\gcd(k,\,n)=1}}e^{2\pi i{\frac {k}{n}}},}

i.e. μ ( n ) {\displaystyle \mu (n)} is the sum of the primitive n {\displaystyle 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 n k μ ( k ) = 1 {\displaystyle \sum _{k\leq n}\left\lfloor {\frac {n}{k}}\right\rfloor \mu (k)=1}

and

j k n sin ( π j k 2 ) μ ( k ) = 1 {\displaystyle \sum _{jk\leq n}\sin \left({\frac {\pi jk}{2}}\right)\mu (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 μ {\displaystyle \mu } over divisors

The formula

d n μ ( d ) = { 1 if  n = 1 , 0 if  n > 1 {\displaystyle \sum _{d\mid n}\mu (d)={\begin{cases}1&{\text{if }}n=1,\\0&{\text{if }}n>1\end{cases}}}

can be written using Dirichlet convolution as: 1 μ = ε {\displaystyle 1*\mu =\varepsilon } where ε {\displaystyle \varepsilon } 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 {\displaystyle p} and for any k > 0 {\displaystyle k>0}

1 μ ( p k ) = d p k μ ( d ) = μ ( 1 ) + μ ( p ) + 1 < m <= k μ ( p m ) = 1 1 + 0 = 0 = ε ( p k ) {\displaystyle 1*\mu (p^{k})=\sum _{d\mid p^{k}}\mu (d)=\mu (1)+\mu (p)+\sum _{1<m<=k}\mu (p^{m})=1-1+\sum 0=0=\varepsilon (p^{k})} ,

while for n = 1 {\displaystyle n=1}

1 μ ( 1 ) = d 1 μ ( d ) = μ ( 1 ) = 1 = ε ( 1 ) {\displaystyle 1*\mu (1)=\sum _{d\mid 1}\mu (d)=\mu (1)=1=\varepsilon (1)} .

Other proofs

Another way of proving this formula is by using the identity

μ ( n ) = gcd ( k , n ) = 1 1 k n e 2 π i k n , {\displaystyle \mu (n)=\sum _{\stackrel {1\leq k\leq n}{\gcd(k,\,n)=1}}e^{2\pi i{\frac {k}{n}}},}

The formula above is then a consequence of the fact that the n {\displaystyle n} th roots of unity sum to 0, since each n {\displaystyle n} th root of unity is a primitive d {\displaystyle d} th root of unity for exactly one divisor d {\displaystyle d} of n {\displaystyle n} .

However it is also possible to prove this identity from first principles. First note that it is trivially true when n = 1 {\displaystyle n=1} . Suppose then that n > 1 {\displaystyle n>1} . Then there is a bijection between the factors d {\displaystyle d} of n {\displaystyle n} for which μ ( d ) 0 {\displaystyle \mu (d)\neq 0} and the subsets of the set of all prime factors of n {\displaystyle n} . The asserted result follows from the fact that every non-empty finite set has an equal number of odd- and even-cardinality subsets.

This last fact can be shown easily by induction on the cardinality | S | {\displaystyle |S|} of a non-empty finite set S {\displaystyle S} . First, if | S | = 1 {\displaystyle |S|=1} , there is exactly one odd-cardinality subset of S {\displaystyle S} , namely S {\displaystyle S} itself, and exactly one even-cardinality subset, namely {\displaystyle \emptyset } . Next, if | S | > 1 {\displaystyle |S|>1} , then divide the subsets of S {\displaystyle S} into two subclasses depending on whether they contain or not some fixed element x {\displaystyle x} in S {\displaystyle S} . There is an obvious bijection between these two subclasses, pairing those subsets that have the same complement relative to the subset { x } {\displaystyle \{x\}} . Also, one of these two subclasses consists of all the subsets of the set S { x } {\displaystyle S\setminus \{x\}} , and therefore, by the induction hypothesis, has an equal number of odd- and even-cardinality subsets. These subsets in turn correspond bijectively to the even- and odd-cardinality { x } {\displaystyle \{x\}} -containing subsets of S {\displaystyle S} . The inductive step follows directly from these two bijections.

A related result is that the binomial coefficients exhibit alternating entries of odd and even power which sum symmetrically.

Average order

The mean value (in the sense of average orders) of the Möbius function is zero. This statement is, in fact, equivalent to the prime number theorem.

μ ( n ) {\displaystyle \mu (n)} sections

μ ( n ) = 0 {\displaystyle \mu (n)=0} if and only if n {\displaystyle n} is divisible by the square of a prime. The first numbers with this property are

4, 8, 9, 12, 16, 18, 20, 24, 25, 27, 28, 32, 36, 40, 44, 45, 48, 49, 50, 52, 54, 56, 60, 63, ... (sequence A013929 in the OEIS).

If n {\displaystyle n} is prime, then μ ( n ) = 1 {\displaystyle \mu (n)=-1} , but the converse is not true. The first non prime n {\displaystyle n} for which μ ( n ) = 1 {\displaystyle \mu (n)=-1} is 30 = 2 × 3 × 5 {\displaystyle 30=2\times 3\times 5} . The first such numbers with three distinct prime factors (sphenic numbers) are

30, 42, 66, 70, 78, 102, 105, 110, 114, 130, 138, 154, 165, 170, 174, 182, 186, 190, 195, 222, ... (sequence A007304 in the OEIS).

and the first such numbers with 5 distinct prime factors are

2310, 2730, 3570, 3990, 4290, 4830, 5610, 6006, 6090, 6270, 6510, 6630, 7410, 7590, 7770, 7854, 8610, 8778, 8970, 9030, 9282, 9570, 9690, ... (sequence A046387 in the OEIS).

Mertens function

In number theory another arithmetic function closely related to the Möbius function is the Mertens function, defined by

M ( n ) = k = 1 n μ ( k ) {\displaystyle M(n)=\sum _{k=1}^{n}\mu (k)}

for every natural number n. This function is closely linked with the positions of zeroes of the Riemann zeta function. See the article on the Mertens conjecture for more information about the connection between M ( n ) {\displaystyle M(n)} and the Riemann hypothesis.

From the formula

μ ( n ) = gcd ( k , n ) = 1 1 k n e 2 π i k n , {\displaystyle \mu (n)=\sum _{\stackrel {1\leq k\leq n}{\gcd(k,n)=1}}e^{2\pi i{\frac {k}{n}}},}

it follows that the Mertens function is given by

M ( n ) = 1 + a F n e 2 π i a , {\displaystyle M(n)=-1+\sum _{a\in {\mathcal {F}}_{n}}e^{2\pi ia},}

where F n {\displaystyle {\mathcal {F}}_{n}} is the Farey sequence of order n {\displaystyle n} .

This formula is used in the proof of the Franel–Landau theorem.

Generalizations

Incidence algebras

In combinatorics, every locally finite partially ordered set (poset) is assigned an incidence algebra. One distinguished member of this algebra is that poset's "Möbius function". The classical Möbius function treated in this article is essentially equal to the Möbius function of the set of all positive integers partially ordered by divisibility. See the article on incidence algebras for the precise definition and several examples of these general Möbius functions.

Popovici's function

Constantin Popovici defined a generalised Möbius function μ k = μ μ {\displaystyle \mu _{k}=\mu *\cdots *\mu } to be the k {\displaystyle k} -fold Dirichlet convolution of the Möbius function with itself. It is thus again a multiplicative function with

μ k ( p a ) = ( 1 ) a ( k a )   {\displaystyle \mu _{k}\left(p^{a}\right)=(-1)^{a}{\binom {k}{a}}\ }

where the binomial coefficient is taken to be zero if a > k {\displaystyle a>k} . The definition may be extended to complex k {\displaystyle k} by reading the binomial as a polynomial in k {\displaystyle k} .

Implementations

See also

Notes

  1. Hardy & Wright, Notes on ch. XVI: "... μ ( n ) {\displaystyle \mu (n)} occurs implicitly in the works of Euler as early as 1748, but Möbius, in 1832, was the first to investigate its properties systematically". (Hardy & Wright 1980, Notes on ch. XVI)
  2. In the Disquisitiones Arithmeticae (1801) Carl Friedrich Gauss showed that the sum of the primitive roots ( mod p {\displaystyle \mod p} ) is μ ( p 1 ) {\displaystyle \mu (p-1)} , (see #Properties and applications) but he didn't make further use of the function. In particular, he didn't use Möbius inversion in the Disquisitiones. The Disquisitiones Arithmeticae has been translated from Latin into English and German. The German edition includes all of his papers on number theory: all the proofs of quadratic reciprocity, the determination of the sign of the Gauss sum, the investigations into biquadratic reciprocity, and unpublished notes.

Citations

  1. ^ Gauss 1986, Art. 81.
  2. Möbius 1832, pp. 105–123.
  3. Abramowitz & Stegun 1972, p. 826.
  4. Weisstein, Eric W. "Möbius Function". mathworld.wolfram.com. Retrieved 1 October 2024.
  5. Jacobson 2009, §4.13.
  6. Bost & Connes 1995, pp. 411–457.
  7. Hardy & Wright 1980, (16.6.4), p. 239.
  8. Apostol 1976.
  9. Kline 2020.
  10. Apostol 1976, §3.9.
  11. Edwards 1974, Ch. 12.2.
  12. Popovici 1963, pp. 493–499.
  13. Sándor & Crstici 2004, p. 107.

Sources

External links

Category: