Math Core

Lesson 8.3 · Applications of Integration

Area between curves

You know that ∫abf(x) dx\int_a^b f(x)\,dx gives the area under a positive curve. The next step is the area of a region trapped between two curves. It is one of the most common setups on the AP exam, and the same "top minus bottom" thinking is the foundation for the volume lessons later in this unit.

Top minus bottom

Suppose f(x)≥g(x)f(x) \ge g(x) for every xx in [a,b][a, b]. Slice the region into thin vertical rectangles of width Δx\Delta x. A rectangle at position xx reaches from the lower curve up to the upper curve, so its height is f(x)−g(x)f(x) - g(x) and its area is about (f(x)−g(x))Δx\big(f(x) - g(x)\big)\Delta x. Adding the rectangles and letting Δx→0\Delta x \to 0 gives an integral.

Area between two curves

If f(x)≥g(x)f(x) \ge g(x) on [a,b][a, b], the area of the region between them is

A=∫ab(f(x)−g(x)) dx=∫ab(top−bottom) dx.A = \int_a^b \big(f(x) - g(x)\big)\,dx = \int_a^b (\text{top} - \text{bottom})\,dx.

This works even when part of the region is below the xx-axis. The height of a slice is always top minus bottom, whatever the signs of the two functions.

The four-step method

  1. Sketch the curves (or picture them on a calculator) so you know which is on top.
  2. Find the intersections by solving f(x)=g(x)f(x) = g(x). If the problem doesn't give aa and bb, these are your limits.
  3. Set up ∫ab(top−bottom) dx\int_a^b (\text{top} - \text{bottom})\,dx.
  4. Evaluate. The answer must be positive; a negative area means you subtracted in the wrong order.
The region between y = 2x + 3 (top) and y = x² (bottom). A vertical slice has height (2x + 3) − x².Open in grapher →

When the curves cross

If the curves trade places inside the interval, "top" changes. Split the integral at each crossing point and use the correct order on each piece. Equivalently, the area is

A=∫ab∣f(x)−g(x)∣ dx,A = \int_a^b |f(x) - g(x)|\,dx,

which is exactly what you type into a calculator. Without a calculator, you must split by hand.

Common mistake

Don't integrate f−gf - g straight across a crossing point. The positive and negative pieces cancel and you get a number smaller than the true area, sometimes even 0. Always check for intersections inside [a,b][a, b], not only at the ends.

Worked examples

Worked example: Limits from the intersections

Find the area of the region bounded by y=x2y = x^2 and y=2x+3y = 2x + 3.

Solution. Intersections: x2=2x+3x^2 = 2x + 3 gives x2−2x−3=0x^2 - 2x - 3 = 0, so (x−3)(x+1)=0(x - 3)(x + 1) = 0 and x=−1x = -1 or x=3x = 3. At x=0x = 0 the line is at 3 and the parabola at 0, so the line is on top.

A=∫−13(2x+3−x2) dx=[x2+3x−x33]−13=(9+9−9)−(1−3+13)=9+53=323.\begin{aligned} A &= \int_{-1}^{3} \big(2x + 3 - x^2\big)\,dx = \left[x^2 + 3x - \frac{x^3}{3}\right]_{-1}^{3} \\ &= (9 + 9 - 9) - \left(1 - 3 + \frac{1}{3}\right) = 9 + \frac{5}{3} = \frac{32}{3}. \end{aligned}

Worked example: A parabola and a line through the origin

Find the area of the region between y=4x−x2y = 4x - x^2 and y=xy = x.

Solution. 4x−x2=x4x - x^2 = x gives x(3−x)=0x(3 - x) = 0, so x=0x = 0 and x=3x = 3. Testing x=1x = 1: the parabola is at 3 and the line at 1, so the parabola is on top.

A=∫03(4x−x2−x) dx=∫03(3x−x2) dx=[3x22−x33]03=272−9=92.A = \int_0^3 \big(4x - x^2 - x\big)\,dx = \int_0^3 (3x - x^2)\,dx = \left[\frac{3x^2}{2} - \frac{x^3}{3}\right]_0^3 = \frac{27}{2} - 9 = \frac{9}{2}.

Worked example: Curves that switch

Find the area between y=sin⁡xy = \sin x and y=cos⁡xy = \cos x on [0,π2]\left[0, \dfrac{\pi}{2}\right].

Solution. They cross where sin⁡x=cos⁡x\sin x = \cos x, at x=π4x = \dfrac{\pi}{4}. Cosine is on top before that and sine is on top after.

A=∫0π/4(cos⁡x−sin⁡x) dx+∫π/4π/2(sin⁡x−cos⁡x) dx=[sin⁡x+cos⁡x]0π/4+[−cos⁡x−sin⁡x]π/4π/2=(2−1)+(−1+2)=22−2.\begin{aligned} A &= \int_0^{\pi/4} (\cos x - \sin x)\,dx + \int_{\pi/4}^{\pi/2} (\sin x - \cos x)\,dx \\ &= \Big[\sin x + \cos x\Big]_0^{\pi/4} + \Big[-\cos x - \sin x\Big]_{\pi/4}^{\pi/2} \\ &= (\sqrt{2} - 1) + (-1 + \sqrt{2}) = 2\sqrt{2} - 2. \end{aligned}

If you had integrated cos⁡x−sin⁡x\cos x - \sin x over the whole interval, you would have gotten 0.

Between 0 and π/2 the curves cross at π/4, so the region is two pieces with different tops.Open in grapher →

Tip

To decide which curve is on top, plug one easy test value between the intersection points into both functions. It is faster and more reliable than guessing from memory of the graphs.

Calculator questions

On calculator-active AP questions, intersections are often not nice numbers. Store each intersection in your calculator at full precision, then integrate. Round only the final answer, to three decimal places, unless told otherwise.

Practice

Practice 1

Find the area of the region bounded by y=9−x2y = 9 - x^2 and the xx-axis.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Find the area of the region bounded by y=2xy = 2x and y=x2y = x^2.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Find the area of the region between y=xy = \sqrt{x} and y=x2y = x^2.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Which expression gives the area of the region enclosed by y=x3y = x^3 and y=xy = x?

Practice 5

Find the area of the region bounded by y=x2−4xy = x^2 - 4x and y=2x−x2y = 2x - x^2.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

Find the area of the region bounded by y=exy = e^x, y=1y = 1 and x=ln⁡3x = \ln 3. Round to the nearest thousandth.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Calculator allowed. Find the area of the region enclosed by y=cos⁡xy = \cos x and y=x2y = x^2. Round to the nearest thousandth.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.