Skip to content
Family Table Math

Definite Integrals in Context

Lots of real situations give you a rate (litres per minute, people per hour, cars per day) but ask about an amount. Integrating a rate over a time interval gives the total change in the amount over that time. This is one of the most common question types on the AP exam, usually calculator active, and it builds directly on accumulation of change.

If R(t)R(t) is the rate of change of some quantity Q(t)Q(t), then R=Q′R = Q' and the Fundamental Theorem of Calculus says

∫abR(t) dt=Q(b)−Q(a)\int_a^b R(t)\, dt = Q(b) - Q(a)

The integral of a rate is the net change in the amount from t=at = a to t=bt = b.

To find the amount at a particular time, start with a known amount and add the change:

Q(t)=Q(0)+∫0tR(u) duQ(t) = Q(0) + \int_0^t R(u)\, du

Many problems have something flowing in and something flowing out at the same time. With an in-rate E(t)E(t) and an out-rate L(t)L(t):

amount at time t=starting amount+∫0tE(u) du−∫0tL(u) du\text{amount at time } t = \text{starting amount} + \int_0^t E(u)\, du - \int_0^t L(u)\, du

and the amount is changing at the rate

Q′(t)=E(t)−L(t)Q'(t) = E(t) - L(t)
  • If E(t)>L(t)E(t) \gt L(t), more is coming in than going out, so the amount is increasing.
  • If E(t)<L(t)E(t) \lt L(t), the amount is decreasing.

A maximum or minimum of QQ happens at an endpoint or where Q′(t)=E(t)−L(t)=0Q'(t) = E(t) - L(t) = 0, that is, where in-rate = out-rate. Use the candidates test: evaluate QQ at the endpoints and at those critical points, and compare.

The integral’s units are (rate units) × (time units). Litres per minute × minutes = litres. People per hour × hours = people. Always include units in a context answer, and use the units to check your setup.

If the rate is only given as a table, estimate the integral with a Riemann sum or a trapezoidal sum, using the intervals in the table (they may be unequal widths).

Oil leaks from a tank at a rate of r(t)=2+0.6tr(t) = 2 + 0.6t litres per hour, where tt is in hours. How much oil leaks out during the first 55 hours?

Solution.

∫05(2+0.6t) dt=[2t+0.3t2]05=10+7.5=17.5\int_0^5 (2 + 0.6t)\, dt = \Big[ 2t + 0.3t^2 \Big]_0^5 = 10 + 7.5 = 17.5

17.517.5 litres leak out. (Units: litres per hour × hours = litres.)

A tank holds 120120 L of water at t=0t = 0. Water flows in at a constant 1212 L/min and drains out at 3t3\sqrt{t} L/min, for 0≤t≤250 \le t \le 25 minutes.

  • (a) How much water is in the tank at t=9t = 9?
  • (b) At what time is the amount of water greatest? How much is in the tank then? Justify.

Solution. Let W(t)W(t) be the amount of water in litres. Then

W(t)=120+∫0t(12−3u) du=120+12t−2t3/2W(t) = 120 + \int_0^t \big( 12 - 3\sqrt{u} \big)\, du = 120 + 12t - 2t^{3/2}

(a) W(9)=120+108−2(27)=174W(9) = 120 + 108 - 2(27) = 174 L.

(b) W′(t)=12−3tW'(t) = 12 - 3\sqrt{t}, which is 00 when t=4\sqrt{t} = 4, so t=16t = 16. Candidates:

tt0016162525
W(t)W(t)120120120+192−128=184120 + 192 - 128 = 184120+300−250=170120 + 300 - 250 = 170

