∫Yoboa Math
Home / Guides / Area Between Curves

Area Between Curves

The area between two curves is the integral of (top minus bottom). Most of the work is the setup: finding where the curves meet and which one is on top.

\[A = \int_a^b \big(f(x) - g(x)\big)\,dx \quad\text{where } f(x)\ge g(x) \text{ on } [a,b]\]

The method

  1. Sketch both curves. The graphing calculator is good for this.
  2. Find the intersection points by solving \(f(x) = g(x)\). They're usually your limits.
  3. Pick any test point between them to see which function is on top.
  4. Integrate top minus bottom. If the curves cross inside the interval, split it at the crossing.

Example: between \(y = x\) and \(y = x^2\)

They meet where \(x = x^2\), so at \(x = 0\) and \(x = 1\). At \(x = \tfrac12\), the line is on top (\(\tfrac12 > \tfrac14\)).

\[A = \int_0^1 (x - x^2)\,dx = \left[\frac{x^2}{2} - \frac{x^3}{3}\right]_0^1 = \frac12 - \frac13 = \frac16\]

Example: \(y=\cos x\) and \(y=\sin x\) on \([0, \pi/4]\)

On this interval \(\cos x \ge \sin x\), and they meet at \(\pi/4\).

\[A = \int_0^{\pi/4}(\cos x - \sin x)\,dx = \Big[\sin x + \cos x\Big]_0^{\pi/4} = \sqrt2 - 1\]

Integrating with respect to y

When the curves are easier to write as \(x = \dots\), use right minus left:

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

Example: between \(x = y^2\) and \(x = y + 2\)

Solve \(y^2 = y + 2\): \((y-2)(y+1)=0\), so \(y=-1\) and \(y=2\). The line is on the right.

\[A = \int_{-1}^{2}\left(y + 2 - y^2\right)dy = \left[\frac{y^2}{2} + 2y - \frac{y^3}{3}\right]_{-1}^{2} = \frac92\]

In terms of \(x\) this region would need two separate integrals, so using \(y\) saves work.

Common mistakes

  • Integrating \(f - g\) when the curves cross inside the interval. You get net area, which can partly cancel. Split at each crossing.
  • Using the x-intercepts as limits instead of the intersection points.

Try your own

Paste any integral into the integral calculator to get the full step-by-step solution and a graph.

More techniques