Tutorials › Calculus I › Cancellation Across Adjacent Intervals

Integral Evaluation Strategies · Tutorial 1173 of 1495

Cancellation Across Adjacent Intervals

Use adjacent-interval additivity and signed contributions to determine when definite integrals cancel, including when the integrand changes sign.

Advanced 10 min read

What You'll Learn

  • Apply additivity to split an integral at a shared endpoint
  • Use orientation to reverse the bounds of a definite integral
  • Identify when contributions from adjacent intervals are equal and opposite
  • Check cancellation when the integrand changes sign on either interval
  • Distinguish equal integral values from pointwise cancellation of function values

Why Adjacent Intervals Can Cancel

A definite integral records a signed total, not merely the total geometric area between a graph and the horizontal axis. Contributions above the axis count positively, and contributions below it count negatively. Consequently, a function can have nonzero contributions on two adjoining intervals while its integral over their union is zero.

The key tools are additivity and orientation. Additivity lets us split an interval at a shared endpoint. Orientation tells us that reversing the direction of integration changes the sign. Together, these facts make it possible to identify cancellation without assuming that the function has one sign or that its graph has a particular shape.

Additivity and Orientation

For a continuous function \(f\) on an interval containing \(a\), \(b\), and \(c\), with \(a\leq b\leq c\), additivity gives

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

Thus, the integral over two adjacent intervals is the sum of the two individual integrals. The shared endpoint \(b\) does not itself contribute a separate term.

The orientation rule is

$$ \int_b^a f(x)\,dx=-\int_a^b f(x)\,dx. $$

It follows that traversing the same interval in opposite directions cancels exactly:

$$ \int_a^b f(x)\,dx+\int_b^a f(x)\,dx=0. $$

For adjacent intervals, however, the intervals are not the same interval traversed in opposite directions. Cancellation occurs when their integral values are equal and opposite.

Definition: Two adjacent interval contributions cancel when \(\int_a^b f(x)\,dx=-\int_b^c f(x)\,dx\). By additivity, this is equivalent to \(\int_a^c f(x)\,dx=0\).

The function need not be zero anywhere, and its values on one interval need not be pointwise opposite to its values on the other. What must cancel is the signed total.

A General Cancellation Test

Let \(A=\int_a^b f(x)\,dx\) and \(B=\int_b^c f(x)\,dx\). Additivity says that the integral across the combined interval is \(A+B\). Therefore, the complete test is to determine whether \(A+B=0\). In practice, a useful route is to compute each contribution separately, or to relate one interval to the other by a change of variable.

1
Split at the shared endpoint.
Write the integral over the combined interval as the sum of the adjacent integrals.
2
Keep the signs.
Evaluate each integral as a signed quantity, retaining contributions from regions where the function is negative.
3
Compare the totals.
If the two values add to zero, the integral over the combined interval is zero.

A reflection relation can sometimes provide the comparison directly. For instance, if the adjacent intervals have equal length \(L\), and \(f(b+t)=-f(b-t)\) for \(0\leq t\leq L\), the contributions cancel. This relation pairs points equally far from the shared endpoint. The change of variable \(x=b+t\) on the right interval and \(x=b-t\) on the left interval shows why the paired contributions have opposite signs.

Why Reflection Gives Cancellation

Here is a complete justification under the stated conditions. Assume \(f\) is continuous on \([b-L,b+L]\) and satisfies \(f(b+t)=-f(b-t)\) for \(0\leq t\leq L\). Substitute \(x=b+t\) in the right-hand integral. Then substitute \(x=b-t\) in the left-hand integral. The second substitution reverses the bounds, which contributes a minus sign:

$$ \begin{aligned} \int_b^{b+L} f(x)\,dx &=\int_0^L f(b+t)\,dt,\\ \int_{b-L}^b f(x)\,dx &=\int_L^0 f(b-t)(-dt) =\int_0^L f(b-t)\,dt. \end{aligned} $$

Adding these equations and using the assumed relation gives

$$ \begin{aligned} \int_{b-L}^b f(x)\,dx+\int_b^{b+L} f(x)\,dx &=\int_0^L \bigl(f(b-t)+f(b+t)\bigr)\,dt\\ &=\int_0^L 0\,dt\\ &=0. \end{aligned} $$

The cancellation is between the two interval totals. The proof also shows a sufficient condition for cancellation, not the only possible one: two integrals can be equal and opposite even if this point-by-point reflection relation does not hold.

Worked Example: Cancellation Across a Shared Reflection Point

Let \(f(x)=x-2\) on \([0,4]\). Split the interval at \(2\), so the adjacent intervals are \([0,2]\) and \([2,4]\).

On the first interval, an antiderivative is \(F(x)=\frac{x^2}{2}-2x\). Therefore,

$$ \begin{aligned} \int_0^2 (x-2)\,dx &=\left[\frac{x^2}{2}-2x\right]_0^2\\ &=(2-4)-(0-0)\\ &=-2. \end{aligned} $$

On the second interval,

$$ \begin{aligned} \int_2^4 (x-2)\,dx &=\left[\frac{x^2}{2}-2x\right]_2^4\\ &=(8-8)-(2-4)\\ &=0-(-2)\\ &=2. \end{aligned} $$

Additivity now gives

