Tutorials › AP Calculus › Comparing Accumulation Functions on an Interval

Fundamental Theorem and Accumulation · Tutorial 474 of 999

Comparing Accumulation Functions on an Interval

Use the integral of the difference between two rates to compare the changes—and, when starting values agree, the values—of their accumulation functions.

Intermediate 9 min read

What You'll Learn

  • Write the difference between two accumulated changes as one integral.
  • Compare accumulation values when the functions share a starting value.
  • Account for unequal starting values before comparing accumulated quantities.
  • Interpret a positive, negative, or zero integral of the integrand difference.
  • Avoid deciding which accumulation is larger from a comparison at just one point.

Why Compare the Integrands?

Two quantities can accumulate over the same interval while changing at different rates. Examples include two objects moving along a line, two tanks filling, or two populations changing. If their rates are \(f\) and \(g\), comparing the rates at a single moment does not by itself tell us which quantity accumulated more over an interval. The accumulated difference depends on the rates throughout that interval.

The central idea is to subtract the rates first and then accumulate that difference. This turns a comparison of two accumulation functions into one integral.

Key idea: Over a shared interval, the difference between two accumulated changes is the integral of the difference between their integrands. If the quantities also have the same starting value, this gives the difference between their accumulation values.

Definitions and the Comparison Identity

Let \(f\) and \(g\) be integrable functions on \([a,b]\). Suppose two quantities have starting values \(A(a)\) and \(B(a)\), and accumulate according to the rates \(f\) and \(g\). Their accumulation functions are

$$ A(x)=A(a)+\int_a^x f(t)\,dt, \qquad B(x)=B(a)+\int_a^x g(t)\,dt. $$

Here, \(t\) is the variable of integration and \(x\) is the endpoint at which we evaluate the accumulated quantity. The functions \(f\) and \(g\) need only be integrable for the identities below. Continuity is a common sufficient condition in AP Calculus and also permits the usual derivative conclusion from the Fundamental Theorem of Calculus.

Theorem: For any \(u,v\) in the interval with \(u\leq v\), $$ \bigl(A(v)-A(u)\bigr)-\bigl(B(v)-B(u)\bigr) = \int_u^v \bigl(f(t)-g(t)\bigr)\,dt. $$ At an endpoint \(x\), the difference between the accumulation values is $$ A(x)-B(x)=A(a)-B(a)+\int_a^x \bigl(f(t)-g(t)\bigr)\,dt. $$

The first identity compares the changes in the two quantities over \([u,v]\). The second compares their values at \(x\), so it includes any difference in their starting values. When \(A(a)=B(a)\), the starting-value term is zero, and the difference in the values is just the integral of \(f-g\).

Why the Identity Works

The result follows from the definitions of the accumulation functions and linearity of the definite integral. The steps below establish both the interval-change formula and the endpoint-value formula.

1
Write each change over the same interval.
By additivity of definite integrals, \(A(v)-A(u)=\int_u^v f(t)\,dt\), and \(B(v)-B(u)=\int_u^v g(t)\,dt\).
2
Subtract the changes.
Subtracting the second equation from the first gives \(\int_u^v f(t)\,dt-\int_u^v g(t)\,dt\).
3
Combine the integrals.
By linearity, the result is \(\int_u^v(f(t)-g(t))\,dt\), as claimed.
4
Include the starting values to compare quantities.
From the definitions, \(A(x)-B(x)=A(a)-B(a)+\int_a^x f(t)\,dt-\int_a^x g(t)\,dt\). Linearity gives the endpoint-value formula.

This proof also explains why the same interval matters: both changes must be measured between the same endpoints before they can be combined into one integral. The identity is not an approximation. It follows exactly from the definitions and the properties of definite integrals.

What the Sign of the Integral Tells You

The integral of \(f-g\) gives a signed comparison. If it is positive, the change produced by \(f\) exceeds the change produced by \(g\) over the interval. If it is negative, the change produced by \(f\) is smaller. If it is zero, their net changes are equal—even if the rates differ at many points.

A useful sufficient condition is pointwise comparison. If \(f(t)\geq g(t)\) throughout \([u,v]\), then \(f(t)-g(t)\geq 0\) there, so

$$ \int_u^v (f(t)-g(t))\,dt\geq 0. $$

Thus \(A\) changes by at least as much as \(B\) on that interval. If their values agree at \(u\), then \(A(v)\geq B(v)\). For continuous integrands, if \(f-g\) is positive throughout an interval of positive length, its integral over that interval is positive, giving a strict comparison of the changes.

For a comparison of values at an endpoint, remember to include the starting-value difference. Even if the integral of \(f-g\) is positive, \(A(x)\) need not exceed \(B(x)\) if \(A(a)\) started sufficiently far below \(B(a)\).

Worked Comparisons

Worked Example: Equal Accumulations Despite Different Rates

Let \(A(0)=B(0)=2\), with rates \(f(t)=2t+1\) and \(g(t)=t+2\). Compare the accumulation values at \(x=2\).

First subtract the rates:

$$ f(t)-g(t)=(2t+1)-(t+2)=t-1. $$

Therefore the difference in the accumulation values is

$$ A(2)-B(2) =\int_0^2(t-1)\,dt =\left[\frac{t^2}{2}-t\right]_0^2 =(2-2)-(0-0) =0. $$

Check by calculating each value directly:

