Riemann Sum — Left Endpoint Approximation
Problem
Approximate the area under y = x² from 0 to 4 using 8 left-endpoint rectangles.
Explanation
A Riemann sum approximates the area under a curve by stacking rectangles. The "left-endpoint" version uses the function value at the left side of each subinterval to determine the rectangle's height. For an increasing function, this systematically underestimates the true area.
The Setup
Divide into equal subintervals of width:
The left endpoints are for . The left Riemann sum is:
Step-by-Step Solution
Given: , , , .
Find: The left-endpoint Riemann sum .
Step 1 — Compute .
Step 2 — List the left endpoints.
Step 3 — Evaluate at each.
Step 4 — Sum the function values.
Step 5 — Multiply by .
Step 6 — Compare to the exact value.
The error is , or about 18% underestimation. This makes sense: is increasing, so the left endpoint of each subinterval is the lowest value of on that subinterval — every rectangle sits below the curve.
Answer: The left-endpoint Riemann sum with rectangles is
This underestimates the exact area by approximately 3.83 square units (≈ 18% error). To improve the estimate, use more rectangles, switch to right or midpoint sums, or use Simpson's rule.
Try It
- Adjust n (number of rectangles) — watch the error shrink as grows.
- Toggle show exact area to see the true area highlighted in green.
- The HUD shows the computed alongside the exact value for comparison.
- Notice how every rectangle's top-left corner touches the curve — that's the defining feature of a left Riemann sum.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.