Skip to content
Tutorials Center
My learning

Topics

Lesson 28 of 37 · The Riemann Integral

Integrable Functions and Their Properties

Prove that continuous and monotone functions are Riemann integrable, learn linearity, monotonicity, additivity and the triangle inequality, and test them in code.

Riemann's criterion tells us what integrability means; now we need to know which functions have it. Two large classes are easy to certify: monotone functions and continuous functions. After that we collect the algebraic properties of the integral that you use constantly.

Monotone functions are integrable

Theorem. If f is monotone on [a, b], then f is Riemann integrable.

Proof. Say f is increasing (the other case is symmetric). Then f is bounded by f(a) and f(b). Take the uniform partition with n pieces, each of width Δ = (b - a)/n. On each piece Mᵢ = f(xᵢ) and mᵢ = f(x_{i-1}), so

Text
U - L = Σ ( f(xᵢ) - f(x_{i-1}) ) Δ = ( f(b) - f(a) ) Δ,

since the sum telescopes. Choose n large enough that (f(b) - f(a))(b - a)/n < ε. ∎

Monotone functions can have infinitely many jumps (a countable set of them), yet are still integrable.

Continuous functions are integrable

Theorem. If f is continuous on [a, b], then f is Riemann integrable.

Proof. A continuous function on [a, b] is bounded and uniformly continuous. Given ε > 0, choose δ such that |x - y| < δ implies |f(x) - f(y)| < ε / (b - a). Take a partition with all widths less than δ. On each subinterval, the max and min of f (attained by the Extreme Value Theorem) are at points within δ of each other, so Mᵢ - mᵢ < ε/(b - a). Then

Text
U - L = Σ (Mᵢ - mᵢ) Δxᵢ < ε/(b - a) · Σ Δxᵢ = ε. ∎

This is exactly where uniform continuity pays off: a single mesh size works across the whole interval.

Python Mesh needed for a continuous function

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 gap decreases toward 0 as the mesh shrinks. (The sampling approximates the true sup and inf, so this illustrates the theorem rather than proving it.)

Piecewise and bounded functions with finitely many jumps

If f is bounded on [a, b] and continuous except at finitely many points, then f is integrable. The idea: cover each bad point with a tiny interval of width η; the contribution of those intervals to U - L is at most 2B·η per point (where |f| ≤ B), which can be made small, while on the remaining closed pieces f is continuous. A step function like f(x) = 0 for x < 1/2, f(x) = 1 for x ≥ 1/2 is monotone, so it is integrable, with integral 1/2 on [0, 1].

Properties of the integral

Let f, g be integrable on [a, b] and c a constant.

  1. Linearity. f + g and c f are integrable, ∫(f + g) = ∫f + ∫g, ∫ c f = c ∫ f.
  2. Monotonicity. If f ≤ g on [a, b], then ∫ f ≤ ∫ g. In particular, f ≥ 0 implies ∫ f ≥ 0.
  3. Products and absolute value. f g and |f| are integrable, and the triangle inequality holds: |∫ f| ≤ ∫ |f|.
  4. Additivity over intervals. For a < c < b, ∫ₐᵇ f = ∫ₐᶜ f + ∫ᶜᵇ f. We also define ∫ᵇₐ f = -∫ₐᵇ f.
  5. Bounds. If m ≤ f ≤ M, then m(b - a) ≤ ∫ₐᵇ f ≤ M(b - a).

Why the triangle inequality: -|f| ≤ f ≤ |f|, so by monotonicity and linearity -∫|f| ≤ ∫ f ≤ ∫|f|.

Python Checking the properties with Riemann sums

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 converse of "|f| integrable" is false: f(x) = 1 at rationals and -1 at irrationals is not integrable, but |f| = 1 is. Integrability of |f| does not imply integrability of f; the implication goes the other way.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Why is a monotone function on [a, b] Riemann integrable?

    Monotone functions may have jumps, but the telescoping argument makes the gap shrink with the mesh.
  2. 2. Which property of continuous functions makes the integrability proof work?

    One delta controls the oscillation on every subinterval at once.
  3. 3. The triangle inequality for integrals states:

    From -|f| <= f <= |f| and monotonicity.
  4. 4. If 2 <= f(x) <= 5 on [1, 4], the integral of f over [1, 4] lies in:

    Multiply the bounds by the length b - a = 3: 23 = 6 and 53 = 15.

Summary

  • Monotone functions and continuous functions on [a, b] are Riemann integrable; so are bounded functions with finitely many discontinuities.
  • The proof for continuous functions uses uniform continuity; for monotone functions a telescoping sum.
  • The integral is linear, monotone, additive over intervals and satisfies |∫f| ≤ ∫|f|.
  • |f| being integrable does not guarantee that f is.

Next: The Fundamental Theorem of Calculus