How can I proof that the following function is not differentiable at $x = 3$ using the definition of a derivative?
$f: (0,2) \cup \{3\} \to \mathbb{R}$ with $f(x) = 5$
My attempt was as follows:
$$f'(3) = \lim_{w \to z} \frac{f(w) - f(z)}{w - z} = \lim_{w \to z} \frac{5 - 5}{w - 3} = 0$$
It seems to me as if the definition I used doesn't "recognize" that I cannot approach $3$ from both sides, given that $3$ is an isolated point. Should I have used another definition instead? Or am I missing a fundemantel step?