Let $ f(x) = \begin{cases} x-4 & \text{if } x \lt 1; \\ x+1 & \text{if } x > 1; \\ 0 & \text{if } x = 1. \end{cases}$
Why isn’t this function differentiable at 1? Why isn’t its derivative=1 at x=1?
Both left and right sides have their derivatives equal to $1$ as $x$ approaches $1$. I can see that the left hand and right hand derivatives do not agree at $x=1$. However, could someone explain that to me intuitively, that is, without using the definition of the derivative?
If one is to begin from the geometric concept of the derivative, then the solution is clear, there is no tangent line. The issue is only in trying to understand it algebraically , which in that case you have to do it through the definition of limits.
In the algebraic standpoint, we have that the derivative exists at a point $a$ if the following mentioned limits exist and equalities hold:
$$ f'(a)=\lim_{h \to 0} \frac{f(a) - f(a-h)}{h} = \lim_{h \to 0} \frac{f(a+h) - f(a) }{h}$$
The beauty here is that the algebraic definition is made in such a way that it lines up with the basic conceptual intuition of the derivative we have from geometry. It fails if the tangent line doesn't actually exist!