I am redoing my math education after 35 years in order to be up to date with my children's curriculum (I usually have a nanosecond to give an answer because of magical dad knowledge). My older son is in high school and they are going through derivatives.
One of the exercises I was preparing for him (this is beyond the homework, he is in an "advanced" track and I want to show him some more interesting problems) I stumbled upon the following problem. It is a translation from French so feel free to edit in order to improve the wording
We define
$$ \begin{align} f: \mathbb{R} & \rightarrow \mathbb{R} \\ x & \mapsto \begin{cases} \text{$x^2 - 1$ if $x < 0$} \\ \text{$x^2 + 1$ if $x \geq 0$} \end{cases} \end{align} $$
Demonstrate that, for $a=0$, $f$ is derivable on the right but not on the left.
Both $x^2 - 1$ and $x^2 + 1$ are derivable in $\mathbb{R}$ but $f$ is defined for $0$ as $x^2 + 1$. So technically the derivative in $0$ will be $2 \times 0 = 0$
It is however derivable on $0^+$ ($2x$) and on $0^-$ ($2x$).
The only idea I have is that by taking the definition of the left derivative I have $$ \lim_{h \rightarrow 0^-} \frac{f(x+h) - f(x)}{h} $$ which I think is not defined because the limit approaching on the left does not exist (as the function is undefined there). But I think I must be missing something because this is too obvious.