Dirichlet convolution

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In mathematics, the Dirichlet convolution is a binary operation defined for arithmetic functions; it is important in number theory. It was developed by Peter Gustav Lejeune Dirichlet, a German mathematician.


If f and g are two arithmetic functions (i.e. functions from the positive integers to the complex numbers), one defines a new arithmetic function fg, the Dirichlet convolution of f and g, by

where the sum extends over all positive divisors d of n, or equivalently over all distinct pairs (a, b) of positive integers whose product is n.


The set of arithmetic functions forms a commutative ring, the Dirichlet ring, under pointwise addition (i.e. f + g is defined by (f + g)(n) = f(n) + g(n)) and Dirichlet convolution. The multiplicative identity is the unit function ε defined by ε(n) = 1 if n = 1 and ε(n) = 0 if n > 1. The units (i.e. invertible elements) of this ring are the arithmetic functions f with f(1) ≠ 0.

Specifically, Dirichlet convolution is[1] associative,

(fg) ∗ h = f ∗ (gh),

distributes over addition

f ∗ (g + h) = fg + fh = (g + h) ∗ f,

is commutative,

fg = gf,

and has an identity element,

fε = εf = f.

Furthermore, for each f for which f(1) ≠ 0 there exists a g such that fg = ε, called the Dirichlet inverse of f.

The Dirichlet convolution of two multiplicative functions is again multiplicative, and every multiplicative function has a Dirichlet inverse that is also multiplicative. The article on multiplicative functions lists several convolution relations among important multiplicative functions.

Given a completely multiplicative function f, then f(gh) = (fg) ∗ (fh), where juxtaposition represents pointwise multiplication.[2] The convolution of two completely multiplicative functions is multiplicative, but not necessarily completely multiplicative.


In these formulas

ε is the multiplicative identity. (I.e. ε(1) = 1, all other values 0.)
1 is the constant function whose value is 1 for all n. (I.e. 1(n) = 1.) Keep in mind that 1 is not the identity.
1C, where is a set is the indicator function. (I.e. 1C(n) = 1 if nC, 0 otherwise.)
Id is the identity function whose value is n. (I.e. Id(n) = n.)
Idk is the kth power function. (I.e. Idk(n) = nk.)
The other functions are defined in the article arithmetical function.
  • 1 ∗ μ = ε   (the Dirichlet inverse of the constant function 1 is the Möbius function.) This implies
  • g = f ∗ 1 if and only if f = gμ   (the Möbius inversion formula).
  • λ ∗ | μ | = ε   where λ is Liouville's function.
  • λ ∗ 1 = 1Sq   where Sq = {1, 4, 9, ...} is the set of squares
  • Idk ∗ (Idk μ) = ε
  • σk = Idk ∗ 1   definition of the divisor function σk
  • σ = Id ∗ 1   definition of the function σ = σ1
  • d = 1 ∗ 1   definition of the function d(n) = σ0
  • Idk = σkμ   Möbius inversion of the formulas for σk, σ, and d.
  • Id = σμ
  • 1 = dμ
  • d3 ∗ 1 = (d ∗ 1)2
  • φ ∗ 1 = Id   This formula is proved in the article Euler's totient function.
  • Jk ∗ 1 = Idk   The Jordan's totient function.
  • (IdsJr) ∗ Js = Js + r
  • σ = φd   Proof: convolve 1 to both sides of Id = φ ∗ 1.
  • Λ ∗ 1 = log   where Λ is von Mangoldt function.

Dirichlet inverse[edit]

Given an arithmetic function f its Dirichlet inverse g = f−1 may be calculated recursively (i.e. the value of g(n) is in terms of g(m) for m < n) from the definition of Dirichlet inverse.

For n = 1:

(fg) (1) = f(1) g(1) = ε(1) = 1, so
g(1) = 1/f(1). This implies that f does not have a Dirichlet inverse if f(1) = 0.

For n = 2

(fg) (2) = f(1) g(2) + f(2) g(1) = ε(2) = 0,
g(2) = −1/f(1) (f(2) g(1)),

For n = 3

(fg) (3) = f(1) g(3) + f(3) g(1) = ε(3) = 0,
g(3) = −1/f(1) (f(3) g(1)),

For n = 4

(fg) (4) = f(1) g(4) + f(2) g(2) + f(4) g(1) = ε(4) = 0,
g(4) = −1/f(1) (f(4) g(1) + f(2) g(2)),

and in general for n > 1,

Since the only division is by f(1) this shows that f has a Dirichlet inverse if and only if f(1) ≠ 0.

Here is a useful table of Dirichlet inverses of common arithmetic functions:

Arithmetic function Dirichlet inverse
Constant function equal to 1 Möbius function μ
Liouville's function λ Absolute value of Möbius function | μ |

Dirichlet series[edit]

If f is an arithmetic function, one defines its Dirichlet series generating function by

for those complex arguments s for which the series converges (if there are any). The multiplication of Dirichlet series is compatible with Dirichlet convolution in the following sense:

for all s for which both series of the left hand side converge, one of them at least converging absolutely (note that simple convergence of both series of the left hand side DOES NOT imply convergence of the right hand side!). This is akin to the convolution theorem if one thinks of Dirichlet series as a Fourier transform.

Related Concepts[edit]

The restriction of the divisors in the convolution to unitary, bi-unitary or infinitary divisors defines similar commutative operations which share many features with the Dirichlet convolution (existence of a Möbius inversion, persistence of multiplicativity, definitions of totients, Euler-type product formulas over associated primes, etc.).
Dirichlet convolution is the convolution of the Incidence algebra for the positive integers ordered by divisibility.


  1. ^ Proofs of all these facts are in Chan, ch. 2
  2. ^ A proof is in the article Completely multiplicative function#Proof of pseudo-associative property.

External links[edit]