Dirichlet series inversion explained

In analytic number theory, a Dirichlet series, or Dirichlet generating function (DGF), of a sequence is a common way of understanding and summing arithmetic functions in a meaningful way. A little known, or at least often forgotten about, way of expressing formulas for arithmetic functions and their summatory functions is to perform an integral transform that inverts the operation of forming the DGF of a sequence. This inversion is analogous to performing an inverse Z-transform to the generating function of a sequence to express formulas for the series coefficients of a given ordinary generating function.

For now, we will use this page as a compendia of "oddities" and oft-forgotten facts about transforming and inverting Dirichlet series, DGFs, and relating the inversion of a DGF of a sequence to the sequence's summatory function. We also use the notation for coefficient extraction usually applied to formal generating functions in some complex variable, by denoting

[n-s]Df(s)=:f(n)

for any positive integer

n\geq1

, whenever

Df(s):=\sumn

f(n)
ns

,\Re(s)>\sigma0,f,

denotes the DGF (or Dirichlet series) of f which is taken to be absolutely convergent whenever the real part of s is greater than the abscissa of absolute convergence,

\sigma0,f\inR

.

The relation of the Mellin transformation of the summatory function of a sequence to the DGF of a sequence provides us with a way of expressing arithmetic functions

f(n)

such that

f(1)0

, and the corresponding Dirichlet inverse functions,

f-1(n)

, by inversion formulas involving the summatory function, defined by

Sf(x):={\sumn

}^\prime f(n), \quad \forall x \geq 1.

In particular, provided that the DGF of some arithmetic function f has an analytic continuation to

s\mapsto-s

, we can express the Mellin transform of the summatory function of f by the continued DGF formula as

l{M}[Sf](s)=-

Df(-s)
s

.

It is often also convenient to express formulas for the summatory functions over the Dirichlet inverse function of f using this construction of a Mellin inversion type problem.

Preliminaries: Notation, conventions and known results on DGFs

DGFs for Dirichlet inverse functions

Recall that an arithmetic function is Dirichlet invertible, or has an inverse

f-1(n)

with respect to Dirichlet convolution such that

(f\astf-1)(n)=\deltan,1

, or equivalently

f\astf-1=\mu\ast1\equiv\varepsilon

, if and only if

f(1)0

. It is not difficult to prove that is

Df(s)

is the DGF of f and is absolutely convergent for all complex s satisfying

\Re(s)>\sigma0,f

, then the DGF of the Dirichlet inverse is given by
D
f-1

(s)=1/Df(s)

and is also absolutely convergent for all

\Re(s)>\sigma0,f

. The positive real

\sigma0,f

associated with each invertible arithmetic function f is called the abscissa of convergence.

We also see the following identities related to the Dirichlet inverse of some function g that does not vanish at one:

\begin{align}(g-1\ast\mu)(n)&=[n-s]\left(

1
\zeta(s)Dg(s)

\right)\(g-1\ast1)(n)&=[n-s]\left(

\zeta(s)
Dg(s)

\right).\end{align}

Summatory functions

Using the same convention in expressing the result of Perron's formula, we assume that the summatory function of a (Dirichlet invertible) arithmetic function

f

, is defined for all real

x\geq0

according to the formula

Sf(x):={\sumn

}^ f(n) = \begin 0, & 0 \leq x < 1 \\ \sum\limits_ f(n), & x \in \mathbb \setminus \mathbb^ \wedge x \geq 1 \\ \sum\limits_ f(n) - \frac, & x \in \mathbb^. \end

We know the following relation between the Mellin transform of the summatory function of f and the DGF of f whenever

\Re(s)>\sigma0,f

:

Df(s)=s

infty
\int
1
Sf(x)
xs+1

dx.

Some examples of this relation include the following identities involving the Mertens function, or summatory function of the Moebius function, the prime zeta function and the prime-counting function, and the Riemann prime-counting function:

\begin{align}1
\zeta(s)

&=s

infty
\int
1
M(x)
xs+1

dx\P(s)&=s

infty
\int
1
\pi(x)
xs+1

dx\ log\zeta(s)&=s

infty
\int
0
\Pi0(x)
xs+1

dx.\end{align}

Statements of the integral formula for Dirichlet inversion

Classical integral formula

For any s such that

\sigma:=\Re(s)>\sigma0,f

, we have that

f(x)\equiv[x-s]Df(s)=\limT

1
2T
T
\int
-T

x\sigma+\imathDf(\sigma+\imatht)dt.

