Hi there. Well, I've got some doubts on the partial derivatives for the next function:

Where sg is the sign function.

So, what I got is:

How should I get the partial derivatives? I'm sure that for the zero I must use the definition. But in the other cases should I?

Bye, and thanks.