The greatest amount is 184184 L, at t=16t = 16 minutes. (Also, W′W' changes from positive to negative at t=16t = 16.)

Rate in is a constant 12 litres per minute; rate out is 3 root t, which rises and crosses 12 at t = 16. Before t = 16 the tank fills; after, it drains. 4 8 12 16 20 24 2 4 6 8 10 12 14 in: 12 L/min out: 3√t filling draining t = 16 time (min) rate (L/min)
The tank fills while the in-rate is above the out-rate, so the amount peaks where the two rates cross, at t=16t = 16.

Visitors enter a museum at the rates below, where tt is hours after 9 a.m.

tt (hours)001133446688
R(t)R(t) (people per hour)40401201202102101801801501506060
  • (a) Use a trapezoidal sum with the five intervals in the table to estimate ∫08R(t) dt\displaystyle\int_0^8 R(t)\, dt. Explain what it means.
  • (b) Estimate the average rate at which visitors entered from 9 a.m. to 5 p.m.

Solution. (a) Each trapezoid is (width) × (average of the two heights). The widths are 1,2,1,2,21, 2, 1, 2, 2:

∫08R(t) dt≈1⋅40+1202+2⋅120+2102+1⋅210+1802+2⋅180+1502+2⋅150+602=80+330+195+330+210=1145\begin{aligned} \int_0^8 R(t)\, dt &\approx 1\cdot\frac{40 + 120}{2} + 2\cdot\frac{120 + 210}{2} + 1\cdot\frac{210 + 180}{2} + 2\cdot\frac{180 + 150}{2} + 2\cdot\frac{150 + 60}{2} \\ &= 80 + 330 + 195 + 330 + 210 = 1145 \end{aligned}

About 11451145 people entered the museum between 9 a.m. and 5 p.m.

(b) The average value of RR on [0,8][0, 8] is 18∫08R(t) dt≈11458≈143.125\dfrac{1}{8}\displaystyle\int_0^8 R(t)\, dt \approx \dfrac{1145}{8} \approx 143.125 people per hour.

A festival’s gates open at t=0t = 0 with nobody inside. For 0≤t≤100 \le t \le 10 hours, people arrive at a rate of E(t)=1200sin⁡ ⁣(πt10)E(t) = 1200\sin\!\left(\dfrac{\pi t}{10}\right) people per hour and leave at a rate of L(t)=80tL(t) = 80t people per hour. (Radian mode.)

  • (a) How many people are at the festival at t=10t = 10?
  • (b) Is the number of people increasing or decreasing at t=4t = 4? Explain.
  • (c) At what time is the crowd largest, and about how many people are there then?

Solution. Let N(t)=∫0t(E(u)−L(u)) duN(t) = \displaystyle\int_0^t \big( E(u) - L(u) \big)\, du be the number of people at time tt.

(a)

N(10)=∫010(E(t)−L(t)) dt≈3639.437N(10) = \int_0^{10} \big( E(t) - L(t) \big)\, dt \approx 3639.437

About 36393639 people.

(b) N′(4)=E(4)−L(4)≈1141.268−320=821.268>0N'(4) = E(4) - L(4) \approx 1141.268 - 320 = 821.268 \gt 0, so the number of people is increasing at t=4t = 4.

(c) N′(t)=0N'(t) = 0 when E(t)=L(t)E(t) = L(t). Solving with a calculator gives t≈8.167t \approx 8.167 in (0,10)(0, 10). Candidates: N(0)=0N(0) = 0, N(8.167)≈4355.427N(8.167) \approx 4355.427, N(10)≈3639.437N(10) \approx 3639.437. The crowd is largest at about t=8.167t = 8.167 hours, with about 43554355 people.

Forgetting the starting amount. The integral gives the change, not the amount. In Example 2, the answer to (a) is 174174 L, not 5454 L.

Subtracting the wrong way. The amount changes at rate (in) − (out). If you write (out) − (in), every sign flips and “increasing” becomes “decreasing.”

Confusing the rate with the amount. “How much water is in the tank?” wants W(t)W(t), an integral. “How fast is the amount changing?” wants W′(t)=E(t)−L(t)W'(t) = E(t) - L(t), no integral.

Only checking the critical point. To justify a maximum on a closed interval, compare the endpoints too (or use a sign change of Q′Q' with a clear argument).

Missing or wrong units. The integral of people per hour over hours is people. AP graders often require the units in context answers.

Rounding too early. Store full calculator values and round only the final answer (to 3 decimal places, or to whole people when it makes sense).

1. (Warm-up) Water flows into a pool at r(t)=0.5t+4r(t) = 0.5t + 4 cubic metres per hour. How much water flows in during the first 66 hours?

Solution∫06(0.5t+4) dt=[0.25t2+4t]06=9+24=33 m3\int_0^6 (0.5t + 4)\, dt = \Big[ 0.25t^2 + 4t \Big]_0^6 = 9 + 24 = 33 \text{ m}^3

2. (Warm-up) P(t)P(t) is the population of a town (people) tt years after 2020. Explain the meaning of ∫010P′(t) dt=350\displaystyle\int_0^{10} P'(t)\, dt = 350, with units.

Solution

∫010P′(t) dt=P(10)−P(0)\displaystyle\int_0^{10} P'(t)\, dt = P(10) - P(0). The town’s population increased by 350350 people from 2020 to 2030.

3. (Warm-up) A tank holds 4040 L at t=0t = 0, and ∫03r(t) dt=15\displaystyle\int_0^3 r(t)\, dt = 15, where r(t)r(t) is the rate (L/min) at which the amount of water changes. How much water is in the tank at t=3t = 3?

Solution

40+15=5540 + 15 = 55 L.

4. (Core) A lake has 50005000 fish at t=0t = 0. The fish population changes at a rate of r(t)=200−24tr(t) = 200 - 24t fish per year.

  • (a) How many fish are in the lake at t=10t = 10?
  • (b) Is the population increasing or decreasing at t=10t = 10?
Solution

(a)

5000+∫010(200−24t) dt=5000+[200t−12t2]010=5000+800=5800 fish5000 + \int_0^{10} (200 - 24t)\, dt = 5000 + \Big[ 200t - 12t^2 \Big]_0^{10} = 5000 + 800 = 5800 \text{ fish}

(b) r(10)=200−240=−40<0r(10) = 200 - 240 = -40 \lt 0, so the population is decreasing at t=10t = 10.

5. (Core) (Calculator active.) People arrive at a stadium at a rate of A(t)=1500 t e−0.5tA(t) = 1500\,t\,e^{-0.5t} people per hour, for 0≤t≤40 \le t \le 4 hours after the gates open.

  • (a) How many people arrive during these 44 hours?
  • (b) At what time has the 30003000th person arrived?
Solution

(a)

∫041500 t e−0.5t dt≈3563.965\int_0^4 1500\,t\,e^{-0.5t}\, dt \approx 3563.965

About 35643564 people.

(b) Solve ∫0T1500 t e−0.5t dt=3000\displaystyle\int_0^T 1500\,t\,e^{-0.5t}\, dt = 3000 with a calculator: T≈3.357T \approx 3.357 hours.

6. (Core) Water flows from a river into a reservoir. The rate is measured on some days:

tt (days)002244771010
F(t)F(t) (thousand m³ per day)14141818212116161212

Use a trapezoidal sum with the four intervals to estimate the total water that flows in from t=0t = 0 to t=10t = 10. Include units.

Solution2⋅14+182+2⋅18+212+3⋅21+162+3⋅16+122=32+39+55.5+42=168.52\cdot\frac{14 + 18}{2} + 2\cdot\frac{18 + 21}{2} + 3\cdot\frac{21 + 16}{2} + 3\cdot\frac{16 + 12}{2} = 32 + 39 + 55.5 + 42 = 168.5

About 168.5168.5 thousand cubic metres (168 500168\,500 m³).

7. (Core) A rain barrel holds W(t)W(t) litres of water at time tt hours. Rain flows in at r(t)r(t) L/h, and water leaks out at d(t)d(t) L/h.

  • (a) Explain the meaning of W(0)+∫05(r(t)−d(t)) dtW(0) + \displaystyle\int_0^5 \big( r(t) - d(t) \big)\, dt.
  • (b) What does r(3)>d(3)r(3) \gt d(3) tell you about the water in the barrel?
Solution

(a) It is W(5)W(5): the number of litres of water in the barrel at t=5t = 5 hours.

(b) At t=3t = 3 hours, water is flowing in faster than it leaks out, so the amount of water in the barrel is increasing at that moment.

8. (Challenge) (Calculator active.) A water tower holds 80008000 L at t=0t = 0. For 0≤t≤120 \le t \le 12 hours, water is pumped in at P(t)=600+200sin⁡ ⁣(t3)P(t) = 600 + 200\sin\!\left(\dfrac{t}{3}\right) L/h, and the town uses water at U(t)=500+30tU(t) = 500 + 30t L/h.

  • (a) How much water is in the tower at t=12t = 12?
  • (b) Is the amount increasing or decreasing at t=8t = 8? Explain.
  • (c) Find the maximum amount of water in the tower on [0,12][0, 12]. Justify.
Solution

Let A(t)=8000+∫0t(P(u)−U(u)) duA(t) = 8000 + \displaystyle\int_0^t \big( P(u) - U(u) \big)\, du.

(a) A(12)=8000+∫012(P(t)−U(t)) dt≈8032.186A(12) = 8000 + \displaystyle\int_0^{12} \big( P(t) - U(t) \big)\, dt \approx 8032.186 L.

(b) A′(8)=P(8)−U(8)≈−48.545<0A'(8) = P(8) - U(8) \approx -48.545 \lt 0, so the amount is decreasing at t=8t = 8.

(c) A′(t)=P(t)−U(t)=0A'(t) = P(t) - U(t) = 0 at t≈7.436t \approx 7.436 (the only solution in [0,12][0, 12]). Candidates:

tt007.4367.4361212
A(t)A(t)80008000≈8987.105\approx 8987.105≈8032.186\approx 8032.186

The maximum is about 8987.1058987.105 L, at t≈7.436t \approx 7.436 hours.

9. (Challenge) Suppose the tank in Example 2 keeps running past t=25t = 25 with the same in-rate and out-rate. At what time does it get back to 120120 L?

Solution

W(t)=120+12t−2t3/2W(t) = 120 + 12t - 2t^{3/2}. Set W(t)=120W(t) = 120:

12t−2t3/2=0⇒2t(6−t)=012t - 2t^{3/2} = 0 \quad\Rightarrow\quad 2t\big( 6 - \sqrt{t} \big) = 0

So t=0t = 0 (the start) or t=6\sqrt{t} = 6, that is, t=36t = 36 minutes.

This means the water gained from t=0t = 0 to 1616 exactly matches the water lost from t=16t = 16 to 3636.