Area Between Curves

A definite integral of a positive function gives the area under its graph. The area between two graphs comes from the same idea, with the height of each thin rectangle measured from one curve to the other.

Area with respect to x

Suppose f(x)≥g(x)f(x) \ge g(x) on [a,b][a, b]. Cut the region into vertical strips of width Δx\Delta x. A strip at xx is close to a rectangle of height f(x)−g(x)f(x) - g(x), so its area is about (f(x)−g(x))Δx\big(f(x) - g(x)\big)\Delta x. Adding the strips gives a Riemann sum, and its limit is an integral.
The integrand is top minus bottom, and it stays correct when part of the region lies below the xx-axis. When the region is enclosed by the two curves, the limits are the xx-coordinates of the points where they meet.

Interactive: Area Between Two Curves

Below, f(x)=xf(x) = \sqrt{x} is on top and g(x)=x2g(x) = x^2 is on the bottom, and they meet at x=0x = 0 and x=1x = 1. Sweeping from 00 to 11 builds up the area, which ends at ∫01(x−x2) dx=13\int_0^1 \big(\sqrt{x} - x^2\big)\,dx = \frac{1}{3}.

Area with respect to y

Some regions are easier to cut into horizontal strips. A strip at height yy has width from the left curve to the right curve, and thickness Δy\Delta y. Write each boundary as xx in terms of yy.
The integrand is right minus left, and the limits are values of yy. Choose the variable that gives one integral with a single formula for each boundary. If the top or bottom boundary changes formula partway across, the integral in xx has to be split there.

Intersections from a calculator

When the equation for the intersection points can't be solved by algebra, a calculator finds them. Store the values and use them as the limits, so no rounding builds up before the final answer.