← Back to Calculus

Area Is a Difference

The area between two curves is the integral of the top curve minus the bottom curve. The hard part is deciding which curve is on top and where the region begins and ends.

From area under a curve to area between curves

The integral \(\int_a^b f(x)\,dx\) gives the area between a curve and the \(x\)-axis. The region between two curves \(y = f(x)\) and \(y = g(x)\) is built the same way: slice it into thin vertical strips. Each strip has height top minus bottom, \(f(x) - g(x)\), and width \(dx\). Adding the strips gives the area.

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

Step 1: sketch and find intersections

Always start with a sketch. Where the curves cross, they are equal, so set \(f(x) = g(x)\) and solve: those \(x\)-values are the natural limits of integration. A quick sketch also tells you which curve is on top. Testing one point between the intersections works too: whichever function is larger there is on top for that whole stretch.

Worked example: a line and a parabola

Find the area between \(y = x\) and \(y = x^2\). They meet where \(x = x^2\), at \(x = 0\) and \(x = 1\). At \(x = \frac{1}{2}\), the line gives \(0.5\) and the parabola \(0.25\), so the line is on top. Area \(= \int_0^1 (x - x^2)\,dx = \left[\frac{x^2}{2} - \frac{x^3}{3}\right]_0^1 = \frac{1}{6}\).

\int_0^1 (x - x^2)\,dx = \frac{1}{6}

Worked example: two parabolas

Find the area between \(y = 4 - x^2\) and \(y = x^2 - 4\). They meet where \(4 - x^2 = x^2 - 4\), so \(x = \pm 2\). The first is on top. Area \(= \int_{-2}^{2}(8 - 2x^2)\,dx\). By symmetry this is \(2\int_0^2 (8 - 2x^2)\,dx = 2\left(16 - \frac{16}{3}\right) = \frac{64}{3}\).

When the curves switch places

If the curves cross inside the interval, the top and bottom swap, and a single integral of \(f - g\) would let the pieces cancel. Split the interval at each crossing and integrate \(|f - g|\): top minus bottom on each piece. For \(y = \sin x\) and \(y = \cos x\) on \([0, \pi/2]\), they cross at \(\frac{\pi}{4}\), so use two integrals.

A = \int_a^b |f(x) - g(x)|\,dx

Worked example: crossing curves

Area between \(\sin x\) and \(\cos x\) on \([0, \frac{\pi}{2}]\): on \([0, \frac{\pi}{4}]\) cosine is on top; on \([\frac{\pi}{4}, \frac{\pi}{2}]\) sine is. Each piece gives \(\sqrt{2} - 1\), for a total of \(2\sqrt{2} - 2 \approx 0.83\). A single integral of \(\cos x - \sin x\) over the whole interval would give \(0\), which is clearly wrong for a visible region.

Integrating with respect to y

Some regions are easier sliced horizontally. Then each strip has length right minus left, and you integrate in \(y\): \(A = \int_c^d [x_{\text{right}}(y) - x_{\text{left}}(y)]\,dy\). This helps when curves are given as \(x = g(y)\), or when vertical slicing would need several integrals. For the region between \(x = y^2\) and \(x = y + 2\), horizontal strips need just one integral from \(y = -1\) to \(y = 2\), giving \(\frac{9}{2}\).

A = \int_c^d [x_R(y) - x_L(y)]\,dy

Applications beyond geometry

Area between curves measures accumulated differences. If \(R(t)\) and \(C(t)\) are revenue and cost rates, \(\int [R(t) - C(t)]\,dt\) is total profit over the period. If two runners have velocities \(v_1\) and \(v_2\), the integral of the difference is how far ahead one finishes. Economists use the area between demand and price curves to measure consumer surplus.

Common mistakes

Subtracting in the wrong order, which gives a negative 'area'. Using the wrong limits instead of the intersection points. Forgetting to split the interval when the curves cross. Integrating in \(x\) when the region needs several pieces and a single \(y\)-integral would do.

Try it yourself

Find the area between \(y = 2x\) and \(y = x^2\). Answer: they meet at \(x = 0\) and \(x = 2\), the line is on top, and \(\int_0^2 (2x - x^2)\,dx = 4 - \frac{8}{3} = \frac{4}{3}\). In general, the area between \(y = kx\) and \(y = x^2\) is \(\frac{k^3}{6}\).

Key takeaways

Sketch, find intersections, decide which curve is on top, and integrate top minus bottom. Split the interval wherever the curves cross. Horizontal slicing integrates right minus left with respect to \(y\). Area between rate curves measures accumulated differences like profit.

A quick estimation check

Before trusting a computed area, estimate it from your sketch. The region between \(y = x\) and \(y = x^2\) fits inside a triangle of area \(\frac{1}{2}\), and looks like about a third of it, so \(\frac{1}{6}\) is believable. An answer of \(5\) or \(-\frac{1}{6}\) would immediately signal a mistake.

Flashcard

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

Area between curves

Top minus bottom, integrated across the region.

Check your understanding

Find the area between y = x and y = x^2.

Take the unit quiz

← Previous lesson Next lesson →