Since limits may be right-hand or left-hand and the derivative is defined as a limit, it follows that derivatives can be right– or left–hand as well. We will denote the right–hand and left—and derivatives at \(x=a\) with the notation: \(\rprime{f}(a)\text{,}\) and \(\lprime{f}(a)\text{,}\) respectively:
From Theorem 16.1.13 and Definition 16.2.1 we see that the derivative of a function \(f\text{,}\) at a point \(x\) exists if and only if the right– and left–hand derivatives both exist, and are equal.
Notice that since the Heaviside function at \(x=0\)\(H(0)\text{,}\) is not defined, neither are \(\rprime{H}(0)\text{,}\)\(\lprime{H}(0)\text{,}\) or \(H^\prime(0)\text{.}\)
Compute the right- and left-hand derivative, and the derivative itself, if they exist, of each of the following functions at the \(x=-2, -1, 0, 1,\) and \(2\text{.}\) If any of these derivatives don’t exist explain why not.
Use the limit definitions to compute the right– and left–hand derivative, of the function, \(f(x)\text{,}\) at \(x=-1\text{,}\)\(x=0\text{,}\) and \(x=2\text{.}\) At which of these points is \(f(x)\) differentiable?
\begin{equation*}
f(x)=
\begin{cases}
2\amp \text{ if }x\lt-1\\
-2(x+1)^2+2 \amp \text{ if }-1\le x \lt 0\\
x^4-4x \amp \text{ if }0\le x \lt 2\\
-14(x-3)^2+22 \amp \text{ if }2\le x
\end{cases}
\end{equation*}
With our new, deeper understanding of differentiation we can show that, in fact, there are really only two kinds of possible transition points, and both can be identified using the derivative. It turns out that the endpoints of a closed interval are not exceptional. They are really just points of non–differentiability.
To see this consider any function, \(f(x)\) which is continuous on the closed interval \([a,b]\) and differentiable on the open interval \((a,b)\text{.}\) From Corollary 16.2.2 we know that \(f^\prime(b)\) only exists if \(\rprime{f}(b)\) and \(\lprime{f}(b)\) both exist.
But the right–hand limit at \(b\) doesn’t exist. To see this, observe that \(f\) is only defined on \([a,b]\text{.}\) Therefore when \(h>0\) the expression \(f(b+h)\) asks us to evaluate \(f\) at a point outside its domain, which is meaningless. Thus
Therefore \(f^\prime\) does not exist at the endpoints of a closed interval. As a result the possible transition points of \(f\) are only those places where the derivative is zero, or undefined, because the latter category includes the endpoints of closed intervals.