# Accumulation functions and definite integrals in applied contexts

> AP Calculus BC · Applications of Integration
> Source: https://www.owlsprep.com/study/ap-calculus-bc-u8-accumulation-functions-and-definite-integrals/

This guide covers accumulation functions defined by definite integrals, the Net Change Theorem, rate-in rate-out problems, and kinematic accumulation, aligned with the AP Calculus BC CED for Unit 8. You will learn to set up and solve applied integration problems common on AP exams.

**Prerequisites:** [Fundamental Theorem of Calculus (Parts 1 and 2)](https://www.owlsprep.com/study/ap-calculus-ab-fundamental-theorem-calculus/); [Basic derivative and definite integral computation](https://www.owlsprep.com/study/ap-calculus-bc-definite-integral-computation/); [Derivatives as rates of change](https://www.owlsprep.com/study/ap-calculus-ab-derivatives-rates-change/)

## Learning objectives

- Define accumulation functions and interpret them in context
- Apply the Net Change Theorem to solve applied problems
- Solve rate-in rate-out problems and find extrema of quantities
- Calculate net displacement and total distance for kinematic motion problems

## What is an Accumulation Function?

An accumulation function is a function defined by a definite integral with a variable upper bound, written as $A(x) = \int_a^x r(t) dt$, where $r(t)$ is the known rate of change of an underlying quantity. In applied contexts, integrating a rate of change over an interval gives the total accumulated net change in the original quantity from the lower bound to the upper bound. This topic makes up 10–15% of the AP Calculus BC exam score, appearing in both multiple-choice and free-response questions, often as the backbone of multi-part contextual problems.

**Accumulation Function** — A function defined by a definite integral with a variable upper bound, giving the total net change of a quantity from a fixed starting point $a$ to the input $x$. Unlike indefinite integrals, it returns a specific numerical value for any input $x$.

*Notation:* $A(x) = \int_a^x r(t) dt$, where $r(t)$ is continuous

*Example:* If $r(t)$ is the rate of water flow into a tank, $A(10)$ is the total water added over 10 minutes.

## The Net Change Theorem

The Net Change Theorem is the core theoretical result underpinning all applied accumulation problems. It follows directly from the Fundamental Theorem of Calculus Part 2, formalizing the link between rates of change and total change.

**Net Change Theorem** — If $Q(t)$ is a differentiable quantity with derivative $Q'(t) = r(t)$, the net change in $Q$ over $[a, b]$ is given by:

$$Q(b) - Q(a) = \int_a^b r(t) dt$$

To find the final value of $Q$ at $b$, rearrange the formula to the most commonly used applied form: $Q(b) = Q(a) + \int_a^b r(t) dt$. Positive $r(t)$ means $Q$ is increasing, negative $r(t)$ means $Q$ is decreasing. Net change counts decreases as negative, unlike total change which sums all magnitudes.

**Worked example:** The rate of change of the temperature of a soda can taken out of a cooler is $r(t) = 0.8e^{0.05t}$ degrees Fahrenheit per minute, $t$ minutes after being removed from the cooler. If the initial temperature of the soda at $t=0$ is 40°F, what is the temperature after 20 minutes, rounded to the nearest degree?

1. Apply the Net Change Theorem for final temperature: $T(t) = T(0) + \int_0^t r(s) ds$. We need $T(20)$, with $T(0) = 40$.
2. Substitute the rate function into the formula:

   $$T(20) = 40 + \int_0^{20} 0.8 e^{0.05s} ds$$
3. Compute the antiderivative of the integrand:

   $$\int 0.8 e^{0.05s} ds = 0.8 \cdot \frac{1}{0.05} e^{0.05s} = 16 e^{0.05s}$$
4. Evaluate the definite integral from 0 to 20:

   $$16 e^{0.05(20)} - 16 e^0 = 16(e - 1) \approx 27.49$$
5. Add the net change to the initial temperature to get the final value:

   $$40 + 27.49 \approx 67$$

> **Exam tip:** Always explicitly check if the question asks for net change or final value. If given an initial value, add the net change (the integral result) to the initial value to get the final answer, do not leave your answer as just the integral.

## Rate-In Rate-Out Problems

Rate-in rate-out problems are one of the most common applied accumulation contexts on the AP exam. These problems model a quantity that enters and leaves a system at two separate rates: an input rate $r_{in}(t)$ and output rate $r_{out}(t)$.

The net rate of change of the quantity is $r_{net}(t) = r_{in}(t) - r_{out}(t)$. To find the total amount of the quantity in the system at time $T$, starting from an initial amount $Q_0$, the accumulation formula is:

$$Q(T) = Q_0 + \int_0^T \left(r_{in}(t) - r_{out}(t)\right) dt$$

To find the maximum or minimum amount of the quantity, find critical points where $r_{in}(t) = r_{out}(t)$, then apply the First Derivative Test to confirm extrema.

**Worked example:** A community swimming pool holds 12,000 gallons of water at 8:00 AM on opening day. Water is added to the pool at a rate of $r_{in}(t) = 200t - 5t^2$ gallons per hour, and water evaporates and drains out at a rate of $r_{out}(t) = 10\sqrt{t}$ gallons per hour, for $0 \leq t \leq 12$ hours after 8 AM. How much water is in the pool at 8 PM ($t=12$)?

1. Initial volume $V_0 = 12000$, so the formula for volume at $t=12$ is:

   $$V(12) = 12000 + \int_0^{12} (r_{in}(t) - r_{out}(t)) dt$$
2. Simplify the integrand:

   $$200t - 5t^2 - 10t^{1/2}$$
3. Find the antiderivative:

   $$100t^2 - \frac{5}{3}t^3 - \frac{20}{3}t^{3/2}$$
4. Evaluate from 0 to 12 (antiderivative at 0 is 0):

   $$100(144) - \frac{5}{3}(1728) - \frac{20}{3}(12\sqrt{12}) \approx 11242.87$$
5. Add to initial volume to get final volume:

   $$V(12) \approx 12000 + 11242.87 = 23243 \text{ gallons}$$

> **Exam tip:** When asked for the time when the volume (or quantity) is maximized, do not integrate first. Set $r_{in}(t) = r_{out}(t)$ to find critical points, then test them with the First Derivative Test to save time on FRQs.

## Kinematic Accumulation for Motion

Kinematic (linear motion) problems are another frequent AP exam context for accumulation. For motion along a line, velocity is the rate of change of position, and acceleration is the rate of change of velocity. Accumulation lets you find position from velocity and velocity from acceleration for non-constant acceleration. On the BC exam, this extends directly to parametric and vector-valued motion.

1. Net change in position (displacement): $s(b) = s(a) + \int_a^b v(t) dt$
2. Change in velocity: $v(b) = v(a) + \int_a^b a(t) dt$
3. Total distance traveled over $[a,b]$: $\int_a^b |v(t)| dt$

A critical distinction: net displacement can be negative if the object moves backwards overall, while total distance is always positive, as it counts all movement regardless of direction.

**Worked example:** A particle moves along the x-axis with acceleration $a(t) = 6t - 12$ m/s² for $t \geq 0$. The initial velocity at $t=0$ is $v(0) = 4$ m/s, and initial position is $s(0) = -2$ m. Find the net displacement and total distance traveled by the particle from $t=0$ to $t=3$.

1. Find velocity by accumulating acceleration from 0 to $t$:

   $$v(t) = v(0) + \int_0^t (6s - 12) ds = 4 + 3t^2 - 12t = 3t^2 - 12t + 4$$
2. Find where velocity changes sign: solve $3t^2 - 12t + 4 = 0$. The only positive solution in $[0,3]$ is $t \approx 0.367$. Velocity is positive on $[0, 0.367)$ and negative on $(0.367, 3]$.
3. Calculate net displacement:

   $$\int_0^3 v(t) dt = [t^3 - 6t^2 + 4t]_0^3 = 27 - 54 + 12 = -15 \text{ m}$$
4. Calculate total distance by splitting the integral at the sign change:

   $$\int_0^{0.367} v(t) dt + \int_{0.367}^3 (-v(t)) dt \approx 0.68 + 15.69 = 16.37 \text{ m}$$

> **Exam tip:** On BC motion problems, always read the question carefully to confirm if it asks for net displacement or total distance. Forgetting the absolute value for total distance is one of the most common sources of lost points on the exam.

## AP-Style Practice Worked Examples

**Worked example:** The rate of change of a population of deer in a forest, measured in deer per year, $t$ years after 2000, is given by $r(t) = 120 - 0.2t^2$. If the population in 2005 was 8000 deer, what is the population in 2010?
Options: A) 6875 B) 7375 C) 8625 D) 8875

