Interior Extremum Theorem

This is also known as Fermat's Theorem.

Interior Extremum Theorem

Let f:(a,b)R. Suppose f has a maximum or minimum at some c(a,b), and suppose f is differentiable at c. Then f(c)=0.

Proof

Without loss of generality, suppose f(c) is a maximum. Then x(a,b) then f(x)f(c). Now a<c<b, so then we can make a sequence on the right and left of c. Namely, since f is differentiable at c, then:

f(c)=limxcf(x)f(c)xc=limxcf(x)f(c)xc0

Because f(x)f(x)0 (using f(c) is a maximum) and via the Limits and Order (Order Limit Theorem) (extending it to limits of functions). Similarly:

f(c)=limxcf(x)f(c)xc=limxc+f(x)f(c)xc0

As a result then 0f(c)0 thus f(c)=0.