Calculus › Section H · Applications of integrals › Topic H.1

Area between two curves

You already know how to find the area under a curve. The area between two curves is the same idea one layer up, and the real work is not the integration but deciding which curve is on top and where the region starts and ends.

From one curve to two

The integral \(\int_a^b f(x)\,dx\) measures the area between a curve and the \(x\)-axis. Now take two curves \(y = f(x)\) and \(y = g(x)\) with \(f(x) \ge g(x)\) between them, and slice the region between them into thin vertical strips. Each strip runs from the lower curve up to the upper curve, so its height is \(f(x) - g(x)\), top minus bottom, and its width is \(dx\). Adding up the strips gives the formula

A = \int_a^b \big[f(x) - g(x)\big]\,dx

The strip height is exactly what you were computing before, with the bottom curve playing the role the \(x\)-axis used to play. If the bottom curve happens to be \(y = 0\), you are back to ordinary area under a curve.

Sketch first, then find the intersections

Two questions decide everything: which curve is on top, and where does the region begin and end? Both are answered by the crossings. Where the curves meet they are equal, so set \(f(x) = g(x)\) and solve; the solutions are the natural limits of integration. Sketching the region, even roughly, prevents most setup errors, and a quick algebraic check works too: pick a test value between the crossings and evaluate both functions there. Whichever is larger at the test point is on top for that whole stretch, because two continuous curves cannot swap places without crossing.

Worked example: a line and a parabola

Find the area between \(y = 3x - x^2\) and \(y = x\). Setting them equal: \(3x - x^2 = x\), so \(x(2 - x) = 0\) and the curves meet at \(x = 0\) and \(x = 2\). At the test point \(x = 1\), the parabola gives 2 and the line gives 1, so the parabola is on top. The area is

\int_0^2 \big[(3x - x^2) - x\big]\,dx = \int_0^2 (2x - x^2)\,dx = \left[x^2 - \frac{x^3}{3}\right]_0^2 = 4 - \frac{8}{3} = \frac{4}{3}

A sanity check: no strip is taller than 1 (the tallest, at \(x = 1\), has height exactly 1), so the area must be less than a 2-by-1 rectangle's area of 2, and \(\frac{4}{3}\) is a believable two thirds of it. A negative answer here would mean the subtraction was reversed.

When the curves cross

The formula assumes one fixed top curve. If the curves cross inside the interval, the top and bottom swap, and a single integral of \(f - g\) lets the two pieces cancel each other, exactly the way signed area did below the \(x\)-axis. The fix is the same: split the interval at every crossing and integrate top minus bottom on each piece, which is the same as integrating \(|f - g|\) over the whole interval. Never trust a computed area of 0 for a region you can see on your sketch: the region between \(y = x\) and \(y = x^3\) from \(x = -1\) to \(x = 1\) is plainly not empty.

Worked example: x against x³

Find the total area between \(y = x\) and \(y = x^3\) from \(x = -1\) to \(x = 1\). They cross where \(x = x^3\), at \(x = -1\), \(x = 0\) and \(x = 1\). On \((-1, 0)\) the cube is on top (at \(x = -0.5\), \(x^3 = -0.125\) beats \(x = -0.5\)); on \((0, 1)\) the line is. So the area is

\int_{-1}^0 (x^3 - x)\,dx + \int_0^1 (x - x^3)\,dx = \frac{1}{4} + \frac{1}{4} = \frac{1}{2}

The two pieces are equal by symmetry. Integrating \(x - x^3\) straight across \([-1, 1]\) gives 0, the classic cancellation trap.

Slicing the other way

Some regions are easier to slice horizontally. If the boundaries are naturally written as \(x\) in terms of \(y\), a horizontal strip at height \(y\) runs from the left curve to the right curve, so its length is right minus left:

A = \int_c^d \big[x_{\text{right}}(y) - x_{\text{left}}(y)\big]\,dy

The limits \(c\) and \(d\) are \(y\)-values this time, found the same way, by setting the two boundary equations equal. Reach for horizontal slices when the curves are given as \(x = g(y)\), or when vertical slicing would force you to split the region into several pieces. Nothing deep changes: right minus left in \(y\) is the mirror image of top minus bottom in \(x\).

Worked example: a region best sliced horizontally

Find the area between \(x = y^2\) and \(x = y + 6\). Setting them equal: \(y^2 = y + 6\), so \((y + 3)(y - 2) = 0\) and the curves meet at \(y = -2\) and \(y = 3\). The line is to the right (at \(y = 0\), the line gives \(x = 6\) and the parabola \(x = 0\)). One integral does it:

\int_{-2}^3 \big[(y + 6) - y^2\big]\,dy = \left[\frac{y^2}{2} + 6y - \frac{y^3}{3}\right]_{-2}^3 = \frac{125}{6}

Vertical slices would need two integrals here: below \(x = 4\) the strip runs from one branch of the parabola to the other, and above \(x = 4\) from the parabola to the line. One horizontal integral beats two vertical ones.

Area as an accumulated difference

The area between curves measures any accumulated difference, not just geometry. If revenue flows in at \(R'(t) = 50{,}000 + 2{,}000t\) dollars per month and costs flow out at \(C'(t) = 40{,}000 + 1{,}000t\) dollars per month, then profit over the first 12 months is the area between the rate curves:

\int_0^{12} \big[R'(t) - C'(t)\big]\,dt = \int_0^{12} (10{,}000 + 1{,}000t)\,dt = \$192{,}000

The same reading applies to two runners who start together: the integral of the difference of their velocities is how far ahead one is at the end, and economists use the area between a demand curve and the market price, called consumer surplus, to measure what buyers save.

Common mistakes to avoid

The most frequent error is subtracting in the wrong order, which produces a negative "area"; if your answer is negative, swap the curves, or better, check which is on top before integrating. Second, using invented limits instead of the intersection points; the region ends where the curves cross, not at convenient numbers. Third, failing to split the interval when curves cross mid-region, which lets real area cancel away. Fourth, forcing vertical slices onto a region that begs for one horizontal integral; if the sketch shows left and right boundaries changing formula partway up, integrate in \(y\).

Key takeaways

The area between curves is \(\int_a^b\) of top minus bottom, where the limits come from solving \(f(x) = g(x)\) and a test point or sketch settles which curve is on top. When the curves cross inside the interval, split at each crossing and integrate top minus bottom on each piece, equivalent to \(|f - g|\). Horizontal slices give \(\int_c^d\) of right minus left in \(y\), often one integral where \(x\)-slices would need several. And area-between thinking reaches beyond geometry: the integral of the difference of two rates accumulates their difference, such as profit from revenue minus cost.

Flashcards

Flashcard

A = ∫ (top − bottom) dx

Area between two curves

Each strip has height f(x) − g(x).

Test your understanding

Question 1 of 5

What is the area between y = 3x − x² and y = x?

Question 2 of 5

Two curves cross at x = c inside the interval [a, b]. How do you find the total area between them?

Question 3 of 5

What is the total area between y = x and y = x³ from x = −1 to x = 1?

Question 4 of 5

What is the area of the region between x = y² and x = y + 6?

Question 5 of 5

Revenue arrives at R′(t) = 50,000 + 2,000t dollars per month and costs run at C′(t) = 40,000 + 1,000t dollars per month. What is the profit over the first 12 months?

Standards: 8

← Previous topicNext topic →