$$ A(2)=2+\int_0^2(2t+1)\,dt =2+\left[t^2+t\right]_0^2 =2+(4+2)=8, $$ $$ B(2)=2+\int_0^2(t+2)\,dt =2+\left[\frac{t^2}{2}+2t\right]_0^2 =2+(2+4)=8. $$

The check gives \(A(2)-B(2)=8-8=0\), matching the integral of the rate difference. The rates are not identical, but their signed difference over the whole interval is zero.

Worked Example: Compare Changes on an Interval with Nonzero Endpoints

Suppose \(A(1)=B(1)=7\), and on \([1,3]\) the rates are \(f(t)=5-t\) and \(g(t)=2\). Compare the accumulation values at \(3\).

Subtract the rates and integrate over the shared interval:

$$ f(t)-g(t)=(5-t)-2=3-t, $$ $$ A(3)-B(3) =\int_1^3(3-t)\,dt =\left[3t-\frac{t^2}{2}\right]_1^3. $$

At the upper endpoint, \(3(3)-\frac{3^2}{2}=9-\frac{9}{2}=\frac{9}{2}\). At the lower endpoint, \(3(1)-\frac{1^2}{2}=3-\frac{1}{2}=\frac{5}{2}\). Thus

$$ A(3)-B(3)=\frac{9}{2}-\frac{5}{2}=2. $$

Check by finding each value separately:

$$ A(3)=7+\int_1^3(5-t)\,dt =7+\left[5t-\frac{t^2}{2}\right]_1^3 =7+\left(\frac{21}{2}-\frac{9}{2}\right) =7+6=13, $$ $$ B(3)=7+\int_1^3 2\,dt =7+[2t]_1^3 =7+(6-2)=11. $$

The direct comparison is \(13-11=2\), which agrees with the integral of \(f-g\). Since the starting values were equal, the difference in the endpoint values equals the difference in the accumulated changes.

Worked Example: Add Signed Contributions Across Subintervals

Let \(A(0)=B(0)=0\). On \([0,4]\), suppose \(g(t)=1\), while \(f\) is given by

$$ f(t)= \begin{cases} 3, & 0\leq t<1,\\ 0, & 1\leq t<3,\\ 4, & 3\leq t\leq 4. \end{cases} $$

Compare the accumulated values at \(4\). Since \(f-g\) is respectively \(2\), \(-1\), and \(3\) on the three pieces, split the integral at the changes in its formula:

$$ A(4)-B(4) =\int_0^4(f(t)-g(t))\,dt =\int_0^1 2\,dt+\int_1^3(-1)\,dt+\int_3^4 3\,dt $$ $$ =2(1-0)-1(3-1)+3(4-3) =2-2+3 =3. $$

Check by computing the accumulations separately. The value of \(A\) is \(3\) over the first unit, \(0\) over the next two units, and \(4\) over the last unit:

$$ A(4)=3(1-0)+0(3-1)+4(4-3)=3+0+4=7. $$

The rate \(g\) is \(1\) across an interval of length \(4\), so

$$ B(4)=\int_0^4 1\,dt=1(4-0)=4. $$

Hence \(A(4)-B(4)=7-4=3\), as the rate-difference calculation gives. The negative contribution on \([1,3]\) cancels the positive contribution on \([0,1]\); the final interval supplies the remaining net difference.

A Common Mistake: Comparing Only the Current Rates

A tempting but incorrect shortcut is to compare the integrands at the right endpoint and infer which accumulation is larger. Accumulation records the entire history from the starting point, not just the rates at the endpoint.

Common mistake: Suppose \(A(0)=B(0)\), and \(f(t)-g(t)=-2\) on \([0,1)\) but \(f(t)-g(t)=1\) on \([1,2]\). Since \(f(2)>g(2)\), it is wrong to conclude that \(A(2)>B(2)\) from the endpoint rates alone.

The correction is to integrate the rate difference over the full interval:

$$ A(2)-B(2) =\int_0^1(-2)\,dt+\int_1^2 1\,dt =-2(1-0)+1(2-1) =-2+1=-1. $$

So \(A(2)\) is actually less than \(B(2)\), even though its rate is greater at the endpoint. The earlier negative contribution is larger than the later positive contribution. To compare accumulated values, compare the starting values and the integral of the rate difference across the whole interval.

How to Use the Comparison

When a problem asks which accumulation is greater, or by how much, organize the information before integrating:

  • Identify the common interval and the two integrands.
  • Determine whether the question compares changes or endpoint values.
  • For changes, integrate \(f-g\) over the shared interval.
  • For endpoint values, include the difference between the starting values.
  • Interpret the sign of the result: positive, negative, or zero.

This method is useful because it avoids calculating two accumulated quantities separately when only their difference is needed. It also makes cancellation visible: the individual rates may vary substantially, while their net difference over the interval may be small or zero.

Check Your Understanding

For each question, identify the relevant interval and account for starting values when needed.

  1. If \(A(a)=B(a)\), what integral gives \(A(x)-B(x)\)?
  2. If \(f(t)\geq g(t)\) throughout \([u,v]\), what can you conclude about the changes in \(A\) and \(B\) over that interval?
  3. If \(\int_u^v(f(t)-g(t))\,dt=0\), must \(f(t)=g(t)\) at every point? Explain.
  4. If \(A(a)\neq B(a)\), what additional term must be included when comparing \(A(x)\) and \(B(x)\)?
  5. Why is comparing \(f(v)\) and \(g(v)\) alone not enough to determine which accumulation value is larger at \(v\)?

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