# Existence of Directional Derivatives Does Not Force Differentiability or Continuity

My textbook has this example. It states that the existence of all directional derivatives at a point need not imply differentiability. However, in this previous question I was looking for some clarification-the theorem states that if the partials exist and $f$ is continuous then it is differentiable. Now wouldn't the existence of the directional derivatives imply that the partial derivatives exist? Hence if we have the directional derivatives and $f$ is continuous can we assume that the derivatives exist?

• I think there is a misstatement in your question. You say that if the partials exist and $f$ is continuous at X, then $f$ is differentiable at $X$. I'm pretty sure you need continuity of the partials, but I don't have a counterexample. – saulspatz Feb 11 '18 at 20:09

You are right on the fact that if all directional derivatives exist than the partial derivatives exist also. But to guaranty the derivability of the function we need also continuity, and the examples in your book are just of functions that are not continuous at $(0,0)$.