Does Fermat’s Theorem say that if \(f'(a) = 0\), then \(f\) has a local extrema at \(x=a\)?
Whether we are interested in a function as a purely mathematical object or in connection with some application to the real world, it is often useful to know what the graph of the function looks like. We can obtain a good picture of the graph using certain crucial information provided by derivatives of the function.
Extrema
A function has a value at each domain number. The set of all function values might have a greatest (maximum) or least(minimum) value. Together these are know as extreme values or extrema. These correspond to highest and lowest points on the graph.
A local extremum of a function \(f\) is a number, a function value, \(f(a)\). It occurs at a domain number, \(a\). These correspond to a point \((a,f(a))\) on the graph of \(f\) where the \(vertical\)-coordinate is larger (or smaller) than all other \(vertical\)-coordinates of points on the graph whose \(horizontal\)-coordinates are “close to” \(a\).
- (a)
- A function \(f(x)\) has a local maximum at \(x=a\), if \(f(a)\ge f(x)\) for every domain number, \(x\), in some open interval I containing \(a\).
- (b)
- A function \(f(x)\) has a local minimum at \(x=a\), if \(f(a)\le f(x)\) for every domain number, \(x\), in some open interval I containing \(a\).
A local extremum is either a local maximum or a local minimum.
Local extremum are numbers and they correspond to highest and lowest points on the graph.
In our next example, we clarify the definition of a local minimum.
explanation
In the figure above the function \(f\) has a local minimum at,
Local maximum and minimum values of a function correspond to quite distinctive points on the graph of a function, and are, therefore, useful in understanding the shape of the graph. Many problems in real world and in different scientific fields turn out to be about finding the smallest (or largest) value that a function achieves (for example, we might want to find the minimum cost at which some task can be performed).
Critical Numbers
Consider the graph of the function \(f\).
The function \(f\) has five local extrema: \(5\), \(6\), \(-1\), and \(4.5\) These occur at \(x=-4\), \(x=-2\), \(x=0\), and \(x=4\).
Let \(f\) be a function and \(a\) a member of its domain.
We say that \(f\) is differentiable at \(a\) if there is a tangent line to graph at \((a, f(a))\) and this tangent line has a slope.
i.e. differentiable means has a derivative value.
Can a tangent line not have a slope? Yes. We’ll see an example later.
Notice that the function \(f\) above is not differentiable at \(x=-4\) and \(x=-2\).
\(f\) is not differentiable at \(x=-4\), because the graph doesn’t have a tangent line at \((-4, 5)\).
How do we know this?
If there was a tangent line, then it would need to be close to the graph on the left side of \((-4, 5)\). Well, the left side is a line and a line is its own tangent line. That tells us that the tangent line must be \(y = x + 9\). Unfortunately, the same reasoning on the right side tells us that the tangent line must be \(y = -x +1\).
There is no line that does both of those. There is no tangent line.
\(f\) is not differentiable at \(x=-2\), because the graph doesn’t have a tangent line at \((-2, 6)\).
How do we know this?
Well, the tangent line must go through the tangent point, which is \((-2, 6)\). On the right side of \((-2, 6)\) the tangent line would need to have a tremendously large negative slope to immediate get down near \(1\). But, no line like this could get down near \(3\) on the left sife of \((-2, 6)\).
There is no tangent line.
This example function illustrates that extreme function values can occur where the derivative does not exist.
Extreme function values can occur at other places as well.
Notice that \(f'(0)=0\) and \(f'(4)=0\).
After this example, the following theorem should not come as a surprise.
Following the example above and Fermat’s Theorem, it is believable that the only numbers at which a function can have a local maximum or minimum are numbers at which the derivative is zero or the derivative is undefined. As an illustration of the first scenario, consider the plots of \(f(x) = x^3-4.5x^2+6x\) and \(f'(x) = 3x^2-9x+6\).
Make a correct choice that completes the sentence below.
At the number \(1\), the function \(f\) has
Make a correct choice that completes the sentence below.
At the number \(1.5\), the function \(f\) has
Make a correct choice that completes the sentence below.
At the number \(2\), the function \(f\) has
As an illustration of the second scenario, consider the plots of \(f(x) = x^{2/3}\) and \(f'(x) = \frac {2}{3x^{1/3}}\):
Make a correct choice that completes the sentence below.
At the number \(-2\), the function \(f\) has
Make a correct choice that completes the sentence below.
At the number \(0\), the function \(f\) has
This brings us to our next definition.
Let \(f\) be a function defined on an open interval, I, that contains a number \(a\). Then we say that the function \(f\) has a critical number at \(x=a\) if
When looking for local maximum and minimum numbers, be careful not to make two common mistakes:
- You may forget that a maximum or minimum can occur where the derivative does not exist, and only check where the derivative is \(0\).
-
You might assume that any place that the derivative is zero is a local maximum or minimum number, but this is not true. Consider the plots of \(f(x) = x^3\) and \(f'(x) = 3x^2\).
While \(f'(0)=0\), there is neither a maximum nor minimum of \(f\) at \(x=0\).
Since both local maximum and local minimum occur at a critical number, when we locate a critical number, we need to determine which, if either, actually occurs.
Critical numbers are candidates for locations of extrema.
Find all local maximum and minimum values for the function \(f(x)=x^3-x\).
explanation
The derivative of \(f\) is given by
If we know the sign of the derivative on an interval, we also know whether the function is increasing or decreasing on that interval. This will help us determine whether the function has a local extremum at the critical number where \(x=-\frac {\sqrt {3}}{3}\).
At the critical number where \(x=-\frac {\sqrt {3}}{3}\), the function \(f\) has
Again, the sign of the derivative on an interval determines whether the function is increasing or decreasing on that interval. This will help us determine whether the function has a local extremum at the critical number where \(x=\frac {\sqrt {3}}{3}\).
At the critical number where \(x=\frac {\sqrt {3}}{3}\), the function \(f\) has
Do your answers agree with the graphs of \(f\) and \(f'\) given in the picture below?
Differentiable means the graph has a tangent line and this tangent line has a slope. (No. Not all tangent lines have slopes.)
Consider the function \(f(x) = 6 (x-2)^{\frac {2}{3}}\).
The graph has a “cusp”. It isn’t a corner.
The two pieces of the graph do, in fact, become parallel as you approach the cusp. And, there is a tangent line. It is a vertical tangent line.
So, we have a tangent line.
However, the tangent line has no slope, because it is vertical.
Hence, differentiable means there is a tangent line and that tangent line has a slope, a number.
ooooo=-=-=-=-=-=-=-=-=-=-=-=-=ooOoo=-=-=-=-=-=-=-=-=-=-=-=-=ooooo
more examples can be found by following this link
More Examples of Optimization