We say that \(f(x)\) has a local maximum at \(x=c\) provided that \(f(c)\geq f(x)\) for all \(x\) near \(c\text{.}\) We also say that \(f(c)\) is a local maximum value for the function. On the other hand, we say that \(f(x)\) has a local minimum at \(x=c\) provided that \(f(c)\leq f(x)\) for all \(x\) near \(c\text{.}\) We also say that \(f(c)\) is a local minimum value for the function. The local maxima and minima are also known as the local extrema (or relative extrema) of the function.
To find the extreme values of a function we can consider all its local extrema (local maxima and minima) and study them to find which one(s) give the largest and smallest values on the function. But how do you find the local/relative extrema? We will see that we can detect local extrema by computing the first derivative and finding the critical points of the function. By finding the critical points, we will produce a list of candidates for the extrema of the function.
We have encountered several terms recently, so we should make sure that we understand how they are related. Which of the following statements are true?
In a closed interval an endpoint is always a local extremum but it might or might not be a global extremum.
Sketch the graph of a continuous function that is increasing on \((-\infty, -2)\text{,}\) constant on the interval \((3,5)\text{,}\) and decreasing on the interval \((-2,3)\text{.}\)
For \(x < -2\) we have \(f'(x) < 0\text{,}\) then \(f'(x) < 0\) on the interval \((-2,3)\text{,}\) and on the interval \((3,5)\) we have \(f'(x) > 0\text{.}\)
For \(x < -2\) we have \(f'(x) > 0\text{,}\) then \(f'(x) < 0\) on the interval \((-2,3)\text{,}\) and on the interval \((3,5)\) we have \(f'(x) \) is undefined.
For \(x < -2\) we have \(f'(x) > 0\text{,}\) then \(f'(x) < 0\) on the interval \((-2,3)\text{,}\) and on the interval \((3,5)\) we have \(f'(x)=0 \text{.}\)
For \(x < -2\) we have \(f'(x) < 0\text{,}\) then \(f'(x) < 0\) on the interval \((-2,3)\text{,}\) and on the interval \((3,5)\) we have \(f'(x) \) is constant.
Critical points detect changes in the behavior of a function. We will use critical points as "break points" in studying the behavior of a function. To understand what happens at the critical points we use the Derivative Tests.
Our previous activity dealt with a function that was continuous for all real numbers. Because of that, we could trust our chart to point out local extrema. Letβs now consider what might happen if a function has any discontinuities.
Draw a function that is increasing on the left of \(x=1\text{,}\) discontinuous at \(x=1,\) such that \(f(1)=\displaystyle \lim_{x \to 1^+}f(x)\text{,}\) and decreasing to the right of \(x=1\text{.}\) Does the derivative of \(f(x)\) exist at \(x=1\text{?}\) Does your graph have a local maximum or minimum at \(x=1\text{?}\)
Note that \(f(x)\) is not defined for \(x=2\text{.}\) But the function may be increasing on one side of \(x=2\) and decreasing on the other! So we include \(x=2\) on your number line.
For each of the following functions, find the intervals on which \(f(x)\) is increasing or decreasing. Then identify any local extrema using either the First or Second Derivative Test.
If \(f\) is continuous and differentiable on the closed interval \([a,b]\text{,}\) then there is some point \(c\) in the interval where \(f'(c)\) is equal to the slope of the secant line through the points \((a,f(a))\) and \((b,f(b))\text{.}\) In symbols, for some \(c\) in \((a,b)\) we have that
Suppose \(f\) is continuous and differentiable on \([a,b]\) and also suppose that \(f(a)=f(b)\text{.}\) What is the average rate of change of \(f(x)\) on \([a,b]\text{?}\) What does the MVT (Mean Value Theorem) tell you?