If we write the DGF of f according to the Mellin transform formula of the summatory function of f, then the stated integral formula simply corresponds to a special case of Perron's formula. Another variant of the previous formula stated in Apostol's book provides an integral formula for an alternate sum in the following form for

c,x>0

and any real

\sigma>\sigma0,f-c

where we denote

\Re(s):=\sigma

:

{\sumn

}^ \frac = \frac \int_^ D_f(s+z) \frac dz.

Direct proof: from Apostol's book

  1. Define the Dirichlet series f(s) = \sum_^\infty a_n n^ and its associated partial sums F(x) = \sum_^x a_n.
  2. Define the function g(x) = \sum_^x a_n \lfloor x/n \rfloor.
  3. Use partial summation to write F(x) = \int_1^x g(t) dt + a_1.
  4. Apply the Euler–Maclaurin summation formula to obtain an approximation for F(x) in terms of g(x) and its derivatives.
  5. Express the error term in the approximation as an integral of a certain function R(u) over the interval [1, x].
  6. Use Abel's summation formula to express g(x) as a sum of integrals involving f(s) and its derivatives.
  7. Express the integrals involving f(s) and its derivatives in terms of R(u) and its derivatives.
  8. Substitute the results from steps 4, 5, and 7 into the formula from step 3, and simplify to obtain the classical integral formula for Dirichlet inversion.

This proof shows that the function f(s) can be recovered from its associated Dirichlet series by means of an integral, which is known as the classical integral formula for Dirichlet inversion.

Special cases of the formula

If we are interested in expressing formulas for the Dirichlet inverse of f, denoted by

f-1(n)

whenever

f(1)0

, we write

Df(s)=1+sAf(s)

. Then we have by absolute convergence of the DGF for any

\Re(s)>\sigma0,f

that

\begin{align}\int

x\imath
Df(\sigma+\imatht)

dt&=\int\left(\sumj(\sigma+\imatht)j x

j
\sum
k=0

(-1)kDf(\sigma+\imatht)k

logj-k(x)
(j-k)!

\right)dt.\end{align}

Now we can call on integration by parts to see that if we denote by

F(-m)(x)=\sumn

F(n)(0)
n!

xn+m x

n!
(n+m)!
denotes the

mth

antiderivative of F, for any fixed non-negative integers

k\geq0

, we have

\int(ax+b)kF(ax+b)dx=

k
\sum
j=0
k!
aj!

(-1)k-jtjF(j+1-k)(ax+b).

Thus we obtain that

T
\begin{align}\int
-T
x\imath
Df(\sigma+\imatht)

dt&=

1
\imath

\left(\sumj

j
\sum
k=0
k
\sum
m=0
k!
m!

(-1)m(\sigma+\imatht)m

k\right]
\left[D
f

(j+1-k)(\sigma+\imatht)

logj-k(x)
(j-k)!

\right)

t=+T
r|
t=-T

.\end{align}

We also can relate the iterated integrals for the

kth

antiderivatives of F by a finite sum of k single integrals of power-scaled versions of F:

F(-k)(x)=

k-1
\sum
i=0

\binom{k-1}{i}

(-1)i
(k-1)!

\int

F(x)
xi

dx.

In light of this expansion, we can then write the partially limiting T-truncated Dirichlet series inversion integrals at hand in the form of

\begin{align}1
2T
T
\int
-T
x\imath
Df(\sigma+\imatht)

dt&=

1
2T\imath

\left(\sumj

j
\sum
k=0
k
\sum
m=0
j-k
\sum
n=0

\binom{j-k}{n}

(-1)k+n+mk!
(j-k)!m!

(\sigma+\imatht)m

logj-k(x)
(j-k)!
\sigma+\imatht
\int
0
k\right](v)
\left[A
f
dv
vn

\right)

t=+T
r|
t=-T

\&=

1
2T\imath

\left(\sumj

j
\sum
k=0
k
\sum
m=0
(-1)j-k(-s)m
m!
logk(x)
k!
1
\int
0

s

j-k
D
f

(rs)\left(1-

1
rs

\right)kdv\right)

s=\sigma+\imathT
r|
s=\sigma-\imathT

\&=

s\left(e-s+Os(1)\right)
2T\imath
1
\int
0
1-1
rs
x
1+Df(rs)

dr

s=\sigma+\imathT
r|
s=\sigma-\imathT

\&=

\left(e-s+Os(1)\right)
2T\imath
s
\int
0
1-1
v
x
1+Df(v)

dv

s=\sigma+\imathT
r|
s=\sigma-\imathT

