Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having trouble with the concept of continuous partial derivative and differentiability.


$$f(x,y) =\begin{cases} 1& \text{when } xy = 0\\0& \text{when } xy \neq 0\end{cases}$$

then clearly, df/dx = 0 and df/dy = 0.

So both Partial Derivative are continuous and thus Differentiable everywhere?

using definition of Differentiability however, $\lim\limits_{(x,y) \to (0,0)} [f(x,y) - f(0,0) - 0 - 0]/[(x^2 + y^2)^{0.5}]$, the limit does not exist and therefore is not differentiable at (0,0).

So which is right?

and in the case, is $f(x,y)=\sin(x)\sin(x+y)\sin(x-y)$ differentiable at (0,0)

Thanks for all the help. Cheers!

share|cite|improve this question
up vote 3 down vote accepted

Check again: $\partial f/\partial x$ isn't defined when $x=0\ne y$, and $\partial f/\partial y$ isn't defined when $y=0\ne x$, because you get $(0-1)/\Delta$ as $\Delta\to0$ when trying to evaluate the limit definition. Also, this is Math.SE; if you posted this in Overflow you'd get your question closed very quickly and redirected here.

$\sin(x)\sin(x+y)\sin(x-y)$ is differentiable because all of the partials exist and are continuous.

share|cite|improve this answer
Brilliant answer! Thanks a lot. Yea, i was redirected here... Best of luck to you. – adsisco Sep 14 '11 at 6:23
@adsisco: No problem. Best of luck to you too. – anon Sep 14 '11 at 6:26
Thanks J.M. for the great edit. btw, I toggled the tick. – adsisco Sep 14 '11 at 6:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.