Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

9.4: Average Value of a Function

( \newcommand{\kernel}{\mathrm{null}\,}\)

The average of some finite set of values is a familiar concept. If, for example, the class scores on a quiz are 10, 9, 10, 8, 7, 5, 7, 6, 3, 2, 7, 8, then the average score is the sum of these numbers divided by the size of the class: average score=10+9+10+8+7+5+7+6+3+2+7+812=82126.83. Suppose that between t=0 and t=1 the speed of an object is sin(πt). What is the average speed of the object over that time? The question sounds as if it must make sense, yet we can't merely add up some number of speeds and divide, since the speed is changing continuously over the time interval.

To make sense of "average'' in this context, we fall back on the idea of approximation. Consider the speed of the object at tenth of a second intervals: sin0, sin(0.1π), sin(0.2π), sin(0.3π),…, sin(0.9π). The average speed "should'' be fairly close to the average of these ten speeds: 1109i=0sin(πi/10)1106.3=0.63.Of course, if we compute more speeds at more times, the average of these speeds should be closer to the "real'' average. If we take the average of n speeds at evenly spaced times, we get: 1nn1i=0sin(πi/n).\ Here the individual times are ti=i/n, so rewriting slightly we have 1nn1i=0sin(πti).This is almost the sort of sum that we know turns into an integral; what's apparently missing is Δt---but in fact, Δt=1/n, the length of each subinterval. So rewriting again: n1i=0sin(πti)1n=n1i=0sin(πti)Δt.Now this has exactly the right form, so that in the limit we get average speed=10sin(πt)dt=cos(πt)π|10=cos(π)π+cos(0)π=2π0.63660.64.

It's not entirely obvious from this one simple example how to compute such an average in general. Let's look at a somewhat more complicated case. Suppose that the velocity of an object is 16t2+5 feet per second. What is the average velocity between t=1 and t=3? Again we set up an approximation to the average: 1nn1i=016t2i+5,where the values ti are evenly spaced times between 1 and 3. Once again we are "missing'' Δt, and this time 1/n is not the correct value. What is Δt in general? It is the length of a subinterval; in this case we take the interval [1,3] and divide it into n subintervals, so each has length (31)/n=2/n=Δt. Now with the usual "multiply and divide by the same thing'' trick we can rewrite the sum: 1nn1i=016t2i+5=131n1i=0(16t2i+5)31n=12n1i=0(16t2i+5)2n=12n1i=0(16t2i+5)Δt.In the limit this becomes 123116t2+5dt=124463=2233.Does this seem reasonable? Let's picture it: in figure 9.4.1 is the velocity function together with the horizontal line y=223/374.3. Certainly the height of the horizontal line looks at least plausible for the average height of the curve.

Average velocity.
Figure 9.4.1. Average velocity.

Here's another way to interpret "average'' that may make our computation appear even more reasonable. The object of our example goes a certain distance between t=1 and t=3. If instead the object were to travel at the average speed over the same time, it should go the same distance. At an average speed of 223/3 feet per second for two seconds the object would go 446/3 feet. How far does it actually go? We know how to compute this: 31v(t)dt=3116t2+5dt=4463.So now we see that another interpretation of the calculation 123116t2+5dt=124463=2233is: total distance traveled divided by the time in transit, namely, the usual interpretation of average speed.

In the case of speed, or more properly velocity, we can always interpret "average'' as total (net) distance divided by time. But in the case of a different sort of quantity this interpretation does not obviously apply, while the approximation approach always does. We might interpret the same problem geometrically: what is the average height of 16x2+5 on the interval [1,3]? We approximate this in exactly the same way, by adding up many sample heights and dividing by the number of samples. In the limit we get the same result: limn1nn1i=016x2i+5=123116x2+5dx=124463=2233.We can interpret this result in a slightly different way. The area under y=16x2+5 above [1,3] is 3116t2+5dt=4463.The area under y=223/3 over the same interval [1,3] is simply the area of a rectangle that is 2 by 223/3 with area 446/3. So the average height of a function is the height of the horizontal line that produces the same area over the given interval.

Contributors and Attributions


This page titled 9.4: Average Value of a Function is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by David Guichard via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?