Section 12.5 Continuous Functions
¶Subsection 12.5.1 Continuity
Recall our definition of continuity for a function at a single point.
Definition 12.5.1. Continuity at a Point.
A function \(f\) is continuous at \(a\) if
The single equation captures the full definition because for the equation to be true, the limit must exist and the value of the function must exist. Also, recall that the function is right-continuous if the limit comes from the right (\(x \to a^+\)) and left-continuous if the limit comes from the left (\(x \to a^-\)).
These ideas allow us to define what we mean by saying that a function is continuous on an interval.
Definition 12.5.2. Continuity on an Interval.
A function \(f\) is continuous on an interval \((a,b)\) if \(f\) is continuous at every point \(x \in (a,b)\text{.}\) We can include an endpoint if the limit statement is true coming from within the interval. That is, we include \(a\) if
and we include \(b\) if
Subsection 12.5.2 Definite Integrals and Average Value
¶When we studied the definite integral, we learned that continuity implies integrability. However, a discontinuous function might still be integrable. For example, the definite integral of a piecewise continuous function with a finite number of jump discontinuities can be computed using the splitting property. The total definite integral would be equal to the sum of the definite integrals on each of the subintervals.
Continuity does guarantee something stronger than integrability. It guarantees that the function attains its average value over an interval. To make this precise, we first need to define the average value.
Definition 12.5.3. Average Value of a Function.
The average value of a function \(f\) on an interval \([a,b]\text{,}\) denoted \(\langle f \rangle_{[a,b]}\text{,}\) is defined as
so long as \(f\) is integrable on \([a,b]\text{.}\)
The average value is defined as the value of a constant function that has the same definite integral over the interval:
Example 12.5.4.
The figure below illustrates a simple function \(f(x)\) defined on the interval \([0,5]\text{,}\)
The definite integral equals the sum of the signed areas,
The average value is equal to this definite integral divided by the width of the interval,
Theorem 12.5.5. Mean Value Theorem for Integrals.
Given a function \(f\) that is continuous on \([a,b]\text{,}\) there must exist a value \(c \in (a,b)\) such that
or equivalently, \(\displaystyle \int_{a}^{b} f(x)\, dx = f(c) \cdot (b-a)\text{.}\)
Proof.
Because \(f\) is continuous on \([a,b]\text{,}\) the Extreme Value Theorem guarantees that \(f\) attains a minimum value \(f(x_{\min})\) and a maximum value \(f(x_{\max})\) so that \(f(x_{\min}) \le f(x) \le f(x_{\max})\) for all \(x \in [a,b]\text{.}\)
The average value \(\langle f \rangle_{[a,b]}\) must be between the minimum and maximum values. The (((Unresolved xref, reference "thm-integral-inequality"; check spelling or use "provisional" attribute)))Integral Bounds theorem guarantees
which then implies
By the Intermediate Value Theorem with the interval with end points \(x_{\min}\) and \(x_{\max}\) (we don't know which is on the left/right), there must be some value \(c\) between these points, and so \(c \in (a,b)\text{,}\) for which
In the previous example, \(f\) was not continuous and we can see that the graph \(y=f(x)\) did not intersect the constant value \(\langle f \rangle_{[0,5]}\text{.}\) The Mean Value Theorem for Integrals guarantees that when the function is continuous, the constant function using the average value must intersect the graph \(y=f(x)\text{.}\)
Example 12.5.6.
The function \(f(x)=x^2\) is continuous everywhere. The average value on the interval \([-1,2]\) can be found using the (((Unresolved xref, reference "thm-elementary-definite-integrals"; check spelling or use "provisional" attribute)))elementary accumulation formula for a quadratic rate and the splitting property.
A figure showing the graphs \(y=f(x)=x^2\) and \(y=\langle f \rangle_{[-1,2]} = 1\) is shown below. The Mean Value Theorem predicted the existence of a point \(c \in (-1,2)\) where \(f(c)=\langle f \rangle_{[-1,2]}=1\text{,}\) which we can see occurs at \(c=1\text{.}\)
The Mean Value Theorem for Integrals also provides the justification for the Monotonicity Test for Accumulation Functions.
Theorem 12.5.7. Monotonicity Test for Accumulation Functions.
Suppose that \(A(x)\) is an accumulation function with corresponding rate function \(f(x)\text{,}\) and suppose that \(f(x)\) is continuous on \([a,b]\text{.}\)
If \(f(x) \gt 0\) for all \(x \in (a,b)\text{,}\) then \(A(x)\) is increasing on \([a,b]\text{.}\)
If \(f(x) \lt 0\) for all \(x \in (a,b)\text{,}\) then \(A(x)\) is decreasing on \([a,b]\text{.}\)
If \(f(x) = 0\) for all \(x \in (a,b)\text{,}\) then \(A(x)\) is constant on \([a,b]\text{.}\)
Proof.
Consider any two points \(c_1, c_2 \in [a,b]\) with \(c_1 \lt c_2\text{.}\) Because \(A(x)\) is an accumulation function, by the splitting property of definite integrals,
On the other hand, because \(f\) is continuous, the Mean Value Theorem guarantees the existence of a point \(c \in (c_1,c_2)\) such that
Now assume that \(f(x) \gt 0\) for all \(x \in (a,b)\text{.}\) Then \(f(c) \gt 0\) and \(c_2-c_1 \gt 0\text{,}\) guaranteeing that \(A(c_2)-A(c_1) \gt 0\text{.}\) That is, \(A(c_2) \gt A(c_1)\text{.}\) This is what is needed to show that \(A\) is increasing.
Next assume that \(f(x) \lt 0\) for all \(x \in (a,b)\text{.}\) Then \(f(c) \lt 0\) while \(c_2-c_1 \gt 0\text{,}\) guaranteeing that \(A(c_2)-A(c_1) \lt 0\text{.}\) That is, \(A(c_2) \lt A(c_1)\text{,}\) which shows that \(A\) is decreasing.
Finally assume that \(f(x) = 0\) for all \(x \in (a,b)\text{.}\) Then \(f(c) = 0\text{,}\) implying that \(A(c_2)-A(c_1) = 0\text{.}\) That is, \(A(c_2) = A(c_1)\text{,}\) which shows that \(A\) is constant.