Section9.4Applications: Average Value
In the final two sections, we will examine several additional applications of line-integrals. The first is finding average values. The concept of averaging values together has many applications. In first-semester calculus, we saw how to generalize the concept of averaging numbers together to get an average value of a function. We'll review both of these concepts. In the next section we'll generalize average value to calculate centroids and center of mass.
Exercise9.4.1
Suppose a class takes a test and there are three scores of 70, five scores of 85, one score of 90, and two scores of 95. We will calculate the average class score, \(\bar s\text{,}\) four different ways to emphasize four ways of thinking about the averages. We are emphasizing the pattern of the calculations in this exercise, rather than the final answer, so it is important to write out each calculation completely in the form \(\bar s = \blank{1cm}\) before calculating the number \(\bar s\text{.}\)
(a)
Compute the average by adding 11 numbers together and dividing by the number of scores. Write down the whole computation before doing any arithmetic.
(b)
Compute the numerator of the fraction in the previous part by multiplying each score by how many times it occurs, rather than adding it in the sum that many times. Again, write down the calculation for \(\bar s\) before doing any arithmetic.
(c)
Compute \(\bar s\) by splitting up the fraction in the previous part into the sum of four numbers. This is called a “weighted average” because we are multiplying each score value by a weight.
(d)
Another way of thinking about the average \(\bar s\) is that \(\bar s\) is the number so that if all 11 scores were the same value \(\bar s\text{,}\) you'd have the same sum of scores. Write this way of thinking about these computations by taking the formulas for \(\bar s\) in the first two parts and multiplying both sides by the denominator.
\(\text{ (number of values) } \bar s = \sum \text{ values }\) \((\sum \text{ weight } )\bar s = \sum (\text{ value } \cdot\text{ weight } )\)}
In the next exercise, we generalize the above ways of thinking about averages from a discrete situation to a continuous situation. You did this in first-semester calculus if you found average values using integrals.
Exercise9.4.2
Suppose the price of a stock is $10 for one day. Then the price of the stock jumps to $20 for two days. Our goal is to determine the average price of the stock over the three days.
(a)
Why is the average stock price not $15?
(b)
Let \(f(t) = \begin{cases}10 \amp 0\lt t\lt 1\\20\amp 1\lt t\lt 3
\end{cases}\text{,}\) the price of the stock for the three-day period. Draw the function \(f\text{,}\) and find the area under \(f\) where \(t\in[0,3]\text{.}\)
HintYou can do this without integrals
(c)
Now let \(y=\bar f\text{.}\) The area under \(\bar f\) over \([0,3]\) is simply width times height, or \((b-a)\bar f\text{.}\) What should \(\bar f\) equal so that the area under \(\bar f\) over \([0,3]\) matches the area under \(f\) over \([0,3]\text{.}\)
(d)
We found a constant \(\bar f\) so that the area under \(\bar f\) matched the area under \(f\text{.}\) In other words, we solved the equation below for \(\bar f\text{:}\)
\begin{equation*}
\int_a^b \bar f dx = \int_a^b f dx
\end{equation*}
Solve for \(\bar f\) symbolically (without doing any of the integrals). This quantity is called the average value of \(f\) over \([a,b]\text{.}\)
HintRemember \(\bar{f}\) is a constant
(e)
The formula for \(\bar f\) in the previous part resembles at least one of the ways of calculating averages from Exercise 1. Which ones and why?
Ask me in class about the “ant farm” approach to average value.
Exercise9.4.3
Consider the elliptical curve \(C\) given by the parametrization \(\vec r(t) = (2\cos t, 3\sin t)\text{.}\) Let \(f\) be the function \(f(x,y)=9-x^2-y^2\text{.}\)
Watch a YouTube video.
(a)
(i)
Add to your drawing the curve \(C\) in the \(xy\) plane.
(ii)
Next draw the sheet whose area is given by the integral \(\int_C f ds\text{.}\)
(b)
See <<Unresolved xref, reference "horse_track_chain_rule_introduction"; check spelling or use "provisional" attribute>>.
What's the maximum height and minimum height of the sheet?
(c)
We'd like to find a constant height \(\bar f\) so that the area under \(f\text{,}\) above \(C\text{,}\) is the same as area under \(\bar f\text{,}\) above \(C\text{.}\) This height \(\bar f\) is called the average value of \(f\) along \(C\text{.}\)
Please read Isaiah 40:4 and Luke 3:5. These scriptures should help you remember how to find average value.
Please read Isaiah 40:4 and Luke 3:5. These scriptures should help you remember how to find average value.
Explain why the average value of \(f\) along \(C\) is
\begin{equation*}
\bar f = \frac{\int_C f ds}{\int_C ds}.
\end{equation*}
Connect this formula with the ways of thinking about averages from Exercise 1.
HintThe area under \(\bar f\) above \(C\) is \(\int_C \bar f ds\text{.}\) The area under \(f\) above \(C\) is \(\int_C f ds\text{.}\) Set them equal and solve for \(\bar f\text{.}\)
(d)
You can use the Sage line integral calculator.
Use a computer to evaluate the integrals \(\int_C f ds\) and \(\int_C ds\text{,}\) and then give an approximation to the average value of \(f\) along \(C\text{.}\) Is your average value between the maximum and minimum of \(f\) along \(C\text{?}\) Why should it be?
Exercise9.4.4
The temperature \(T(x,y,z)\) at points on a wire helix \(C\) given by \(\vec r(t) = (\sin t, 2t, \cos t)\) is known to be \(T(x,y,z)=x^2+y+z^2\text{.}\)
(a)
What are the temperatures at \(t=0\text{,}\) \(t=\pi/2\text{,}\) \(t=\pi\text{,}\) \(t=3\pi/2\) and \(t=2\pi\text{?}\)
(b)
Make a guess as to what the average temperature is (share with the class why you made the guess you made—it's OK if you're wrong).
(c)
Next compute the average temperature of the wire using the integral formula from the previous exercises. (You can do all these computations by hand.)