1. Apply the Net Change Theorem: $P(10) = P(5) + \int_5^{10} r(t) dt$, with $P(5) = 8000$.
2. Find the antiderivative of $r(t)$:

   $$\int (120 - 0.2t^2) dt = 120t - \frac{0.2}{3}t^3 + C$$
3. Evaluate the definite integral from 5 to 10:

   $$\left(120(10) - \frac{0.2}{3}(10)^3\right) - \left(120(5) - \frac{0.2}{3}(5)^3\right) \approx 625$$
4. Add to the initial population: $8000 + 625 = 8625$. The correct answer is C.

**Worked example:** A pump moves water into a holding tank that initially contains 500 liters of water at time $t=0$ minutes. Water flows into the tank at $r_{in}(t) = 10t e^{-t/2}$ liters per minute, and flows out at $r_{out}(t) = 0.5t^2$ liters per minute, for $0 \leq t \leq 10$. (a) Find the total amount of water that flows into the tank over the interval $0 \leq t \leq 10$. Round your answer to the nearest liter. (b) Write an expression for the total amount of water $V(t)$ in the tank at time $t$. How much water is in the tank at $t=4$? Round to the nearest liter. (c) At what time $t$, $0 \leq t \leq 10$, is the amount of water in the tank maximized? Justify your answer.

