6. Integration and Accumulation of Change

Approximating Areas With Riemann Sums

Approximating Areas with Riemann Sums

Introduction

When students wants to find the area under a curve, one common idea is to break the region into many small rectangles and add their areas. 📘 This is the basic idea behind Riemann sums, and it is one of the most important tools in calculus because it helps connect geometry, motion, and accumulation. In AP Calculus BC, this topic is a major step toward understanding definite integrals, the Fundamental Theorem of Calculus, and accumulated change.

By the end of this lesson, students should be able to:

  • explain what a Riemann sum is and why it works,
  • use left, right, and midpoint sums to approximate area,
  • interpret the meaning of $\Delta x$, sample points, and subintervals,
  • connect Riemann sums to the definite integral $\int_a^b f(x)\,dx$,
  • use examples to estimate area and accumulated change in real situations.

Think of a speedometer in a car 🚗. If speed changes every second, then distance traveled is not just one easy number. A Riemann sum helps estimate total distance by adding many small pieces of distance over time.

What a Riemann Sum Means

A Riemann sum is an approximation of area under a curve using rectangles. Suppose a function $f(x)$ is defined on the interval $[a,b]$. To build a Riemann sum, we split the interval into $n$ smaller parts. Each part has width

$$\Delta x = \frac{b-a}{n}$$

Then we choose a sample point in each subinterval. If the sample point in the $i$th subinterval is $x_i^*$, the rectangle area is approximately

$$f(x_i^*)\Delta x$$

Adding all the rectangles gives the Riemann sum

$$\sum_{i=1}^{n} f(x_i^*)\Delta x$$

This sum estimates the area under the graph of $f(x)$ from $x=a$ to $x=b$.

The key idea is that more rectangles usually give a better estimate. When $n$ gets larger, each rectangle gets thinner, and the approximation becomes more accurate. This is why Riemann sums are closely tied to the definite integral.

Left, Right, and Midpoint Sums

Different Riemann sums use different sample points. students should know the three most common types:

  • Left Riemann sum: use the left endpoint of each subinterval.
  • Right Riemann sum: use the right endpoint of each subinterval.
  • Midpoint Riemann sum: use the midpoint of each subinterval.

If the interval is $[a,b]$ and there are $n$ equal subintervals, then the $i$th left endpoint is

$$x_{i-1}=a+(i-1)\Delta x$$

and the $i$th right endpoint is

$$x_i=a+i\Delta x$$

The midpoint of the $i$th subinterval is

$$x_i^*=a+\left(i-\frac{1}{2}\right)\Delta x$$

For a function that is increasing, a left sum usually underestimates the area and a right sum usually overestimates it. For a decreasing function, the opposite happens. A midpoint sum often gives a better estimate than left or right sums because the rectangles can balance the error more effectively.

Example: Suppose $f(x)=x^2$ on $[0,2]$ with $n=2$. Then

$$\Delta x=\frac{2-0}{2}=1$$

For the left sum, use $x=0$ and $x=1$:

$$L_2=\big(f(0)+f(1)\big)\Delta x=(0^2+1^2)(1)=1$$

For the right sum, use $x=1$ and $x=2$:

$$R_2=\big(f(1)+f(2)\big)\Delta x=(1^2+2^2)(1)=5$$

The exact area is

$$\int_0^2 x^2\,dx=\frac{8}{3}$$

So $L_2$ underestimates and $R_2$ overestimates, which matches what we expect for an increasing function.

Building the Formula from a Table or Graph

On the AP exam, students may be asked to estimate area from a table of values or a graph. The process is the same: choose the interval, find $\Delta x$, pick sample points, and add rectangle areas.

If a table gives values of $f(x)$ at equally spaced points, then the widths are already known. For example, suppose the table gives

$$x: 0,1,2,3$$

$$f(x): 4,3,2,1$$

on $[0,3]$. If we use a left sum with $n=3$, then $\Delta x=1$ and

$$L_3=(f(0)+f(1)+f(2))\cdot 1=(4+3+2)=9$$

If we use a right sum, then

$$R_3=(f(1)+f(2)+f(3))\cdot 1=(3+2+1)=6$$

Because the function is decreasing, the left sum is an overestimate and the right sum is an underestimate.

This type of reasoning is important in AP Calculus BC because graphs and tables often represent real-world quantities such as population growth, water flow, or velocity. In those situations, the integral tells total accumulation, and the Riemann sum gives the estimate.

Why Riemann Sums Matter in Accumulation of Change

Riemann sums are not just about finding geometric area. They also represent accumulated change. If $v(t)$ is velocity, then the integral

$$\int_a^b v(t)\,dt$$

represents displacement over time. A Riemann sum estimates this by adding small pieces

$$\sum_{i=1}^{n} v(t_i^*)\Delta t$$

Each term is an estimate of distance traveled during a short time interval. This is a great example of accumulation: many tiny changes combine into one total amount.

Another example is water flowing into a tank 💧. If $r(t)$ is the rate of flow in liters per minute, then

$$\int_a^b r(t)\,dt$$

estimates the total liters added during the time interval $[a,b]$. A Riemann sum does the same thing by approximating the total from many small time slices.

This is why Riemann sums are one of the foundations of calculus. They help students understand that integrals are not just formulas; they describe how much total change happens when a rate is added over time or over distance.

Error and Accuracy

A Riemann sum is an approximation, not always the exact answer. The accuracy depends on how many rectangles are used and which sample points are chosen.

In general:

  • larger $n$ means smaller $\Delta x$ and better accuracy,
  • midpoint sums often give better estimates than left or right sums,
  • smoother functions tend to give better approximations than functions with sharp turns.

If the function is very curved, one or two rectangles may not fit the graph well. But if students uses many narrow rectangles, the top edges of the rectangles follow the curve more closely.

For example, the exact area under $f(x)=\sin x$ on $[0,\pi]$ is

$$\int_0^\pi \sin x\,dx=2$$

A small-number Riemann sum will be close, but not exact. As $n$ increases, the estimate improves.

This idea leads directly to the definition of the definite integral. In calculus, the exact area is found by taking the limit of Riemann sums:

$$\int_a^b f(x)\,dx=\lim_{n\to\infty}\sum_{i=1}^{n} f(x_i^*)\Delta x$$

This limit explains why Riemann sums are so important. They are the bridge between approximate area and exact area.

Conclusion

Riemann sums give students a practical way to estimate area under a curve by using rectangles. They also show how calculus measures accumulated change in the real world, from motion to fluid flow to population growth. Left, right, and midpoint sums each provide useful approximations, and increasing the number of rectangles improves accuracy. Most importantly, Riemann sums are the foundation of the definite integral and the larger study of integration in AP Calculus BC. 📚

Study Notes

  • A Riemann sum approximates area under a curve using rectangles.
  • The width of each rectangle is $\Delta x=\frac{b-a}{n}$.
  • A general Riemann sum has the form $\sum_{i=1}^{n} f(x_i^*)\Delta x$.
  • Left sums use left endpoints, right sums use right endpoints, and midpoint sums use midpoints.
  • For an increasing function, left sums usually underestimate and right sums usually overestimate.
  • For a decreasing function, left sums usually overestimate and right sums usually underestimate.
  • More rectangles usually means a better approximation.
  • Riemann sums connect directly to definite integrals through the limit $\int_a^b f(x)\,dx=\lim_{n\to\infty}\sum_{i=1}^{n} f(x_i^*)\Delta x$.
  • In applications, the function may represent a rate, and the integral gives total accumulated change.
  • Riemann sums are a core part of Integration and Accumulation of Change in AP Calculus BC.

Practice Quiz

5 questions to test your understanding