Let . Suppose has a maximum or minimum at some , and suppose is differentiable at . Then .
Proof
Without loss of generality, suppose is a maximum. Then then . Now , so then we can make a sequence on the right and left of . Namely, since is differentiable at , then: