If we know the rate at which an amount changes on an interval, how much does the amount itself change? And for any function on an interval, what is its average value?
Let's start with water flowing into a tank at a rate of r(t)=6t liters per minute, where t is in minutes. Let A(t) be the number of liters in the tank at time t. The tank starts with 20 liters, and we want A(4), the amount after 4 minutes.
At a constant 5 liters per minute, the tank would gain 5×4=20 liters in 4 minutes. That's the area of a rectangle under the rate graph, and since liters per minute times minutes is liters, this area counts liters.
5minL×4min=20L
Our rate 6t isn't constant, but over a very short time dt it barely changes. So the water added in that time is about r(t)dt, a thin rectangle. Adding those rectangles from t=0 to t=4 as dt shrinks gives the integral.
one stripall strips≈r(t)dt→∫04r(t)dt
And because r(t) is how fast A(t) changes, it's A′(t), so the integral is exactly A(4)−A(0).
A′(t)∫04r(t)dt=r(t)=A(4)−A(0)
Find the amount of water in the tank at t=4 when r(t)=6t and A(0)=20
r(t)=6tL/min
A(0)=20
Text solution
Find an antiderivativeWrite t as t21, add 1 to the power, and divide by the new power.
∫6t21dt=6⋅23t23=4t23
The change from 0 to 4So 32 liters flowed in.
∫046tdt=[4t23]04=32
Add the starting amountThe tank already held 20 liters.
A(4)=A(0)+∫04r(t)dt=20+32=52L
So the integral, 32, is how much the amount went up, not how much is in the tank. That's true for any rate of change. Its integral gives the net change, and adding the starting amount gives the final amount.
∫abA′(t)dt=A(b)−A(a)
A(b)=A(a)+∫abA′(t)dt
2
When water flows in and out
Now take a tank that starts with 30 liters, with water flowing in at R(t)=12 liters per minute and draining out at D(t)=3t liters per minute. In a short time dt, the tank gains R(t)dt liters and loses D(t)dt, so its rate of change is the rate in minus the rate out.
A′(t)=R(t)−D(t)=12−3t
On the graph of 12−3t, the water gained is the triangle above the axis, and the water lost is the triangle below it. The amount A(t) rises while more comes in than goes out, and falls after that.
12
t
L/min
D(t)=3t
R(t)=12
12−3t
24
6
0
1
2
3
4
5
6
t
L
30
54
48
A(t)
Find how much water is in the tank at t=6, and when the tank holds the most water
R(t)=12L/min
D(t)=3tL/min
0≤t≤6
A(0)=30
Text solution
Where the rates are equalThe net rate is 0 at t=4. It's positive before that and negative after.
A′(t)=12−3t=0→t=4
Add the signed areasThe tank gains the triangle on [0,4] and loses the one on [4,6].
21⋅4⋅12=24
21⋅2⋅6=6
A(6)=30+24−6=48L
Check the endpoints and t=4The largest amount is at an endpoint or where A′(t)=0.
A(0)=30
A(4)=30+24=54
A(6)=48
So the tank holds the most water, 54 liters, at t=4, right when the draining rate catches up with the filling rate.
3
Displacement and distance traveled
The same idea works for motion. Take a particle moving along a line with velocity v(t)=t2−4t+3 meters per second, starting at x(0)=2. Velocity is the rate of change of position, so integrating it gives the net change in position. We call that change the displacement.
∫04v(t)dt=x(4)−x(0)
The total distance traveled is a different question, because the particle might turn around. The sign of the velocity tells us which way it's moving.
0
1
3
4
3
−1
t
m/s
v(t)
x
2
310
v(t)=(t−1)(t−3)
0<t<11<t<33<t<4:v>0:v<0:v>0
Find the position at t=4 and the total distance traveled for v(t)=t2−4t+3 with x(0)=2
v(t)=t2−4t+3
0≤t≤4x(0)=2
x
2
Text solution
DisplacementIntegrate the velocity from 0 to 4 and add the starting position.
F(t)=3t3−2t2+3t
∫04v(t)dtx(4)=F(4)−F(0)=34=2+34=310
Split where v changes signOn each piece the particle moves one way. The middle piece is negative, because the particle moves left.
∫01vdt=34
∫13vdt=−34
∫34vdt=34
Add the sizesFor distance, moving left adds to the total instead of cancelling.
∫04∣v(t)∣dt=34+34+34=4m
The particle ends only 34 meters from where it started, but it travels 4 meters. On a calculator, you can enter ∫04∣v(t)∣dt directly.
Where must we split the integral to find distance traveled?
Separate the directions
4
The average value of a function
Let's go back to the first tank, where water flowed in at 6t liters per minute for 4 minutes. On average, how fast did it flow in? That's 32 liters in 4 minutes, or 8 liters per minute. A constant 8 liters per minute would make a rectangle with the same area, 32, as the region under the curve.
916
4
6
8
12
0
t
L/min
32
8×4=32
6t
We found the rectangle's height by dividing the area by the width. That height is the average value, for any function f on [a,b].
average value of f on [a,b]average value of r on [0,4]=b−a1∫abf(x)dx=4−01∫046tdt=432=8L/min
average value of f on [a,b]=b−a1∫abf(x)dx
average value of r on [0,4]=4−01∫046tdt=432=8L/min
Why not just average the starting rate 0 and the ending rate 12, which gives 6? Against the line y=6, the area above it is 10 and the gap below it only 2, so 6 is too low. Averaging the endpoints works only when the graph is a straight line.
1
4
6
12
0
t
L/min
10
2
6t
Find the average value of 6t on [0,4] and x2 on [1,4], and compare with the average rate of change
4
0
t
L/min
r(t)=6t
Text solution
The tank's average rateThe integral of a rate of change is the net change, so its average value is the average rate of change of the amount.
b−a1∫abA′(t)dt=b−aA(b)−A(a)
41∫046tdt=452−20=8
x2 on [1,4]The width is 4−1=3, not 4.
4−11∫14x2dx=31⋅21=7
The average rate of change of x2 on the same interval is 5, not 7, because it averages the derivative 2x rather than x2 itself.
average valueof x2 on [1,4]
4−11∫14x2dx=31⋅364−1=31⋅21=7
average rate of changeof x2 on [1,4]
4−116−14−11∫142xdx=5=31(16−1)=5
Is the average value just the average of the endpoint values?
Find a constant rate with the same total
5
When a function equals its average value
Water flows into the tank at an average rate of 8 liters per minute over the first 4 minutes. Does it ever flow in at exactly 8 liters per minute?
If the rate stayed above 8 the whole time, more than 8×4=32 liters would come in, and if it stayed below, less. But exactly 32 came in. So the rate is at least 8 at some times and at most 8 at others, and since 6t is continuous, the Intermediate Value Theorem says it equals 8 at some time c.
c
4
8
0
t
L/min
6t
The same argument works for any continuous function on [a,b], and it's called the Mean Value Theorem for integrals.
f(c)=b−a1∫abf(x)dx
for some c in [a,b]
Let's find that time c, and then check our other function, x2 on [1,4].
Find where 6t=8 on [0,4], and where x2=7 on [1,4]
4
0
t
L/min
r(t)=6t
8
Text solution
Solve 6c=8Divide by 6 and square. 916 is between 0 and 4.
6ccc=8=34=916min
Keep only the roots in [1,4]The average value of x2 was 7, and c2=7 has two roots.
c2=7→c=7 or c=−7
7≈2.65 in [1,4]
−7 not in [1,4]
Summary
Net change and final amount
∫abA′(t)dt=A(b)−A(a)
A(b)=A(a)+∫abA′(t)dt
Integrating a rate of change gives how much the amount changed, not how much there is. To find the amount at b, add the net change to the starting amount A(a). The units of the integral are the rate units multiplied by the time units, like (L/min)×min=L.
Rates in and rates out
A′(t)=R(t)−D(t)
When the rate in is R(t) and the rate out is D(t), the net rate of change is A′(t)=R(t)−D(t). The amount increases while R(t)>D(t) and decreases while R(t)<D(t). To find the maximum amount on [a,b], check only the endpoints a and b, and any times where R(t)−D(t) changes from positive to negative. Compare the values at those points.
Displacement and distance traveled
x(b)=x(a)+∫abv(t)dt
distance=∫ab∣v(t)∣dt
v=(t−1)(t−3) on [0,4]:
34+−34+34=4
Integrating velocity gives displacement, the net change in position x(b)−x(a). To find the total distance traveled, integrate ∣v(t)∣ so that backward motion doesn't cancel forward motion. Split the integral at every time where velocity changes sign, and add the absolute value of each piece.
The average value of a function
average value of f on [a,b]=b−a1∫abf(x)dx
To find the average value of f(x) on [a,b], divide the integral ∫abf(x)dx by the width b−a. When f(x)≥0, that integral is just the total area under the curve. The average value is the height of the rectangle on [a,b] with that exact same area. Don't just average the values at the endpoints, 2f(a)+f(b). For 6t on [0,4], the average value is 8, not 20+12=6.
Average value versus average rate of change
b−af(b)−f(a)=b−a1∫abf′(x)dx
The average rate of change of f is the average value of its derivative, f′. On [1,4],x2 has an average value of 7, but its average rate of change is 5, which is the average value of 2x. Before computing, check whether you're averaging the function itself or its rate of change.
When a function equals its average value
f(c)=b−a1∫abf(x)dx
c in [a,b]
If f is continuous on [a,b], the Mean Value Theorem for integrals says f(c) equals the average value of f for at least one c in [a,b]. To find c, set f(c) equal to the average value, solve for c, and keep only the solutions inside [a,b]. For x2 on [1,4] with average value 7, solving c2=7 gives 7 and −7, but only 7 lies in [1,4].
6
Practice
Give exact answers as whole numbers, fractions, or with square roots where needed.
1
Water flows into a tank at the rate r(t)=3t2+2 liters per minute, where t is in minutes. At t=0 the tank holds 10 liters. How much water is in the tank at t=3?
Does ∫03r(t)dt give the total water in the tank, or the water added between t=0 and t=3?
If you got 33 liters33 is the water added over the 3 minutes. Remember to add the 10 liters already in the tank at t=0.
The integral of the rate gives the amount of water added to the tank.
∫03(3t2+2)dt=[t3+2t]03=27+6=33
Add this to the 10 liters already in the tank at the start.
A(3)=A(0)+∫03r(t)dt=10+33=43L
2
E(t) is the rate, in people per hour, at which people enter a museum t hours after it opens, and ∫03E(t)dt=450. Which statement is correct?
What unit do you get when you multiply people per hour by hours?
If you got (B)E(t) is only the rate people enter. To find how many people are in the museum at t=3, you'd also need to know how many people left and how many were inside at t=0.
If you got (C) The rate at t=3 is E(3), measured in people per hour. The integral gives the number of people, not a rate.
If you got (D) 450 people entered over 3 hours, so the average rate would be 450 divided by 3, which is 150 people per hour.
Multiply the units of the rate by the units of time to find what the integral measures.
∫03E(t)dt:hourpeople×hours=people
Because E(t) is the rate people enter, the integral adds up all the people who entered over those 3 hours, so (A) is correct.
3
Water enters a tank at the rate R(t)=6 gallons per hour and leaves at the rate D(t)=3t gallons per hour, for 0≤t≤9, where t is in hours. At t=0 the tank holds 10 gallons. At what time is the amount of water in the tank greatest, and how much water is in the tank then?
Water builds up while R(t)>D(t). At what time does R(t)=D(t)?
If you got t=9 For t>4,D(t)>R(t), so water leaves faster than it enters and the amount decreases. Compare A(9) with A(4).
If you got 8 gallons8 gal is only the net change from t=0 to t=4. Add the 10 gal the tank started with.
Find the critical pointThe rate of change of the water in the tank is the rate in minus the rate out, A′(t)=R(t)−D(t). Set A′(t)=0 to find where the amount can reach a maximum.
A′(t)=6−3t=0→t=2→t=4
A′(t)>0(t<4),A′(t)<0(t>4)
Find the formula for the amountThe amount at time t is the starting amount plus the net change.
A(t)=10+∫0t(6−3s)ds=10+6t−2t23
Compare the candidatesEvaluate A(t) at the critical point t=4 and at the endpoints t=0 and t=9.
A(0)=10,A(4)=10+24−16=18,A(9)=10+54−54=10
4
The graph of the velocity v(t) of a particle moving along a line, for 0≤t≤5, is a line segment from (0,4) to (3,−2), followed by a horizontal segment at v=−2 from t=3 to t=5. (a) Find the displacement of the particle from t=0 to t=5. (b) Find the total distance the particle travels from t=0 to t=5.
1
2
3
4
5
4
2
−2
0
t
v
v(t)
Where does the velocity line cross the time axis? Use that point to see which areas lie above the axis and which lie below.
Does distance count area below the time axis with a positive or negative sign?
If you got 1 for (b)1 is the absolute value of the displacement. For total distance, add the areas of all the pieces.
Find where velocity is zeroOn [0,3], the line has slope −2 and starts at 4, so set 4−2t=0.
v(t)=4−2t(0≤t≤3)→v=0 at t=2
Find the area of each pieceThe region splits into two triangles and a rectangle between the graph and the time axis.
[0,2]:21⋅2⋅4=4 above
[2,3]:21⋅1⋅2=1 below
[3,5]:2⋅2=4 below
For displacement, subtract the areas below the axis. For total distance, add all the areas.
(a)4−1−4=−1
(b)4+1+4=9
5
Find the average value of f(x)=x21 on [1,3].
The average value is b−a1∫13x−2dx. What is the length of the interval, b−a?
If you got 92 That divides the integral by b=3 instead of the interval length b−a=2.If you got 3232 is the integral ∫13x−2dx. Divide by the length of the interval, 3−1=2.If you got 95 That's the average of the two endpoint values, 2f(1)+f(3), not the average value of the function across the whole interval.
First integrate x−2 from 1 to 3.
∫13x−2dx=[−x1]13=−31+1=32
Divide by the length of the interval, 3−1=2.
3−11⋅32=31
6
Let f(x)=4−x2 on [0,2]. Find the value c in [0,2] at which f(c) equals the average value of f on [0,2].
Setting 4−c2 equal to the average value gives two solutions. Which one lies in [0,2]?
If you got −323 That solves the equation f(c)=38, but it's negative, so it lies outside [0,2].If you got 3838 is the average value f(c), not the input c.If you got 22 comes from averaging the endpoint values 2f(0)+f(2)=2. Find the average value with an integral.
Find the average valueIntegrate 4−x2 over [0,2] and divide by the length of the interval.
2−01∫02(4−x2)dx=21(8−38)=38
Solve for cSet f(c) equal to the average value 38.
4−c2=38→c2=34→c=±323
Choose the solution that lies in [0,2].
323≈1.15 in [0,2]
−323<0→c=323
7
f is differentiable, f′ is continuous, f(1)=3 and f(5)=11. Find the average value of f′ on [1,5].
By the Fundamental Theorem of Calculus, what does ∫15f′(x)dx equal in terms of f?
If you got 88 is the net change f(5)−f(1). Divide by the length of the interval, 5−1=4.
The integral of f′ is the net change f(5)−f(1), so the average value of f′ is the average rate of change of f.
5−11∫15f′(x)dx=5−1f(5)−f(1)=411−3=2
8
A particle moves along a line with acceleration a(t)=2t−6. Its velocity at t=0 is v(0)=5. Find the total distance the particle travels from t=0 to t=6. (Challenge)
Find v(t) by integrating a(t), and use v(0)=5 to find the constant C.
Factor v(t) to find where the particle changes direction in (0,6).
If you got 6 That's the absolute value of the displacement, ∫06v(t)dt. To find distance, split the integral wherever v(t) changes sign.If you got 36 Check the constant of integration in v(t). Since v(0)=5,C=5, not 0.
Find the velocity and where it changes signIntegrate acceleration, use v(0)=5 to find C, and factor v(t) to find where the particle turns around.
v(t)=∫(2t−6)dt=t2−6t+C,v(0)=5→C=5
v(t)=t2−6t+5=(t−1)(t−5)
Find an antiderivative of velocityEvaluate an antiderivative of v(t) at the endpoints and turnaround times.
F(t)=3t3−3t2+5t
F(0)=0,F(1)=37,F(5)=−325,F(6)=−6
Use the values of F(t) to find the displacement on each piece.
∫01vdt=37,∫15vdt=−332,∫56vdt=37
Add the absolute values of the three displacements to find the total distance.