Calculus · Applying the integral

The area between two curves

The upper less the lower, always.

The axis is just another curve

In the last unit area below the axis counted as negative, and that took constant care. Now the axis is replaced by a second curve — and something surprising happens: even when both curves dive deep below the axis, that problem simply disappears.

The sixth unit measured the area between a curve and the axis. The axis, however, is only a particular curve — the line at height zero — and once that is seen the general case costs nothing extra.

A = \int_{a}^{b} \big[\,f(x) - g(x)\,\big]\,dx, \qquad f \ge g \text{ on } [a,b]

Each strip contributes a height times a width, and the height is the difference of the two functions.

Two worked examples

Example 1 — a parabola under a line

  1. Take f(x) = x and g(x) = x^{2}, meeting at zero and one.
  2. Between them the line is the upper one — test at a half.
  3. Integrate the difference. \int_{0}^{1}(x - x^{2})\,dx
  4. The antiderivative, evaluated. \tfrac{1}{2} - \tfrac{1}{3} = \tfrac{1}{6}

Example 2 — finding the limits first

  1. The limits were not given; they came from setting the curves equal. x = x^{2}
  2. Which factors at once. x(1 - x) = 0
  3. So the crossings are zero and one, and those are the limits.
  4. Without them the integral has no ends and cannot be computed.
A calculator: The area between y = x and y = x^k — sliders for The power k, with results that update at once on a graph.