Fermat's Theorem
Knowing derivative of function allows us to make some conclusions about behavior of function .
Fermat's Theorem. Suppose function is defined on interval and at some point takes maximum (minimum) value. If exist finite derivative then .
Note, that converse of Fermat's Theorem is not true, that is, if then doesn't necessarily have maximum or minimum at .
For example, consider function then and when , but is neither maximum nor minimum. It is just a point where tangent line is horizontal and intersects graph.
Note that there may be maximum (or minimum) where does not exist. For instance, the function has its minimum value at 0, but the value cannot be found by setting because does not exist.
Geometric interpretation of Fermat's theorem is fairly simple. Theorem states that if at point there is maximum or minimum then tangent line at that point is horizontal, i.e. its slope equals 0.
Also, we require point to be inner point of interval . If point is endpoint (either or ) then Fermat's theorem doesn't hold.