.\end{align}

Statements in the language of Mellin transformations

a(n)

is the Mellin transform of the sequence, evaluated at

s=1

: \sum_^\infty \frac = \int_0^\infty x^ \left(\sum_^\infty a_n e^\right) dx = \mathcal(s).

a(n)

is related to the inverse Mellin transform of its generating function: a_n = \frac \int_^ \frac ds, where

c

is a real number greater than the abscissa of convergence of the Dirichlet series \sum_^\infty a_n/n^s.

a(n)

and

b(n)

is the product of their Mellin transforms: \mathcal(s) = \mathcal(s) \mathcal(s).

a(n)

is a sequence and

f(x)

is a function such that the integral \int_0^\infty \fracdx converges absolutely and uniformly for

s

in some right half plane, then we can define a Dirichlet series by a_n = \frac\int_0^\infty f(x) e^dx, and the Dirichlet series is the Mellin transform of

f(x)

.

A formal generating-function-like convolution lemma

Suppose that we wish to treat the integrand integral formula for Dirichlet coefficient inversion in powers of

(\imatht)k

where

[(\imatht)k]F(\sigma+\imatht)=F(k))(\sigma)/k!

, and then proceed as if we were evaluating a traditional integral on the real line. Then we have that

\begin{align}\hat{D}f(x;\sigma,T)&:=

T
\int
-T

x\sigma+\imathDf(\sigma+\imatht)dt\&=\summ

T
\int
-T

x\sigma+\imath(\imatht)m

(m)
D(\sigma)
f
m!

\&=\summ

T
\int
-T

t2mx\sigma+\imath

m
(-1)
(2m)
D
f
(\sigma)
(2m)!

dt+\imath x \summ

T
\int
-T

t2m+1x\sigma+\imath

(-1)mA(2m+1)(\sigma)
(2m+1)!

dt.\end{align}

We require the result given by the following formula, which is proved rigorously by an application of integration by parts, for any non-negative integer

m\geq0

:

\begin{align}\hat{I}m(T)&:=

T
\int
-T
(\imatht)m
m!

x\imathdt\&=

m
\sum
r=0
\left(x\imath+(-1)r+1x-\imath\right)(-\imath)r+1
logk+1-r(x)

Tr
r!

\&=

\cos(Tlogx)
Tlogx

x

\lfloork/2\rfloor
\sum
r=0
(-1)r+1T2r
logk-2r(x)(2r)!

+

\sin(Tlogx)
Tlogx

x

\lfloork/2\rfloor
\sum
r=0
(-1)r+1T2r+1
logk-2r-1(x)(2r+1)!

.\end{align}

So the respective real and imaginary parts of our arithmetic function coefficients f at positive integers x satisfy:

\begin{align}\operatorname{Re}(f(x))&=x\sigma x \limT\summ

(2m)
D
f

(\sigma)

\hat{I
2m

(T)}{2T}\\operatorname{Im}(f(x))&=x\sigma x \limT\summ

(2m+1)
D
f

(\sigma)

\hat{I
2m+1

(T)}{2T}.\end{align}

The last identities suggest an application of the Hadamard product formula for generating functions. In particular, we can work out the following identities which express the real and imaginary parts of our function f at x in the following forms:[1]

\begin{align}\operatorname{Re}(f(x))&=\limT\left[

x\sigma
2T

x

1
2\pi
\pi
\int
-\pi

\left(Df(\sigma+\imathTe\imath)+Df(\sigma-\imathTe\imath)\right)\left(FUNC(e-\imath)\right)ds\right]\ \operatorname{Im}(f(x))&=\limT\left[

x\sigma
2T

x

1
2\pi
\pi
\int
-\pi

\left(Df(\sigma+\imathTe\imath)-Df(\sigma-\imathTe\imath\right)ds\right].\end{align}

Notice that in the special case where the arithmetic function f is strictly real-valued, we expect that the inner terms in the previous limit formula are always zero (i.e., for any T).

See also

Notes and References

  1. To apply the integral formula for the Hadamard product, we observe that
    \lfloork/2\rfloor
    \begin{align}\sum
    r=0
    (-1)r+1T2r
    logk-2r(x)(2r)!

    &=-

    1
    2
    k]\left(e\imath
    [z
    } + \frac \right) \\ \sum_^ \frac & = -\frac[z^{k}]\left(\frac - \frac \right).\end

    From this observation, the formula stated below is now a standard application of the cited integral formula to compute the Hadamard product of two generating functions.