Tutorials › AP Calculus › Computing Area when One Curve Stays Above

Area Between Curves · Tutorial 635 of 999

Computing Area when One Curve Stays Above

Use the vertical distance between two curves to set up and evaluate the area on an interval where their order stays fixed.

Intermediate 9 min read

What You'll Learn

  • Identify the upper and lower functions on a specified interval
  • Set up area as the integral of upper minus lower
  • Evaluate area integrals using exact bounds and antiderivatives
  • Check an area result using the sign of the vertical gap
  • Recognize why reversing upper and lower gives a signed, not geometric, result

From Vertical Distance to Area

When two curves bound a region, the area depends on the vertical distance between them at each \(x\)-value. If one curve stays above the other across the entire interval, that distance has a consistent expression: the upper function minus the lower function.

The main task is therefore to identify the order of the curves correctly and use that order throughout the integral. The earlier material on ordering curves with test points helps establish which function is above. Here, we use that information to calculate the area.

Key idea: On an interval where \(f(x)\ge g(x)\), the vertical distance between the curves is \(f(x)-g(x)\). The area between them from \(x=a\) to \(x=b\) is the integral of that distance.

The Area Formula

Let \(f\) and \(g\) be continuous on the closed interval \([a,b]\), where \(a<b\). Suppose that \(f(x)\ge g(x)\) for every \(x\) in the interval. The curve \(y=f(x)\) is then an upper boundary, and \(y=g(x)\) is a lower boundary. Their vertical separation at \(x\) is \(f(x)-g(x)\).

Theorem: If \(f\) and \(g\) are continuous on \([a,b]\) and \(f(x)\ge g(x)\) for all \(x\in[a,b]\), then the area \(A\) of the region between their graphs from \(x=a\) to \(x=b\) is $$ A=\int_a^b \bigl(f(x)-g(x)\bigr)\,dx. $$

The condition \(f(x)\ge g(x)\) matters: it makes the integrand nonnegative, so the integral accumulates geometric area rather than cancelling positive and negative contributions. If the functions have the same value at some points but the order otherwise remains the same, the formula still applies. At such points, the vertical gap is zero.

If the functions describe physical quantities, their units should also be considered. For example, if \(x\) is measured in metres and \(f(x)\) and \(g(x)\) in metres, the area has units of square metres. More generally, the units of an area integral are the units of the vertical difference multiplied by the units of \(x\).

Why Upper Minus Lower Gives the Area

A vertical slice of the region at a particular \(x\)-value extends from \(y=g(x)\) to \(y=f(x)\). Its height is therefore

$$ f(x)-g(x). $$

Over a short interval of width \(\Delta x\), the slice is approximately a thin rectangle: its area is approximately its height times its width. Adding these approximate slice areas gives a Riemann sum. As the widths of the slices approach zero, continuity ensures that the sum approaches the definite integral.

$$ \sum_{i=1}^{n}\bigl(f(x_i^*)-g(x_i^*)\bigr)\Delta x_i \ \longrightarrow\ \int_a^b \bigl(f(x)-g(x)\bigr)\,dx. $$

Because every slice height is nonnegative, these contributions add to the region's geometric area. This explains both why the integrand is upper minus lower and why the order condition is essential.

A Reliable Setup and Evaluation

For a problem that states or establishes that one curve stays above the other, use the following sequence. The bounds \(a\) and \(b\) specify the horizontal interval; the integrand records the vertical distance within that interval.

1
Record the interval.
Use the given horizontal limits \(a\) and \(b\) as the bounds of integration.
2
Identify the upper and lower functions.
Use the stated order or a valid comparison on the interval to decide which function has the greater \(y\)-value.
3
Write the area integral.
Subtract the lower function from the upper function, then integrate from \(a\) to \(b\).
4
Evaluate and check.
Use an antiderivative, substitute both bounds, and confirm that the result is nonnegative.

Worked Examples

Worked Example: A Line Above a Parabola

Find the area between \(y=x+2\) and \(y=x^2\) on \([0,1]\), given that \(x+2\) is the upper function there.

The upper function is \(f(x)=x+2\), the lower function is \(g(x)=x^2\), and the bounds are \(0\) and \(1\). Thus,

$$ A=\int_0^1\bigl((x+2)-x^2\bigr)\,dx =\int_0^1(x+2-x^2)\,dx. $$

An antiderivative of \(x+2-x^2\) is \(\frac{x^2}{2}+2x-\frac{x^3}{3}\), since differentiating it gives \(x+2-x^2\). Evaluate at the bounds:

$$ \begin{aligned} A &=\left[\frac{x^2}{2}+2x-\frac{x^3}{3}\right]_0^1\\ &=\left(\frac{1^2}{2}+2(1)-\frac{1^3}{3}\right) -\left(\frac{0^2}{2}+2(0)-\frac{0^3}{3}\right)\\ &=\frac12+2-\frac13\\ &=\frac{3}{6}+\frac{12}{6}-\frac{2}{6}\\ &=\frac{13}{6}. \end{aligned} $$

