Skip to content

Area Between Curves

In this lesson you’ll learn how to find the area trapped between two curves using definite integrals. This is one of the most visual and satisfying applications of integration.

If f(x) is above g(x) on the interval [a, b], the area between them is

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

The idea is simple: upper curve minus lower curve, integrated over the interval. The result is always positive because you’re subtracting the lower from the upper.

  1. Find the intersection points by solving f(x) = g(x). These become your limits of integration.
  2. Determine which function is on top in each interval (plug in a test point).
  3. Set up the integral as (top function) minus (bottom function).
  4. If the curves cross within the interval, split into separate integrals at each crossing point.

Sometimes the region is easier to describe horizontally. If you can write x as a function of y, integrate with respect to y instead. The formula becomes right curve minus left curve.

Example 1: y = x vs y = x²

Find the area between y = x and y = x² from x = 0 to x = 1.

The curves intersect at x = 0 and x = 1 (set x = x², so x² - x = 0, giving x(x - 1) = 0). On [0, 1], the line y = x is above the parabola y = x².

A=01(xx2)dx=[x22x33]01=1213=16A = \int_0^1 (x - x^2)\,dx = \left[\frac{x^2}{2} - \frac{x^3}{3}\right]_0^1 = \frac{1}{2} - \frac{1}{3} = \frac{1}{6}

Example 2: Curves that cross (y = x vs y = x³)

Find the area between y = x and y = x³ from x = -1 to x = 1.

The curves intersect at x = -1, 0, and 1. The key is that which curve is on top switches at x = 0.

On [-1, 0]: x³ is above x (test x = -0.5: x³ = -0.125, x = -0.5, so x³ > x).

On [0, 1]: x is above x³ (test x = 0.5: x = 0.5, x³ = 0.125, so x > x³).

A=10(x3x)dx+01(xx3)dxA = \int_{-1}^0 (x^3 - x)\,dx + \int_0^1 (x - x^3)\,dx =[x44x22]10+[x22x44]01= \left[\frac{x^4}{4} - \frac{x^2}{2}\right]_{-1}^0 + \left[\frac{x^2}{2} - \frac{x^4}{4}\right]_0^1 =(0(1412))+(12140)=14+14=12= \left(0 - \left(\frac{1}{4} - \frac{1}{2}\right)\right) + \left(\frac{1}{2} - \frac{1}{4} - 0\right) = \frac{1}{4} + \frac{1}{4} = \frac{1}{2}

Example 3: Integrating with respect to y

Find the area between x = y² and x = y + 2 from y = -1 to y = 2.

The line x = y + 2 is to the right of the parabola x = y² on this interval (check y = 0: line gives 2, parabola gives 0).

A=12[(y+2)y2]dy=[y22+2yy33]12A = \int_{-1}^2 \bigl[(y + 2) - y^2\bigr]\,dy = \left[\frac{y^2}{2} + 2y - \frac{y^3}{3}\right]_{-1}^2 =(2+483)(122+13)=103(76)=103+76=92= \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{10}{3} + \frac{7}{6} = \frac{9}{2}

Area between curves shows up whenever you need to measure the difference between two quantities over an interval.

  • In economics, the area between supply and demand curves gives consumer and producer surplus
  • In physics, the area between a velocity curve and the x-axis gives displacement, and the area between two force curves gives net work
  • In game development, comparing two difficulty curves over time tells you how much harder one path is than another
  • In biology, the area between two population growth curves measures the competitive advantage of one species over another
The area between f(x) and g(x) where f(x) is above g(x) on [a, b] is
The area between y = x and y = x² from 0 to 1 equals
When two curves cross within the interval, you should
When a region is easier to describe horizontally, you should
The first step in any area-between-curves problem is