Under the line from to the height changes at every point, so no single rectangle fits the region. A rectangle of height covers the region and the empty space above the line, and a rectangle of height misses the region entirely, which only shows that
This page cuts the interval into equal strips, adds the areas of rectangles whose heights come from the ends of the strips, and takes the limit as the strips get thinner. The limit is exactly , and the same construction defines the integral when the graph is curved.
Key terms
Riemann sum
Definition Let be a function on with . A partition of is a finite list of points
which cuts into the pieces with widths . Choose a sample point in each piece . The number
is a Riemann sum of for this partition and these sample points.
In plain words Replace the region by a row of rectangles, each as wide as its piece and as tall as the graph at the chosen point, and add their areas. Where is negative the rectangle hangs below the axis and its term is negative, which matches the signed area that an integral measures.
Example For on , take the partition and the sample points , and , one in each piece. The widths are , and , so the Riemann sum is
This estimate, , is close to the area of the triangle under the line but not equal to it.
Regular partition and mesh width
Definition The mesh width of a partition is the width of its widest piece,
A regular partition of into pieces uses the equal width and the points for . Its mesh width is itself, so for regular partitions the mesh width approaches exactly when .
In plain words The mesh width measures how coarse a partition is at its coarsest place. Equal pieces are the simplest way to make every piece thin at once. With unequal pieces, adding more pieces does not by itself shrink the mesh width. A partition that keeps as one piece and cuts into a thousand pieces still has mesh width .
Example The regular partition of into pieces has width and points . For the points are , , , and , and the mesh width is . The partition of the Riemann sum example has two pieces of width , but its mesh width is . In this notation counts the pieces, while labels one point or one piece.
Right-endpoint sum
Definition For the regular partition of into pieces, the right-endpoint sum uses the right end of each piece as its sample point,
If is nondecreasing on , each right end gives the largest height on its piece, so . If is nonincreasing, each right end gives the smallest height, so .
In plain words Each rectangle touches the graph at its upper right corner. On a rising graph the rest of its top sits on or above the graph, so the right-endpoint rectangles cover the region and overestimate its area.
Example For the integral , use equal strips and right endpoints, so the mesh width is . The th strip has height and width , so
Write once forward and once backward, one row above the other. Each of the columns adds to , so twice the sum is , for odd as well as even . Hence
The term is the total overshoot. Each rectangle sticks out above the line by a small triangle with both legs , of area , and there are of them.
Left-endpoint sum
Definition For the same regular partition, the left-endpoint sum uses the left end of each piece ,
For every the two endpoint sums share every height except , which only uses, and , which only uses, so . Every monotone function on is integrable, and if is nondecreasing on , then
If is nonincreasing on , both inequalities reverse.
In plain words Each rectangle touches the graph at its upper left corner. On a rising graph the left rectangles fit under the graph and the right rectangles cover it, so the true area is trapped between the two sums, in a gap proportional to the strip width.
Example For on , the left heights are , so
Because is increasing, , and the gap is , which is . For the bracket is .
Limit of Riemann sums
Definition Let be a function on with . The Riemann sums of converge to a number as the mesh width approaches if for every there is a such that
for every partition with mesh width less than and every choice of sample points. Then is integrable on and . Every continuous function on is integrable. For an integrable , the sums of regular partitions approach the integral as with any sample points, and in particular
Convergent endpoint sums alone do not prove that a function is integrable. On , the function equal to at rational numbers and at irrational numbers has for every , because every point is rational, yet sample points chosen irrational give sums equal to , so the function is not integrable.
In plain words The integral is the number the rectangle sums settle on as every strip becomes thin, whichever heights inside the strips are used. No sum with finitely many strips has to equal it, and no strip of width zero is ever drawn. The of the integral takes the place of the positive widths of the sums.
Example The function is continuous on , so it is integrable, and the regular partitions with right endpoints have mesh width , which approaches . The right-endpoint sums , and are each above by . Since ,
The left-endpoint sums have the same limit. The triangle with base and height has area , which confirms the value.
Check yourself
- Compute the right-endpoint sum and the left-endpoint sum for . Between which two numbers must the integral lie?
Show the answer
The width is and the points are , , , and . The right heights , , and add to , so . The left heights , , and add to , so . Because is increasing,
The gap is . The triangle with base and height has area , which lies inside the bracket.
- Use right-endpoint sums of regular partitions to find as a limit.
Show the answer
With pieces, and , so the th height is . Then
The function is continuous on , so it is integrable, and the mesh width approaches . Hence
The triangle with base and height has area as well.
- A classmate says that right-endpoint sums always overestimate an integral. Test the claim on by finding and .
Show the answer
The right heights are for , so
The left heights are , and the same steps give . Both sums approach , the area of the triangle under , but here for every . The function is decreasing, so each right end gives the smallest height on its piece and the right rectangles fit under the graph. The claim is false. Whether a right-endpoint sum overestimates depends on how the function behaves on each piece, and for a function that rises and then falls it can go either way.