Home › Calculus › Lesson 9

Improper Integrals

Lesson 9 of 14

Key idea of this section

∫₁∞ x⁻ᵖ dx < ∞  ⇔  p > 1          ∫₀¹ x⁻ᵖ dx < ∞  ⇔  p < 1
Γ(s) = ∫₀∞ tˢ⁻¹ e⁻ᵗ dt,   Γ(n + 1) = n!,   Γ(1/2) = √π

Definitions

The Riemann integral is defined only for bounded functions on bounded intervals. An improper integral extends it by a limit. If f is integrable on [a, R] for every R > a, define ∫ₐ∞ f = lim (R → ∞) ∫ₐᴿ f when the limit exists (type I). If f is integrable on [a + η, b] for every η > 0 but unbounded near a, define ∫ₐᵇ f = lim (η → 0⁺) of ∫ from a + η to b of f (type II). An integral over (−∞, ∞) or with several bad points is split into pieces, each of which must converge separately.

The basic examples are computed directly: ∫₁ᴿ x⁻ᵖ dx = (R¹⁻ᵖ − 1)/(1 − p) for p ≠ 1 and ln R for p = 1, so ∫₁∞ x⁻ᵖ dx converges iff p > 1, with value 1/(p − 1). Similarly ∫₀¹ x⁻ᵖ dx converges iff p < 1, with value 1/(1 − p). For instance ∫₀¹ dx/√x = 2.

Tests for convergence

For f ≥ 0 the function R ↦ ∫ₐᴿ f is increasing, so the integral converges iff it is bounded. This gives the comparison test (0 ≤ f ≤ g and ∫g < ∞ imply ∫f < ∞) and the limit comparison test, exactly as for series. Examples:

The Cauchy criterion also applies: ∫ₐ∞ f converges iff for every ε > 0 there is R₀ with |∫ from R to S of f| < ε for all S > R > R₀. As with series, absolute convergence (∫|f| < ∞) implies convergence.

The integral test

Theorem 9.1 (Integral test). Let f be positive and decreasing on [1, ∞). Then ∑ f(n) converges iff ∫₁∞ f converges. Moreover, the remainder satisfies ∫ from N + 1 to ∞ of f ≤ ∑ₙ₌N₊₁∞ f(n) ≤ ∫ from N to ∞ of f.

Proof. On [n, n + 1], f(n + 1) ≤ f(x) ≤ f(n). Integrate and sum. ∎

The same comparison shows that γₙ = 1 + 1/2 + ... + 1/n − ln n is decreasing and bounded below by 0; its limit γ ≈ 0.57722 is the Euler–Mascheroni constant. It is unknown whether γ is irrational.

Conditional convergence: the Dirichlet integral

The integral ∫₀∞ (sin x)/x dx converges (the integrand extends continuously to 1 at 0). Integrating by parts on [1, R],

∫₁ᴿ (sin x)/x dx = cos 1 − (cos R)/R − ∫₁ᴿ (cos x)/x² dx,

and the last integral converges absolutely. Its value is π/2, a classical result usually proved with complex analysis or by differentiating under the integral sign. But it is not absolutely convergent: on [kπ, (k + 1)π], |sin x|/x ≥ |sin x|/((k + 1)π), whose integral is 2/((k + 1)π), and ∑ 1/(k + 1) diverges. Such integrals are a major reason why the Lebesgue integral, which only handles absolutely integrable functions, does not simply replace improper Riemann integrals.

The Gamma function

For s > 0, Γ(s) = ∫₀∞ tˢ⁻¹e⁻ᵗ dt converges: near 0 the integrand is at most tˢ⁻¹ (integrable since s − 1 > −1), and near ∞ it is at most Ce−t/2. Integrating by parts gives the functional equation Γ(s + 1) = sΓ(s), and Γ(1) = 1, so Γ(n + 1) = n! for every n ≥ 0. The substitution t = x² shows Γ(1/2) = 2∫₀∞ e−x² dx = √π, using the Gaussian integral proved in Lesson 13. Hence

Γ(3/2) = √π/2,   Γ(5/2) = 3√π/4,   Γ(7/2) = 15√π/8.

Γ interpolates the factorial; by the Bohr–Mollerup theorem (1922) it is the only log-convex function on (0, ∞) with Γ(1) = 1 and Γ(s + 1) = sΓ(s).

Principal values

∫₋₁¹ dx/x does not converge as an improper integral, because ∫₀¹ dx/x diverges. Its Cauchy principal value, lim (η → 0⁺) (∫ from −1 to −η + ∫ from η to 1) of dx/x, equals 0 by symmetry. Principal values are an essential tool (the Hilbert transform, dispersion relations) but must not be confused with genuine convergence.

Exercise

  • (a)
    Compute ∫₁∞ (ln x)/x² dx.
  • (b)
    For which p does ∫₂∞ dx/(x (ln x)ᵖ) converge?
  • (c)
    Compute Γ(5/2) to four decimal places, and Γ(5).
Show solution

Answers: (a) By parts, [−(ln x)/x] from 1 to ∞ + ∫₁∞ dx/x² = 0 + 1 = 1. (b) Substituting u = ln x gives ∫ from ln 2 to ∞ of u⁻ᵖ du, which converges iff p > 1. (c) Γ(5/2) = 3√π/4 ≈ 1.3293, and Γ(5) = 4! = 24.

V.3.1