1. (a) Total inflow is the integral of $r_{in}(t)$ over $[0,10]$:

   $$\text{Total Inflow} = \int_0^{10} 10t e^{-t/2} dt$$
2. Use integration by parts to find the antiderivative, then evaluate: $(-20t e^{-t/2} - 40 e^{-t/2})|_0^{10} \approx 38$ liters.
3. (b) Use the rate-in rate-out accumulation formula to get the expression for $V(t)$:

   $$V(t) = 500 + \int_0^t \left(10s e^{-s/2} - 0.5s^2\right) ds$$
4. Evaluate at $t=4$: the integral from 0 to 4 is approximately 13.1, so $V(4) = 500 + 13.1 \approx 513$ liters.
5. (c) To find maximum volume, find critical points by setting $V'(t) = 0$:

   $$10t e^{-t/2} - 0.5t^2 = t\left(10e^{-t/2} - 0.5t\right) = 0$$
6. Solutions are $t=0$ and $t \approx 5.38$. For $0 < t < 5.38$, $V'(t) > 0$, and for $t > 5.38$, $V'(t) < 0$, so by the First Derivative Test, volume is maximized at $t \approx 5.38$ minutes.

**Worked example:** A small retail business models its monthly profit rate $t$ months after the start of the year as $p(t) = 1500 \sin\left(\frac{\pi t}{6}\right) + 200t$ dollars per month, where the sine term accounts for seasonal fluctuations in holiday sales. What is the total profit the business earns over the entire first year ($0 \leq t \leq 12$)? Interpret your result in context.

1. Total profit is the integral of the profit rate over 0 to 12:

   $$P = \int_0^{12} \left(1500 \sin\left(\frac{\pi t}{6}\right) + 200t\right) dt$$
2. Find the antiderivative:

   $$- \frac{9000}{\pi}\cos\left(\frac{\pi t}{6}\right) + 100t^2$$
3. Evaluate from 0 to 12:

   $$\left(-\frac{9000}{\pi}\cos(2\pi) + 100(12^2)\right) - \left(-\frac{9000}{\pi}\cos(0)\right) = 14400$$
4. The total profit over the first year is \$14,400. The seasonal sine term integrates to zero over the full 12-month period, meaning the net effect of seasonal sales fluctuations cancels out over the year.

## Common pitfalls

- **Wrong:** When asked for the final amount of a quantity, you write down just the value of the definite integral of the rate, ignoring the given initial amount.
  - Why it fails: Students confuse net change with final value, forgetting that the integral only gives the change over the interval, not the total amount starting from the initial value.
  - Correct: Always ask: Is this question asking for change or final value? If it asks for final value, add the net change (the integral result) to the given initial value.
