A function $f:O\to \mathbb{R}$ , $O$ is an open subset in $\mathbb{R}^2$, all of its first partial derivatives $f_{x}$, $f_{y}$ are defined on $O$. If we assume both $f_{x}$ and $f_{y}$ are differentiable at $(x_0,y_0)\in O$, is $f(x,y)$ differentiable on some neighborhood of $(x_0,y_0) ?$
From above conditions,it’s apparent that $f(x,y)$ is continuous on a neighborhood of $(x_0,y_0)$ and differentiable at $(x_0,y_0)$. I don’t think there exists a neighborhood of $(x_0,y_0)$ such that $f(x,y)$ is differentiable on whole of it. My question is how to find the example which fails to differentiate on any neighborhood of $(x_0,y_0)$ but satisfies above conditions?
Below is an example of a function $g:R^2\rightarrow R$ which satisfies the requests. i.e.:
To define $g$ we'll first claim:
claim: There exists a function $f:R^2 \rightarrow R$ which satisfies:
Such $f$ exists. Take for example $f=\cases {\frac {x^2y} {x^2+y^2} & $(x,y)\neq (0,0)$\cr 0 & $(x,y)=(0,0)$} $ or $f=\cases {\frac {x^2y^3} {(x-y)^4+x^2y^2} & $(x,y)\neq (0,0)$\cr 0 & $(x,y)=(0,0)$} $
proof that the 2 examples satisfy the 2 conditions:
Now, finally we define $g$.
$g(x,y)=\cases {x^4*f(\sin(1/x),y) & $x \neq 0$\cr 0 & $x=0$}$
where $f$ is a function that satisfy the 2 requirements above.
First we prove that g is differential at the origin.
The rest of the proof is also not hard.