Let $f(x,y) = \begin{cases} xy,\,\,\, |y| \leq |x| \\ -xy,\,\,\, |y| > |x| \end{cases}$
Here is what I've done.
$f^{\prime}_x = \cases{y,\,\,\,|y| \leq|x|\\-y,\,\,\,|y|>|x|}$ $f^{\prime}_y = \cases{x,\,\,\,|y| \leq|x|\\-x,\,\,\,|y|>|x|}$
$f^{\prime\prime}_{xy} = \cases{1,\,\,\,|y| \leq|x|\\-1,\,\,\,|y|>|x|}$ $f^{\prime\prime}_{yx} = \cases{1,\,\,\,|y| \leq|x|\\-1,\,\,\,|y|>|x|}$
And from here the answer seems yes, but the book says otherwise. Now, I think that it is right what I did in the first step and that the problem is in the second step, where I might be calculating the second order partial derivatives wrongly. Is it so? If yes, then what is the correct way of calculating partial derivatives of second order for such functions?