AP Calculus AB and BC

Net Change and Accumulation: Rate In, Rate Out Problems

The integral of a rate of change over an interval gives the net change in the quantity: the integral of F'(t) from a to b equals F(b) - F(a). To find the amount at a later time, add that net change to the starting amount. When something flows in and out, integrate rate in minus rate out.

Integrating a rate gives net change

When a problem gives you a rate, such as gallons per minute or people per hour, the definite integral of that rate over a time interval is the net amount the quantity changed during that interval. This is the Fundamental Theorem of Calculus read as a statement about change:

∫abF′(t) dt=F(b)−F(a)\int_a^b F'(t)\,dt = F(b) - F(a)

The idea is introduced in Topic 6.1, Exploring Accumulations of Change, and applied to context problems in Topic 8.3, Using Accumulation Functions and Definite Integrals in Applied Contexts.

Units confirm the interpretation. The integral multiplies the rate's units by the units of the variable of integration. A rate in gallons per minute integrated over minutes gives gallons. A rate in dollars per year integrated over years gives dollars.

The word net matters. If the rate is negative on part of the interval, the quantity is decreasing there, and the integral subtracts that decrease from the increases elsewhere.

Amount equals starting amount plus net change

The integral of a rate is a change, which is different from an amount. To find how much there is at time bb, rearrange the net change statement so the starting amount is added:

F(b)=F(a)+∫abF′(t) dtF(b) = F(a) + \int_a^b F'(t)\,dt

Replacing the upper limit with a variable gives the amount at any time as an accumulation function: F(t)=F(a)+∫atF′(x) dxF(t) = F(a) + \int_a^t F'(x)\,dx. Its derivative is the rate F′(t)F'(t), by the Fundamental Theorem. So questions about whether the amount is increasing or decreasing are answered by the sign of the rate, with no integration.

Rate in and rate out

Many context problems give two rates: one at which a quantity enters and one at which it leaves. Call them E(t)E(t) and L(t)L(t). The quantity's net rate of change is the difference, and the amount at time tt is the starting amount plus the integral of that difference:

A′(t)=E(t)−L(t)A(t)=A(0)+∫0t[E(x)−L(x)]dxA'(t) = E(t) - L(t) \qquad A(t) = A(0) + \int_0^t \left[E(x) - L(x)\right]dx

Everything about the amount follows from these two statements. The amount is increasing when E(t)>L(t)E(t) > L(t) and decreasing when E(t)<L(t)E(t) < L(t). When EE and LL are continuous, a maximum or minimum amount on a closed interval can occur only at an endpoint or at a time where E(t)=L(t)E(t) = L(t), so find those times, compute the amount at each candidate, and compare.

The glossary entry on rate in minus rate out gives a short definition of the net rate.

Matching the question to the calculation

Rate problems ask a small set of questions in many different wordings. Decide first whether the answer is an amount or a rate, then choose the calculation.

The question asks forCalculationAnswer is
How much entered from t=at = a to t=bt = b∫abE(t) dt\int_a^b E(t)\,dtan amount
The amount present at time bbA(0)+∫0b[E(t)−L(t)]dtA(0) + \int_0^b \left[E(t) - L(t)\right]dtan amount
Whether the amount is increasing at t=ct = csign of E(c)−L(c)E(c) - L(c)a rate comparison
How fast the amount is changing at t=ct = cE(c)−L(c)E(c) - L(c)a rate
The time when the amount is greatestsolve E(t)=L(t)E(t) = L(t), then compare candidates and endpointsa time
The average rate of entry on [a,b][a, b]1b−a∫abE(t) dt\frac{1}{b - a}\int_a^b E(t)\,dta rate

Net change and total change in motion

Velocity is the rate of change of position, so the same theorem applies to motion along a line. This is part of Topic 8.2, Connecting Position, Velocity, and Acceleration of Functions Using Integrals.