The answer is positive, as expected for area. Differentiating the antiderivative confirms the integrand, \(x+2-x^2\), so the evaluation uses the correct function difference.

Worked Example: A Line Above a Parabola on a Symmetric Interval

Find the area between \(y=4-x\) and \(y=x^2\) on \([-1,1]\). First confirm the stated order: for \(-1\le x\le1\), \(4-x\ge3\), while \(x^2\le1\). Therefore \(4-x\) is above \(x^2\) throughout the interval.

Set up the area using upper minus lower:

$$ A=\int_{-1}^1\bigl((4-x)-x^2\bigr)\,dx =\int_{-1}^1(4-x-x^2)\,dx. $$

An antiderivative is \(4x-\frac{x^2}{2}-\frac{x^3}{3}\), because its derivative is \(4-x-x^2\). Substituting the upper bound gives

$$ 4(1)-\frac{1^2}{2}-\frac{1^3}{3} =4-\frac12-\frac13 =\frac{24}{6}-\frac{3}{6}-\frac{2}{6} =\frac{19}{6}. $$

Substituting the lower bound gives

$$ 4(-1)-\frac{(-1)^2}{2}-\frac{(-1)^3}{3} =-4-\frac12+\frac13 =-\frac{24}{6}-\frac{3}{6}+\frac{2}{6} =-\frac{25}{6}. $$

Subtract the lower-bound value from the upper-bound value:

$$ A=\frac{19}{6}-\left(-\frac{25}{6}\right) =\frac{44}{6} =\frac{22}{3}. $$

The result is positive. As a check, differentiating \(4x-\frac{x^2}{2}-\frac{x^3}{3}\) gives \(4-x-x^2\), the vertical gap used in the integral.

Worked Example: A Trigonometric Curve Above a Horizontal Line

Find the area between \(y=2+\sin x\) and \(y=1\) on \([0,\pi]\). Since \(\sin x\ge0\) on this interval, \(2+\sin x\ge2>1\). The trigonometric curve is therefore always above the horizontal line.

The upper-minus-lower difference is \((2+\sin x)-1=1+\sin x\), so

$$ A=\int_0^\pi(1+\sin x)\,dx. $$

An antiderivative is \(x-\cos x\), because \(\frac{d}{dx}(x-\cos x)=1+\sin x\). Evaluate:

$$ \begin{aligned} A &=\left[x-\cos x\right]_0^\pi\\ &=(\pi-\cos\pi)-(0-\cos0)\\ &=(\pi-(-1))-(0-1)\\ &=\pi+1+1\\ &=\pi+2. \end{aligned} $$

This is positive. Differentiation returns \(1+\sin x\), confirming the antiderivative and the integrand.

A Common Mistake: Reversing the Difference

The order of subtraction is not interchangeable. For the first example, a common incorrect setup is to subtract the upper curve from the lower curve:

$$ \int_0^1\bigl(x^2-(x+2)\bigr)\,dx =\int_0^1(x^2-x-2)\,dx. $$

An antiderivative is \(\frac{x^3}{3}-\frac{x^2}{2}-2x\). Evaluating gives

$$ \left[\frac{x^3}{3}-\frac{x^2}{2}-2x\right]_0^1 =\frac13-\frac12-2 =\frac{2}{6}-\frac{3}{6}-\frac{12}{6} =-\frac{13}{6}. $$

The negative answer is not the geometric area. It is the signed integral of lower minus upper. Correct the setup by subtracting the lower function from the upper function:

$$ \int_0^1\bigl((x+2)-x^2\bigr)\,dx=\frac{13}{6}. $$

A useful check is to examine the integrand before evaluating. If the order is correct throughout the interval, upper minus lower should be nonnegative there, and the resulting area cannot be negative.

What to Keep in Mind

The formula is concise, but it relies on two decisions: using the correct interval and using the correct vertical order. The bounds describe where the region begins and ends horizontally; the function difference describes its slice height. Neither should be chosen from the antiderivative or from the appearance of an answer.

Once the order is established, the calculation follows a consistent pattern:

For a fixed upper and lower order on \([a,b]\): area equals the definite integral of upper minus lower from \(a\) to \(b\). Evaluate the integral, and check that the result is nonnegative.

This method turns a region into an accumulation of vertical distances. It is especially useful because the curves need not be lines or simple geometric shapes: as long as the functions are continuous and their order is fixed on the interval, the same setup applies.

Check Your Understanding

For each question, identify the upper and lower functions before setting up the integral.

  1. On \([0,2]\), \(y=5\) is above \(y=x+1\). Write the area integral. Do not evaluate it.
  2. On \([0,1]\), \(y=3-x^2\) is above \(y=1\). Write and evaluate the area integral.
  3. For an area integral, what does a negative result suggest about the order of subtraction?
  4. Why does continuity help justify adding the vertical slice areas with a definite integral?
  5. If the functions meet at an endpoint but one remains above the other throughout the interval, can the upper-minus-lower formula still be used? Explain briefly.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon