Function non differentiable but such that f is differentiable on any differentiable path

calculusdifferentialreal-analysis

Let $f:\mathbb{R}^2\to\mathbb{R} $ defined by
$$f(x,y)=
\begin{cases}
\frac{x^3}{x^2+y^2} &\text{if $(x,y)\neq(0,0)$}\\
0 &\text{if $(x,y)=(0,0)$}
\end{cases}$$

It's easy to see that f is not differentiable at $(0,0)$, becasuse the derivative function at $(0,0)$ is not linear. However, I have been told that if $g:[0,1]\to\mathbb{R}^2$ is differentiable, then $f\circ g$ is differentiable. How can I prove this? (I think we are not assuming $g$ is infinitely differentiable, only differentiable, so L'Hôpital doesn't seem to help).

Best Answer

Let $g=(g_1,g_2)$. Let $t_0 \in [0,1]$. Differentiabilty of $f\circ g$ at $t_0$ is obvious if $g(t_0) \neq (0,0)$ so assume that $g_1(t_0)=g_2(t_0)=0$. we have to show that $\frac {g_1(t-t_0)^{3}} {(t-t_0) [g_1(t-t_0)^{2}+g_2(t-t_0)^{2}]}$ has a limit as $t \to t_0$. Since $\frac {g_1(t-t_0)^{2}} {g_1(t-t_0)^{2}+g_2(t-t_0)^{2}}=\frac {g_1(t-t_0)^{2}/(t-t_0)^{2}} {g_1(t-t_0)^{2}/(t-t_0)^{2}+g_2(t-t_0)^{2}/(t-t_0)^{2}} $ which tends to a finite limit except when $g_1'(t_0)=g_2'(t_0)=0$ and $\frac {g_1(t-t_0)} {t-t_0}$ has a limit as $t \to t_0$ the proof is complete except when when $g_1'(t_0)=g_2'(t_0)=0$. When $g_1'(t_0)=g_2'(t_0)=0$ use the fact that $\frac {g_1(t-t_0)^{2}} {g_1(t-t_0)^{2}+g_2(t-t_0)^{2}}$ is bounded by $1$ to complete the proof.

Related Question