Generate a follow-up sub-lesson on any aspect of this topic
Guide complete
Riemann Sums: Area To Definite Integrals
Generate a follow-up sub-lesson on any aspect of this topic
Riemann Sums: Area To Definite Integrals
Learn to approximate area under a curve with rectangles, predict whether your estimate is high or low, and see how shrinking rectangle widths turns a sum into the definite integral notation you use in calculus.
You want the area under a curve, but the shape is not a neat rectangle or triangle. Riemann sums handle that by chopping the interval into thin slices and pretending each slice is a rectangle whose height comes from the function. The trick is that you are not trying to be perfect at first. You are trying to be systematic, so you can improve the estimate whenever you want and understand what the definite integral is really measuring.
See what these rectangle estimates look like on the same curve.
A Riemann sum is an area estimate made by adding up areas of rectangles under (or over) the graph of on an interval .
You choose some rectangles, compute each rectangle’s area as base times height, then add. The base is a small width along the -axis. The height is the function value at a chosen point in that slice. If the curve is above the axis, you are estimating positive area. If parts dip below, the rectangles contribute negative area, which is why integrals are often described as signed area.
Rectangles first
The power of Riemann sums is not the rectangles. It is the repeatable recipe that lets you make them thinner and watch the estimate stabilize.
Start with the interval and split it into equal pieces. That split is called a partition. Each piece has width
Now each rectangle has base . The only freedom left is the height.
A sample point is the point you pick in the th subinterval to decide the rectangle’s height . The star reminds you it is chosen by a rule, not automatically the left endpoint.
Once you have sample points, the sum looks like
Try constructing the pieces and watching the total build.
Three common sample point rules give three common Riemann sums.
They differ because a slanted curve cannot be captured by a single rectangle per slice. If is increasing, left rectangles tend to sit below the curve and right rectangles tend to stick above it. If is decreasing, that flips.
Explore how the methods line up and when each tends to overestimate.
Bias clue
If the function rises left to right, left sums usually underestimate and right sums usually overestimate. For decreasing functions, swap the conclusion.
Using more rectangles means using a smaller . Visually, each rectangle hugs the curve more closely. Numerically, each rectangle’s error shrinks, and there are more rectangles, but the total error often shrinks overall because the curve is not changing much within a tiny slice.
The key idea is convergence. As grows, the Riemann sum can settle toward a single number, even though you are still using rectangles. That settling value is what the definite integral is.
Move up and down and watch the estimate approach a limit.
The definite integral is the number you get when you push a Riemann sum to its limit with infinitely many infinitely thin rectangles.
Formally, for a function that behaves nicely on ,
The symbol is a stretched S for sum. The tells you the variable and hints at the width pieces. The bounds and tell you where you start and stop along the axis.
The subtle part is that the exact choice of sample points stops mattering in the limit for well behaved functions. Left, right, and midpoint sums may differ for small , but they can converge to the same value as .
See how the sigma notation turns into the integral notation.
Let on . Every rectangle has height 3 no matter where you sample. With rectangles, , so each rectangle’s area is . Adding identical rectangles gives
No approximation happened. The curve was already flat.
Let on . With rectangles, .
Left endpoints are , so the left sum is
Right endpoints are , so the right sum is
So and both squeeze toward as . That matches .
Let on . The curve bends upward, so midpoint sums usually beat left and right for the same because the midpoint height often tracks the slice’s average height better.
You can still write a sum, for example the right sum
The exact limit uses the known formula , which leads to . So .
Work through a few choices and notice what changes when you change the method or .
Curvature matters
When the graph bends, endpoints can miss the slice’s typical height. Midpoints often reduce that miss because they sample where the slice is centered.
Before you compute, decide what you need from the estimate.
When you have both a left and right sum, the true integral is trapped between them, so is a simple way to gauge how tight your estimate is. If you need it tighter, increase until that gap is small enough for your purpose.
Pick one function you can sketch, like on , and compute and by hand. If your numbers do not bracket , the issue is almost always an endpoint or slip.