They say that the right and left limits do not approach the same value hence it does not satisfy the definition of derivative. But what does it mean verbally in terms of rate of change?
-
2$\begingroup$ At the origin, the absolute value function "bends" - it goes from decreasing with a slope of -1 to increasing with a slope of 1. $\endgroup$– Asier CalbetOct 26, 2014 at 9:25
-
5$\begingroup$ Can you draw a tangent line to the graph of the absolute value function at $x=0$? $\endgroup$– Ittay WeissOct 26, 2014 at 9:30
1 Answer
There are 2 ways to understand your question, one is asking for a proof, the other is asking for intuitive reasoning, I will answer both here.
Proof that $|x|$ is not differentiable at $x=0$
We are trying to find
$$\lim_{h\to0}\frac{f(0+h)-f(0)}{h}\quad\text{where }f(x)=|x|$$ $$\lim_{h\to0}\frac{|0+h|-|0|}{h}$$ $$=\lim_{h\to0}\frac{|h|}{h}$$ Let's find the right limit $$=\lim_{h\to0^+}\frac{|h|}{h}$$ Since $h>0$ $$=\lim_{h\to0^+}\frac{h}{h}=1$$ Let's find the left limit $$=\lim_{h\to0^-}\frac{|h|}{h}$$ Since $h<0$ $$=\lim_{h\to0^-}\frac{-h}{h}=-1$$
If the left and right limits are not the same, the limit does not exist.
Intuitive reasoning
What does the derivative represent? The slope of the tangent line. Looking at different values of the absolute value function in some plots:
Note that the tangent line is below the actual line for the absolute value function.
The problem with the derivative at $x=0$ is that it changes abrubtly, and derivatives don't like that. Compare to the same plot but with $x^2$
The difference is clear, the tangent line smoothly changes when approaching $x=0$ instead of the abrubt change from one line to another. This is why the derivative does not exist at $x=0$ for $|x|$.
Another way to think about derivatives is as “the slope of the line you get, when you zoom in really far”. If you zoom in on $x^2$ it'll look a lot like a straight line, but if you zoom in on $|x|$, it will never look like a straight line. If a function is differentiable, it will look like a straight line when you zoom in far enough.
-
8$\begingroup$ @Amzoti The individual frames were made by gnuplot. Then I used imagemagick to convert them into a gif. $\endgroup$ Oct 26, 2014 at 13:27
-
1$\begingroup$ That image program looks excellent, I will take it for a spin. Thanks for the reference! +1 $\endgroup$– AmzotiOct 26, 2014 at 13:33
-
$\begingroup$ One should be wary of what is claimed to be wrong with the abrupt change. A function can be differentiable while having a discontinuous derivative. $\endgroup$ Oct 29, 2014 at 21:57
-
$\begingroup$ @JonasMeyer Can you give an example of such a function? $\endgroup$ Oct 29, 2014 at 21:59
-
2$\begingroup$ Sure, $f(x) = x^2\sin(1/x)$ (when $x\neq 0$, and $f(0)=0$) is everywhere differentiable, but with derivative discontinuous at $0$. I'd suggest googling discontinuous derivative for more info. If you want to see what's going on in your example, you can look into why a derivative can't have a jump discontinuity. That is, if the derivative exists, and the limit of the derivative on both sides of the point exist, then these all must be equal. But the limit need not exist. $\endgroup$ Oct 29, 2014 at 22:00