Chuyển đến nội dung

Bài 30 · The Riemann Integral

Improper Integrals and Lebesgue's Criterion

Extend the Riemann integral to unbounded intervals and functions with improper integrals, test convergence of p-integrals, and learn Lebesgue's criterion with Thomae's function.

The Riemann integral is defined only for bounded functions on closed bounded intervals. Many useful integrals break one of these rules: ∫₀¹ x^{-1/2} dx (unbounded function) and ∫₁^∞ x^{-2} dx (infinite interval). Improper integrals extend the definition with a limit. In the second half of this lesson we answer the opposite question: exactly which bounded functions are Riemann integrable?

Improper integrals

Infinite interval. If f is integrable on [a, R] for every R > a, define

Text
∫ₐ^∞ f = lim_{R → ∞} ∫ₐᴿ f

when the limit exists as a finite number (the integral converges); otherwise it diverges.

Unbounded at an endpoint. If f is integrable on [a + η, b] for every small η > 0 but unbounded near a, define ∫ₐᵇ f = lim_{η → 0+} ∫_{a+η}ᵇ f.

If the bad point is inside the interval, split there and require both pieces to converge separately. (Taking the limit symmetrically around the point gives a weaker "principal value" that is a different notion.)

The p-integrals

For p > 0:

Text
∫₁^∞ x^{-p} dx converges  ⇔  p > 1,        ∫₀¹ x^{-p} dx converges  ⇔  p < 1.

Proof of the first. For p ≠ 1, ∫₁ᴿ x^{-p} dx = (R^{1-p} - 1)/(1 - p). If p > 1, this tends to 1/(p - 1). If p < 1, it tends to +∞. For p = 1, ∫₁ᴿ dx/x = ln R → ∞. The second statement is proved with ∫_η¹ x^{-p} dx = (1 - η^{1-p})/(1 - p). ∎

Python Partial integrals of p-integrals

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The values level off for p = 2 on [1, ∞) (limit 1) and for p = 0.5 on (0, 1] (limit 2); they grow without bound in the other cases.

Comparison test

If 0 ≤ f ≤ g on [a, ∞) and ∫ g converges, then ∫ f converges; if ∫ f diverges, so does ∫ g. Example: 1/(1 + x²) ≤ 1/x² for x ≥ 1, so ∫₁^∞ dx/(1 + x²) converges. Indeed its value is π/4, since an antiderivative is arctan x.

Python Comparison test in numbers

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Lebesgue's criterion

Which bounded functions on [a, b] are Riemann integrable? The complete answer uses the idea of a set of measure zero: a set E ⊂ ℝ has measure zero if, for every ε > 0, E can be covered by countably many open intervals whose total length is less than ε. Every countable set (like ℚ) has measure zero.

Theorem (Lebesgue's criterion). A bounded function f : [a, b] → ℝ is Riemann integrable if and only if the set of points where f is discontinuous has measure zero.

We will not prove it here, but it explains our earlier examples:

  • Dirichlet function: discontinuous at every point, not measure zero, not integrable.
  • Monotone functions: discontinuities are countable, so measure zero, so integrable.
  • Continuous functions and functions with finitely many jumps: integrable.

Thomae's function is t(x) = 1/q if x = p/q in lowest terms (with q ≥ 1), and t(x) = 0 if x is irrational. It is continuous at every irrational point and discontinuous at every rational point. The discontinuity set ℚ ∩ [0, 1] is countable, so measure zero; thus t is Riemann integrable, with ∫₀¹ t = 0.

Why continuity at irrationals: given ε > 0, only finitely many rationals in [0, 1] have denominator q ≤ 1/ε, so a small neighborhood of an irrational x avoids them all and t < ε there.

Python Thomae's function: how few values are large

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The last estimate is a heuristic illustration: it ignores rationals with larger denominators (whose values are below 1/60), so the printed numbers are slightly below the true upper sums, which also tend to 0.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. For which p does the integral of x^(-p) over [1, infinity) converge?

    For p > 1 the partial integrals tend to 1/(p-1); for p at most 1 they grow without bound.
  2. 2. For which p does the integral of x^(-p) over (0, 1] converge?

    Near 0 the function x^(-p) is integrable only when the singularity is milder than 1/x.
  3. 3. Lebesgue's criterion says a bounded f is Riemann integrable iff:

    Continuity almost everywhere, in the measure-zero sense, is exactly what is needed.
  4. 4. Thomae's function is:

    Its discontinuities are the rationals, a countable set of measure zero, so Lebesgue's criterion gives integrability.

Summary

  • Improper integrals are limits of proper integrals over expanding or shrinking intervals; they converge when the limit is finite.
  • ∫₁^∞ x^{-p} converges iff p > 1; ∫₀¹ x^{-p} converges iff p < 1. The comparison test extends this to other functions.
  • Lebesgue's criterion: a bounded function is Riemann integrable iff its discontinuity set has measure zero.
  • Thomae's function is discontinuous at every rational and yet integrable with integral 0.

Next: Pointwise and Uniform Convergence

Theo dõi tiến độ của bạn

Tạo tài khoản miễn phí để đánh dấu bài đã học và tiếp tục từ chỗ bạn dừng lại trên mọi thiết bị.