Let and where are intervals and . Suppose is differentiable at and is differentiable at . Then is differentiable at and is:
It is tempting to use, in a similar way of deriving the Algebraic Differentiability Theorem, via the difference quotient:
Which we cannot use directly. We'll have to do some work to justify the bits in order to use this, which we do via below.
Proof
For define the function:
Now notice that is continuous at ( is on an interval, and since then:
because itself is continuous).
Now also notice that , we claim that:
which is true since when it's definitely true (multiply it out) and for then the LHS becomes 0, which equals the RHS.
Now let such that . Apply the above with . Then:
(note we used the Algebraic Limit Theorem for Functional Limits on the last step). Now because is continuous at and is continuous, then is continuous at and thus it's limit is . As such then:
as desired.
☐
The chain rule helps especially to show when a function is differentiable. For example, can you find a function that's differentiable on who's derivative is not continuous on ? For example, the absolute value function does this kind-of at , but it isn't even differentiable at that point.
In fact, maybe it's a reasonable guess that it's impossible! To investigate it further let's look at some important examples.
Important Examples of Peculiarly Derived Functions
Will this smoothing work? Certainly it's continuous at (just use the Algebraic Continuity Theorem here using ). For differentiability by the Chain Rule then is differentiable at all . Notice that at this point:
Now notice that as then the limit for as doesn't exist. But this argument actually doesn't work for finding the derivative at 0! Directly using the definition of a derivative then we can show it actually is differentiable there. At 0:
Due to being continuous at (giving the result of the limit) thus is differentiable over all .
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:
Because (using is a maximum) and via the Limits and Order (Order Limit Theorem) (extending it to limits of functions). Similarly:
As a result then thus .