Upper Sum — Definition, Formula & Example
An upper sum is an estimate of the area under a curve. You build it from rectangles whose heights equal the largest value of the function on each subinterval, so the rectangles never fall below the curve.
Let be bounded on , and let be a partition with . The upper sum of with respect to is . Here is the supremum (least upper bound) of on and . For every partition , the lower sum satisfies . A bounded is Riemann integrable on when the greatest lower bound of all upper sums equals the least upper bound of all lower sums.
Key Formula
Where:
- = Upper sum of for the partition
- = Largest value (supremum) of on the th subinterval; for a continuous this is the maximum
- = Width of the th subinterval,
- = Number of subintervals in the partition
Worked Example
Problem: Find the upper sum for on using 3 subintervals of equal width. Compare it with the right-endpoint sum and the exact area.
Step 1: Find the width and the partition.
Step 2: Find the largest value of on each subinterval. decreases on , so its maximum there is at the left endpoint; it increases on , so the maximum is at the right endpoint.
Step 3: Multiply each maximum by the width and add.
Step 4: Compare. The right-endpoint sum uses on the first subinterval, which is the minimum there, not the maximum.
Answer: The upper sum is . The right-endpoint sum is only , because on the largest value is at the left endpoint. The upper sum is at least the exact area, .
Why It Matters
Upper and lower sums trap the exact value of a definite integral between two numbers. On the AP Calculus exam, you may need to say whether a Riemann sum is an overestimate or an underestimate, and that reasoning is closely related to the upper-sum idea. In many college real analysis courses, the Riemann integral is defined using upper and lower sums; other textbooks start from Riemann sums and show that the two approaches agree.
Common Mistakes
Mistake: Treating the upper sum as the same thing as the right-endpoint sum.
Correction: Right endpoints are guaranteed to give the maximum when is increasing (or non-decreasing); in general you must check where the largest value on each subinterval occurs. For a decreasing function, the maximum on each subinterval is at the left endpoint. If rises and then falls inside an interval, the maximum may be at an interior point. Always find the largest value on each subinterval.