$$ \int_0^4 (x-2)\,dx=-2+2=0. $$

Check: using the same antiderivative directly gives \(F(4)-F(0)=(8-8)-0=0\), agreeing with the split calculation. The integrand is negative to the left of \(2\) and positive to the right, so its signed contributions cancel.

Cancellation Does Not Require a Constant Sign

On an interval where the function changes sign, its integral is the net result of positive and negative contributions within that interval. It is still valid to compare this net result with the integral over an adjacent interval. The relevant quantities are the two signed integrals, not the unsigned areas and not the values at just the endpoints.

Worked Example: Both Adjacent Contributions Change Sign

Define \(f\) on \([0,4]\) by

$$ f(x)= \begin{cases} 3x-2, & 0\leq x<2,\\ 8-3x, & 2\leq x\leq 4. \end{cases} $$

The value assigned at the single shared point does not affect either integral. On \([0,2]\), \(3x-2\) changes sign at \(x=\frac{2}{3}\). Its integral is

$$ \begin{aligned} \int_0^2 (3x-2)\,dx &=\left[\frac{3x^2}{2}-2x\right]_0^2\\ &=(6-4)-0\\ &=2. \end{aligned} $$

On \([2,4]\), \(8-3x\) changes sign at \(x=\frac{8}{3}\). Its integral is

$$ \begin{aligned} \int_2^4 (8-3x)\,dx &=\left[8x-\frac{3x^2}{2}\right]_2^4\\ &=(32-24)-(16-6)\\ &=8-10\\ &=-2. \end{aligned} $$

Thus,

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

Check: applying the piecewise antiderivative calculation interval by interval gives the same total, zero. Each integral includes both positive and negative contributions; it is their net values, \(2\) and \(-2\), that cancel.

Equal Totals Do Not Require Pointwise Opposites

A reflection relation is convenient when it is present, but cancellation can arise for a more general reason: two different function shapes can have equal and opposite signed integrals. An integral compresses all the values on an interval into one number. Matching those numbers does not require matching the function values point by point.

Worked Example: Opposite Integrals Without Pointwise Matching

Define \(f\) on \([0,2]\) by

$$ f(x)= \begin{cases} x^2, & 0\leq x<1,\\ -\dfrac{2}{3}(x-1), & 1\leq x\leq 2. \end{cases} $$

The first contribution is

$$ \int_0^1 x^2\,dx =\left[\frac{x^3}{3}\right]_0^1 =\frac{1}{3}-0 =\frac{1}{3}. $$

For the second contribution, set \(u=x-1\), so that \(du=dx\), and the bounds \(x=1,2\) become \(u=0,1\). Then

$$ \begin{aligned} \int_1^2 -\frac{2}{3}(x-1)\,dx &=-\frac{2}{3}\int_0^1 u\,du\\ &=-\frac{2}{3}\left[\frac{u^2}{2}\right]_0^1\\ &=-\frac{2}{3}\cdot\frac{1}{2}\\ &=-\frac{1}{3}. \end{aligned} $$

Therefore,

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

Check: the two displayed integrals are equal and opposite. But the first interval has a quadratic function and the second a linear one, so the cancellation does not depend on pointwise opposite function values under reflection.

Common Mistake: Assuming the Shared Endpoint Cancels

A common error is to treat the shared endpoint as if it were a term that appears with opposite signs in the two integrals. For example, the following calculation is not a valid consequence of additivity:

$$ \int_0^2 f(x)\,dx+\int_2^4 f(x)\,dx \ne 0 \quad\text{just because both intervals meet at }2. $$

The shared endpoint sets the boundary between the intervals; it does not determine either integral's value. For the concrete function \(f(x)=1\), both adjacent integrals are \(2\), so

$$ \int_0^2 1\,dx+\int_2^4 1\,dx=2+2=4, $$

not zero. The correction is to calculate or otherwise compare the two signed contributions. They cancel only if one is the negative of the other. Reversing the bounds on one interval would change its sign, but that would describe integration in the opposite direction, not cancellation caused merely by adjacency.

Why This View Is Useful

When evaluating a definite integral, a split can reveal structure that is hidden in the unsplit expression. It can make it clear that a negative contribution offsets a positive one, or that two adjacent intervals contribute equal and opposite totals even when the function changes sign within each. Conversely, additivity prevents an unjustified conclusion: adjacency alone never guarantees a zero total.

For any split point \(b\), keep the exact relationship in view:

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

Then ask whether the two terms on the right actually sum to zero. If they do, cancellation is established. If they do not, the combined integral is their sum, regardless of where the intervals meet.

Check Your Understanding

Use additivity and signed integral values to answer these questions.

  1. If \(\int_a^b f(x)\,dx=5\) and \(\int_b^c f(x)\,dx=-5\), what is \(\int_a^c f(x)\,dx\)?
  2. Does a shared endpoint, by itself, imply that integrals over adjacent intervals cancel? Explain.
  3. Can two adjacent interval integrals cancel if the function changes sign on both intervals? What quantities should be compared?
  4. If \(f(b+t)=-f(b-t)\) for \(0\leq t\leq L\), what is the integral over \([b-L,b+L]\), assuming \(f\) is continuous there?
  5. What sign change occurs when the bounds of a definite integral are reversed?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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