This article explains how to estimate the coefficients of generating functions involving logarithms and roots.
You first may need to familiarise yourself with:
Standard Function Scale
edit
Theorem from Flajolet and Odlyzko[ 1] .
If:
f
(
z
)
=
(
1
−
z
)
α
(
1
z
log
1
1
−
z
)
γ
(
1
z
log
(
1
z
log
1
1
−
z
)
)
δ
{\displaystyle f(z)=(1-z)^{\alpha }\left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)^{\gamma }\left({\frac {1}{z}}\log \left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)\right)^{\delta }}
where
α
∉
{
0
,
1
,
2
,
⋯
}
,
γ
,
δ
∉
{
1
,
2
,
⋯
}
{\displaystyle \alpha \notin \{0,1,2,\cdots \},\gamma ,\delta \notin \{1,2,\cdots \}}
then:
[
z
n
]
f
(
z
)
∼
n
−
α
−
1
Γ
(
−
α
)
(
log
n
)
γ
(
log
log
n
)
δ
(
as
n
→
∞
)
{\displaystyle [z^{n}]f(z)\sim {\frac {n^{-\alpha -1}}{\Gamma (-\alpha )}}(\log n)^{\gamma }(\log \log n)^{\delta }\quad ({\text{as }}n\to \infty )}
Singularity Analysis
edit
Theorem from Flajolet and Sedgewick[ 2] .
If
f
(
z
)
{\displaystyle f(z)}
has a singularity at
ζ
{\displaystyle \zeta }
and:
f
(
z
)
∼
(
1
−
z
ζ
)
α
(
1
z
ζ
log
1
1
−
z
ζ
)
γ
(
1
z
ζ
log
(
1
z
ζ
log
1
1
−
z
ζ
)
)
δ
(
as
z
→
ζ
)
{\displaystyle f(z)\sim \left(1-{\frac {z}{\zeta }}\right)^{\alpha }\left({\frac {1}{\frac {z}{\zeta }}}\log {\frac {1}{1-{\frac {z}{\zeta }}}}\right)^{\gamma }\left({\frac {1}{\frac {z}{\zeta }}}\log \left({\frac {1}{\frac {z}{\zeta }}}\log {\frac {1}{1-{\frac {z}{\zeta }}}}\right)\right)^{\delta }\quad ({\text{as }}z\to \zeta )}
where
α
∉
{
0
,
1
,
2
,
⋯
}
,
γ
,
δ
∉
{
1
,
2
,
⋯
}
{\displaystyle \alpha \notin \{0,1,2,\cdots \},\gamma ,\delta \notin \{1,2,\cdots \}}
then:
[
z
n
]
f
(
z
)
∼
ζ
−
n
n
−
α
−
1
Γ
(
−
α
)
(
log
n
)
γ
(
log
log
n
)
δ
(
as
n
→
∞
)
{\displaystyle [z^{n}]f(z)\sim \zeta ^{-n}{\frac {n^{-\alpha -1}}{\Gamma (-\alpha )}}(\log n)^{\gamma }(\log \log n)^{\delta }\quad ({\text{as }}n\to \infty )}
The significance of the latter theorem is we only need an approximation of
f
(
z
)
{\displaystyle f(z)}
.
Proof of standard function scale
edit
Proof due to Sedgewick, Flajolet and Odlyzko[ 3]
The proof for the estimate of the coefficient of the first term.
By Cauchy's coefficient formula
[
z
n
]
(
1
−
z
)
α
(
1
z
log
1
1
−
z
)
γ
(
1
z
log
(
1
z
log
1
1
−
z
)
)
δ
=
1
2
π
i
∫
C
(
1
−
z
)
α
(
1
z
log
1
1
−
z
)
γ
(
1
z
log
(
1
z
log
1
1
−
z
)
)
δ
d
z
z
n
+
1
{\displaystyle [z^{n}](1-z)^{\alpha }\left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)^{\gamma }\left({\frac {1}{z}}\log \left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)\right)^{\delta }={\frac {1}{2\pi i}}\int _{C}(1-z)^{\alpha }\left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)^{\gamma }\left({\frac {1}{z}}\log \left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)\right)^{\delta }{\frac {dz}{z^{n+1}}}}
where
C
{\displaystyle C}
is a circle centred at the origin.
It is possible to deform
C
{\displaystyle C}
without changing the value of the contour integral above.
We will deform
C
{\displaystyle C}
by putting a slit through it along the real axis from 1 to
+
∞
{\displaystyle +\infty }
.
We increase the radius of the circle to
∞
{\displaystyle \infty }
, which reduces its contribution to the integrand to 0.
Therefore, the contour integration around
C
{\displaystyle C}
above is equivalent to the contour integration around the contour which starts at
R
e
(
+
∞
)
{\displaystyle Re(+\infty )}
, winds around 1 and ends at
R
e
(
+
∞
)
{\displaystyle Re(+\infty )}
, which we will call
H
1
n
{\displaystyle {H_{\frac {1}{n}}}}
.
While we don't know much about the behaviour of the integral around the contour
H
1
n
{\displaystyle {H_{\frac {1}{n}}}}
, we do know about a similar contour
H
1
{\displaystyle H_{1}}
(the Hankel contour ) which winds around the origin at a distance of 1.
We can calculate the integral around
H
1
n
{\displaystyle {H_{\frac {1}{n}}}}
by turning it into an integral around
H
1
{\displaystyle H_{1}}
. Formally:
∫
H
1
n
f
(
z
)
d
z
=
∫
ψ
−
1
∘
H
1
n
f
(
ψ
(
ζ
)
)
ψ
′
(
ζ
)
d
ζ
.
{\displaystyle \int _{H_{\frac {1}{n}}}f(z)dz=\int _{\psi ^{-1}\circ H_{\frac {1}{n}}}f(\psi (\zeta ))\psi '(\zeta )d\zeta .}
[ 4]
Such that
ψ
−
1
∘
H
1
n
=
H
1
{\displaystyle \psi ^{-1}\circ H_{\frac {1}{n}}=H_{1}}
.
Informally this means we want to find a function
ψ
−
1
(
t
)
{\displaystyle \psi ^{-1}(t)}
which turns the contour
H
1
n
{\displaystyle {H_{\frac {1}{n}}}}
into
H
1
{\displaystyle H_{1}}
. Geometrically, we move the contour to the left by 1 and multiply it by
n
{\displaystyle n}
:
ψ
−
1
(
t
)
=
n
(
t
−
1
)
{\displaystyle \psi ^{-1}(t)=n(t-1)}
But, we still want the integrand around
H
1
{\displaystyle H_{1}}
to be equivalent to the integrand around
H
1
n
{\displaystyle {H_{\frac {1}{n}}}}
. We do this by dividing the variable by
n
{\displaystyle n}
and adding 1:
ψ
(
t
)
=
1
+
t
n
{\displaystyle \psi (t)=1+{\frac {t}{n}}}
Therefore, we get the following substitution[ 5] :
1
2
π
i
∫
H
1
n
(
1
−
z
)
α
(
1
z
log
1
1
−
z
)
γ
(
1
z
log
(
1
z
log
1
1
−
z
)
)
δ
d
z
z
n
+
1
=
1
2
π
i
∫
ψ
−
1
∘
H
1
n
(
1
−
(
1
+
t
n
)
)
α
(
1
1
+
t
n
log
1
1
−
(
1
+
t
n
)
)
γ
(
1
1
+
t
n
log
(
1
1
+
t
n
log
1
1
−
(
1
+
t
n
)
)
)
δ
1
n
d
t
(
1
+
t
n
)
n
+
1
=
n
−
a
−
1
2
π
i
∫
H
1
(
−
t
)
α
(
log
−
n
t
)
γ
(
log
(
1
1
+
t
n
log
−
n
t
)
)
δ
(
1
+
t
n
)
−
n
−
γ
−
δ
−
1
d
t
=
n
−
a
−
1
2
π
i
(
log
n
)
γ
∫
H
1
(
−
t
)
α
(
1
−
log
(
−
t
)
log
n
)
γ
(
log
(
1
1
+
t
n
log
−
n
t
)
)
δ
(
1
+
t
n
)
−
n
−
γ
−
δ
−
1
d
t
∼
n
−
a
−
1
2
π
i
(
log
n
)
γ
∫
H
1
(
−
t
)
α
(
log
(
1
1
+
t
n
log
−
n
t
)
)
δ
(
1
+
t
n
)
−
n
−
γ
−
δ
−
1
d
t
(
as
n
→
∞
)
=
n
−
a
−
1
2
π
i
(
log
n
)
γ
∫
H
1
(
−
t
)
α
(
log
1
1
+
t
n
+
log
log
−
n
t
)
δ
(
1
+
t
n
)
−
n
−
γ
−
δ
−
1
d
t
∼
n
−
a
−
1
2
π
i
(
log
n
)
γ
∫
H
1
(
−
t
)
α
(
log
log
−
n
t
)
δ
(
1
+
t
n
)
−
n
−
γ
−
δ
−
1
d
t
(
as
n
→
∞
)
=
n
−
a
−
1
2
π
i
(
log
n
)
γ
(
log
log
n
)
δ
∫
H
1
(
−
t
)
α
(
1
−
log
log
(
−
t
)
log
log
n
)
δ
(
1
+
t
n
)
−
n
−
γ
−
δ
−
1
d
t
∼
n
−
a
−
1
2
π
i
(
log
n
)
γ
(
log
log
n
)
δ
∫
H
1
(
−
t
)
α
(
1
+
t
n
)
−
n
−
γ
−
δ
−
1
d
t
(
as
n
→
∞
)
{\displaystyle {\begin{aligned}{\frac {1}{2\pi i}}\int _{H_{\frac {1}{n}}}(1-z)^{\alpha }\left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)^{\gamma }\left({\frac {1}{z}}\log \left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)\right)^{\delta }{\frac {dz}{z^{n+1}}}&={\frac {1}{2\pi i}}\int _{\psi ^{-1}\circ H_{\frac {1}{n}}}(1-(1+{\frac {t}{n}}))^{\alpha }\left({\frac {1}{1+{\frac {t}{n}}}}\log {\frac {1}{1-(1+{\frac {t}{n}})}}\right)^{\gamma }\left({\frac {1}{1+{\frac {t}{n}}}}\log \left({\frac {1}{1+{\frac {t}{n}}}}\log {\frac {1}{1-(1+{\frac {t}{n}})}}\right)\right)^{\delta }{\frac {1}{n}}{\frac {dt}{(1+{\frac {t}{n}})^{n+1}}}\\&={\frac {n^{-a-1}}{2\pi i}}\int _{H_{1}}(-t)^{\alpha }\left(\log -{\frac {n}{t}}\right)^{\gamma }\left(\log \left({\frac {1}{1+{\frac {t}{n}}}}\log -{\frac {n}{t}}\right)\right)^{\delta }\left(1+{\frac {t}{n}}\right)^{-n-\gamma -\delta -1}dt\\&={\frac {n^{-a-1}}{2\pi i}}(\log n)^{\gamma }\int _{H_{1}}(-t)^{\alpha }\left(1-{\frac {\log(-t)}{\log n}}\right)^{\gamma }\left(\log \left({\frac {1}{1+{\frac {t}{n}}}}\log -{\frac {n}{t}}\right)\right)^{\delta }\left(1+{\frac {t}{n}}\right)^{-n-\gamma -\delta -1}dt\\&\sim {\frac {n^{-a-1}}{2\pi i}}(\log n)^{\gamma }\int _{H_{1}}(-t)^{\alpha }\left(\log \left({\frac {1}{1+{\frac {t}{n}}}}\log -{\frac {n}{t}}\right)\right)^{\delta }\left(1+{\frac {t}{n}}\right)^{-n-\gamma -\delta -1}dt\quad ({\text{as }}n\to \infty )\\&={\frac {n^{-a-1}}{2\pi i}}(\log n)^{\gamma }\int _{H_{1}}(-t)^{\alpha }\left(\log {\frac {1}{1+{\frac {t}{n}}}}+\log \log -{\frac {n}{t}}\right)^{\delta }\left(1+{\frac {t}{n}}\right)^{-n-\gamma -\delta -1}dt\\&\sim {\frac {n^{-a-1}}{2\pi i}}(\log n)^{\gamma }\int _{H_{1}}(-t)^{\alpha }\left(\log \log -{\frac {n}{t}}\right)^{\delta }\left(1+{\frac {t}{n}}\right)^{-n-\gamma -\delta -1}dt\quad ({\text{as }}n\to \infty )\\&={\frac {n^{-a-1}}{2\pi i}}(\log n)^{\gamma }(\log \log n)^{\delta }\int _{H_{1}}(-t)^{\alpha }\left(1-{\frac {\log \log(-t)}{\log \log n}}\right)^{\delta }\left(1+{\frac {t}{n}}\right)^{-n-\gamma -\delta -1}dt\\&\sim {\frac {n^{-a-1}}{2\pi i}}(\log n)^{\gamma }(\log \log n)^{\delta }\int _{H_{1}}(-t)^{\alpha }\left(1+{\frac {t}{n}}\right)^{-n-\gamma -\delta -1}dt\quad ({\text{as }}n\to \infty )\end{aligned}}}
We have:
(
1
+
t
n
)
−
n
−
γ
−
δ
−
1
∼
e
−
t
{\displaystyle \left(1+{\frac {t}{n}}\right)^{-n-\gamma -\delta -1}\sim e^{-t}}
(as
n
→
∞
{\displaystyle n\to \infty }
)
and:
1
2
π
i
∫
H
1
(
−
t
)
α
e
−
t
d
t
=
1
Γ
(
−
α
)
{\displaystyle {\frac {1}{2\pi i}}\int _{H_{1}}(-t)^{\alpha }e^{-t}dt={\frac {1}{\Gamma (-\alpha )}}}
Therefore,
1
2
π
i
∫
H
1
(
−
t
)
α
(
1
+
t
n
)
−
n
−
1
d
t
∼
1
2
π
i
∫
H
1
(
−
t
)
α
e
−
t
d
t
=
1
Γ
(
−
α
)
{\displaystyle {\frac {1}{2\pi i}}\int _{H_{1}}(-t)^{\alpha }\left(1+{\frac {t}{n}}\right)^{-n-1}dt\sim {\frac {1}{2\pi i}}\int _{H_{1}}(-t)^{\alpha }e^{-t}dt={\frac {1}{\Gamma (-\alpha )}}}
[ 6]
Putting it all together:
(
1
−
z
)
α
(
1
z
log
1
1
−
z
)
γ
(
1
z
log
(
1
z
log
1
1
−
z
)
)
δ
=
1
2
π
i
∫
C
(
1
−
z
)
α
(
1
z
log
1
1
−
z
)
γ
(
1
z
log
(
1
z
log
1
1
−
z
)
)
δ
d
z
z
n
+
1
=
1
2
π
i
∫
H
1
n
(
1
−
z
)
α
(
1
z
log
1
1
−
z
)
γ
(
1
z
log
(
1
z
log
1
1
−
z
)
)
δ
d
z
z
n
+
1
=
n
−
a
−
1
2
π
i
(
log
n
)
γ
(
log
log
n
)
δ
∫
H
1
(
−
t
)
α
(
1
+
t
n
)
−
n
−
1
d
t
∼
n
−
a
−
1
2
π
i
(
log
n
)
γ
(
log
log
n
)
δ
∫
H
1
(
−
t
)
α
e
−
t
d
t
=
n
−
α
−
1
Γ
(
−
α
)
(
log
n
)
γ
(
log
log
n
)
δ
{\displaystyle {\begin{aligned}[z^{n}](1-z)^{\alpha }\left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)^{\gamma }\left({\frac {1}{z}}\log \left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)\right)^{\delta }&={\frac {1}{2\pi i}}\int _{C}(1-z)^{\alpha }\left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)^{\gamma }\left({\frac {1}{z}}\log \left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)\right)^{\delta }{\frac {dz}{z^{n+1}}}\\&={\frac {1}{2\pi i}}\int _{H_{\frac {1}{n}}}(1-z)^{\alpha }\left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)^{\gamma }\left({\frac {1}{z}}\log \left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)\right)^{\delta }{\frac {dz}{z^{n+1}}}\\&={\frac {n^{-a-1}}{2\pi i}}(\log n)^{\gamma }(\log \log n)^{\delta }\int _{H_{1}}(-t)^{\alpha }\left(1+{\frac {t}{n}}\right)^{-n-1}dt\\&\sim {\frac {n^{-a-1}}{2\pi i}}(\log n)^{\gamma }(\log \log n)^{\delta }\int _{H_{1}}(-t)^{\alpha }e^{-t}dt\\&={\frac {n^{-\alpha -1}}{\Gamma (-\alpha )}}(\log n)^{\gamma }(\log \log n)^{\delta }\end{aligned}}}
Singularity Analysis
edit
Explanation and example from Flajolet and Sedgewick[ 7] .
In the below
F
(
z
)
=
(
1
−
z
)
α
(
1
z
log
1
1
−
z
)
γ
(
1
z
log
(
1
z
log
1
1
−
z
)
)
δ
(
α
∉
{
0
,
1
,
2
,
…
}
,
γ
,
δ
∉
{
1
,
2
,
…
}
)
{\displaystyle F(z)=(1-z)^{\alpha }\left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)^{\gamma }\left({\frac {1}{z}}\log \left({\frac {1}{z}}\log {\frac {1}{1-z}}\right)\right)^{\delta }\quad (\alpha \notin \{0,1,2,\ldots \},\gamma ,\delta \notin \{1,2,\ldots \})}
We will be making use of the "little o" notation.
f
(
z
)
=
o
(
g
(
z
)
)
{\displaystyle f(z)=o(g(z))}
as
z
→
ζ
{\displaystyle z\to \zeta }
which means
lim
z
→
ζ
f
(
z
)
g
(
z
)
=
0
{\displaystyle \lim _{z\to \zeta }{\frac {f(z)}{g(z)}}=0}
It also means for each
ϵ
>
0
{\displaystyle \epsilon >0}
there exists
δ
>
0
{\displaystyle \delta >0}
such that[ 8]
|
z
−
ζ
|
≤
δ
⟹
f
(
z
)
≤
ϵ
g
(
z
)
{\displaystyle |z-\zeta |\leq \delta \implies f(z)\leq \epsilon g(z)}
a fact we will use in the proof.
It is also useful to note
f
(
z
)
=
g
(
z
)
+
o
(
g
(
z
)
)
⟺
f
(
z
)
∼
g
(
z
)
{\displaystyle f(z)=g(z)+o(g(z))\iff f(z)\sim g(z)}
For the generating function
f
(
z
)
{\displaystyle f(z)}
:
Find
f
(
z
)
{\displaystyle f(z)}
's singularity
ζ
{\displaystyle \zeta }
.
Construct the
Δ
{\displaystyle \Delta }
-domain at
ζ
{\displaystyle \zeta }
.
Check that
f
(
z
)
{\displaystyle f(z)}
is analytic in the
Δ
{\displaystyle \Delta }
-domain.
Create an approximation of
f
(
z
)
{\displaystyle f(z)}
near
ζ
{\displaystyle \zeta }
of the form
f
(
z
)
=
F
(
z
ζ
)
+
o
(
F
(
z
ζ
)
)
{\displaystyle f(z)=F\left({\frac {z}{\zeta }}\right)+o\left(F\left({\frac {z}{\zeta }}\right)\right)}
.
The estimate of
[
(
z
/
ζ
)
n
]
f
(
z
)
∼
n
−
α
−
1
Γ
(
−
α
)
(
log
n
)
γ
(
log
log
n
)
δ
{\displaystyle [(z/\zeta )^{n}]f(z)\sim {\frac {n^{-\alpha -1}}{\Gamma (-\alpha )}}(\log n)^{\gamma }(\log \log n)^{\delta }}
or equivalently
[
z
n
]
f
(
z
)
∼
ζ
−
n
n
−
α
−
1
Γ
(
−
α
)
(
log
n
)
γ
(
log
log
n
)
δ
{\displaystyle [z^{n}]f(z)\sim \zeta ^{-n}{\frac {n^{-\alpha -1}}{\Gamma (-\alpha )}}(\log n)^{\gamma }(\log \log n)^{\delta }}
.
To find the singularity, find the value of
z
{\displaystyle z}
for which the function equals
∞
{\displaystyle \infty }
[ 9] .
As an example, we will use
f
(
z
)
=
e
−
z
/
2
−
z
2
/
4
1
−
z
{\displaystyle f(z)={\frac {e^{-z/2-z^{2}/4}}{\sqrt {1-z}}}}
.
It has a singularity at
z
=
1
{\displaystyle z=1}
, because
e
−
3
/
4
1
−
1
=
e
−
3
/
4
0
=
e
−
3
/
4
0
=
∞
{\displaystyle {\frac {e^{-3/4}}{\sqrt {1-1}}}={\frac {e^{-3/4}}{\sqrt {0}}}={\frac {e^{-3/4}}{0}}=\infty }
The
Δ
{\displaystyle \Delta }
-domain at 1 is a circle centred at the origin with radius
R
{\displaystyle R}
with a triangle cut out of it with one vertex at 1 and edges of angles
ϕ
{\displaystyle \phi }
and
−
ϕ
{\displaystyle -\phi }
. See image below. We use this domain as it allows us to make a proof later.
For
f
(
z
)
{\displaystyle f(z)}
to be analytic in the
Δ
{\displaystyle \Delta }
-domain:
f
(
z
)
=
∑
n
=
0
∞
a
n
(
z
−
z
0
)
n
{\displaystyle f(z)=\sum _{n=0}^{\infty }a_{n}(z-z_{0})^{n}}
for all
z
0
{\displaystyle z_{0}}
in the
Δ
{\displaystyle \Delta }
-domain[ 10] .
Our example is analytic in the
Δ
{\displaystyle \Delta }
-domain because
e
−
z
/
2
−
z
2
/
4
{\displaystyle e^{-z/2-z^{2}/4}}
is an entire function (i.e. has no singularities), which means it is analytic everywhere.
1
1
−
z
{\displaystyle {\frac {1}{\sqrt {1-z}}}}
is analytic except for the slit along the real axis for
z
≥
1
{\displaystyle z\geq 1}
.
The product of two analytic functions is an analytic function on the same domain[ 11] . Therefore,
e
−
z
/
2
−
z
2
/
4
1
−
z
{\displaystyle {\frac {e^{-z/2-z^{2}/4}}{\sqrt {1-z}}}}
is analytic on the entire complex domain, including the
Δ
{\displaystyle \Delta }
-domain, except for the real axis
z
≥
1
{\displaystyle z\geq 1}
.
We want an approximation of the form
f
(
z
)
=
F
(
z
ζ
)
+
o
(
F
(
z
ζ
)
)
(
z
→
ζ
)
{\displaystyle f(z)=F\left({\frac {z}{\zeta }}\right)+o\left(F\left({\frac {z}{\zeta }}\right)\right)\quad (z\to \zeta )}
(where in our example we set
γ
,
δ
=
0
{\displaystyle \gamma ,\delta =0}
and
ζ
=
1
{\displaystyle \zeta =1}
).
Normally, this will be in the form of a Taylor series expansion .
For our example, doing the Taylor Expansion near to 1:
e
−
z
/
2
−
z
2
/
4
=
e
−
3
/
4
+
e
−
3
/
4
(
1
−
z
)
+
e
−
3
/
4
4
(
1
−
z
)
2
+
⋯
{\displaystyle e^{-z/2-z^{2}/4}=e^{-3/4}+e^{-3/4}(1-z)+{\frac {e^{-3/4}}{4}}(1-z)^{2}+\cdots }
1
1
−
z
=
1
1
−
z
{\displaystyle {\frac {1}{\sqrt {1-z}}}={\frac {1}{\sqrt {1-z}}}}
e
−
z
/
2
−
z
2
/
4
1
−
z
=
e
−
3
/
4
1
−
z
+
e
−
3
/
4
1
−
z
+
e
−
3
/
4
4
(
1
−
z
)
3
2
+
⋯
{\displaystyle {\frac {e^{-z/2-z^{2}/4}}{\sqrt {1-z}}}={\frac {e^{-3/4}}{\sqrt {1-z}}}+e^{-3/4}{\sqrt {1-z}}+{\frac {e^{-3/4}}{4}}(1-z)^{\frac {3}{2}}+\cdots }
Therefore:
e
−
z
/
2
−
z
2
/
4
1
−
z
=
e
−
3
/
4
1
−
z
+
o
(
e
−
3
/
4
1
−
z
)
{\displaystyle {\frac {e^{-z/2-z^{2}/4}}{\sqrt {1-z}}}={\frac {e^{-3/4}}{\sqrt {1-z}}}+o({\frac {e^{-3/4}}{\sqrt {1-z}}})}
Then
[
z
n
]
f
(
z
)
∼
n
−
α
−
1
Γ
(
−
α
)
(
log
n
)
γ
(
log
log
n
)
δ
{\displaystyle [z^{n}]f(z)\sim {\frac {n^{-\alpha -1}}{\Gamma (-\alpha )}}(\log n)^{\gamma }(\log \log n)^{\delta }}
.
Therefore, in our example:
[
z
n
]
e
−
z
/
2
−
z
2
/
4
1
−
z
∼
e
−
3
/
4
π
n
{\displaystyle [z^{n}]{\frac {e^{-z/2-z^{2}/4}}{\sqrt {1-z}}}\sim {\frac {e^{-3/4}}{\sqrt {\pi n}}}}
The proof of this comes from the fact that:
[
z
n
]
f
(
z
)
=
ζ
−
n
[
(
z
/
ζ
n
]
f
(
z
)
{\displaystyle [z^{n}]f(z)=\zeta ^{-n}[(z/\zeta ^{n}]f(z)}
[
(
z
/
ζ
)
n
]
f
(
z
)
=
[
(
z
/
ζ
)
n
]
F
(
z
/
ζ
)
+
[
(
z
/
ζ
)
n
]
o
(
F
(
z
/
ζ
)
)
{\displaystyle [(z/\zeta )^{n}]f(z)=[(z/\zeta )^{n}]F(z/\zeta )+[(z/\zeta )^{n}]o(F(z/\zeta ))}
the coefficients of the first term
[
(
z
/
ζ
)
n
]
F
(
z
/
ζ
)
∼
n
−
α
−
1
Γ
(
−
α
)
(
log
n
)
γ
(
log
log
n
)
δ
{\displaystyle [(z/\zeta )^{n}]F(z/\zeta )\sim {\frac {n^{-\alpha -1}}{\Gamma (-\alpha )}}(\log n)^{\gamma }(\log \log n)^{\delta }}
, which we get from the standard function scale .
and the coefficients of the second term
[
(
z
/
ζ
)
n
]
o
(
F
(
z
/
ζ
)
)
=
o
(
n
−
α
−
1
(
log
n
)
γ
(
log
log
n
)
δ
)
{\displaystyle [(z/\zeta )^{n}]o(F(z/\zeta ))=o\left(n^{-\alpha -1}(\log n)^{\gamma }(\log \log n)^{\delta }\right)}
which we do in #Proof of error term . This is also the reason why we need to use the
Δ
{\displaystyle \Delta }
-domain.
Proof from Flajolet and Odlyzko[ 12] , Flajolet and Sedgewick[ 13] and Pemantle and Wilson[ 14] .
We get the estimate of the coefficient for the second term from Cauchy's coefficient formula :
[
z
n
]
o
(
F
(
z
)
)
=
1
2
i
π
∫
γ
o
(
F
(
z
)
)
d
z
z
n
+
1
{\displaystyle [z^{n}]o(F(z))={\frac {1}{2i\pi }}\int _{\gamma }o(F(z)){\frac {dz}{z^{n+1}}}}
where
γ
{\displaystyle \gamma }
is any closed contour inside the
Δ
{\displaystyle \Delta }
-domain. See the red line in the image below.
We split
γ
{\displaystyle \gamma }
into four parts such that
γ
=
γ
1
∪
γ
2
∪
γ
3
∪
γ
4
{\displaystyle \gamma =\gamma _{1}\cup \gamma _{2}\cup \gamma _{3}\cup \gamma _{4}}
.
γ
1
=
{
z
∣
|
z
−
1
|
=
1
n
,
|
a
r
g
(
z
−
1
)
|
≥
ϕ
}
{\displaystyle \gamma _{1}=\{z\mid |z-1|={\frac {1}{n}},|arg(z-1)|\geq \phi \}}
γ
2
=
{
z
∣
|
z
−
1
|
≥
1
n
,
|
z
|
≤
r
,
|
a
r
g
(
z
−
1
)
|
=
ϕ
}
{\displaystyle \gamma _{2}=\{z\mid |z-1|\geq {\frac {1}{n}},|z|\leq r,|arg(z-1)|=\phi \}}
γ
3
=
{
z
∣
|
z
|
=
r
>
1
,
|
a
r
g
(
z
−
1
)
|
≥
ϕ
}
{\displaystyle \gamma _{3}=\{z\mid |z|=r>1,|arg(z-1)|\geq \phi \}}
γ
4
=
{
z
∣
|
z
−
1
|
≥
1
n
,
|
z
|
≤
r
,
|
a
r
g
(
z
−
1
)
|
=
−
ϕ
}
{\displaystyle \gamma _{4}=\{z\mid |z-1|\geq {\frac {1}{n}},|z|\leq r,|arg(z-1)|=-\phi \}}
1
2
i
π
∫
γ
o
(
F
(
z
)
)
d
z
z
n
+
1
=
1
2
i
π
∫
γ
1
o
(
F
(
z
)
)
d
z
z
n
+
1
+
1
2
i
π
∫
γ
2
o
(
F
(
z
)
)
d
z
z
n
+
1
+
1
2
i
π
∫
γ
3
o
(
F
(
z
)
)
d
z
z
n
+
1
+
1
2
i
π
∫
γ
4
o
(
F
(
z
)
)
d
z
z
n
+
1
{\displaystyle {\frac {1}{2i\pi }}\int _{\gamma }o(F(z)){\frac {dz}{z^{n+1}}}={\frac {1}{2i\pi }}\int _{\gamma _{1}}o(F(z)){\frac {dz}{z^{n+1}}}+{\frac {1}{2i\pi }}\int _{\gamma _{2}}o(F(z)){\frac {dz}{z^{n+1}}}+{\frac {1}{2i\pi }}\int _{\gamma _{3}}o(F(z)){\frac {dz}{z^{n+1}}}+{\frac {1}{2i\pi }}\int _{\gamma _{4}}o(F(z)){\frac {dz}{z^{n+1}}}}
Contribution of
γ
1
{\displaystyle \gamma _{1}}
:
The maximum of
F
(
z
)
{\displaystyle F(z)}
on
γ
1
{\displaystyle \gamma _{1}}
is when
z
=
1
−
1
n
{\displaystyle z=1-{\frac {1}{n}}}
o
(
F
(
z
)
)
≤
ϵ
n
−
α
(
log
n
)
γ
(
log
1
1
−
1
n
+
log
log
n
)
δ
1
(
1
−
1
n
)
γ
+
δ
∼
ϵ
n
−
α
(
log
n
)
γ
(
log
log
n
)
δ
(
as
n
→
∞
)
{\displaystyle o(F(z))\leq \epsilon n^{-\alpha }(\log n)^{\gamma }(\log {\frac {1}{1-{\frac {1}{n}}}}+\log \log n)^{\delta }{\frac {1}{(1-{\frac {1}{n}})^{\gamma +\delta }}}\sim \epsilon n^{-\alpha }(\log n)^{\gamma }(\log \log n)^{\delta }\quad ({\text{as }}n\to \infty )}
The maximum of
1
z
n
+
1
{\displaystyle {\frac {1}{z^{n+1}}}}
on
γ
1
{\displaystyle \gamma _{1}}
is
1
(
1
−
1
n
)
n
+
1
≤
2
e
{\displaystyle {\frac {1}{(1-{\frac {1}{n}})^{n+1}}}\leq 2e}
The maximum of
d
z
{\displaystyle dz}
on
γ
1
{\displaystyle \gamma _{1}}
is
2
π
n
{\displaystyle {\frac {2\pi }{n}}}
1
2
i
π
∫
γ
1
o
(
F
(
z
)
)
d
z
z
n
+
1
≤
ϵ
2
e
n
−
α
−
1
(
log
n
)
γ
(
log
log
n
)
δ
=
o
(
n
−
α
−
1
(
log
n
)
γ
(
log
log
n
)
δ
)
{\displaystyle {\frac {1}{2i\pi }}\int _{\gamma _{1}}o(F(z)){\frac {dz}{z^{n+1}}}\leq \epsilon 2en^{-\alpha -1}(\log n)^{\gamma }(\log \log n)^{\delta }=o(n^{-\alpha -1}(\log n)^{\gamma }(\log \log n)^{\delta })}
Contribution of
γ
2
{\displaystyle \gamma _{2}}
and
γ
4
{\displaystyle \gamma _{4}}
:
We parameterise the contour
γ
2
{\displaystyle \gamma _{2}}
by converting
z
{\displaystyle z}
to polar form by
z
=
1
+
t
n
e
i
ϕ
{\displaystyle z=1+{\frac {t}{n}}e^{i\phi }}
, so that
γ
2
{\displaystyle \gamma _{2}}
is a function of
t
{\displaystyle t}
from
1
{\displaystyle 1}
to
E
n
{\displaystyle En}
.
E
{\displaystyle E}
is the positive solution to the equation
|
1
+
E
e
i
ϕ
|
=
r
{\displaystyle |1+Ee^{i\phi }|=r}
, so that the contour joins
γ
3
{\displaystyle \gamma _{3}}
:
∫
γ
2
o
(
F
(
z
)
)
d
z
z
n
+
1
≤
∫
1
E
n
|
F
(
1
+
t
n
e
i
ϕ
)
|
e
i
ϕ
d
t
n
(
1
+
t
n
e
i
ϕ
)
n
+
1
{\displaystyle \int _{\gamma _{2}}o(F(z)){\frac {dz}{z^{n+1}}}\leq \int _{1}^{En}|F(1+{\frac {t}{n}}e^{i\phi })|{\frac {e^{i\phi }dt}{n(1+{\frac {t}{n}}e^{i\phi })^{n+1}}}}
But, remember that the little o relation only holds within a particular
δ
{\displaystyle \delta }
of
1
{\displaystyle 1}
. We know that
log
2
n
n
{\displaystyle {\frac {\log ^{2}n}{n}}}
tends to zero as
n
{\displaystyle n}
increases, and therefore, for any
ϵ
{\displaystyle \epsilon }
, we choose an
n
{\displaystyle n}
big enough so that
log
2
n
n
≤
δ
{\displaystyle {\frac {\log ^{2}n}{n}}\leq \delta }
. We split the integral above into two at
log
2
n
{\displaystyle \log ^{2}n}
, so that
t
n
e
i
ϕ
≤
δ
{\displaystyle {\frac {t}{n}}e^{i\phi }\leq \delta }
:
∫
1
E
n
|
F
(
1
+
t
n
e
i
ϕ
)
|
e
i
ϕ
d
t
n
(
1
+
t
n
e
i
ϕ
)
n
+
1
=
∫
1
log
2
n
ϵ
|
F
(
1
+
t
n
e
i
ϕ
)
|
e
i
ϕ
d
t
n
(
1
+
t
n
e
i
ϕ
)
n
+
1
+
∫
log
2
n
E
n
F
(
1
+
t
n
e
i
ϕ
)
e
i
ϕ
d
t
n
(
1
+
t
n
e
i
ϕ
)
n
+
1
{\displaystyle \int _{1}^{En}|F(1+{\frac {t}{n}}e^{i\phi })|{\frac {e^{i\phi }dt}{n(1+{\frac {t}{n}}e^{i\phi })^{n+1}}}=\int _{1}^{\log ^{2}n}\epsilon |F(1+{\frac {t}{n}}e^{i\phi })|{\frac {e^{i\phi }dt}{n(1+{\frac {t}{n}}e^{i\phi })^{n+1}}}+\int _{\log ^{2}n}^{En}F(1+{\frac {t}{n}}e^{i\phi }){\frac {e^{i\phi }dt}{n(1+{\frac {t}{n}}e^{i\phi })^{n+1}}}}
The first term in the sum:
∫
1
log
2
n
ϵ
|
F
(
1
+
t
n
e
i
ϕ
)
|
e
i
ϕ
d
t
n
(
1
+
t
n
e
i
ϕ
)
n
+
1
≤
1
2
i
π
∫
1
∞
ϵ
|
t
n
e
i
ϕ
|
α
|
log
n
t
e
i
ϕ
|
γ
|
log
(
1
1
+
t
n
e
i
ϕ
log
n
t
e
i
ϕ
)
|
δ
|
1
+
t
n
e
i
ϕ
|
−
n
−
γ
−
δ
−
1
e
i
ϕ
d
t
n
≤
1
2
i
π
ϵ
(
e
i
ϕ
n
)
α
+
1
(
log
n
e
i
ϕ
)
γ
∫
1
∞
|
t
|
α
|
log
(
1
1
+
t
n
e
i
ϕ
log
n
e
i
ϕ
)
|
δ
|
1
+
t
n
e
i
ϕ
|
−
n
−
γ
−
δ
−
1
d
t
∼
1
2
i
π
ϵ
(
e
i
ϕ
n
)
α
+
1
(
log
n
e
i
ϕ
)
γ
(
log
log
n
e
i
ϕ
)
δ
∫
1
∞
|
t
|
α
|
1
+
t
n
e
i
ϕ
|
−
n
−
γ
−
δ
−
1
d
t
(
as
n
→
∞
)
{\displaystyle {\begin{aligned}\int _{1}^{\log ^{2}n}\epsilon |F(1+{\frac {t}{n}}e^{i\phi })|{\frac {e^{i\phi }dt}{n(1+{\frac {t}{n}}e^{i\phi })^{n+1}}}&\leq {\frac {1}{2i\pi }}\int _{1}^{\infty }\epsilon |{\frac {t}{n}}e^{i\phi }|^{\alpha }|\log {\frac {n}{te^{i\phi }}}|^{\gamma }|\log({\frac {1}{1+{\frac {t}{n}}e^{i\phi }}}\log {\frac {n}{te^{i\phi }}})|^{\delta }|1+{\frac {t}{n}}e^{i\phi }|^{-n-\gamma -\delta -1}{\frac {e^{i\phi }dt}{n}}\\&\leq {\frac {1}{2i\pi }}\epsilon \left({\frac {e^{i\phi }}{n}}\right)^{\alpha +1}\left(\log {\frac {n}{e^{i\phi }}}\right)^{\gamma }\int _{1}^{\infty }|t|^{\alpha }|\log({\frac {1}{1+{\frac {t}{n}}e^{i\phi }}}\log {\frac {n}{e^{i\phi }}})|^{\delta }|1+{\frac {t}{n}}e^{i\phi }|^{-n-\gamma -\delta -1}dt\\&\sim {\frac {1}{2i\pi }}\epsilon \left({\frac {e^{i\phi }}{n}}\right)^{\alpha +1}\left(\log {\frac {n}{e^{i\phi }}}\right)^{\gamma }\left(\log \log {\frac {n}{e^{i\phi }}}\right)^{\delta }\int _{1}^{\infty }|t|^{\alpha }|1+{\frac {t}{n}}e^{i\phi }|^{-n-\gamma -\delta -1}dt\quad ({\text{as }}n\to \infty )\\\end{aligned}}}
|
1
+
e
i
ϕ
t
n
|
≥
1
+
R
e
(
e
i
ϕ
t
n
)
=
1
+
t
cos
ϕ
n
{\displaystyle |1+{\frac {e^{i\phi }t}{n}}|\geq 1+Re({\frac {e^{i\phi }t}{n}})=1+{\frac {t\cos \phi }{n}}}
[ 15] (where
R
e
(
x
)
{\displaystyle Re(x)}
is the real part of x).
∫
1
log
2
n
|
t
|
α
|
1
+
t
n
e
i
ϕ
|
−
n
−
γ
−
δ
−
1
d
t
≤
∫
1
∞
|
t
|
α
|
1
+
t
n
e
i
ϕ
|
−
n
−
γ
−
δ
−
1
d
t
≤
∫
1
∞
|
t
|
α
(
1
+
t
cos
ϕ
n
)
−
n
−
γ
−
δ
−
1
d
t
≤
∫
1
∞
t
a
e
−
t
cos
ϕ
d
t
(
as
n
→
∞
)
{\displaystyle \int _{1}^{\log ^{2}n}|t|^{\alpha }|1+{\frac {t}{n}}e^{i\phi }|^{-n-\gamma -\delta -1}dt\leq \int _{1}^{\infty }|t|^{\alpha }|1+{\frac {t}{n}}e^{i\phi }|^{-n-\gamma -\delta -1}dt\leq \int _{1}^{\infty }|t|^{\alpha }\left(1+{\frac {t\cos \phi }{n}}\right)^{-n-\gamma -\delta -1}dt\leq \int _{1}^{\infty }t^{a}e^{-t\cos \phi }dt\quad ({\text{as }}n\to \infty )}
This converges to a constant
L
{\displaystyle L}
. Therefore:
1
2
i
π
ϵ
(
e
i
ϕ
n
)
α
+
1
(
log
n
e
i
ϕ
)
γ
(
log
log
n
e
i
ϕ
)
δ
∫
1
∞
|
t
|
α
|
1
+
t
n
e
i
ϕ
|
−
n
−
γ
−
δ
−
1
d
t
=
L
2
i
π
ϵ
(
e
i
ϕ
n
)
α
+
1
(
log
n
e
i
ϕ
)
γ
(
log
log
n
e
i
ϕ
)
δ
=
o
(
n
−
α
−
1
(
log
n
)
γ
(
log
log
n
)
δ
)
(
n
→
∞
)
{\displaystyle {\frac {1}{2i\pi }}\epsilon \left({\frac {e^{i\phi }}{n}}\right)^{\alpha +1}\left(\log {\frac {n}{e^{i\phi }}}\right)^{\gamma }\left(\log \log {\frac {n}{e^{i\phi }}}\right)^{\delta }\int _{1}^{\infty }|t|^{\alpha }|1+{\frac {t}{n}}e^{i\phi }|^{-n-\gamma -\delta -1}dt={\frac {L}{2i\pi }}\epsilon \left({\frac {e^{i\phi }}{n}}\right)^{\alpha +1}\left(\log {\frac {n}{e^{i\phi }}}\right)^{\gamma }\left(\log \log {\frac {n}{e^{i\phi }}}\right)^{\delta }=o(n^{-\alpha -1}(\log n)^{\gamma }(\log \log n)^{\delta })\quad (n\to \infty )}
The second term in the sum:
∫
log
2
n
E
n
F
(
1
+
t
n
e
i
ϕ
)
e
i
ϕ
d
t
n
(
1
+
t
n
e
i
ϕ
)
n
+
1
≤
1
2
i
π
(
e
i
ϕ
n
)
α
+
1
(
log
n
e
i
ϕ
)
γ
(
log
log
n
e
i
ϕ
)
δ
∫
log
2
n
E
n
|
t
|
α
(
1
+
log
2
n
cos
ϕ
n
)
−
n
−
γ
−
δ
−
1
d
t
≤
1
2
i
π
(
e
i
ϕ
n
)
α
+
1
(
log
n
e
i
ϕ
)
γ
(
log
log
n
e
i
ϕ
)
δ
∫
log
2
n
E
n
|
t
|
α
e
−
log
2
n
cos
ϕ
d
t
≤
1
2
i
π
(
e
i
ϕ
n
)
α
+
1
(
log
n
e
i
ϕ
)
γ
(
log
log
n
e
i
ϕ
)
δ
|
E
n
|
α
n
log
n
cos
ϕ
E
n
{\displaystyle {\begin{aligned}\int _{\log ^{2}n}^{En}F(1+{\frac {t}{n}}e^{i\phi }){\frac {e^{i\phi }dt}{n(1+{\frac {t}{n}}e^{i\phi })^{n+1}}}&\leq {\frac {1}{2i\pi }}\left({\frac {e^{i\phi }}{n}}\right)^{\alpha +1}\left(\log {\frac {n}{e^{i\phi }}}\right)^{\gamma }\left(\log \log {\frac {n}{e^{i\phi }}}\right)^{\delta }\int _{\log ^{2}n}^{En}|t|^{\alpha }\left(1+{\frac {\log ^{2}n\cos \phi }{n}}\right)^{-n-\gamma -\delta -1}dt\\&\leq {\frac {1}{2i\pi }}\left({\frac {e^{i\phi }}{n}}\right)^{\alpha +1}\left(\log {\frac {n}{e^{i\phi }}}\right)^{\gamma }\left(\log \log {\frac {n}{e^{i\phi }}}\right)^{\delta }\int _{\log ^{2}n}^{En}|t|^{\alpha }e^{-\log ^{2}n\cos \phi }dt\\&\leq {\frac {1}{2i\pi }}\left({\frac {e^{i\phi }}{n}}\right)^{\alpha +1}\left(\log {\frac {n}{e^{i\phi }}}\right)^{\gamma }\left(\log \log {\frac {n}{e^{i\phi }}}\right)^{\delta }{\frac {|En|^{\alpha }}{n^{\log n\cos \phi }}}En\end{aligned}}}
n
log
n
cos
ϕ
{\displaystyle n^{\log n\cos \phi }}
grows faster with
n
{\displaystyle n}
than
|
E
n
|
α
+
1
{\displaystyle |En|^{\alpha +1}}
, so
|
E
n
|
α
+
1
n
log
n
cos
ϕ
→
0
{\displaystyle {\frac {|En|^{\alpha +1}}{n^{\log n\cos \phi }}}\to 0}
as
n
→
∞
{\displaystyle n\to \infty }
. Therefore:
1
2
i
π
(
e
i
ϕ
n
)
α
+
1
(
log
n
e
i
ϕ
)
γ
(
log
log
n
e
i
ϕ
)
δ
|
E
n
|
α
+
1
n
log
n
cos
ϕ
=
o
(
n
−
α
−
1
(
log
n
)
γ
(
log
log
n
)
δ
)
(
n
→
∞
)
{\displaystyle {\frac {1}{2i\pi }}\left({\frac {e^{i\phi }}{n}}\right)^{\alpha +1}\left(\log {\frac {n}{e^{i\phi }}}\right)^{\gamma }\left(\log \log {\frac {n}{e^{i\phi }}}\right)^{\delta }{\frac {|En|^{\alpha +1}}{n^{\log n\cos \phi }}}=o(n^{-\alpha -1}(\log n)^{\gamma }(\log \log n)^{\delta })\quad (n\to \infty )}
A similar argument applies to
γ
4
{\displaystyle \gamma _{4}}
.
Contribution of
γ
3
{\displaystyle \gamma _{3}}
:
By Cauchy's inequality
1
2
i
π
∫
γ
3
o
(
F
(
z
)
)
d
z
z
n
+
1
≤
max
|
z
|
=
r
F
(
z
)
r
n
{\displaystyle {\frac {1}{2i\pi }}\int _{\gamma _{3}}o(F(z)){\frac {dz}{z^{n+1}}}\leq {\frac {\max _{|z|=r}F(z)}{r^{n}}}}
meaning the contribution of the integral around
γ
3
{\displaystyle \gamma _{3}}
is exponentially small as
n
→
∞
{\displaystyle n\to \infty }
and can be discarded.
The above assumes only one singularity
ζ
{\displaystyle \zeta }
. But, it can be generalised for functions with multiple singularities.
In the case of multiple singularities, the separate contributions from each of the singularities, as given by the basic singularity analysis process, are to be added up.
—Flajolet and Sedgewick 2009, pp. 398.
Theorem from Flajolet and Sedgewick[ 16] .
If
f
(
z
)
{\displaystyle f(z)}
is analytic on the disc
|
z
|
<
ρ
{\displaystyle |z|<\rho }
, has a finite number of singularities on the circle
|
z
|
=
ρ
{\displaystyle |z|=\rho }
and
f
(
z
)
{\displaystyle f(z)}
is analytic on the
Δ
{\displaystyle \Delta }
-domain with multiple indents at each singularity.
If for each singularity
ζ
i
{\displaystyle \zeta _{i}}
(for
i
=
1
,
2
,
⋯
,
r
{\displaystyle i=1,2,\cdots ,r}
):
f
(
z
)
∼
(
1
−
z
ζ
i
)
α
i
(
1
z
ζ
i
log
1
1
−
z
ζ
i
)
γ
i
(
1
z
ζ
i
log
(
1
z
ζ
i
log
1
1
−
z
ζ
i
)
)
δ
i
(
as
z
→
ζ
i
)
{\displaystyle f(z)\sim \left(1-{\frac {z}{\zeta _{i}}}\right)^{\alpha _{i}}\left({\frac {1}{\frac {z}{\zeta _{i}}}}\log {\frac {1}{1-{\frac {z}{\zeta _{i}}}}}\right)^{\gamma _{i}}\left({\frac {1}{\frac {z}{\zeta _{i}}}}\log \left({\frac {1}{\frac {z}{\zeta _{i}}}}\log {\frac {1}{1-{\frac {z}{\zeta _{i}}}}}\right)\right)^{\delta _{i}}\quad ({\text{as }}z\to \zeta _{i})}
then:
[
z
n
]
f
(
z
)
∼
∑
i
=
0
r
ζ
i
n
n
−
α
i
−
1
Γ
(
−
α
i
)
(
log
n
)
γ
i
(
log
log
n
)
δ
i
(
as
n
→
∞
)
{\displaystyle [z^{n}]f(z)\sim \sum _{i=0}^{r}\zeta _{i}^{n}{\frac {n^{-{\alpha _{i}}-1}}{\Gamma (-{\alpha _{i}})}}(\log n)^{\gamma _{i}}(\log \log n)^{\delta _{i}}\quad ({\text{as }}n\to \infty )}
↑ Flajolet and Odlyzko 1990, pp. 14.
↑ Flajolet and Sedgewick 2009, pp. 393.
↑ Sedgewick, pp. 16. Flajolet and Sedgewick 2009, pp. 381. Flajolet and Odlyzko 1990, pp. 4-15.
↑ Lorenz 2011.
↑ For more details, see Flajolet and Odlyzko 1990, pp. 12-15.
↑ Sedgewick, pp. 10.
↑ Flajolet and Sedgewick 2009, pp. 392-395.
↑ Flajolet and Odlyzko 1990, pp. 8.
↑ This is a bit of an over-simplification. For further information, see Stroud 2003, pp. 863-867, 915 and w:Mathematical_singularity .
↑ Lang 1999, pp. 68-69.
↑ Lang 1999, pp. 69.
↑ Flajolet and Odlyzko 1990, pp. 7-9.
↑ Flajolet and Sedgewick 2009, pp. 390-392.
↑ Pemantle and Wilson 2013, pp. 59-60.
↑ w:Polar_coordinate_system#Converting_between_polar_and_Cartesian_coordinates .
↑ Flajolet and Sedgewick 2009, pp. 398.
Flajolet, Philippe; Odlyzko, Andrew (1990). "Singularity analysis of generating functions" (PDF) . SIAM Journal on Discrete Mathematics . 1990 (3).
Flajolet, Philippe; Sedgewick, Robert (2009). Analytic Combinatorics (PDF) . Cambridge University Press.
Lang, Serge (1999). Complex Analysis (4th ed.). Springer Science+Business Media, LLC.
Lorenz, Dirk (2011). "Substitution and integration by parts for functions of a complex variable" . Retrieved 27 November 2022 .
Pemantle, Robin; Wilson, Mark C. (2013). Analytic Combinatorics in Several Variables (PDF) . Cambridge University Press.
Sedgewick, Robert. "6. Singularity Analysis" (PDF) . Retrieved 13 November 2022 .
Stroud, K. A. (2003). Advanced Engineering Mathematics (4th ed.). Palgrave Macmillan.