3.6 Average Value, Area and Volume

Average Value

We know the average of [latex]n[/latex] numbers [latex]a_1, a_2, \dots , a_n[/latex] is their sum divided by [latex]n[/latex]. But what if we need to find the average temperature over a day’s time – there are too many possible temperatures to add them up! This is a job for the definite integral.

Video Demonstration

Average value of a function
© 2014 Eric Bancroft

Average Value

The average value of a function [latex]f(x)[/latex] on the interval [latex][a, b][/latex] is given by \[ \frac{1}{b-a}\int_a^bf(x)\, dx. \]

The average value of a positive [latex]f[/latex] has a nice geometric interpretation. Imagine that the area under [latex]f[/latex] (graph (a) below) is a liquid that can leak through the graph to form a rectangle with the same area (graph (b) below).

If the height of the rectangle is [latex]H[/latex], then the area of the rectangle is [latex]H\cdot (b-a)[/latex]. We know the area of the rectangle is the same as the area under [latex]f[/latex] so [latex]H\cdot (b-a) = \int_a^b f(x)\, dx[/latex]. Then \[ H = \frac{1}{b-a}\int_a^b f(x)\, dx, \] the average value of [latex]f[/latex] on [latex][a,b][/latex].

The average value of a positive function [latex]f[/latex] is the height [latex]H[/latex] of the rectangle whose area is the same as the area under [latex]f[/latex].

 

Example 1

During a 9 hour work day, the production rate at time [latex]t[/latex] hours after the start of the shift was given by the function [latex]r(t)=5+\sqrt{t}[/latex] cars per hour. Find the average hourly production rate.

Answer:
The average hourly production is [latex]\frac{1}{9-0}\int_0^9\left(5+\sqrt{t}\right)\, dt = 7[/latex] cars per hour.

A note about the units – remember that the definite integral has units (cars per hour)[latex]\cdot[/latex](hours) = cars. But the [latex]\frac{1}{b-a}[/latex] in front has units [latex]\frac{1}{\text{hours}}[/latex] so the units of the average value are cars per hour, just what we expect an average rate to be.

In general…

…the average value of a function will have the same units as the integrand.

Function averages, involving means and more complicated averages, are used to smooth data so that underlying patterns are more obvious and to remove high frequency noise from signals. In these situations, the original function [latex]f[/latex] is replaced by some average of [latex]f[/latex]. If [latex]f[/latex] is rather jagged time data, then the ten year average of [latex]f[/latex] is the integral [latex]g(x)=\frac{1}{10}\int\limits_{x-5}^{x+5} f(t)\, dt[/latex], an average of [latex]f[/latex] over 5 units on each side of [latex]x[/latex].

For example, the figure below shows the graphs of a Monthly Average (rather “noisy” data) of surface temperature data, an Annual Average (still rather jagged ), and a Five Year Average (a much smoother function).

graph by Robert A. Rohde

Image prepared by Robert A. Rohde, http://commons.wikimedia.org/wiki/File:Short_Instrumental_Temperature_Record.png .

Typically the average function reveals the pattern much more clearly than the original data. This use of a moving average value of noisy data (weather information, stock prices) is a very common.

Video Demonstration

Average value of a function: example
© 2014 Eric Bancroft

Example 2

The graph below shows the amount of water in a reservoir over a 12 hour period. Estimate the average amount of water in the reservoir over this period.

graph

Answer:

If [latex]V(t)[/latex] is the volume of the water (in millions of liters) after [latex]t[/latex] hours, then the average amount is [latex]\frac{1}{12}\,\int_0^{12} V(t)\, dt[/latex]. In order to find the definite integral, we’ll have to estimate. Let’s use 6 rectangles and take the heights from their right edges (there’s nothing special about using 6 rectangles or right edges – other choices would still give you a valid estimate).

graph

The estimate of the integral is \[\int_0^{12} V(t)\, dt \approx (18)(2)+(9.7)(2)+(8.2)(2)+(12)(2)+(19.9)(2)+(22)(2)=179.6.\]

The units of this integral are (millions of liters)[latex]\cdot[/latex](feet). So our estimate of the average volume is [latex]\frac{1}{12}\cdot 179.6\approx 15[/latex] millions of liters. (The estimate might change a little depending on how we estimate the function values from the graph.)

In the figure below, you can see the same graph with the line [latex]y=15[/latex] drawn in. The area under the curve and the area under the rectangle are (approximately) the same.

graph

In fact, that would be a different way to estimate the average value. We could have estimated the placement of the horizontal line so that the area under the curve and under the line were equal.

 

Area

We have already used integrals to find the area between the graph of a function and the horizontal axis. Integrals can also be used to find the area between two graphs.

