5.4: Average Value of a Function

5.4 Average Value of a Function

We often need to find the average of a set of numbers, such as an average test grade. Suppose you received the following test scores in your algebra class: 89, 90, 56, 78, 100, and 69. Your semester grade is your average of test scores and you want to know what grade to expect. We can find the average by adding all the scores and dividing by the number of scores. In this case, there are six test scores. Thus, \[\dfrac=\dfrac≈80.33.\] Therefore, your average test grade is approximately 80.33, which translates to a B− at most schools. Suppose, however, that we have a function \(v(t)\) that gives us the speed of an object at any time t, and we want to find the object’s average speed. The function \(v(t)\) takes on an infinite number of values, so we can’t use the process just described. Fortunately, we can use a definite integral to find the average value of a function such as this. Let \(f(x)\) be continuous over the interval \([a,b]\) and let \([a,b]\) be divided into n subintervals of width \(Δx=(b−a)/n\). Choose a representative \(x^∗_i\) in each subinterval and calculate \(f(x^∗_i)\) for \(i=1,2,…,n.\) In other words, consider each \(f(x^∗_i)\) as a sampling of the function over each subinterval. The average value of the function may then be approximated as \[\dfrac,\] which is basically the same expression used to calculate the average of discrete values. But we know \(Δx=\dfrac,\) so \(n=\dfrac\), and we get \[\dfrac=\dfrac>.\] Following through with the algebra, the numerator is a sum that is represented as \(\sum_^nf(x∗i),\) and we are dividing by a fraction. To divide by a fraction, invert the denominator and multiply. Thus, an approximate value for the average value of the function is given by \(\dfrac<\sum_^nf(x^∗_i)>>=(\dfrac)\sum_^nf(x^∗_i)=(\dfrac)\sum_^nf(x^∗_i)Δx.\) This is a Riemann sum. Then, to get the exact average value, take the limit as n goes to infinity. Thus, the average value of a function is given by \(\dfrac\lim_\sum_^nf(x_i)Δx=\dfrac∫^b_af(x)dx.\)

Definition: average value of the function Let \(f(x)\) be continuous over the interval \([a,b]\). Then, the average value of the function \(f(x)\) (or \(f_\)) on \([a,b]\) is given by \[f_=\dfrac∫^b_af(x)dx.\]

CNX_Calc_Figure_05_02_017.jpeg

Example \(\PageIndex<8>\): Finding the Average Value of a Linear Function Find the average value of \(f(x)=x+1\) over the interval \([0,5].\) Solution First, graph the function on the stated interval, as shown in Figure. Figure \(\PageIndex\):The graph shows the area under the function \((x)=x+1\) over \([0,5].\) The region is a trapezoid lying on its side, so we can use the area formula for a trapezoid \(A=\dfrach(a+b),\) where h represents height, and a and b represent the two parallel sides. Then, \(∫^5_0x+1dx=\dfrach(a+b)=\dfrac⋅5⋅(1+6)=\dfrac\). Thus the average value of the function is \(\dfrac∫^5_0x+1dx=\dfrac⋅\dfrac=\dfrac\).

Exercise \(\PageIndex<7>\) Find the average value of \(f(x)=6−2x\) over the interval \([0,3].\) Hint Use the average value formula, and use geometry to evaluate the integral. Answer 3

Key Concepts

Key Equations

Glossary

average value of a function (or \(f_)\) the average value of a function on an interval can be found by calculating the definite integral of the function and dividing that value by the length of the interval variable of integration indicates which variable you are integrating with respect to; if it is x, then the function in the integrand is followed by dx

Contributors

This page titled 5.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 OpenStax.

  1. Back to top

Recommended articles

  1. Article type Section or Page Author OpenStax License CC BY-NC-SA License Version 4.0 Show Page TOC no Transcluded yes
  2. Tags
    1. average value of a function
    2. calcplot:yes
    3. definite integral
    4. integrable function
    5. integrand
    6. net signed area
    7. total area
    8. variable of integration