Real Analysis · Undergraduate
The Riemann Integral: Upper and Lower Sums
Quick answer
For a bounded function on [a, b] and a partition P, the lower sum L(f, P) uses the smallest value of f on each piece and the upper sum U(f, P) the largest. The function is integrable when the largest lower sum and the smallest upper sum agree, and that common value is the integral. Equivalently, for every ε > 0 some partition has U(f, P) − L(f, P) < ε. Monotone and continuous functions pass this test; the Dirichlet function, 1 on rationals and 0 on irrationals, does not.
What you'll learn
- Compute upper and lower sums for a partition
- State the definition of the Riemann (Darboux) integral
- Use the criterion U − L < ε to prove integrability
- Show the Dirichlet function is not integrable
Squeezing the area
Let be bounded on and let with be a partition. On the th piece, let and be the infimum and supremum of , and :
Adding points to a partition raises lower sums and lowers upper sums, so every lower sum is at most every upper sum. The function is integrable when , and this number is . These are the Riemann sums of calculus with the most extreme choice of sample point.
- y = x
Why U − L < ε is the right test
If some partition has , then . Since this holds for every , the gap between and is , and is integrable. The converse holds too, by taking a partition fine enough for both. For an increasing and equal pieces, the sum telescopes: , which shrinks to . For continuous , uniform continuity makes every small at once.
Worked examples
Common mistakes
Practice problems
-
Find for on with .
Answer
Full solution
is increasing, so is the left value: .
-
Find for on with .
Answer
Full solution
.
-
For on with equal pieces, find .
Answer
Full solution
.
-
For on , how many equal pieces make ?
Answer
Full solution
.
-
Find for on with .
Answer
Full solution
is decreasing, so is the right value: .
-
Find for on with .
Answer
Full solution
The left values: .
-
Is the Dirichlet function integrable on ?
Answer
No
Full solution
Every lower sum is and every upper sum is .
-
For on with equal pieces, a student claims . Find .
Answer
Full solution
.
Frequently asked questions
What are upper and lower sums?
For a partition of [a, b], the lower sum adds (smallest value of f on each piece) × (piece width), and the upper sum uses the largest value.
When is a function Riemann integrable?
When the supremum of the lower sums equals the infimum of the upper sums. That common number is the integral.
What is the integrability criterion?
f is integrable if and only if for every ε > 0 there is a partition P with U(f, P) − L(f, P) < ε.
Which functions are integrable?
Every monotone function and every continuous function on [a, b]. The Dirichlet function is a standard example that is not.