Limits of Riemann Sums

Reading the limit

With nn subintervals of equal width and right endpoints, the limit that defines the integral of ff from aa to bb is
∫abf(x) dx=lim⁡n→∞∑i=1nf ⁣(a+i b−an)b−an.\int_{a}^{b} f(x)\,dx = \lim_{n \to \infty} \sum_{i=1}^{n} f\!\left(a + i\,\frac{b-a}{n}\right)\frac{b-a}{n}.
Three things can be read off a limit written this way. The factor outside ff is the width Δx=b−an\Delta x = \frac{b-a}{n}, and its numerator is the length of the interval. The expression inside ff is the right endpoint xi=a+i Δxx_i = a + i\,\Delta x, and its constant term is the lower limit aa. Finally, ff is whatever is done to xix_i.

More than one correct answer

The choice of xix_i in Example 1 wasn't forced. The constant 11 in the exponent could belong to the function instead of to the endpoint.
The usual mistake mixes the two answers. It takes the lower limit 00 from Example 2 and the function from Example 1, which gives the region under y=exy = e^x from 00 to 22. Its heights run from 11 to about 7.47.4, where the correct region's run from about 2.72.7 to about 20.120.1, so its area is much smaller.

When the width doesn't match

In Example 1 the factor outside ff matched the step inside it: both were 2n\frac{2}{n}. When they don't match, the integral can be written two ways. One keeps the factor outside as Δx\Delta x and makes the step inside part of the function. The other rewrites the factor outside to match the step. Example 3 does both.
Dropping the 12\frac{1}{2} is the usual mistake here. It leaves the integral of the exponential from 00 to 22, which is twice the correct value.

A limit that is an area

Sometimes the function is a line or a piece of a circle, and its graph stays on or above the axis. Then the integral is an area, an area formula evaluates it, and the limit needs no summation formulas at all. The properties lesson takes up graphs that go below the axis.

From an integral to a limit

Going the other way takes the same three parts. Find Δx\Delta x from the length of the interval, write the right endpoint xi=a+i Δxx_i = a + i\,\Delta x, and put xix_i into ff.

Left endpoints

Left endpoints start one step earlier. The left endpoint of the ii-th subinterval is xi−1=a+(i−1) Δxx_{i-1} = a + (i - 1)\,\Delta x, so the first one is aa itself and the last is b−Δxb - \Delta x.