Let's say I have a particular function, $f(x)$.
I want to check whether f is differentiable at $x = a$, I try to do this by using the formal definition of the derivative in terms of a limit, i.e.
$$f^\prime (a) = \lim_{h\to 0} \frac{f(a+h) - f(a)}{h}$$
and suppose when I evaluate the limit w.r.t. $h$, I have when $h$ tends to $0$ from below that the limit is $-b$, and when $h$ tends to $0$ from above the limit is $b$.
I am confused at this, obviously I think that this means that $f$ is not differentiable at $x = a$, however, in examples I have been given of a question of this sort, the solutions evaluate the modulus function of $f^\prime (x)$ and not just $f^\prime (x)$ (there are some questions where it doesn't). Why is this used? And most importantly, it is relevant to my situation, as in all of these examples they end up with the limit tending to $0$, which is obviously the only non-positive real number not affected by the modulus function. Would I just show that $x = a$ is not differentiable because the limit of $h$ tends to $0$ from below is equal to $-b$ and the limit of $h$ tends to $0$ from above is equal to $b$ and they are not equal? What is the relevance of the modulus function in this?