Tutorials › AP Calculus › Signed Area and Cancellation

Riemann Sums and Definite Integrals · Tutorial 421 of 999

Signed Area and Cancellation

Interpret a definite integral as net signed area, and calculate what changes when parts of a graph lie below the horizontal axis.

Beginner 8 min read

What You'll Learn

  • Interpret regions above the horizontal axis as positive contributions and regions below it as negative contributions.
  • Distinguish a definite integral from the total geometric area between a graph and the axis.
  • Split an interval at zeros of a function to track signed contributions.
  • Explain how equal positive and negative areas can make a definite integral zero.
  • Check a signed-area calculation using an antiderivative when one is available.

What a Definite Integral Counts

A definite integral can describe the accumulation of a quantity over an interval. When the quantity is represented by a function \(f\), the graph’s position relative to the horizontal axis determines the sign of each contribution: values above the axis contribute positively, and values below it contribute negatively.

This makes the definite integral different from ordinary geometric area. Geometric area is never negative. A definite integral, by contrast, is a net total: positive and negative contributions can partially or completely cancel.

Key idea: On an interval \([a,b]\), the definite integral \(\int_a^b f(x)\,dx\) represents signed area. Regions where \(f(x)>0\) count positively; regions where \(f(x)<0\) count negatively.

For a continuous function, imagine separating the graph into regions above and below the axis. Add the areas above the axis, then subtract the areas below it. The result is the definite integral. If instead you want the total geometric area, you add the magnitudes of both kinds of regions.

Signed Area and Geometric Area

We can state the distinction precisely. Let \(f\) be continuous on \([a,b]\). Let \(A_+\) be the total geometric area of the regions where the graph is above the axis, and let \(A_-\) be the total geometric area of the regions where it is below the axis. Both \(A_+\) and \(A_-\) are nonnegative numbers.

$$ \int_a^b f(x)\,dx=A_+-A_- $$

The total geometric area between the graph and the horizontal axis is instead

$$ A_{\text{total}}=A_++A_-. $$

In particular, the integral is not necessarily the total area, nor is it necessarily positive. If the graph lies entirely above the axis, the integral equals the geometric area. If the graph lies entirely below, the integral is the negative of the geometric area. If it crosses the axis, the positive and negative regions must be combined with their signs.

Worked Example: Combining Two Triangular Regions

A continuous, piecewise linear graph passes through \((0,0)\), \((2,3)\), \((4,0)\), \((5,-2)\), and \((6,0)\). Find the signed area over \([0,6]\), and then find the total geometric area between the graph and the axis.

From \(x=0\) to \(x=4\), the graph forms a triangle above the axis. Its base is \(4\) and its height is \(3\), so its area is

$$ A_+=\frac{1}{2}(4)(3)=6. $$

From \(x=4\) to \(x=6\), the graph forms a triangle below the axis. Its base is \(2\) and its height is \(2\), so its geometric area is

$$ A_-=\frac{1}{2}(2)(2)=2. $$

The signed area subtracts the below-axis region:

$$ \int_0^6 f(x)\,dx=A_+-A_-=6-2=4. $$

The total geometric area adds both regions:

$$ A_{\text{total}}=A_++A_-=6+2=8. $$

Check: The positive contribution exceeds the negative contribution by \(4\), matching the signed integral. The total area, \(8\), is larger because it counts the below-axis region as positive area rather than subtracting it.

Why Contributions Cancel

The sign comes from the function value. A thin vertical strip where \(f(x)>0\) lies above the axis, so its contribution to the integral is positive. A strip where \(f(x)<0\) lies below the axis, so its contribution is negative. When these contributions accumulate across the interval, opposite signs reduce the net result.

One way to express this precisely is to separate a function into its positive and negative parts. Define \(f_+(x)=\max(f(x),0)\) and \(f_-(x)=\max(-f(x),0)\). The function \(f_+\) keeps the part above the axis and is zero elsewhere; \(f_-\) records the magnitude of the part below the axis and is zero elsewhere.

$$ f(x)=f_+(x)-f_-(x) \qquad\text{and}\qquad |f(x)|=f_+(x)+f_-(x). $$

Integrating the first identity gives the signed integral. Integrating the second gives the total geometric area. This establishes why one calculation subtracts the below-axis amount while the other adds it:

$$ \int_a^b f(x)\,dx = \int_a^b f_+(x)\,dx-\int_a^b f_-(x)\,dx, $$
$$ \int_a^b |f(x)|\,dx = \int_a^b f_+(x)\,dx+\int_a^b f_-(x)\,dx. $$

These formulas assume the integrals exist; in particular, they apply to continuous \(f\) on a closed interval. They also show that the absolute value must be applied to the function before integrating if the goal is total geometric area.

Takeaway: The signed integral measures the balance between the above-axis and below-axis areas. The integral of \(|f|\) measures their total, without cancellation.

Splitting at Where the Graph Crosses the Axis

When a function changes sign, its zeros are useful landmarks. If \(c\) lies between \(a\) and \(b\), the definite integral is additive across the two intervals:

$$ \int_a^b f(x)\,dx = \int_a^c f(x)\,dx+\int_c^b f(x)\,dx. $$