If [latex]f(x) \geq g(x)[/latex] for all [latex]x[/latex] in [latex][a,b][/latex], then we can approximate the area between [latex]f[/latex] and [latex]g[/latex] by partitioning the interval [latex][a,b][/latex] and forming a Riemann sum, as shown in the picture. The height of each rectangle is top – bottom, [latex]f(c_i) - g(c_i)[/latex] so the area of the [latex]i[/latex]-th rectangle is (height)[latex]\cdot[/latex](base) = [latex]\left(f(c_i) - g(c_i)\right)\cdot\Delta x[/latex]. Adding up these rectangles gives an approximation of the total area as [latex]\sum_{i=1}^n \left(f(c_i) - g(c_i)\right)\cdot\Delta x[/latex], a Riemann sum.

grapg

The limit of this Riemann sum, as the number of rectangles gets larger and their width gets smaller, is the definite integral [latex]\int_a^b \left(f(c_i) - g(c_i)\right)\, dx[/latex].

Video Demonstration

Area between curves
© 2014 Eric Bancroft

Area Between Two Curves

The area between two curves [latex]f(x)[/latex] and [latex]g(x)[/latex], where [latex]f(x) \geq g(x)[/latex], between [latex]x = a[/latex] and [latex]x = b[/latex] is \[ \int_a^b \left(f(c_i) – g(c_i)\right)\, dx. \]
The integrand is top – bottom. Make a graph or use test values to be sure which curve is which.

 

Example 3

Find the area bounded between the graphs of [latex]f(x) = x[/latex] and [latex]g(x) = 3[/latex] for [latex]1 \leq x \leq 4[/latex].

graph

Answer:

Always start with a graph so you can see which graph is the top and which is the bottom. In this example, the two curves cross, and they change positions; we’ll need to split the area into two pieces. Geometrically, we can see that the area is 2 + 0.5 = 2.5.

Writing the area as a sum of definite integrals, we get \[ \text{Area }= \int_1^3 (3-x)\, dx+\int_3^4 (x-3)\, dx.\]

These integrals are easy to evaluate using antiderivatives:
\[ \begin{align*}
\int_1^3 (3-x)\, dx & = \left[3x-\frac{x^2}{2}\right]_1^3 \\
& = \left(9-\frac{9}{2}\right)-\left(15-\frac{25}{2}\right) \\
& = 2
\end{align*} \]

\[ \begin{align*}
\int_3^4 (x-3)\, dx & = \left[\frac{x^2}{2}-3x\right]_3^4 \\
& = \left(\frac{16}{2}-12\right)-\left(\frac{9}{2}-9\right) \\
& = \frac{1}{2}
\end{align*} \]

The sum of these two integrals tells us that the total area between [latex]f[/latex] and [latex]g[/latex] is 2.5 square units, which we already knew from the picture.

Note that the single integral [latex]\int_1^4 (3-x)\, dx = 1.5[/latex] is not the area we want in the last example. The value of the integral is 1.5 , and the value of the area is 2.5 . That’s because for the triangle on the right, the graph of [latex]y = x[/latex] is above the graph of [latex]y = 3[/latex], so the integrand [latex]3 - x[/latex] is negative; in the definite integral, the area of that triangle comes in with a negative sign.

In this example, it was easy to see exactly where the two curves crossed so we could break the region into the two pieces to figure separately. In other examples, you might need to solve an equation to find where the curves cross.

 

Example 4

Find the area bounded by the graphs of [latex]f(x) = x^2[/latex] and [latex]g(x) = x+6[/latex].

Answer: To begin, it will help to sketch a graph of the functions to see the area enclosed.

graph

To set up the integral for the area, we need to determine where the line intersects the parabola. While the points look fairly clear in the graph, it will be good to verify the points algebraically:
\[ \begin{align*}
x^2 & = x+6 \\
x^2 – x -6 & = 0 \\
(x-3)(x+2) & = 1 \\
x & = -2, 3
\end{align*} \]

Over this interval [latex]-2 \leq x \le 3[/latex] notice the linear function is on top, so if were were to draw a rectangle between the curves, the height would be (top function) − (bottom function) = [latex](x+6)-x^2[/latex].

Setting up a definite integral for this area: \[ \text{Area }= \int_{-2}^3 (x+6-x^2)\, dx\]

