I have some trouble with the following exercise. It is asking to examine/check the various notions of differentiability for a function $ \mathbb R^2 \to \mathbb R.$ I am a little be confused. So, any help/hint would be very helpful.
Exercise: For any point $ (x,y) \in \mathbb R^2 $ examine whether the function
$$ f(x,y)= \left\{ \begin{array}{ll} xy & x \geq 0, \quad y \geq 0 \\ 0, & \textrm{otherwise} \end{array} \right. $$
is continuous, partial differentiable, differentiable, and continuous differentiable. Moreover, wherever they exist, give the partial derivatives, the derivative and the directional derivative for every direction.
Here are some thoughts.
We add the cases $ x=0 $ or $y=0$ to the second formula, so $f(x,y) =xy $ when $ x, y$ are both strictly positive.
Now
$$ f(x,y)= \left\{ \begin{array}{ll} xy & x > 0, \quad y >0 \\ 0, & \textrm{otherwise} \end{array} . \right. $$
When
$$ (x,y) \in (0,\infty) \times (-\infty,0) \cup (-\infty,0) \times (0,\infty) \cup (-\infty,0) \times (-\infty,0) $$
we obtain that $ f \equiv 0.$ Since this above set is a union of open sets we conclude that $f$ is continuously differentiable on $ \mathbb R^2 \setminus \{ ( (0,\infty) \times (0,\infty) ) \}.$
Question: How could I work the rest of the problem?
I would really appreciate any hint/idea, that could help me to solve it. I have done similat exercises, I am now stuck because of the shape of $ f.$
Thank you in advance.