AP Calculus AB · Topic 8.4 · Reading guide, about 5 min

Area between two curves, slicing vertically

Find the area between two curves y=f(x) and y=g(x) by integrating top minus bottom from one intersection to the next.

In one minute

The area under one curve is an integral. The area between two curves is the same idea with a difference: slice the region into thin vertical strips, find the height of each strip as top minus bottom, and add them up with an integral. The answer is always a positive number because each strip has positive height.

The work is mostly setup. You decide which curve is on top, find where the curves meet, and write one clean integral.

Key terms

Region between curves
The set of points between the graphs of y=f(x)y=f(x) and y=g(x)y=g(x) over some range of xx.
Vertical slice
A thin rectangle of width dxdx whose height runs from the lower curve up to the upper curve.
Top curve
The curve with the larger y-value at a given x; the strip height is its y minus the other curve y.
Bottom curve
The curve with the smaller y-value at a given x.
Intersection points
Values of xx where f(x)=g(x)f(x)=g(x); they usually mark the left and right limits of the region.
Limits of integration
The left and right x-values, aa and bb, of the region being measured.
Area formula
A=∫ab(f(x)−g(x)) dxA=\int_a^b\big(f(x)-g(x)\big)\,dx when f(x)≥g(x)f(x)\ge g(x) on [a,b][a, b].
Boundary lines
Vertical lines such as x=0x=0 or x=3x=3 that may cut off the region instead of an intersection.

Building the integral

Imagine a vertical strip at position xx with tiny width dxdx. Its height is the upper curve minus the lower curve, so its area is (f(x)−g(x)) dx\big(f(x)-g(x)\big)\,dx. Adding strips from x=ax=a to x=bx=b gives A=∫ab(f(x)−g(x)) dxA=\int_a^b\big(f(x)-g(x)\big)\,dx. Subtracting top minus bottom works whether the curves are above or below the x-axis, because the difference is the actual vertical gap.

The limits come from one of two places. Often they are the x-coordinates of intersection points, found by setting f(x)=g(x)f(x)=g(x) and solving. Sometimes a problem gives vertical lines like x=0x=0 or x=2x=2 as the sides. Then use those as limits, even when the curves keep going.

Always sketch the region, even roughly. A sketch shows which curve is on top and warns you if the curves cross somewhere you did not expect. If a sketch is not possible, test one x-value in the interval for each curve.

Finding intersections

For simple curves, set the two expressions equal and solve by factoring or the quadratic formula. For something like ex=x+3e^x=x+3 there is no algebra that works, so use a graphing calculator to find the intersection values, store them, and use them as limits. Report the setup before the numerical result.

Check each intersection by plugging it into both functions. If the two outputs disagree, the solve went wrong.

Checklist for a vertical-slice area
StepWhat to doWhy
SketchDraw both curves and shade the regionShows which curve is on top
IntersectionsSolve f(x)=g(x)f(x)=g(x)Gives the left and right limits
Set upWrite ∫ab(top−bottom) dx\int_a^b(\text{top}-\text{bottom})\,dxStrip height times width, added up
EvaluateUse an antiderivative or a calculatorGives a positive number with area units

A fully worked example

Find the area of the region between y=x+2y=x+2 and y=x2y=x^2.

Step 1, intersections. Set x2=x+2x^2=x+2, so x2−x−2=0x^2-x-2=0, which factors as (x−2)(x+1)=0(x-2)(x+1)=0. The curves meet at x=−1x=-1 and x=2x=2. Check: at x=−1x=-1 both equal 1, and at x=2x=2 both equal 4.

Step 2, top and bottom. Test x=0x=0: the line gives 2 and the parabola gives 0. So the line is on top across [−1,2][-1, 2].

Step 3, integral. A=∫−12((x+2)−x2) dxA=\int_{-1}^{2}\big((x+2)-x^2\big)\,dx.

Step 4, antiderivative. x22+2x−x33\frac{x^2}{2}+2x-\frac{x^3}{3}. At x=2x=2 this is 2+4−83=1032+4-\frac83=\frac{10}{3}. At x=−1x=-1 it is 12−2+13=−76\frac12-2+\frac13=-\frac76.

Step 5, subtract. 103−(−76)=206+76=276=92\frac{10}{3}-\left(-\frac76\right)=\frac{20}{6}+\frac76=\frac{27}{6}=\frac92. The area is 4.54.5 square units.

Variations to expect

One boundary may be the x-axis, which is the curve y=0y=0. Then the strip height is just the other function, and you recover the ordinary area under a curve. A region may also be bounded by two curves and a vertical line, so only one end comes from an intersection.

A quick practice case: the region between y=xy=x and y=x2y=x^2 for 0≤x≤10\le x\le 1. The line is on top, since at x=12x=\frac12 it gives 0.50.5 and the parabola gives 0.250.25. The area is ∫01(x−x2) dx=12−13=16\int_0^1(x-x^2)\,dx=\frac12-\frac13=\frac16. Small checks like this build the habit of testing a point before you subtract.

Finally, interpret the answer. Area has squared units when xx and yy both have lengths. If yy is a rate and xx is time, the area is an amount, such as total gallons.

How it connects

  • Back to 6.7: each area is evaluated with an antiderivative and the Fundamental Theorem.
  • Back to 6.3: the strip picture is a Riemann sum with rectangles of height top minus bottom.
  • Forward to 8.5: slicing horizontally handles regions that are easier to describe in terms of yy.
  • Forward to 8.6: when curves cross more than twice, split the integral at each crossing.

Common mistakes

  • Subtracting bottom minus top. That gives a negative area. If your answer is negative, swap the order.
  • Finding each curve's area to the x-axis and subtracting. Geometric areas to the axis go wrong when part of the region lies below the axis. Subtracting the signed integrals, which is the same as integrating top minus bottom, always works, so set it up as one integral of top minus bottom.
  • Using the wrong limits. Take them from intersection points or from given vertical lines, not from guesses.
  • Dropping the parentheses. Write ∫(f(x)−g(x)) dx\int\big(f(x)-g(x)\big)\,dx so the minus sign applies to all of gg.

How it shows up on the exam

  • A region bounded by two given curves, described by equations or shown in a graph, where you set up and evaluate an area integral.
  • A calculator-active setup where the intersection points come from a graphing tool and the integrand has no elementary antiderivative.
  • A region used as the base for a later part about volume, so the same limits and the same top and bottom curves are reused.

Check yourself

  1. How do you decide which curve is on top without a picture?
  2. Why is top minus bottom correct even when part of the region lies below the x-axis?
  3. Where do the limits of integration come from in a problem with vertical boundary lines?
  4. What should you do if your computed area is negative?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.