We can evaluate this integral using antiderivatives:
\[ \begin{align*}
\int_{-2}^3 (x+6-x^2)\, dx & = \left.\left(\frac{x^2}{2} + 6x – \frac{x^3}{3}\right)\right|_{-2}^3 \\
& = \left(\frac{3^2}{2} + 6\cdot 3 -\frac{3^3}{3}\right)-\left(\frac{(-2)^2}{2} + 6\cdot(-2) -\frac{(-2)^3}{3}\right) \\
& = \left(\frac{9}{2} + 18 – \frac{27}{3}\right) – \left(\frac{4}{2} – 12 -\frac{8}{3}\right) \\
& = \left(\frac{9}{2} + 18 – 9\right) – \left(2 – 12 -\frac{8}{3}\right) \\
& = \left(\frac{9}{2} +9\right) – \left(-10 -\frac{8}{3}\right) \\
& = \frac{9}{2} +9 +10 +\frac{8}{3} \\
& = \frac{157}{6}
\end{align*} \]

The area between the curves is [latex]\frac{157}{6}\approx 26.167[/latex] square units.

To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video

 

Example 5

Two objects start from the same location and travel along the same path with velocities [latex]v_A(t)=t+3[/latex] and [latex]v_B(t)=t^2-4t+3[/latex] meters per second. How far ahead is [latex]A[/latex] after 3 seconds?

graph

Answer:

Since [latex]v_A(t) \geq v_B(t)[/latex] , the area between the graphs of [latex]v_A[/latex] and [latex]v_B[/latex] represents the distance between the objects.
After 3 seconds, the distance apart is
\[ \begin{align*}
\int_0^3 \left( v_A(t) – v_B(t) \right)\, dt & = \int_0^3 \left( (t+3) – \left( t^2-4t+3 \right) \right)\, dt \\
& = \int_0^3 \left(5t-t^2\right)\, dt \\
& = \left[ 5\frac{t^2}{2} -\frac{t^3}{3} \right]_0^3 \\
& = \left( 5\frac{9}{2}-\frac{27}{3}\right)-(0) \\
& = 13.5 \text{ meters}.
\end{align*} \]

 

Video Demonstration

Area between curves: example
© 2014 Eric Bancroft

Volume

Just as we can partition an interval and imagine approximating an area with rectangles to find a formula for the area between curves, we can partition an interval and imagine approximating a volume with simple shapes to find a formula for the volume of a solid. While this approach works for a variety of shapes, our focus will be on shapes formed by revolving a curve around the horizontal axis.

We start with an area, the region below a function on the interval [latex]a \leq x \leq b[/latex]. We are going to take that region, and rotate it around the [latex]x[/latex]-axis, creating the solid shape shown.

regionsolid

To find the volume of this solid, we can start by partitioning the interval [0,1] and approximating the area with rectangles. As before, the width of each rectangle would be [latex]\Delta x[/latex] and the height [latex]f(c_i)[/latex].

regionsolid

If we took just one of these rectangles and rotated it about the horizontal axis, it would form a cylindrical shape. The radius of that cylinder would be [latex]f(c_i)[/latex], so the volume would be \[ V=\pi r^2 h=\pi\left(f(c_i)\right)^2\Delta x. \]

The volume of the whole solid could be approximated by rotating each of the rectangles about the x axis. Adding up the volume of each of the little cylindrical discs gives an approximation of the total volume as [latex]\sum\limits_{i=1}^n \pi\left(f(c_i)\right)^2\Delta x[/latex], a Riemann sum.

The limit of this sum as the width of the rectangles becomes small is the definite integral [latex]\int_a^b \pi\left(f(c_i)\right)^2\, dx[/latex]

Volume

The volume of the solid obtained by rotating about the [latex]x[/latex]-axis the area bounded by the curve [latex]f(x)[/latex], the [latex]x[/latex]-axis, [latex]x = a[/latex], and [latex]x = b[/latex] is \[ \int_a^b \pi\left(f(c_i)\right)^2\, dx \]

 

Example 6

Find the volume of the solid formed by rotating the area under [latex]f(x)=e^{-x}[/latex] on the interval [0,1] about the [latex]x[/latex]-axis.

region

Answer: This is the region pictured in the earlier example. We substitute in the function and bounds into the formula we derived to set up the definite integral: \[ \text{Volume} = \int_0^1 \pi\left(e^{-x}\right)^2\, dx. \]

Using exponent rules, the integrand can be simplified. The constant [latex]\pi[/latex] can be pulled out of the integral: \[ \text{Volume} = \pi\int_0^1 e^{-2x}\, dx. \]

Using the substitution [latex]u = -2x[/latex], we can integrate this function.
\[ \begin{align*}
\pi\int_0^1 e^{-2x}\, dx & = \text{([latex]u[/latex]-substitution)} \\
& = \left. -\frac{1}{2}\pi e^{-2x}\right]_0^1 \\
& = \left(-\frac{1}{2}\pi e^{-2(1)}\right) – \left(-\frac{1}{2}\pi e^{-2(0)}\right) \\
\approx & 1.358\text{ cubic units}.
\end{align*} \]

 

License

Share This Book