Let $g$ be a continuous $\mathbb{R}$-valued function on the unit circle {x $\in$ $\mathbb{R^2}$ : |x| = 1}, such that $g(0,1) = g(1,0) = 0$ and $g(-x) = -g(x)$. Define $f$ by:
$f(x)$ = $|x|$$.$$g(\frac{x}{|x|}$), when $x$ $\neq$ 0 and $f(x) = 0$, when $x = 0$
(a) Show that, if x $\in$ $\mathbb{R^2}$ and $h: \mathbb{R} \rightarrow \mathbb{R}$ denotes the function $h(t) = f(tx)$, then $h$ is differentiable.
(b) Show that $f$ is not differentiable at $(0,0)$
I have been playing around with this question for a few days. For part (a), would it be better to prove that $h$ is differentiable by showing that all of its directional derivatives exist at any $h(\vec{a})$ and are given by ${\partial_u f(\vec{a})}$ = ${\triangledown}$$f(\vec{a}).\hat{u}$? Or would it be better to show that $$\lim_{h\to 0} \frac{f(ta + th) - f(ta) - c.h}{|h|} = 0$$
In either case my algebra seems to break down and I can't make an effective argument to prove this. Any assistance or tips would be greatly appreciated.
Thank you