

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
How to find the average value of a continuous function using riemann sums and the definite integral. It includes examples of calculating the average value of specific functions and the mean value theorem for integrals.
Typology: Summaries
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Suppose that y 1 ,... , yn are a set of numbers. In order to find the average value of these numbers, we sum them up and divide by n. That is, Average Value= y^1 + n...y n. This is useful for discrete mathematics, but usually in mathematics we deal with continuous models (else we cannot apply Calculus). How should we try to find averages for continuous models? Consider the following example.
Example 1.1. Suppose that the temperature C(t) is a function of time in hours, 1 6 t 6 24. In order to calculate the average temperature over a 24 hour period, we could measure the temperature every hour and then take the average of these measurements:
Average Value ∼
However, this does not take into account that the temperature could suddenly spike or drop at any point. Therefore, to find a better ap- proximation, we should take smaller time intervals. In general, on the interval [0, 24], we could break it up into n intervals, each of length ∆x = (b − 1)/n = 24/n. Then we approximate using a time value in each interval and get:
Average ≃
C(x 1 ) + · · · + C(xn) n
But we know ∆x = 24/n, so we get
Average ≃
C(x 1 ) + · · · + C(xn) n
C(x 1 ) + · · · + C(xn) 24 /∆x
(C(x 1 ) + · · · + C(xn))∆x n
∑^ n
i=
C(xi)∆x.
This last sum is a Riemann sum, and as we take smaller and smaller subdivisions, we get closer and closer to the definite integral. Thus we could define:
Average ≃ lim n→∞
b − a
∑^ n
i=
C(xi)∆x =
∫ (^) b
a
C(x)dx.
What we did for this example is not unique to this example. It works in precisely the same way for any continuous function. The only difference we note is that if we are considering the average of a general interval [a, b], we get ∆x = (b − a)/n. In general, we have: 1
2
Result 1.2. If f (x) is a continuous function on [a, b], then the average value of f on [a, b] is given by
1 b − a
∫ (^) b
a
f (x)dx.
We illustrate with a couple of examples.
Example 1.3. Find the average values of the following functions over the corresponding intervals.
(i) 1/x on [1, 4]
Average =
1
x
dx =
ln(x)|^41 =
ln(4).
(ii) 3/(1 + r)^2 on [1, 6]
Average =
1
(1 + r)^2
dr = −
5 + 5r
Question: Is there a value of f on an interval [a, b] for which f (c) = Average value on [a, b]. Answer: Yes - provided f is a continuous function. This is sometimes known as the mean value theorem for integrals:
Result 1.4. If f is continuous on [a, b], then there is a c in [a, b] such that
f (c) =
b − a
∫ (^) b
a
f (x)dx.
We look at some more applications and examples.
Example 1.5. Suppose that f (x) is a continuous function on [a, b] whose average value on [a, b] is 0. Explain why f (x) must have a zero on [a, b] using the mean value theorem and logical reasoning.
Example 1.6. Suppose f (x) = (x − 3)^2. Find the average value of f (x) on [2, 5] and the value of c in [2, 5], such that f at this point equals that value.
Average =
2
(x − 3)^2 dx =
(x − 3)^3 9
Then (x − 3)^2 = 1 implies x − 3 = 1 or x − 3 = −1, so x = 4 or x = 2 (observe in this case there are two values!).
Example 1.7. (i) What is the average value of y = on [0, 4].
Average =
0
x^3 dx =
x^4 4