QuantityIntegralMeaning
Displacement∫abv(t) dt\int_a^b v(t)\,dtnet change in position; movement in the negative direction cancels movement in the positive direction
Total distance traveled∫ab∣v(t)∣ dt\int_a^b |v(t)|\,dtevery bit of movement counted as positive

To compute total distance by hand, find where v(t)=0v(t) = 0, split the interval at those times, integrate vv on each piece, and add the absolute values of the results. Position at time bb is the starting position plus displacement: s(b)=s(a)+∫abv(t) dts(b) = s(a) + \int_a^b v(t)\,dt.

Common mistakes

The most common errors are leaving out the starting amount when the question asks for a total, giving a rate when the question asks for an amount, giving displacement when the question asks for total distance, checking only the time where E(t)=L(t)E(t) = L(t) and skipping the endpoints, and omitting units.

Worked examples

Worked example

Net change, final amount, and maximum from one rate

A tank holds 200200 liters of water at t=0t = 0. The amount of water changes at rate r(t)=20−4tr(t) = 20 - 4t liters per minute for 0≤t≤80 \le t \le 8, where a negative rate means the tank is draining. Find the net change in the amount of water over the 88 minutes, the amount at t=8t = 8, and the maximum amount in the tank.

  1. Net change: ∫08(20−4t) dt=[20t−2t2]08=160−128=32\int_0^8 (20 - 4t)\,dt = \left[20t - 2t^2\right]_0^8 = 160 - 128 = 32 liters.
  2. Amount at t=8t = 8: starting amount plus net change, 200+32=232200 + 32 = 232 liters.
  3. Find candidates for the maximum. The rate is zero when 20−4t=020 - 4t = 0, at t=5t = 5. The rate is positive before t=5t = 5 and negative after, so the amount rises and then falls.
  4. Amount at t=5t = 5: 200+∫05(20−4t) dt=200+(100−50)=250200 + \int_0^5 (20 - 4t)\,dt = 200 + (100 - 50) = 250 liters.
  5. Compare with the endpoints: 200200 liters at t=0t = 0 and 232232 liters at t=8t = 8. The largest value is 250250.

The net change is 3232 liters, the tank holds 232232 liters at t=8t = 8, and the maximum amount is 250250 liters at t=5t = 5.

Worked example

Rate in and rate out

Water enters a barrel at rate E(t)=8+2tE(t) = 8 + 2t gallons per hour and leaks out at rate L(t)=t2L(t) = t^2 gallons per hour for 0≤t≤60 \le t \le 6. The barrel holds 3030 gallons at t=0t = 0. Find (a) the total amount that enters over the 66 hours, (b) the amount in the barrel at t=6t = 6, (c) whether the amount is increasing or decreasing at t=3t = 3, and (d) the maximum amount in the barrel.

  1. Part (a). Integrate the entry rate only: ∫06(8+2t) dt=[8t+t2]06=48+36=84\int_0^6 (8 + 2t)\,dt = \left[8t + t^2\right]_0^6 = 48 + 36 = 84 gallons.
  2. Part (b). The amount that leaks out is ∫06t2 dt=2163=72\int_0^6 t^2\,dt = \frac{216}{3} = 72 gallons. The amount at t=6t = 6 is 30+84−72=4230 + 84 - 72 = 42 gallons.
  3. Part (c). Compare the rates at t=3t = 3: E(3)=14E(3) = 14 and L(3)=9L(3) = 9. Since E(3)−L(3)=5>0E(3) - L(3) = 5 > 0, the amount is increasing, at 55 gallons per hour.
  4. Part (d). Set E(t)=L(t)E(t) = L(t): 8+2t=t28 + 2t = t^2, so t2−2t−8=(t−4)(t+2)=0t^2 - 2t - 8 = (t - 4)(t + 2) = 0. The only solution in [0,6][0, 6] is t=4t = 4.
  5. Amount at t=4t = 4: 30+∫04(8+2t−t2) dt=30+[8t+t2−t33]04=30+32+16−643=1703≈56.6730 + \int_0^4 (8 + 2t - t^2)\,dt = 30 + \left[8t + t^2 - \frac{t^3}{3}\right]_0^4 = 30 + 32 + 16 - \frac{64}{3} = \frac{170}{3} \approx 56.67 gallons.
  6. Compare candidates: 3030 gallons at t=0t = 0, about 56.6756.67 gallons at t=4t = 4, and 4242 gallons at t=6t = 6. The maximum is at t=4t = 4.

