ArticleslgStudy

mathematics

Digamma function

Digamma function is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Digamma function rather than just read about it. In short: In mathematics, the digamma function is defined as the logarithmic derivative of the gamma function: ψ(z)=ddzln⁡Γ(z)=Γ′(z)Γ(z). It is the first of the polygamma functions.

Digamma function — main illustration
Digamma function — illustration

Key takeaways

  • Digamma function belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Digamma function to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Digamma function from memory before moving on to harder problems.

Reference excerpt

In mathematics, the digamma function is defined as the logarithmic derivative of the gamma function:

ψ(z)=ddzln⁡Γ(z)=Γ′(z)Γ(z). It is the first of the polygamma functions. This function is strictly increasing and strictly concave on (0,∞), and it asymptotically behaves as

ψ(z)∼ln⁡z−12z, for complex numbers with large modulus (|z|→∞) in the sector |arg⁡z|<π−ε for any ε>0. The digamma function is often denoted as ψ0(x),ψ(0)(x) or Ϝ (the uppercase form of the archaic Greek letter digamma meaning double-gamma).

Relation to harmonic numbers The gamma function obeys the equation

Γ(z+1)=zΓ(z). Taking the logarithm on both sides and using the functional equation property of the log-gamma function gives:

log⁡Γ(z+1)=log⁡(z)+log⁡Γ(z), Differentiating both sides with respect to z gives:

ψ(z+1)=ψ(z)+1z Since the harmonic numbers are defined for positive integers n as

Hn=∑k=1n1k, the digamma function is related to them by

ψ(n)=Hn−1−γ, where H0 = 0, and γ is the Euler–Mascheroni constant. For half-integer arguments the digamma function takes the values

ψ(n+12)=−γ−2ln⁡2+∑k=1n22k−1=−γ−2ln⁡2+2H2n−Hn.

Integral representations If the real part of z is positive then the digamma function has the following integral representation due to Gauss:

ψ(z)=∫0∞(e−tt−e−zt1−e−t)dt. Combining this expression with an integral identity for the Euler–Mascheroni constant γ gives:

ψ(z+1)=−γ+∫01(1−tz1−t)dt. The integral is Euler's harmonic number Hz, so the previous formula may also be written

ψ(z+1)=ψ(1)+Hz. A consequence is the following generalization of the recurrence relation:

ψ(w+1)−ψ(z+1)=Hw−Hz. An integral representation due to Dirichlet is:

ψ(z)=∫0∞(e−t−1(1+t)z)dtt. Gauss's integral representation can be manipulated to give the start of the asymptotic expansion of ψ.

ψ(z)=log⁡z−12z−∫0∞(12−1t+1et−1)e−tzdt. This formula is also a consequence of Binet's first integral for the gamma function. The integral may be recognized as a Laplace transform. Binet's second integral for the gamma function gives a different formula for ψ which also gives the first few terms of the asymptotic expansion:

ψ(z)=log⁡z−12z−2∫0∞tdt(t2+z2)(e2πt−1). From the definition of ψ and the integral representation of the gamma function, one obtains

ψ(z)=1Γ(z)∫0∞tz−1ln⁡(t)e−tdt, with ℜz>0.

Infinite product representation The function ψ(z)/Γ(z) is an entire function, and it can be represented by the infinite product

ψ(z)Γ(z)=−e2γz∏k=0∞(1−zxk)ezxk. Here xk is the kth zero of ψ (see below), and γ is the Euler–Mascheroni constant. Note: This is also equal to −ddz1Γ(z) due to the definition of the digamma function: Γ′(z)Γ(z)=ψ(z).

Series representation

Series formula Euler's product formula for the gamma function, combined with the functional equation and an identity for the Euler–Mascheroni constant, yields the following expression for the digamma function, valid in the complex plane outside the negative integers (Abramowitz and Stegun 6.3.16):

ψ(z+1)=−γ+∑n=1∞(1n−1n+z),z≠−1,−2,−3,…,=−γ+∑n=1∞(zn(n+z)),z≠−1,−2,−3,…. Equivalently,

ψ(z)=−γ+∑n=0∞(1n+1−1n+z),z≠0,−1,−2,…,=−γ+∑n=0∞z−1(n+1)(n+z),z≠0,−1,−2,….

Evaluation of sums of rational functions The above identity can be used to evaluate sums of the form

∑n=0∞un=∑n=0∞p(n)q(n), where p(n) and q(n) are polynomials of n. Performing partial fraction decomposition on un in the complex field, in the case when all roots of q(n) are simple roots,

un=p(n)q(n)=∑k=1makn+bk. For the series to converge,

limn→∞nun=0, otherwise the series will be greater than the harmonic series and thus diverge. Hence

∑k=1mak=0, and

∑n=0∞un=∑n=0∞∑k=1makn+bk=∑n=0∞∑k=1mak(1n+bk−1n+1)=∑k=1m(ak∑n=0∞(1n+bk−1n+1))=−∑k=1mak(ψ(bk)+γ)=−∑k=1makψ(bk). With the series expansion of higher rank polygamma function a generalized formula can be given as

∑n=0∞un=∑n=0∞∑k=1mak(n+bk)rk=∑k=1m(−1)rk(rk−1)!akψ(rk−1)(bk), provided the series on the left converges.

