All courses › Mathematics R2 › Area between graphs

Area between graphs

The area between two graphs is the integral of the upper one minus the lower one. The limits are the intersection points, so you first solve the equation between the functions. On the interval from 0 to 1 the straight line y=xy = x lies above the parabola y=x2y = x^2. The integral of the difference becomes one half minus one third. A negative answer means that you have swapped which graph is on top.

Try it yourself

The integral as area

A=∫ab(f(x)−g(x)) dxA = \int_a^b \bigl(f(x) - g(x)\bigr)\,dxupper minus lower

Symbols

ffthe upper graph
ggthe lower graph
a, ba,\ bthe intersection points

Example

y=xy = x and y=x2y = x^2 meet at 00 and 11. A=∫01(x−x2) dx=12−13=16≈0.1667A = \int_0^1 (x - x^2)\,dx = \dfrac{1}{2} - \dfrac{1}{3} = \dfrac{1}{6} \approx 0.1667.

Find the intersection points before you integrate. They are the limits.
Practise area and volume with integrals for free →

← Partial fractions · Volume of revolution →

Part of Mathematics R2: Area and volume with integrals.