again!
I simply need help understanding this example.
QUESTION: Show that the function $$ g(x) = \begin{cases} \frac{xy^2}{x^2 +y^4}, & \text{if $(x,y) \neq 0$}\\ 0, & \text{if $(x,y) = (0,0)$} \\ \end{cases} $$
has directional derivatives at $0 = (0,0)$ but is not differentiable at $0 = (0,0)$
(What does this even mean?)
In any case, the answer is given as:
ANSWER Direct computation yields for every $v=(x,y) \in \Bbb R^2$, $$D_v(g) = \lim_{t\to0} \frac {g(0+tv) - g(0)}{t} = \lim_{t\to0} \frac {txy^2}{x^2 + t^2y^4} = 0$$ Thus $g$ has directional derivatives in all directions at $(0,0)$
On the other hand we notice that $g(x^2,x) =\displaystyle \frac{1}{2} \not\to 0 = g(0,0)$ as $g(x^2,x) \to 0$ thus g is not continuous at $0$ and is there not differentiable.
Now I understand the first part.
But my concern is with the second one. Why are we discussing $g(x^2,x)$ in the matter of continuity? I understand the idea is to prove indifferentiablity but why $g(x^2,x)$ to be exact? I know it's simply an example. But I may be thrown off by the use of x in both vector components...