Gamma, Beta, zeta and Bessel functions that extend elementary functions and appear throughout mathematics and physics.
IntuitionBeyond the factorial: filling in the gaps between whole numbers
The factorial n!=1⋅2⋯n only makes sense for whole numbers, yet it grows so smoothly — 1,2,6,24,120,… — that it seems to beg for a curve passing through every one of those dots, defined at every real or even complex input. Special functions are exactly this: a small family of functions, born from natural integrals or infinite sums, that interpolate and generalize the patterns of elementary arithmetic (factorials, powers, sums) into a smooth, universal machinery shared by probability, number theory, and physics.
Colored complex-plane plot showing a sequence of poles arranged along the negative real axis.
Domain-coloring plot in the region containing the negative real axis, where the Gamma function develops a ladder of simple poles at every non-positive integer.
UndergraduateThe Gamma, Beta and zeta functions
Definition: The Gamma function
For Re(z)>0, define Γ(z)=∫0∞tz−1e−tdt. Integrating by parts shows Γ(z+1)=zΓ(z), and since Γ(1)=∫0∞e−tdt=1, induction gives Γ(n+1)=n! for every non-negative integer n: the Gamma function interpolates the factorial. The recurrence also extends Γ by meromorphic continuation to all of z except z=0,−1,−2,…, where it has simple poles.
Γ(z)=∫0∞tz−1e−tdt
The Beta function B(x,y)=∫01tx−1(1−t)y−1dt packages a ratio of Gammas, B(x,y)=Γ(x+y)Γ(x)Γ(y), and is the natural normalizing constant behind the Beta probability distribution. A deeper identity connects the two symmetrically: Euler's reflection formula Γ(z)Γ(1−z)=sin(πz)π, valid for every non-integer z, ties the poles of Γ(z) to the zeros of sin(πz).
Γ(z)Γ(1−z)=sin(πz)π
Definition: The Riemann zeta function and its analytic continuation
For Re(s)>1, define ζ(s)=n=1∑∞ns1. This series diverges elsewhere, but ζ(s) extends to a meromorphic function on all of C with a single simple pole at s=1, via the functional equation ζ(s)=2sπs−1sin(2πs)Γ(1−s)ζ(1−s), which expresses ζ(s) in terms of ζ(1−s) and a Gamma factor. This is what lets one make rigorous sense of values like ζ(−1)=−121, which has nothing to do with literally summing 1+2+3+⋯.
For every non-negative integer n, Γ(n+1)=n!, where Γ is defined by Γ(z)=∫0∞tz−1e−tdt for Re(z)>0.
Why is it true?
It shows the Gamma integral is not an arbitrary generalization but the unique smooth continuation that reproduces the multiplicative structure of factorials, which is why it is the right object to plug non-integers into.
Proof
Step 1 (Base case). Γ(1)=∫0∞t0e−tdt=∫0∞e−tdt=[−e−t]0∞=0−(−1)=1=0!, so the formula holds for n=0.
Step 2 (Recurrence by integration by parts). For Re(z)>0, integrate Γ(z)=∫0∞tz−1e−tdt by parts with u=tz, dv=e−tdt: Γ(z+1)=∫0∞tze−tdt=[−tze−t]0∞+z∫0∞tz−1e−tdt=0+zΓ(z), using that the boundary term vanishes at both ends. This proves Γ(z+1)=zΓ(z).
Step 3 (Induction). Assume Γ(k+1)=k! for some non-negative integer k. By Step 2 with z=k+1, Γ(k+2)=(k+1)Γ(k+1)=(k+1)⋅k!=(k+1)!.
Step 4 (Conclude). Since the base case n=0 holds (Step 1) and the inductive step carries the identity from n=k to n=k+1 (Step 3), Γ(n+1)=n! holds for every non-negative integer n by mathematical induction.
It links a purely algebraic-looking object (a ratio of two Gamma values) to trigonometry, and it is exactly the identity that makes the poles of Γ at non-positive integers line up with the zeros of sin(πz) at all integers — the residue calculus from contour integration is what produces the sine on the right-hand side.
Proof
Step 1 (Reduce to the Beta function). Using B(x,y)=Γ(x+y)Γ(x)Γ(y) with y=1−z, Γ(z)Γ(1−z)=B(z,1−z)=∫01tz−1(1−t)−zdt. Substituting u=t/(1−t) turns this into ∫0∞1+uuz−1du for 0<Re(z)<1.
Step 2 (Set up a keyhole contour). To evaluate I=∫0∞1+uuz−1du, use the branch of wz−1 cut along the positive real axis and integrate 1+wwz−1 around a keyhole contour: outward just above the cut, a large circle of radius R, back just below the cut, and a small circle of radius ε around 0.
Step 3 (Residue at the only pole). The only singularity of 1+wwz−1 inside the contour is the simple pole at w=−1, where (using the branch with argument π there) Res=(−1)z−1=eiπ(z−1), so the residue theorem gives the keyhole integral as 2πieiπ(z−1).
Step 4 (Compare the two sides of the cut and let R→∞, ε→0). The large and small circles vanish for 0<Re(z)<1, and the two straight segments differ by the phase picked up by wz−1 crossing the cut, giving I(1−e2πi(z−1))=2πieiπ(z−1). Solving for I and simplifying the exponentials using sinθ=2ieiθ−e−iθ gives I=sin(πz)π, so combining with Step 1, Γ(z)Γ(1−z)=sin(πz)π.
AdvancedReal-World Applications and Worked Examples
The Gamma function normalizes probability distributions used to model waiting times and Bayesian priors (Gamma, Beta, chi-squared, Student's t); Bessel functions are the natural solutions to wave and heat equations in cylindrical geometry, so they show up in acoustics of drumheads, optical diffraction patterns, and antenna radiation patterns; and the zeta function anchors analytic number theory (the distribution of primes) while also appearing in physics through zeta-function regularization, used to assign finite values to divergent sums in the Casimir effect and string theory.
Example: Normalizing a chi-squared distribution
A statistician models the sum of squares of k=5 independent standard normal variables with a chi-squared density f(x)=Cxk/2−1e−x/2 for x>0. Find the normalizing constant C so that ∫0∞f(x)dx=1.
Solution
Step 1 (Substitute to match the Gamma integral). Let t=x/2, so x=2t, dx=2dt: ∫0∞xk/2−1e−x/2dx=∫0∞(2t)k/2−1e−t2dt=2k/2∫0∞tk/2−1e−tdt.
Step 2 (Recognize the Gamma function). The remaining integral is exactly Γ(k/2) by definition, so ∫0∞xk/2−1e−x/2dx=2k/2Γ(k/2).
Step 3 (Plug in k=5). Here k/2=5/2, and the recurrence gives Γ(5/2)=(3/2)(1/2)Γ(1/2)=43π; since 25/2=42, the integral equals 42⋅43π=32π.
Step 4 (Solve for C). Since C⋅32π=1, the normalizing constant is C=32π1, matching the general chi-squared formula C=2k/2Γ(k/2)1.
Example: Fundamental frequency of a circular drumhead
A circular drum of radius a has a radially symmetric vibration mode u(r,t)=J0(kr)cos(ωt) that must vanish at the rigid rim, u(a,t)=0 for all t. Given that the first positive zero of J0 is j0,1≈2.405, express the fundamental angular frequency ω1 in terms of a and the wave speed c (with ω=ck).
Solution
Step 1 (Apply the boundary condition). Since u(a,t)=J0(ka)cos(ωt) must vanish for all t, we need J0(ka)=0, so ka must be a zero of the Bessel function J0.
Step 2 (Pick the fundamental mode). The fundamental mode corresponds to the smallest positive k, hence the smallest positive zero j0,1≈2.405 of J0; thus k1a=j0,1, so k1=j0,1/a.
Step 3 (Convert to angular frequency). Using the dispersion relation ω=ck for the membrane wave equation, ω1=ck1=acj0,1.
Step 4 (Interpret). Substituting the numerical value gives ω1≈a2.405c: doubling the radius a halves the fundamental frequency, exactly as expected physically for a larger drum producing a deeper tone.
What is Γ(6)?
What is Γ(21)?
Where does the meromorphic continuation of ζ(s) have its only pole, and what type is it?
An acoustic engineer designs a circular drumhead and needs the mode shapes that stay finite at the center and vanish at the rigid rim. Which special function family gives these radial mode shapes?