- **Wrong:** In rate-in rate-out problems, you write the integrand as $r_{out}(t) - r_{in}(t)$ instead of $r_{in}(t) - r_{out}(t)$, flipping the sign of the net rate.
  - Why it fails: Students mix up which rate increases vs decreases the quantity, or mis-copy the rates from the problem statement.
  - Correct: Before integrating, explicitly write *net rate = rate in minus rate out* next to your work to confirm the sign of the integrand.
- **Wrong:** When asked for total distance traveled, you compute $\int_a^b v(t) dt$ instead of $\int_a^b |v(t)| dt$.
  - Why it fails: Students confuse total distance with net displacement, forgetting that moving backwards contributes positively to total distance but negatively to net change.
  - Correct: Whenever the question asks for total distance or total change (not net change), integrate the absolute value of the rate function, splitting the integral at sign changes of the rate.
- **Wrong:** When evaluating $F(x) = \int_2^x r(t) dt$ at $x=1$, you write $\int_2^1 r(t) dt = \int_1^2 r(t) dt$ without flipping the sign.
  - Why it fails: Students forget that swapping the limits of integration changes the sign of the definite integral, especially when the upper limit of an accumulation function is smaller than the lower limit.
  - Correct: Remember that $\int_a^b r(t) dt = -\int_b^a r(t) dt$ for any $a,b$, and apply this rule every time you evaluate an accumulation at an input less than the lower limit.
- **Wrong:** When finding the maximum amount of a quantity in a rate-in rate-out problem, you integrate the entire interval first before finding critical points.
  - Why it fails: Students default to integrating as soon as they see a rate problem, wasting significant time on FRQs.
  - Correct: When asked for maximum/minimum amount, first find critical points by setting $r_{in}(t) = r_{out}(t)$, then evaluate the quantity at critical points and endpoints to find the maximum.

## Cheatsheet

| Category | Formula | Notes |
| --- | --- | --- |
| General Accumulation Function | $A(x) = Q(a) + \int_a^x r(t) dt$ | $r(t)$ = rate of change of $Q$, $Q(a)$ = initial value, $A(x)$ = total $Q$ at $x$ |
| Net Change Theorem | $Q(b) - Q(a) = \int_a^b r(t) dt$ | Gives net change, not total change; negative values indicate a net decrease |
| Rate-In Rate-Out Total Quantity | $Q(T) = Q_0 + \int_0^T (r_{in}(t) - r_{out}(t)) dt$ | Applies to systems with input/output rates; max/min occurs when $r_{in}=r_{out}$ |
| Kinematic: Net Displacement | $s(b) = s(a) + \int_a^b v(t) dt$ | Net change in position, can be negative for backward motion |
| Kinematic: Total Distance | $\text{Total Distance} = \int_a^b \|v(t)\| dt$ | Split the integral at points where $v(t)=0$ to evaluate absolute value |
| Kinematic: Velocity from Acceleration | $v(b) = v(a) + \int_a^b a(t) dt$ | Extends directly to parametric/vector-valued motion on BC exam |
| Reversed Limit Rule | $\int_a^b r(t) dt = -\int_b^a r(t) dt$ | Required for evaluating accumulation functions at $x < a$ |

## What's next

This topic is the foundation for all further applied integration topics on the AP Calculus BC syllabus. You will apply the same accumulation principle to finding the area between two curves, volumes of revolution, and volumes with known cross-sections, all of which rely on the core idea of integrating small incremental quantities to get a total. Without mastering accumulation in applied contexts, you will struggle to correctly set up integrals for area and volume problems, which make up a large portion of the exam's FRQ section. Accumulation functions also form the basis for solving separable differential equations with initial conditions, and for calculating arc length of parametric curves later in Unit 8.

- [Area between curves expressed as functions of x](https://www.owlsprep.com/study/ap-calculus-bc-u8-area-between-curves-expressed-as/)
- [Area between curves intersecting more than twice](https://www.owlsprep.com/study/ap-calculus-bc-u8-area-between-curves-intersecting-more/)
- [Volumes with cross sections: squares and rectangles](https://www.owlsprep.com/study/ap-calculus-bc-u8-volumes-with-cross-sections-squares/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ap-calculus-bc-u8-accumulation-functions-and-definite-integrals/
