← Back to Calculus

Estimating Area with Slices

How do you find the area of a shape with a curved edge, or the distance travelled when speed keeps changing? Slice the problem into thin strips, add them up, and let the strips get infinitely thin.

Two problems, one idea

Integral calculus begins with two questions that look different but are the same underneath. First: what is the area under a curve \(y = f(x)\) between \(x = a\) and \(x = b\)? Second: if a car's velocity \(v(t)\) changes over time, how far does it travel? On a graph of velocity against time, distance is the area under the curve. Both are solved by adding up many small pieces.

Distance when speed is constant, and when it is not

At a constant 60 km/h for 2 hours you travel \(60 \times 2 = 120\) km, the area of a rectangle under a flat velocity graph. If speed changes, split the trip into short time intervals, pretend the speed is constant on each, and add the small distances. The shorter the intervals, the better the estimate. That is the entire strategy of this unit.

Rectangles under a curve

Divide \([a, b]\) into \(n\) equal subintervals of width \(\Delta x = \frac{b - a}{n}\). On each subinterval, build a rectangle whose height is the function's value at a chosen sample point. Using the left endpoint gives a left sum; the right endpoint gives a right sum; the midpoint gives a midpoint sum. Each rectangle's area is height times \(\Delta x\).

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

Worked example: area under x squared

Estimate the area under \(f(x) = x^2\) from \(0\) to \(2\) with \(n = 4\). Then \(\Delta x = 0.5\). Left endpoints \(0, 0.5, 1, 1.5\) give heights \(0, 0.25, 1, 2.25\), sum \(3.5\), so the left sum is \(3.5 \times 0.5 = 1.75\). Right endpoints \(0.5, 1, 1.5, 2\) give \(0.25 + 1 + 2.25 + 4 = 7.5\), so the right sum is \(3.75\). The true area, \(\frac{8}{3} \approx 2.67\), lies between them.

L_4 = 1.75,\quad R_4 = 3.75,\quad A = \tfrac{8}{3}

Overestimates and underestimates

For an increasing function, left sums underestimate the area because each rectangle uses the lowest height on its strip, and right sums overestimate. For a decreasing function the roles reverse. Midpoint sums are often much more accurate than either, because the overshoot and undershoot on each strip partly cancel.

Sigma notation

Long sums are written compactly with the Greek letter sigma. \(\sum_{i=1}^{n} f(x_i)\,\Delta x\) means: for each \(i\) from \(1\) to \(n\), compute \(f(x_i)\Delta x\), then add them all. Useful formulas include \(\sum_{i=1}^n i = \frac{n(n+1)}{2}\) and \(\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}\), which let you compute sums with many terms exactly.

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

Riemann sums

A sum of the form \(\sum f(x_i^*)\Delta x\), with any sample point \(x_i^*\) in each subinterval, is called a Riemann sum, after Bernhard Riemann. Left, right, and midpoint sums are special cases. As \(n\) grows, the strips get thinner and all reasonable Riemann sums for a continuous function close in on the same number.

Taking the limit

The exact area is the limit of Riemann sums as the number of strips goes to infinity. For \(x^2\) on \([0, 1]\) with right endpoints, the sum is \(\frac{1}{n^3}\sum i^2 = \frac{(n+1)(2n+1)}{6n^2}\), which approaches \(\frac{2}{6} = \frac{1}{3}\). This limit process is exact, but slow; the next lesson gives a shortcut.

A = \lim_{n\to\infty} \sum_{i=1}^{n} f(x_i)\,\Delta x

Signed area

When a function dips below the \(x\)-axis, its Riemann sum terms are negative, because \(f(x_i)\) is negative. The limit then gives signed area: area above the axis counts as positive and area below counts as negative. For velocity, this matches displacement: moving backwards subtracts from your net position.

The trapezoid rule

Instead of rectangles, you can use trapezoids that connect the curve's values at both ends of each strip. The trapezoid estimate is the average of the left and right sums. For \(x^2\) on \([0, 2]\) with \(n = 4\), it gives \(\frac{1.75 + 3.75}{2} = 2.75\), much closer to \(\frac{8}{3}\). Engineers and software use such rules to integrate data that has no formula.

Common mistakes

Using \(n\) sample points but the wrong width, such as \(\Delta x = \frac{1}{n}\) on an interval that is not length 1. Including both endpoints in a left sum, which adds an extra rectangle. Forgetting to multiply the heights by \(\Delta x\). Treating area below the axis as positive when the question asks for a net (signed) value.

Try it yourself

Estimate the area under \(f(x) = 2x + 1\) on \([0, 4]\) with a right sum and \(n = 4\). Answer: \(\Delta x = 1\); right endpoints \(1, 2, 3, 4\) give heights \(3, 5, 7, 9\), so \(R_4 = 24\). The exact area of this trapezoid is \(\frac{(1 + 9)}{2} \cdot 4 = 20\); the right sum overestimates because \(f\) is increasing.

Key takeaways

Area and distance are found by slicing into thin strips and adding. Riemann sums use rectangles of width \(\Delta x\) and heights from sample points. Left and right sums bracket the true area for monotonic functions. The exact value is the limit as \(n \to \infty\), and area below the axis counts as negative.

Flashcard

Area problem

Find the area under a curve

Solved by slicing into rectangles and taking a limit.

Check your understanding

For an increasing function, how does a left Riemann sum compare to the true area?

Take the unit quiz

← Previous lesson Next lesson →