(a) 8484 gallons, (b) 4242 gallons, (c) increasing at 55 gallons per hour, (d) 1703≈56.67\frac{170}{3} \approx 56.67 gallons at t=4t = 4.

Worked example

Displacement and total distance

A particle moves along a line with velocity v(t)=t2−4t+3v(t) = t^2 - 4t + 3 meters per second for 0≤t≤40 \le t \le 4. Its position at t=0t = 0 is s(0)=2s(0) = 2 meters. Find the displacement, the position at t=4t = 4, and the total distance traveled.

  1. Find an antiderivative of the velocity: G(t)=t33−2t2+3tG(t) = \frac{t^3}{3} - 2t^2 + 3t. Its values are G(0)=0G(0) = 0, G(1)=43G(1) = \frac{4}{3}, G(3)=9−18+9=0G(3) = 9 - 18 + 9 = 0, and G(4)=643−32+12=43G(4) = \frac{64}{3} - 32 + 12 = \frac{4}{3}.
  2. Displacement: ∫04v(t) dt=G(4)−G(0)=43\int_0^4 v(t)\,dt = G(4) - G(0) = \frac{4}{3} meters.
  3. Position at t=4t = 4: s(4)=s(0)+43=2+43=103s(4) = s(0) + \frac{4}{3} = 2 + \frac{4}{3} = \frac{10}{3} meters.
  4. For total distance, find where the particle changes direction: t2−4t+3=(t−1)(t−3)=0t^2 - 4t + 3 = (t - 1)(t - 3) = 0 at t=1t = 1 and t=3t = 3. The velocity is positive on (0,1)(0, 1), negative on (1,3)(1, 3), and positive on (3,4)(3, 4).
  5. Integrate on each piece: ∫01v(t) dt=43\int_0^1 v(t)\,dt = \frac{4}{3}, ∫13v(t) dt=0−43=−43\int_1^3 v(t)\,dt = 0 - \frac{4}{3} = -\frac{4}{3}, and ∫34v(t) dt=43−0=43\int_3^4 v(t)\,dt = \frac{4}{3} - 0 = \frac{4}{3}.
  6. Add the absolute values: 43+43+43=4\frac{4}{3} + \frac{4}{3} + \frac{4}{3} = 4 meters.

The displacement is 43\frac{4}{3} meters, the position at t=4t = 4 is 103\frac{10}{3} meters, and the total distance traveled is 44 meters.

Frequently asked questions

What does the integral of a rate of change represent?

It represents the net change in the quantity over the interval. If F′(t)F'(t) is the rate, then ∫abF′(t) dt=F(b)−F(a)\int_a^b F'(t)\,dt = F(b) - F(a). Its units are the units of the rate times the units of time, so a rate in liters per minute integrates to liters.

Why do I have to add the initial amount?

The integral of the rate gives only how much the quantity changed. If a tank starts with 200200 liters and the net change is 3232 liters, the tank holds 232232 liters. Leaving out the 200200 answers a different question.

What is the difference between displacement and total distance?

Displacement is ∫abv(t) dt\int_a^b v(t)\,dt, the net change in position, where backward motion cancels forward motion. Total distance is ∫ab∣v(t)∣ dt\int_a^b |v(t)|\,dt, which counts all motion as positive. They are equal only when the velocity is never negative on the interval. If the velocity is never positive, the displacement is the negative of the total distance.

Where this shows up outside calculus class