Taylor series The digamma has a rational zeta series, given by the Taylor series at z = 1. This is

ψ(z+1)=−γ−∑k=1∞(−1)kζ(k+1)zk, which converges for |z| < 1. Here, ζ(n) is the Riemann zeta function. This series is easily derived from the corresponding Taylor's series for the Hurwitz zeta function.

Newton series The Newton series for the digamma, sometimes referred to as Stern series, derived by Moritz Abraham Stern in 1847, reads

ψ(s)=−γ+(s−1)−(s−1)(s−2)2⋅2!+(s−1)(s−2)(s−3)3⋅3!⋯,ℜ(s)>0,=−γ−∑k=1∞(−1)kk(s−1k)⋯,ℜ(s)>0. where (sk) is the binomial coefficient. It may also be generalized to

ψ(s+1)=−γ−1m∑k=1m−1m−ks+k−1m∑k=1∞(−1)kk{(s+mk+1)−(sk+1)},ℜ(s)>−1, where m = 2, 3, 4, ...

Series with Gregory's coefficients, Cauchy numbers and Bernoulli polynomials of the second kind There exist various series for the digamma containing rational coefficients only for the rational arguments. In particular, the series with Gregory's coefficients Gn is

ψ(v)=ln⁡v−∑n=1∞|Gn|(n−1)!(v)n,ℜ(v)>0, ψ(v)=2ln⁡Γ(v)−2vln⁡v+2v+2ln⁡v−ln⁡2π−2∑n=1∞|Gn(2)|(v)n(n−1)!,ℜ(v)>0, ψ(v)=3ln⁡Γ(v)−6ζ′(−1,v)+3v2ln⁡v−32v2−6vln⁡(v)+3v+3ln⁡v−32ln⁡2π+12−3∑n=1∞|Gn(3)|(v)n(n−1)!,ℜ(v)>0, where (v)n is the rising factorial (v)n = v(v+1)(v+2) ... (v+n-1), Gn(k) are the Gregory coefficients of higher order with Gn(1) = Gn, Γ is the gamma function and ζ is the Hurwitz zeta function. Similar series with the Cauchy numbers of the second kind Cn reads

ψ(v)=ln⁡(v−1)+∑n=1∞Cn(n−1)!(v)n,ℜ(v)>1, A series with the Bernoulli polynomials of the second kind has the following form

ψ(v)=ln⁡(v+a)+∑n=1∞(−1)nψn(a)(n−1)!(v)n,ℜ(v)>−a, where ψn(a) are the Bernoulli polynomials of the second kind defined by the generating equation

z(1+z)aln⁡(1+z)=∑n=0∞znψn(a),|z|<1, It may be generalized to

ψ(v)=1r∑l=0r−1ln⁡(v+a+l)+1r∑n=1∞(−1)nNn,r(a)(n−1)!(v)n,ℜ(v)>−a,r=1,2,3,… where the polynomials Nn,r(a) are given by the following generating equation

(1+z)a+m−(1+z)aln⁡(1+z)=∑n=0∞Nn,m(a)zn,|z|<1, so that Nn,1(a) = ψn(a). Similar expressions with the logarithm of the gamma function involve these formulas

ψ(v)=1v+a−12{ln⁡Γ(v+a)+v−12ln⁡2π−12+∑n=1∞(−1)nψn+1(a)(v)n(n−1)!},ℜ(v)>−a, and

ψ(v)=112r+v+a−1{ln⁡Γ(v+a)+v−12ln⁡2π−12+1r∑n=0r−2(r−n−1)ln⁡(v+a+n)+1r∑n=1∞(−1)nNn+1,r(a)(v)n(n−1)!}, where ℜ(v)>−a and r=2,3,4,….

Reflection formula The digamma and polygamma functions satisfy reflection formulas similar to that of the gamma function:

ψ(1−x)−ψ(x)=πcot⁡πx. ψ′(−x)+ψ′(x)=π2sin2(πx)+1x2. ψ″(−x)−ψ″(x)=2π3cot⁡(πx)sin2(πx)+2x3.

Recurrence formula and characterization The digamma function satisfies the recurrence relation

ψ(x+1)=ψ(x)+1x. Thus, it can be said to "telescope" ⁠1/x⁠, for one has

… excerpt ends here. Continue reading the full article.

Illustrations

Digamma function: The digamma function ψ(z),visualized using domain coloring
The digamma function ψ(z),visualized using domain coloring
Digamma function: Plots of the digamma and the next three polygamma functions along the real line (they are real-valued on the real line)
Plots of the digamma and the next three polygamma functions along the real line (they are real-valued on the real line)

Worked examples

Example 1 — a first encounter with Digamma function

Start with the simplest possible case. Write down what Digamma function claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Digamma function before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Digamma function ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Digamma function

In research
Digamma function appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Digamma function in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Digamma function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Gamma and related functions, so understanding it makes those chapters shorter.
In everyday life
Look for Digamma function outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Digamma function” →

How to study Digamma function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Digamma function means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Digamma function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Digamma function in simple terms?

In mathematics, the digamma function is defined as the logarithmic derivative of the gamma function: ψ(z)=ddzln⁡Γ(z)=Γ′(z)Γ(z). It is the first of the polygamma functions.

Why does Digamma function matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Digamma function?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Digamma function.

Tags

  • Gamma and related functions

Keep exploring