Integrals: the basics

Area between two curves

The area between two curves is the integral, from intersection to intersection, of the upper function minus the lower one.

S=∫ab{f(x)−g(x)} dx(f(x)≥g(x))S=\int_a^b \{f(x)-g(x)\}\,dx\quad(f(x)\ge g(x))

The area between two graphs is the integral of the upper function minus the lower one.

S=∫ab{f(x)−g(x)} dx(f(x)≥g(x))\begin{gathered} S=\int_a^b\{f(x)-g(x)\}\,dx \\[4pt] (f(x)\ge g(x)) \end{gathered}

Check which is on top on each interval, and use the xx-coordinates of the intersections as the limits. If the curves swap places, split the interval.

xyy = x + 2y = x²ab
Integrate the upper function minus the lower one, between the intersections.Drag the dot

Examples

  1. 01For 0<x<3, which expression gives the area between these two curves?y=3x,y=x2\displaystyle y=3x,\quad y=x^2AnswerHide
    Answer∫03(3x−x2) dx\displaystyle \int_{0}^{3} (3x-x^2)\,dx

    Steps

    1. ∫03(3x−x2) dx\displaystyle \int_{0}^{3} (3x-x^2)\,dx=92\displaystyle = \frac{9}{2}
  2. 02The area enclosed by y=9y=9 and y=x2y=x^2. What goes in □?∫−33(□) dx\displaystyle \int_{-3}^{3} (\square)\,dxAnswerHide
    Answer9−x2\displaystyle 9-x^2

    Steps

    1. 9−x2=0\displaystyle 9 - x^2 = 0⇒x=±3\displaystyle \Rightarrow x = \pm 3
    2. The crossings become the limits
    3. ∫−33(9−x2) dx\displaystyle \int_{-3}^{3} (9-x^2)\,dx=36\displaystyle = 36
  3. 03Which expression gives the area between these two curves?y=4,y=x2\displaystyle y=4,\quad y=x^2AnswerHide
    Answer∫−22(4−x2) dx\displaystyle \int_{-2}^{2} (4-x^2)\,dx

    Steps

    1. 4−x2=0\displaystyle 4 - x^2 = 0⇒x=±2\displaystyle \Rightarrow x = \pm 2
    2. The crossings become the limits
    3. ∫−22(4−x2) dx\displaystyle \int_{-2}^{2} (4-x^2)\,dx=323\displaystyle = \frac{32}{3}
  4. 04The curves meet at x=0 and x=4, and y=4x is on top between them. What is the enclosed area?y=4x,y=x2\displaystyle y=4x,\quad y=x^2AnswerHide
    Answer323\displaystyle \frac{32}{3}
  5. 05The area enclosed by y=1y=1 and y=x2y=x^2. What goes in □?∫−11(□) dx\displaystyle \int_{-1}^{1} (\square)\,dxAnswerHide
    Answer1−x2\displaystyle 1-x^2

    Steps

    1. 1−x2=0\displaystyle 1 - x^2 = 0⇒x=±1\displaystyle \Rightarrow x = \pm 1
    2. The crossings become the limits
    3. ∫−11(1−x2) dx\displaystyle \int_{-1}^{1} (1-x^2)\,dx=43\displaystyle = \frac{4}{3}
  6. 06Which expression gives the area between these two curves?y=16,y=x2\displaystyle y=16,\quad y=x^2AnswerHide
    Answer∫−44(16−x2) dx\displaystyle \int_{-4}^{4} (16-x^2)\,dx

    Steps

    1. 16−x2=0\displaystyle 16 - x^2 = 0⇒x=±4\displaystyle \Rightarrow x = \pm 4
    2. The crossings become the limits
    3. ∫−44(16−x2) dx\displaystyle \int_{-4}^{4} (16-x^2)\,dx=2563\displaystyle = \frac{256}{3}

FAQ

Which function do I subtract?
Subtract the lower function from the upper one. If they swap places inside the interval, split at the intersection and integrate each part separately.

Published 2026-09-03 · Updated 2026-10-14