It is easy to compute average value of finitely many values y1, y2,...,yn: yave=ny1+y2+…+yn.
But how to compute average of infinitely many values? In general, let's try to compute the average value of a function y=f(x), a≤x≤b.
As always we start by dividing the interval [a,b] into n equal subintervals, each with length Δx=nb−a. Then we choose points x1⋆, . . . , xn⋆ in successive subintervals and calculate the average of the numbers f(x1⋆), . . . , f(xn⋆): nf(x1⋆)+f(x2⋆)+…+f(xn⋆).
Since Δx=nb−a then n=Δxb−a and the average value becomes Δxb−af(x1⋆)+f(x2⋆)+…+f(xn⋆)=
=b−a1(f(x1⋆)+f(x2⋆)+…+f(xn⋆))Δx=
=b−a1∑i=1nf(xi⋆)Δx.
If we let n increase, we would be computing the average value of a large number of closely spaced values. The limiting value is limn→∞b−a1∑i=1nf(xi⋆)Δx=b−a1∫abf(x)dx by the definition of definite integral.
Average Value of a Functionf on the interval [a,b] is fave=b−a1∫abf(x)dx.
For a positive function, we can think of this definition as saying widtharea=average height.
Example 1. Find the average value of function f(x)=4−x2 on interval [0,2].
Here, a=0 and b=2, therefore fave=2−01∫02(4−x2)dx=21(4x−31x3)∣02=21(4⋅2−31⋅23)=38.