You already know that ∫ a b f ( x ) d x \int_a^b f(x)\, dx ∫ a b f ( x ) d x gives the area under a curve (when f ≥ 0 f \ge 0 f ≥ 0 ). Now take two curves and ask for the area of the region between them. The idea is to slice the region into thin vertical strips, find the height of one strip, and let the integral add them all up. This “slice and add” thinking is also the starting point for volumes, later in this unit.
If f ( x ) ≥ g ( x ) f(x) \ge g(x) f ( x ) ≥ g ( x ) for every x x x in [ a , b ] [a, b] [ a , b ] , the area of the region between them is
A = ∫ a b ( f ( x ) − g ( x ) ) d x = ∫ a b ( top − bottom ) d x A = \int_a^b \big( f(x) - g(x) \big)\, dx = \int_a^b (\text{top} - \text{bottom})\, dx A = ∫ a b ( f ( x ) − g ( x ) ) d x = ∫ a b ( top − bottom ) d x
Why: a thin vertical strip at position x x x has height f ( x ) − g ( x ) f(x) - g(x) f ( x ) − g ( x ) and width d x dx d x , so its area is about ( f ( x ) − g ( x ) ) d x \big(f(x) - g(x)\big)\,dx ( f ( x ) − g ( x ) ) d x . The integral adds up all the strips from a a a to b b b .
This works even if one or both curves dip below the x x x -axis: “top minus bottom” is always the height of the strip.
The region between y = x + 2 on top and y = x squared on the bottom, from x = -1 to x = 2, with one thin vertical slice whose height is top minus bottom.
−2
−1
1
2
1
2
3
4
5
(−1, 1)
(2, 4)
y = x + 2
y = x²
top
bottom
dx
x
y
A representative vertical slice: height ( x + 2 ) − x 2 (x + 2) - x^2 ( x + 2 ) − x 2 , width d x dx d x .
Sketch both curves (or graph them on a calculator) so you can see the region.
Find the intersection points by setting the functions equal. These are usually the limits of integration.
Decide which curve is on top on each interval. Test a point if you’re not sure.
Integrate top minus bottom.
If the curves cross inside the interval, the top and bottom curves swap . Then ∫ ( f − g ) d x \int (f - g)\, dx ∫ ( f − g ) d x would subtract one piece from another instead of adding. Split the integral at every crossing point and use (top − bottom) on each piece:
A = ∫ a c ( f ( x ) − g ( x ) ) d x + ∫ c b ( g ( x ) − f ( x ) ) d x A = \int_a^c \big( f(x) - g(x) \big)\, dx + \int_c^b \big( g(x) - f(x) \big)\, dx A = ∫ a c ( f ( x ) − g ( x ) ) d x + ∫ c b ( g ( x ) − f ( x ) ) d x
One integral that does it all is A = ∫ a b ∣ f ( x ) − g ( x ) ∣ d x A = \displaystyle\int_a^b \lvert f(x) - g(x) \rvert\, dx A = ∫ a b ∣ f ( x ) − g ( x )∣ d x . That’s the easiest form on a calculator-active question; by hand, you still split at the crossings.
f(x) = x cubed - 3x and g(x) = x cross at x = -2, 0 and 2. On [-2, 0] f is on top; on [0, 2] g is on top.
−2
−1
1
2
3
4
−3
−2
−1
1
2
3
f on top
g on top
f(x) = x³ − 3x
g(x) = x
x
y
Top and bottom swap at x = 0 x = 0 x = 0 , so the area must be split there.
On the AP exam, an area setup is worth points on its own. Write the integral with the correct limits and integrand before you compute, especially when a calculator does the rest.
Find the area of the region bounded by y = x 2 y = x^2 y = x 2 and y = x + 2 y = x + 2 y = x + 2 .
Solution. Intersections: x 2 = x + 2 x^2 = x + 2 x 2 = x + 2 , so x 2 − x − 2 = ( x − 2 ) ( x + 1 ) = 0 x^2 - x - 2 = (x - 2)(x + 1) = 0 x 2 − x − 2 = ( x − 2 ) ( x + 1 ) = 0 , and x = − 1 x = -1 x = − 1 or x = 2 x = 2 x = 2 .
Test x = 0 x = 0 x = 0 : the line gives 2 2 2 and the parabola gives 0 0 0 , so the line is on top.
A = ∫ − 1 2 ( ( x + 2 ) − x 2 ) d x = [ x 2 2 + 2 x − x 3 3 ] − 1 2 = ( 2 + 4 − 8 3 ) − ( 1 2 − 2 + 1 3 ) = 10 3 − ( − 7 6 ) = 9 2 \begin{aligned}
A &= \int_{-1}^{2} \big( (x + 2) - x^2 \big)\, dx = \left[ \frac{x^2}{2} + 2x - \frac{x^3}{3} \right]_{-1}^{2} \\
&= \left( 2 + 4 - \frac{8}{3} \right) - \left( \frac{1}{2} - 2 + \frac{1}{3} \right) = \frac{10}{3} - \left( -\frac{7}{6} \right) = \frac{9}{2}
\end{aligned} A = ∫ − 1 2 ( ( x + 2 ) − x 2 ) d x = [ 2 x 2 + 2 x − 3 x 3 ] − 1 2 = ( 2 + 4 − 3 8 ) − ( 2 1 − 2 + 3 1 ) = 3 10 − ( − 6 7 ) = 2 9
Find the area between y = x y = \sqrt{x} y = x and y = x 2 y = \dfrac{x}{2} y = 2 x .
Solution. x = x 2 \sqrt{x} = \dfrac{x}{2} x = 2 x . Square both sides: x = x 2 4 x = \dfrac{x^2}{4} x = 4 x 2 , so x ( x − 4 ) = 0 x(x - 4) = 0 x ( x − 4 ) = 0 and x = 0 x = 0 x = 0 or x = 4 x = 4 x = 4 . Both check in the original equation.
At x = 1 x = 1 x = 1 : 1 = 1 > 1 2 \sqrt{1} = 1 \gt \tfrac{1}{2} 1 = 1 > 2 1 , so x \sqrt{x} x is on top.
A = ∫ 0 4 ( x − x 2 ) d x = [ 2 3 x 3 / 2 − x 2 4 ] 0 4 = 16 3 − 4 = 4 3 A = \int_0^4 \left( \sqrt{x} - \frac{x}{2} \right) dx = \left[ \frac{2}{3}x^{3/2} - \frac{x^2}{4} \right]_0^4 = \frac{16}{3} - 4 = \frac{4}{3} A = ∫ 0 4 ( x − 2 x ) d x = [ 3 2 x 3/2 − 4 x 2 ] 0 4 = 3 16 − 4 = 3 4
Find the total area enclosed by f ( x ) = x 3 − 3 x f(x) = x^3 - 3x f ( x ) = x 3 − 3 x and g ( x ) = x g(x) = x g ( x ) = x .
Solution. x 3 − 3 x = x x^3 - 3x = x x 3 − 3 x = x gives x 3 − 4 x = x ( x − 2 ) ( x + 2 ) = 0 x^3 - 4x = x(x - 2)(x + 2) = 0 x 3 − 4 x = x ( x − 2 ) ( x + 2 ) = 0 , so x = − 2 , 0 , 2 x = -2, 0, 2 x = − 2 , 0 , 2 .
On [ − 2 , 0 ] [-2, 0] [ − 2 , 0 ] , test x = − 1 x = -1 x = − 1 : f ( − 1 ) = 2 f(-1) = 2 f ( − 1 ) = 2 and g ( − 1 ) = − 1 g(-1) = -1 g ( − 1 ) = − 1 , so f f f is on top. On [ 0 , 2 ] [0, 2] [ 0 , 2 ] , test x = 1 x = 1 x = 1 : f ( 1 ) = − 2 f(1) = -2 f ( 1 ) = − 2 and g ( 1 ) = 1 g(1) = 1 g ( 1 ) = 1 , so g g g is on top.
A = ∫ − 2 0 ( ( x 3 − 3 x ) − x ) d x + ∫ 0 2 ( x − ( x 3 − 3 x ) ) d x = ∫ − 2 0 ( x 3 − 4 x ) d x + ∫ 0 2 ( 4 x − x 3 ) d x A = \int_{-2}^{0} \big( (x^3 - 3x) - x \big)\, dx + \int_0^2 \big( x - (x^3 - 3x) \big)\, dx = \int_{-2}^{0} (x^3 - 4x)\, dx + \int_0^2 (4x - x^3)\, dx A = ∫ − 2 0 ( ( x 3 − 3 x ) − x ) d x + ∫ 0 2 ( x − ( x 3 − 3 x ) ) d x = ∫ − 2 0 ( x 3 − 4 x ) d x + ∫ 0 2 ( 4 x − x 3 ) d x
∫ − 2 0 ( x 3 − 4 x ) d x = [ x 4 4 − 2 x 2 ] − 2 0 = 0 − ( 4 − 8 ) = 4 , ∫ 0 2 ( 4 x − x 3 ) d x = [ 2 x 2 − x 4 4 ] 0 2 = 8 − 4 = 4 \int_{-2}^{0} (x^3 - 4x)\, dx = \Big[ \tfrac{x^4}{4} - 2x^2 \Big]_{-2}^{0} = 0 - (4 - 8) = 4, \qquad \int_0^2 (4x - x^3)\, dx = \Big[ 2x^2 - \tfrac{x^4}{4} \Big]_0^2 = 8 - 4 = 4 ∫ − 2 0 ( x 3 − 4 x ) d x = [ 4 x 4 − 2 x 2 ] − 2 0 = 0 − ( 4 − 8 ) = 4 , ∫ 0 2 ( 4 x − x 3 ) d x = [ 2 x 2 − 4 x 4 ] 0 2 = 8 − 4 = 4
The total area is 4 + 4 = 8 4 + 4 = 8 4 + 4 = 8 . (If you had integrated f − g f - g f − g over [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] in one go, you’d get 4 − 4 = 0 4 - 4 = 0 4 − 4 = 0 , which is clearly not the area.)
Find the area of the region bounded by y = 2 cos x y = 2\cos x y = 2 cos x and y = x 2 y = x^2 y = x 2 . (Radians.)
Solution. The intersections can’t be found by algebra, so use a calculator: 2 cos x = x 2 2\cos x = x^2 2 cos x = x 2 at x ≈ ± 1.022 x \approx \pm 1.022 x ≈ ± 1.022 . Store the positive value as r r r to keep full accuracy. Between them, 2 cos x 2\cos x 2 cos x is on top (at x = 0 x = 0 x = 0 : 2 > 0 2 \gt 0 2 > 0 ).
A = ∫ − r r ( 2 cos x − x 2 ) d x ≈ 2.701 A = \int_{-r}^{r} \big( 2\cos x - x^2 \big)\, dx \approx 2.701 A = ∫ − r r ( 2 cos x − x 2 ) d x ≈ 2.701
Subtracting in the wrong order. Bottom minus top gives a negative number. If you get a negative “area,” you’ve got the curves the wrong way round.
Using the x-axis as a boundary when it isn’t one. The region is bounded by the curves given. Only use y = 0 y = 0 y = 0 if the question says the region is bounded by the x x x -axis.
Not splitting at a crossing. When the curves cross inside the interval, one integral of f − g f - g f − g lets pieces cancel. Split, or use ∣ f − g ∣ \lvert f - g \rvert ∣ f − g ∣ on a calculator.
Guessing the limits. The limits come from the intersection points (or the given vertical lines). Solve for them; don’t read rough values off a sketch.
Squaring both sides and keeping a fake solution. When you square to solve, check each solution in the original equation.
Rounding intersection points early. On a calculator question, store the intersection values. Using 1.02 1.02 1.02 instead of 1.0217 … 1.0217\ldots 1.0217 … can change the third decimal of the area.
1. (Warm-up) Find the area between y = x + 3 y = x + 3 y = x + 3 and y = 1 y = 1 y = 1 from x = 0 x = 0 x = 0 to x = 2 x = 2 x = 2 .
Solution On [ 0 , 2 ] [0, 2] [ 0 , 2 ] , x + 3 ≥ 3 > 1 x + 3 \ge 3 \gt 1 x + 3 ≥ 3 > 1 , so the line y = x + 3 y = x + 3 y = x + 3 is on top.
∫ 0 2 ( ( x + 3 ) − 1 ) d x = [ x 2 2 + 2 x ] 0 2 = 2 + 4 = 6 \int_0^2 \big( (x + 3) - 1 \big)\, dx = \Big[ \tfrac{x^2}{2} + 2x \Big]_0^2 = 2 + 4 = 6 ∫ 0 2 ( ( x + 3 ) − 1 ) d x = [ 2 x 2 + 2 x ] 0 2 = 2 + 4 = 6
2. (Warm-up) Find the area of the region bounded by y = x y = x y = x and y = x 2 y = x^2 y = x 2 .
Solution x = x 2 x = x^2 x = x 2 at x = 0 x = 0 x = 0 and x = 1 x = 1 x = 1 . At x = 1 2 x = \tfrac{1}{2} x = 2 1 , x > x 2 x \gt x^2 x > x 2 , so y = x y = x y = x is on top.
∫ 0 1 ( x − x 2 ) d x = 1 2 − 1 3 = 1 6 \int_0^1 (x - x^2)\, dx = \frac{1}{2} - \frac{1}{3} = \frac{1}{6} ∫ 0 1 ( x − x 2 ) d x = 2 1 − 3 1 = 6 1
3. (Warm-up) Find the area of the region bounded by y = x 2 y = x^2 y = x 2 and y = 4 y = 4 y = 4 .
Solution x 2 = 4 x^2 = 4 x 2 = 4 at x = ± 2 x = \pm 2 x = ± 2 , and y = 4 y = 4 y = 4 is on top.
∫ − 2 2 ( 4 − x 2 ) d x = [ 4 x − x 3 3 ] − 2 2 = ( 8 − 8 3 ) − ( − 8 + 8 3 ) = 32 3 \int_{-2}^{2} (4 - x^2)\, dx = \Big[ 4x - \tfrac{x^3}{3} \Big]_{-2}^{2} = \left( 8 - \tfrac{8}{3} \right) - \left( -8 + \tfrac{8}{3} \right) = \frac{32}{3} ∫ − 2 2 ( 4 − x 2 ) d x = [ 4 x − 3 x 3 ] − 2 2 = ( 8 − 3 8 ) − ( − 8 + 3 8 ) = 3 32
4. (Core) Find the area of the region bounded by y = 6 − x 2 y = 6 - x^2 y = 6 − x 2 and y = x y = x y = x .
Solution 6 − x 2 = x 6 - x^2 = x 6 − x 2 = x gives x 2 + x − 6 = ( x + 3 ) ( x − 2 ) = 0 x^2 + x - 6 = (x + 3)(x - 2) = 0 x 2 + x − 6 = ( x + 3 ) ( x − 2 ) = 0 , so x = − 3 x = -3 x = − 3 or x = 2 x = 2 x = 2 . At x = 0 x = 0 x = 0 , the parabola (6 6 6 ) is above the line (0 0 0 ).
A = ∫ − 3 2 ( 6 − x 2 − x ) d x = [ 6 x − x 3 3 − x 2 2 ] − 3 2 = ( 12 − 8 3 − 2 ) − ( − 18 + 9 − 9 2 ) = 22 3 + 27 2 = 125 6 \begin{aligned}
A &= \int_{-3}^{2} (6 - x^2 - x)\, dx = \left[ 6x - \frac{x^3}{3} - \frac{x^2}{2} \right]_{-3}^{2} \\
&= \left( 12 - \frac{8}{3} - 2 \right) - \left( -18 + 9 - \frac{9}{2} \right) = \frac{22}{3} + \frac{27}{2} = \frac{125}{6}
\end{aligned} A = ∫ − 3 2 ( 6 − x 2 − x ) d x = [ 6 x − 3 x 3 − 2 x 2 ] − 3 2 = ( 12 − 3 8 − 2 ) − ( − 18 + 9 − 2 9 ) = 3 22 + 2 27 = 6 125
5. (Core) Find the total area between y = sin x y = \sin x y = sin x and y = cos x y = \cos x y = cos x from x = 0 x = 0 x = 0 to x = π x = \pi x = π (radians).
Solution They cross where sin x = cos x \sin x = \cos x sin x = cos x , at x = π 4 x = \dfrac{\pi}{4} x = 4 π in this interval. On [ 0 , π 4 ] \left[0, \tfrac{\pi}{4}\right] [ 0 , 4 π ] , cos x \cos x cos x is on top; on [ π 4 , π ] \left[\tfrac{\pi}{4}, \pi\right] [ 4 π , π ] , sin x \sin x sin x is on top.
∫ 0 π / 4 ( cos x − sin x ) d x = [ sin x + cos x ] 0 π / 4 = 2 − 1 \int_0^{\pi/4} (\cos x - \sin x)\, dx = \Big[ \sin x + \cos x \Big]_0^{\pi/4} = \sqrt{2} - 1 ∫ 0 π /4 ( cos x − sin x ) d x = [ sin x + cos x ] 0 π /4 = 2 − 1 ∫ π / 4 π ( sin x − cos x ) d x = [ − cos x − sin x ] π / 4 π = ( 1 − 0 ) − ( − 2 ) = 1 + 2 \int_{\pi/4}^{\pi} (\sin x - \cos x)\, dx = \Big[ -\cos x - \sin x \Big]_{\pi/4}^{\pi} = (1 - 0) - \left( -\sqrt{2} \right) = 1 + \sqrt{2} ∫ π /4 π ( sin x − cos x ) d x = [ − cos x − sin x ] π /4 π = ( 1 − 0 ) − ( − 2 ) = 1 + 2 Total: ( 2 − 1 ) + ( 1 + 2 ) = 2 2 ≈ 2.828 (\sqrt{2} - 1) + (1 + \sqrt{2}) = 2\sqrt{2} \approx 2.828 ( 2 − 1 ) + ( 1 + 2 ) = 2 2 ≈ 2.828 .
6. (Core) Find the total area enclosed by y = x 3 y = x^3 y = x 3 and y = x y = x y = x .
Solution x 3 = x x^3 = x x 3 = x gives x ( x − 1 ) ( x + 1 ) = 0 x(x - 1)(x + 1) = 0 x ( x − 1 ) ( x + 1 ) = 0 , so x = − 1 , 0 , 1 x = -1, 0, 1 x = − 1 , 0 , 1 .
On [ − 1 , 0 ] [-1, 0] [ − 1 , 0 ] , x 3 x^3 x 3 is on top (at x = − 1 2 x = -\tfrac{1}{2} x = − 2 1 : − 1 8 > − 1 2 -\tfrac{1}{8} \gt -\tfrac{1}{2} − 8 1 > − 2 1 ). On [ 0 , 1 ] [0, 1] [ 0 , 1 ] , x x x is on top.
∫ − 1 0 ( x 3 − x ) d x = 0 − ( 1 4 − 1 2 ) = 1 4 , ∫ 0 1 ( x − x 3 ) d x = 1 2 − 1 4 = 1 4 \int_{-1}^{0} (x^3 - x)\, dx = 0 - \left( \tfrac{1}{4} - \tfrac{1}{2} \right) = \frac{1}{4}, \qquad \int_0^1 (x - x^3)\, dx = \frac{1}{2} - \frac{1}{4} = \frac{1}{4} ∫ − 1 0 ( x 3 − x ) d x = 0 − ( 4 1 − 2 1 ) = 4 1 , ∫ 0 1 ( x − x 3 ) d x = 2 1 − 4 1 = 4 1 Total area = 1 2 = \dfrac{1}{2} = 2 1 .
7. (Core) Find the area of the region bounded by y = e x y = e^x y = e x , y = 1 y = 1 y = 1 , and x = 2 x = 2 x = 2 .
Solution e x = 1 e^x = 1 e x = 1 at x = 0 x = 0 x = 0 , so the region runs from x = 0 x = 0 x = 0 to x = 2 x = 2 x = 2 , with e x e^x e x on top.
∫ 0 2 ( e x − 1 ) d x = [ e x − x ] 0 2 = ( e 2 − 2 ) − 1 = e 2 − 3 ≈ 4.389 \int_0^2 (e^x - 1)\, dx = \Big[ e^x - x \Big]_0^2 = (e^2 - 2) - 1 = e^2 - 3 \approx 4.389 ∫ 0 2 ( e x − 1 ) d x = [ e x − x ] 0 2 = ( e 2 − 2 ) − 1 = e 2 − 3 ≈ 4.389
8. (Challenge) Find the area of the region in the first quadrant bounded by y = x y = x y = x , y = x 4 y = \dfrac{x}{4} y = 4 x , and y = 1 x y = \dfrac{1}{x} y = x 1 .
Solution Sketch it: both lines start at the origin; the curve y = 1 x y = \dfrac{1}{x} y = x 1 closes the region off.
y = x y = x y = x meets y = 1 x y = \dfrac{1}{x} y = x 1 at x = 1 x = 1 x = 1 .
y = x 4 y = \dfrac{x}{4} y = 4 x meets y = 1 x y = \dfrac{1}{x} y = x 1 at x 2 = 4 x^2 = 4 x 2 = 4 , so x = 2 x = 2 x = 2 .
The bottom is always y = x 4 y = \dfrac{x}{4} y = 4 x , but the top changes at x = 1 x = 1 x = 1 : it’s y = x y = x y = x on [ 0 , 1 ] [0, 1] [ 0 , 1 ] and y = 1 x y = \dfrac{1}{x} y = x 1 on [ 1 , 2 ] [1, 2] [ 1 , 2 ] .
A = ∫ 0 1 ( x − x 4 ) d x + ∫ 1 2 ( 1 x − x 4 ) d x = 3 8 + ( ln 2 − 3 8 ) = ln 2 ≈ 0.693 A = \int_0^1 \left( x - \frac{x}{4} \right) dx + \int_1^2 \left( \frac{1}{x} - \frac{x}{4} \right) dx = \frac{3}{8} + \left( \ln 2 - \frac{3}{8} \right) = \ln 2 \approx 0.693 A = ∫ 0 1 ( x − 4 x ) d x + ∫ 1 2 ( x 1 − 4 x ) d x = 8 3 + ( ln 2 − 8 3 ) = ln 2 ≈ 0.693 (Second integral: [ ln x − x 2 8 ] 1 2 = ( ln 2 − 1 2 ) − ( 0 − 1 8 ) = ln 2 − 3 8 \Big[ \ln x - \tfrac{x^2}{8} \Big]_1^2 = \left( \ln 2 - \tfrac{1}{2} \right) - \left( 0 - \tfrac{1}{8} \right) = \ln 2 - \tfrac{3}{8} [ ln x − 8 x 2 ] 1 2 = ( ln 2 − 2 1 ) − ( 0 − 8 1 ) = ln 2 − 8 3 .)
9. (Challenge) For a > 0 a \gt 0 a > 0 , the region between y = x 2 y = x^2 y = x 2 and y = a x y = ax y = a x has area 36 36 36 . Find a a a .
Solution x 2 = a x x^2 = ax x 2 = a x at x = 0 x = 0 x = 0 and x = a x = a x = a , with the line on top in between.
∫ 0 a ( a x − x 2 ) d x = a 3 2 − a 3 3 = a 3 6 \int_0^a (ax - x^2)\, dx = \frac{a^3}{2} - \frac{a^3}{3} = \frac{a^3}{6} ∫ 0 a ( a x − x 2 ) d x = 2 a 3 − 3 a 3 = 6 a 3 Set a 3 6 = 36 \dfrac{a^3}{6} = 36 6 a 3 = 36 : a 3 = 216 a^3 = 216 a 3 = 216 , so a = 6 a = 6 a = 6 .