Blog · Calculus guides · 27 October 2026 · 4 min read
Riemann Sums: Left, Right, Midpoint & Practice Problems

A Riemann sum estimates the area under a curve by cutting into strips of width , building a rectangle on each strip and adding up the areas. The left, right and midpoint sums differ only in where each rectangle takes its height: the left edge, the right edge or the middle of its strip. As grows, every version closes in on the definite integral .
The formula
Rectangles all the way down. The only decision you ever make is where on the strip the rectangle gets measured.
When to use it
Use a Riemann sum when a question asks you to estimate an integral with a fixed number of rectangles, when you only have a table of values instead of a formula, or when you want to see why the integral means area at all. If the question just says "evaluate the integral" and hands you a function you can antidifferentiate, skip the rectangles and use the Fundamental Theorem of Calculus: it gives the exact answer that every Riemann sum is chasing.
How to do it, step by step
- Find the width. . Every strip is the same width, so you only do this once.
- List the sample points. Write out the points where you will measure the height: left edges start at , right edges end at , midpoints sit half a strip in from each.
- Evaluate at each one. A small table of and keeps this tidy and stops you skipping one.
- Add the heights, then multiply by . Factoring out saves multiplications and a lot of arithmetic mistakes.
Worked examples
Example 1: A left sum under a parabola
EasyEstimate the area under on with a left Riemann sum and .
The width is , so the strips are , , and . A left sum measures each rectangle at its left edge: .
The exact area is , so this is well under. That is no accident: is increasing here, so every left edge is the lowest point of its strip and every rectangle sits below the curve.
Answer
Example 2: A right sum for a decreasing function
MediumEstimate with a right Riemann sum and .
Here , and the right edges are . Note the first one is not : a right sum never uses the left end of the interval.
The exact value is . This time the right sum is the underestimate, because is decreasing, so the right edge is the low point of each strip. Left and right swap roles depending on which way the curve slopes.
Answer
Example 3: A midpoint sum with trig
HarderEstimate the area under one arch of on with a midpoint sum and .
The width is . The midpoints of the four strips are .
The sine curve is symmetric about , so and . That pairs the four terms into two, and the doubles to .
Numerically that is about . The exact area is , so with just four rectangles the midpoint sum is off by under 3%. Midpoints are usually the best of the three, because each rectangle overshoots on one half of its strip and undershoots on the other.
Answer
Your turn
Three to try, checked by the same machine that grades the game. Type the answer however you like; any correct form counts.
Problem 1
EasyFind the right Riemann sum with :
Problem 2
MediumFind the left Riemann sum with :
Problem 3
HarderFind the midpoint Riemann sum with :
Common mistakes
- Using points. Four rectangles need four heights. If your list has five, you have included both ends, which is a left sum and a right sum glued together.
- Forgetting to multiply by . Adding the heights gives you a total height, not an area. The width has to come in at the end.
- Mixing up which sum overestimates. For an increasing function, left sums are low and right sums are high. For a decreasing one it flips. Sketch the curve and one rectangle before you claim either.
- Midpoint of the wrong thing. The midpoint rule uses the middle of each strip's -interval, not the average of the two heights. Averaging the heights is the trapezoid rule, which is a different estimate.
Practice it now
Five minutes, no account
Asymptote has no Riemann-sum problems: nobody wants to type sixteen rectangles into a timer. What it does have is the thing they converge to, definite integrals, which turn up in a Sprint from about the third problem.
FAQ
- What is the difference between left, right and midpoint Riemann sums?
- Only where each rectangle's height is measured: at the left end of its strip, the right end, or the middle. The widths, the number of rectangles and the adding up are identical.
- Is a Riemann sum the same as a definite integral?
- Not quite. A Riemann sum is an estimate with a fixed number of rectangles. The definite integral is the limit of those sums as and the strips get infinitely thin.
- Which Riemann sum is most accurate?
- Usually the midpoint sum. Its error shrinks like , while left and right sums shrink like , so doubling cuts the midpoint error by about four.
- How do I know if a Riemann sum is an overestimate?
- For left and right sums, look at whether the function is increasing or decreasing on the interval. For midpoint sums, look at concavity instead: a concave-down curve like one arch of gives an overestimate.
- Where can I find Riemann sums practice problems?
- Right on this page: "Your turn" has three Riemann sums practice problems, easy, medium and harder, checked as you type by the same checker that grades Asymptote, with the answer and the first step if you miss. For more practice against the clock, a five-minute Sprint is free and needs no account.
Keep going
Partial Fractions: Steps, Examples & Practice Problems
How to integrate a rational function with partial fractions: factor, split, solve, integrate. Three worked examples and three practice problems to try.
U-Substitution: Steps, Examples & Practice Problems
How to integrate by u-substitution: choosing u, the four steps, three worked examples including a back-substitution, and three practice problems.
Integration by Parts: Formula, Examples & Practice Problems
How to integrate a product by parts: the formula, choosing u with LIATE, three worked examples and three practice problems checked as you type.