Average Value of a Function

advertisement
Calculus II
MAT 146
Integration Applications: Average Value of a Function
Here we apply integration to the task of determining the average value of a
function for a specified interval of independent-variable values. These ideas
extend what we typically think about average value, moving from discrete
and finite cases to the continuous case for which an infinite number of
function values exist within a finite interval of input values.
We begin by connecting with our current perspective on average value.
Question: What was the average temperature between midnight and noon
yesterday?
Our response really depends on what we know about yesterday’s
temperatures.
If all we know is that it was 65º F. at midnight and that it was 81º F. at noon,
the average temperature is:
65 + 81 146
=
= 73! F
2
2
If we also know that it was 76º F. at 6 am, we can re-compute an average
temperature:
65 + 76 + 81 222
=
= 74! F
3
3
What if we know hourly readings?
12 midnight 1 am 2 am 3 am 65˚ F 67˚ F 69˚ F 71˚ F 4 am 5 am 6 am 7 am 8 am Average Temp =
73˚ F 74˚ F 76˚ F 77˚ F 77˚ F 9 am 10 am 11 am 12 noon 78˚ F 79˚ F 80˚ F 81˚ F 65 + 67 + 69 +!+ 80 + 81
13
13
!Ti
=
967 i=1
1 13
=
= ! Ti
13
13 13 i=1
= 74.385" F
where Ti represents the ith hourly temperature that we know we know.
What if we know temperatures every minute? Every second?
n
!Ti 1 n
Average Temp = i=1 = ! Ti
n
n i=1
#b"a& 1 n
b"a
=%
multiply by 1 =
( ) ) ! Ti
$ b " a ' n i=1
b"a
# 1 & n
#b"a&
=%
rearrange factors
( ) ! Ti ) %
(
$ b " a ' i=1 $ n '
#b"a&
%
( = *t : subinterval size
$ n '
# 1 & n
=%
( ) ! Ti ) *t
$ b " a ' i=1
So we’re gathering more and more temperatures, each time dividing the sum
of those temperatures by the number of temperatures we know. The
temperatures span the time interval from time a to time b.
What if we let the number of temperatures we know grow without bound?
" 1 % n
' ( ) Ti ( *t as n ! " .
# b ! a & i=1
Take the limit of $
But the Ti can just be seen as as a function describing the temperature from
time a to time b. Therefore, as n ! " , we can use a definite integral to
process this sum, if it exists.
-$ 1 ' n
0 $ 1 ' b
lim /&
* + Ti * ,t 2 = &
)
) * 3 T (t ) dt
n!" .% b # a (
1 %b#a( a
i=1
Generalizing, we now have a mechanism for determining the average value
of a function f that spans some continuous range of input values.
The average value of a function f, on a ! x ! b , with f continuous on that
interval, is:
1
b!a
b
" f ( x ) dx
a
Example 1
Determine the average value of y = x 2 on [0,3].
3
1 3 2
1 x3 $ 1
y=
x
dx
=
# & = #9 = 3
"
3! 0 0
3 3 %0 3
Let’s look at this graphically as well.
3
The shaded region on the left has area ! x 2 dx .
0
3
The rectangle on the right also has area ! x 2 dx , and we know its length is 3.
0
3
So we have ! x 2 dx = 3" height of rectangle .
0
We think of the rectangle’s height as the average value of y = x 2 on [0,3],
because that height, or function value, is the same for all x on [0,3]. Then
3
13
30
! x 2 dx = 3" height of rectangle # height of rectangle = ! x 2 dx
0
So the average value of a function is just a rectangle’s height, signifying the
“spreading out” of the various function values over the interval so that at
every location within the interval, the function takes on the same value.
If we represent that constant function value as y = f (c) , Then there has to
exist some value c, 0 ! c ! 3 , that makes this average value work. The Mean
Value Theorem for Integrals assures us that such a c exists, and we can, if
needed, determine that value:
3
! x 2 dx = 3" height of rectangle
0
= 3" f (c) # f (c) =
13 2
! x dx = 3.
30
This is the average value of the function.
# f (c) = 3 # c 2 = 3 # c = 3
This shows that when x = 3, we have a correct (average-value) rectangle height at
( 3)
2
= 3.
Example 2
Determine the average value of y = 2x 4 ! 3x for !1 " x " 2 . Determine a value
c, !1 " c " 2 , so that f (c) =
2
1
12
" 2x 4 ! 3x dx = " 2x 4 ! 3x dx .
3 !1
(2 ! (!1)) !1
(
)
(
)
y=
2
1
12
" 2x 4 ! 3x dx = " 2x 4 ! 3x dx
2 ! (!1) !1
3 !1
(
)
(
)
2
1 $2
3 '*
1 -$ 64 ' $ 2 3 '*
= # & x 5 ! x 2 ), = # /& ! 6 ) ! & ! ! ),
( % 5 2 (+
3 %5
2 (+!1 3 .% 5
1 $ 68 $ 19 ''
= & ! & ! ))
3 % 10 % 10 ((
29
=
10
The average value of y on the stated interval is 29/10. To determine c,
!1 " c " 2 , we now know f(c) = 29/10, so then
f (c) =
Example 3
29
29
! 2c 4 " 3c =
! c # "0.753
10
10
!! $
t&
" 12 %
Return to the temperature example and suppose that y(t) = 75 +10sin #
represents the temperature at time t, where t is hours after 9 am. For (a)
through (c), determine the average temperatures over each of the following
intervals.
a) from 9 am to 9 pm
1 12
!
b) from 10 am to 6 pm
c) from 8 am to 12 noon
d) Over what 2-hour time period,
measured on the hour, is the
average temperature the
warmest?
! y(t)dt = 81.366 F.
12 0
19
! y(t)dt = 82.988! F.
81
13
" y(t)dt = 77.472! F.
4 !1
Note that the graph of y(t) reaches a
maximum for t = 6 hrs (3 pm). Moving one
hour in each direction from 3 pm, the
warmest 2-hour period is from 2 pm to
4 pm.
Download