This holds whether \(f\) is positive, negative, or changes sign on either interval. To see the cancellation in a direct way, let \(F(x)=\int_a^x f(t)\,dt\), the accumulation of \(f\) from \(a\) to \(x\). Then the contribution from \(a\) to \(c\) is \(F(c)-F(a)\), and the contribution from \(c\) to \(b\) is \(F(b)-F(c)\). Adding them gives

$$ \bigl(F(c)-F(a)\bigr)+\bigl(F(b)-F(c)\bigr) =F(b)-F(a). $$

The intermediate accumulation \(F(c)\) cancels, leaving the full-interval accumulation. This is why splitting at a zero lets us calculate the signed contributions separately and then combine them without changing the answer.

Worked Example: A Linear Function That Crosses the Axis

Find the signed integral and the total geometric area for \(f(x)=x-1\) on \([0,3]\).

First locate the zero: \(x-1=0\), so the graph crosses the axis at \(x=1\). On \([0,1]\), the graph is below the axis. This region is a triangle with base \(1\) and height \(1\), giving geometric area \(\frac{1}{2}\). Its signed contribution is \(-\frac{1}{2}\).

On \([1,3]\), the graph is above the axis. The triangle has base \(2\) and height \(f(3)=2\), so its area and signed contribution are

$$ \frac{1}{2}(2)(2)=2. $$

Combining the signed contributions gives

$$ \int_0^3 (x-1)\,dx=-\frac{1}{2}+2=\frac{3}{2}. $$

The total geometric area is

$$ A_{\text{total}}=\frac{1}{2}+2=\frac{5}{2}. $$

Check using an antiderivative: An antiderivative of \(x-1\) is \(F(x)=\frac{x^2}{2}-x\). Therefore,

$$ \int_0^3 (x-1)\,dx = \left(\frac{3^2}{2}-3\right) - \left(\frac{0^2}{2}-0\right) = \frac{9}{2}-3 = \frac{3}{2}. $$

Differentiating the antiderivative gives \(F'(x)=x-1\), and its endpoint evaluation matches the signed-area calculation.

Equal Areas Can Produce a Zero Integral

A zero definite integral does not necessarily mean that the function is zero or that there is no area between its graph and the axis. It can mean that positive and negative areas balance exactly. The next example shows this distinction on a symmetric interval.

Worked Example: A Zero Net Area with Nonzero Geometric Area

For \(f(x)=x\) on \([-2,2]\), find both the signed integral and the total geometric area.

The graph is below the axis from \(-2\) to \(0\), and above it from \(0\) to \(2\). Each region is a triangle with base \(2\) and height \(2\), so each has geometric area

$$ \frac{1}{2}(2)(2)=2. $$

The signed contributions are \(-2\) and \(+2\). Thus

$$ \int_{-2}^2 x\,dx=-2+2=0. $$

The total geometric area is instead

$$ A_{\text{total}}=2+2=4. $$

Check using an antiderivative: An antiderivative is \(F(x)=\frac{x^2}{2}\), since \(F'(x)=x\). Then

$$ \int_{-2}^2 x\,dx = \frac{2^2}{2}-\frac{(-2)^2}{2} = 2-2 = 0. $$

The integral is zero, but the two triangular regions have a combined area of \(4\). The result records cancellation, not an absence of regions.

A Common Mistake: Making Every Region Positive

A frequent error is to find the geometric area below the axis correctly and then add it to the integral as though it were a positive contribution. For \(f(x)=x-1\) on \([0,3]\), that mistake would give

$$ \text{Incorrect:}\qquad \int_0^3 (x-1)\,dx = \frac{1}{2}+2 = \frac{5}{2}. $$

This is the total geometric area, not the signed integral. The first triangle lies below the axis, so its signed contribution is negative. Correcting the sign gives

$$ \int_0^3 (x-1)\,dx = -\frac{1}{2}+2 = \frac{3}{2}. $$

The antiderivative check also gives \(\frac{3}{2}\), confirming the correction. A reliable habit is to label each region as above or below the axis before combining its area.

Why the Distinction Matters

Signed area is useful whenever the sign of a quantity carries meaning. For example, if velocity is positive in one direction and negative in the opposite direction, its definite integral gives net displacement: motion in opposite directions cancels. Total distance traveled instead adds the magnitudes of motion, corresponding to integrating the absolute value of velocity. The mathematical distinction is the same as the difference between \(\int f(x)\,dx\) and \(\int |f(x)|\,dx\).

For graph-based questions, proceed carefully: identify where the graph is above and below the axis, determine each region’s geometric area, assign the appropriate sign, and combine. If an antiderivative is available, evaluating it over the full interval provides a useful check of the signed result. It does not turn a signed integral into total geometric area; those remain different quantities whenever below-axis regions occur.

Check Your Understanding

Answer these questions using signed contributions, and distinguish them from total geometric area.

  1. A graph has an above-axis area of \(7\) and a below-axis area of \(3\). What is its signed integral, and what is its total geometric area?
  2. Can a function have a zero definite integral on an interval while having positive total geometric area? Explain.
  3. For \(f(x)=x-2\) on \([0,4]\), where does the graph cross the axis, and which part contributes negatively?
  4. What does \(\int_a^b |f(x)|\,dx\) measure that \(\int_a^b f(x)\,dx\) may not measure?
  5. A calculation gives a positive area for every region, including one below the axis. What quantity has likely been found, and how should the signed integral be corrected?

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