How can inflow and outflow determine the amount present later?
Explain what an integral of a rate means in context, find an amount from a start and rates in and out, and find when the amount is greatest or least.
The integral of a rate over is an amount: how much of the quantity is added (or removed) from to , in the units of the quantity.
The meaning sentence names the amount, the units, and the time interval. It never says "rate".
Amount at time = start + . A rate of leaving is given as a positive number, so it is subtracted.
Greatest or least amount: in out changes sign at the candidates; compare the amount there and at both endpoints.
A table of a rate is added up with a Riemann or trapezoidal sum. A table of the amount itself gives the change by subtraction.
Start with what was there
Common mistake Water at : gallons.
Correction gallons.
Check the endpoints too
Common mistake In out at , so the amount is greatest at .
Correction Compare , , : greatest at , with a reason.
Idea 1: rate in minus rate out
Here are the two rates on one graph, in gallons per minute: green, two t, coming in. Orange, six, going out. One: rate in, minus rate out. Name the amount first: the gallons in the pool at time t. Call it A of t.
A changes at rate in minus rate out, so A prime is two t minus six.
And from Unit 6: the integral of A prime from zero to five is A of five minus A of zero. That's the change in the water, not the water. Before three, where the lines cross, the drain is bigger. The gap is a triangle: negative one half, times three, times six. Negative nine: nine gallons lost.
After three, the hose wins. Another triangle: one half, times two, times four. Four gallons gained.
Idea 2: add the start, say what it means
So the amount at five is the start, twenty, plus the integral of in minus out. Twenty, minus nine, plus four. Fifteen gallons. The integral only knows the change. You have to add the start yourself.
Two: saying what an integral means. Now just the inflow. The area under two t, from zero to five, is a triangle: one half, times five, times ten. Twenty-five. Our sentence: twenty-five gallons of water flow into the pool, from t equals zero to t equals five minutes. You might want to say gallons per minute.
That's the rate. But gallons per minute, times minutes, is gallons: an amount. A real AP question in twenty twenty-three asked for exactly this: what the integral means, with its units and its time interval.
Idea 3: the lowest amount
Three: the lowest amount. The amount turns where A prime is zero: two t minus six is zero at t equals three, where the lines cross. Now check every candidate. The start, twenty. At three, twenty minus nine, eleven.
At five, fifteen. Here they are on the graph of A. The lowest is eleven gallons, at t equals three. Compare all three, because the start and the end are candidates too.
Four: read what the problem gives you. If a table lists the amount itself, the change is just a difference: A of b minus A of a. If a table lists a rate, the change is an integral, and you estimate it with a Riemann or trapezoidal sum, like in 6.2. A drain rate usually comes as a positive number, like six. You subtract it. The minus sign lives in A prime, not in the drain.
Set start plus change equal to sixteen. Writing that equation is the calculus; solving it is just algebra. And when the rates are given as functions of time, just integrate. Separating variables was for Unit 7, where the rate depends on the amount.
Example 1: water in a tank
Example one. A tank holds fifty gallons of water at time zero. Water is pumped in at twelve gallons per hour, and leaks out at three t squared gallons per hour, for t from zero to three hours. Part a: explain the meaning of the integral from zero to three of three t squared d t, in context. Part b: how much water is in the tank at t equals three? Part c: when is the amount greatest?
Here are the two rates: green in, orange out. The plan. Part a needs an amount and a time interval. Part b is the start plus the integral. Part a, the pink area under the leak rate. The integral from zero to three of three t squared is t cubed, from zero to three. Twenty-seven.
Our sentence: twenty-seven gallons of water leak out of the tank, from t equals zero to t equals three hours. Part b. A of three is the start, fifty, plus the integral from zero to three of twelve minus three t squared, d t. In is twelve per hour for three hours, and out is the twenty-seven from part a. Fifty, plus thirty-six, minus twenty-seven. Fifty-nine gallons.
Part c. The plan: find where A prime is zero, then compare every candidate. A prime is in minus out: twelve minus three t squared. It's zero at t equals two. Negative two is outside the interval. A of zero is fifty.
A of two is fifty, plus twenty-four in, minus eight out: sixty-six. A of three is fifty-nine, from part b. The purple region: in beats out until two, so the tank fills until two. So the amount is greatest at t equals two hours: sixty-six gallons, the largest of the three candidates. More tanks are in your workbook: start plus in minus out, and every candidate compared.
Common mistake: a rate for an amount
Here are two lines that sound right. This is where people lose points. One: twenty-seven gallons per hour leak out. That's a rate, not an amount. Two: A prime is zero at two, so two is the maximum.
Write twenty-seven gallons leak out, from zero to three hours: the amount and the interval. And list A at zero, two, and three, then pick the largest.
Example 2: which expression
Example two. People enter a park at E of t people per hour, and leave at L of t people per hour. At t equals zero, N people are already inside. Which expression gives the number of people in the park at time T? The plan: the end amount is the start, plus the integral of in minus out. Check each choice against that, and against its units.
B, E of T minus L of T, is a rate at one instant, in people per hour.
Not a number of people. C is the change since time zero, the integral alone. The N people already inside are missing. D adds people per hour to people. The units don't match, so it can't be right.
So the answer is A: N, plus the integral from zero to T of E minus L, d t. In your workbook, read the units on every choice. Wrong answers often give themselves away.
Worked examples
Example 1
A tank holds gallons at . Water is pumped in at gal per hour and leaks out at gal per hour, . (a) Explain the meaning of in context. (b) How much water is in the tank at ? (c) When is the amount greatest? Justify.
Hint
The integral of the leak rate is an amount of water. For the greatest amount, compare the candidate with both ends.
Answer and solution
gallons of water leak out of the tank from to hours
gallons
at : gallons (, )
(a) The integral of 3t^2 gal/h from 0 to 3 is 27: 27 gallons leak out from t = 0 to t = 3 hours.
(c) 12 - 3t^2 = 0 at t = 2 (+ to -). A(0) = 50, A(2) = 50 + 24 - 8 = 66, A(3) = 59: greatest at t = 2.
Example 2
People enter a park at people per hour and leave at people per hour. At , people are in the park. Which gives the number in the park at time ?
Hint
People in the park = people at the start + people who came in people who left.
Answer and solution
Answer A.
Answer A. (C) leaves out the N people already in the park; (B) and (D) are rates at one time, in people per hour.
Water flows into a tank at a rate of gallons per hour, hours after the tank starts to fill. Selected values of are given in the table. At , the tank holds gallons of water.
0
1
3
6
10
14
12
8
Use a trapezoidal sum with the three subintervals in the table to approximate . Using correct units, explain the meaning of in the context of the problem.
Use your answer from part (a) to estimate the amount of water in the tank at time .
Hint
is a rate, so its table is added up (a sum of trapezoids), not subtracted. The amount = start + the water that flowed in.
Answer and solution
; about gallons flow into the tank from to hours
gallons
(a) About 68 gallons of water flow into the tank from t = 0 to t = 6 hours.
(b) About 108 gallons. The table is of a rate, so the change in the amount is a sum, not a difference of table values.
Common mistake Answering (b) with 68 (no start), or subtracting table values (8 - 10) as if R were the amount.