Skip to content

Area between curves, step by step

5 min read

Short answer

Find where the curves meet, decide which is on top, and integrate top minus bottom across each interval: A=∫ab[f(x)−g(x)] dx\displaystyle A=\int_a^b\big[f(x)-g(x)\big]\,dx. If the curves cross, split the integral at the crossing so the difference stays positive.

Diagram(1, 1)
Between x = 0 and x = 1, the line y = x lies above y = x².

The four steps

  1. Sketch both curves.
  2. Solve f(x)=g(x)f(x)=g(x) for the intersection points.
  3. Decide which function is larger on each interval.
  4. Integrate top minus bottom over each interval and add the pieces.

Integrating in y

If the region is easier to describe as "right minus left", integrate with respect to yy: A=∫cd[xright(y)−xleft(y)] dyA=\int_c^d\big[x_{\text{right}}(y)-x_{\text{left}}(y)\big]\,dy. This avoids splitting when the top and bottom change along xx.

Worked example

Find the area enclosed by y=xy=x and y=x2y=x^2.

They meet where x=x2x=x^2: x=0x=0 and x=1x=1. On [0,1][0,1], x≥x2x\ge x^2. So A=∫01(x−x2) dx=12−13=16A=\int_0^1(x-x^2)\,dx=\tfrac12-\tfrac13=\tfrac16.

Try it yourself

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

Show the answer

They meet at x=±2x=\pm2. A=∫−22(4−x2) dx=[4x−x33]−22=323A=\int_{-2}^{2}(4-x^2)\,dx=\left[4x-\tfrac{x^3}{3}\right]_{-2}^{2}=\tfrac{32}{3}.

Keep going with practice

Vidi's double-integral lessons are this same idea with the region described in two variables.