A disagreement in my calculus class has arisen as to whether $f(x) = \frac{x}{x}$ is differentiable for the domain of all real numbers, including $0$.
According to our textbook, for a function to be differentiable at $a$, it must be continuous at $a$. What we're not sure about is:
- Is $f(x)$ actually discontinuous at $0$?
- If it's discontinuous at $0$, how come we can still obtain a derivative of $0$ by hand using limits? Mathematica seems to agree with $f'(x) = 0$.
Edit: To clarify, the specific function in question is $f(x) = \frac{x}{x}$