Gamma and Beta Functions Intro: Explained with Examples
The factorial n! works only for whole numbers, but mathematics often needs a factorial-like function for all real numbers. The gamma function Γ(n) = ∫₀^∞ xⁿ⁻¹e^(−x) dx is exactly that extension: for positive integers, Γ(n+1) = n!. Its close cousin, the beta function, packages a family of integrals over [0, 1] that appear in probability and geometry. Together they are the special functions of integration theory.
These functions matter far beyond exams: the gamma function generalises factorials in statistics (the chi-square and gamma distributions), and the beta function normalises the beta distribution used in Bayesian statistics. They also give closed forms for integrals no elementary method can touch.
Key Concepts
- Gamma definition: Γ(n) = ∫₀^∞ xⁿ⁻¹ e^(−x) dx, defined for n > 0.
- Recurrence: Γ(n+1) = n·Γ(n), proved by integration by parts — the continuous version of n! = n·(n−1)!.
- Integer values: Γ(1) = 1, Γ(2) = 1, Γ(3) = 2, Γ(4) = 6, Γ(5) = 24 — i.e. Γ(n+1) = n!.
- Half-integers: Γ(1/2) = √π, so Γ(3/2) = √π/2 and Γ(5/2) = 3√π/4.
- Beta definition: B(m, n) = ∫₀¹ xᵐ⁻¹(1−x)ⁿ⁻¹ dx for m, n > 0.
- The link: B(m, n) = Γ(m)Γ(n)/Γ(m+n) — beta integrals reduce to gamma values.
Formulas
- Γ(n) = ∫₀^∞ xⁿ⁻¹ e^(−x) dx
- Γ(n+1) = n·Γ(n); Γ(n+1) = n! for positive integers n
- Γ(1/2) = √π
- B(m, n) = ∫₀¹ xᵐ⁻¹(1−x)ⁿ⁻¹ dx = Γ(m)Γ(n)/Γ(m+n)
- B(m, n) = B(n, m) (symmetric)
Worked Example
Evaluate ∫₀¹ x³(1−x)² dx using the beta function. Step 1: match the form ∫₀¹ xᵐ⁻¹(1−x)ⁿ⁻¹ dx: here m − 1 = 3 so m = 4, and n − 1 = 2 so n = 3. Step 2: apply B(m, n) = Γ(m)Γ(n)/Γ(m+n) = Γ(4)Γ(3)/Γ(7). Step 3: convert to factorials: Γ(4) = 3! = 6, Γ(3) = 2! = 2, Γ(7) = 6! = 720. Step 4: (6·2)/720 = 12/720 = 1/60. Direct expansion and integration gives x⁴/4 − 2x⁵/5 + x⁶/6 evaluated 0 to 1 = 1/4 − 2/5 + 1/6 = 1/60, confirming the beta shortcut.
Common Misconceptions
- Off-by-one in the factorial link: Γ(n+1) = n!, not Γ(n) = n!. So Γ(5) = 24, not 120.
- Using beta outside [0, 1]: the beta integral is defined on [0, 1]; different limits need a substitution first.
- Treating Γ(1/2) as a factorial value: there is no integer factorial giving √π — the gamma function genuinely extends beyond integers.
Real-World Applications
The gamma function defines the gamma and chi-square distributions that model waiting times, rainfall and measurement errors in statistics. The beta distribution — normalised by the beta function — models probabilities themselves in Bayesian machine learning. In physics, gamma values appear in the volumes of n-dimensional spheres and in quantum statistical mechanics.
Gamma extends the factorial past integers; beta packages [0, 1] power integrals into gamma ratios. Learn Γ(n+1) = nΓ(n) and B(m,n) = Γ(m)Γ(n)/Γ(m+n), and a whole class of impossible-looking integrals becomes arithmetic.
Related blogs
- Definite Integral as a Limit of Sums: Concepts and Examples
- Fundamental Theorem of Calculus: Explained with Examples
- Evaluation by Substitution: Explained with Examples
- Definite Integral Properties: Rules, Proofs, Examples
- Definite Integrals of Symmetric Functions: Notes and FAQs
- Reduction Formulae: Integration Patterns Explained