2

Let $f:\mathbb{R}^2\to\mathbb{R}$ and $(p,q)\in\mathbb{R}^2$ such that both $f_x$ and $f_y$ exists at $(p,q)$.

Assume that $f_x$ is continuous at $(p,q)$.

How do we prove/disprove that $f$ is differentiable at $(p,q)$?


I do note that it is similar to this question: Continuity of one partial derivative implies differentiability

However the critical difference is that for my case, I only have $f_x$ continuous at a single point $(p,q)$, not even in a neighborhood, hence I believe that the approach of Fundamental Theorem of Calculus used in the other question cannot work.

Thanks for any help!

yoyostein
  • 19,608

3 Answers3

6

Let's take $(p,q) = (0,0).$ We can write

$$f(x,y) -f(0,0) = f(x,y) - f(0,y) + f(0,y) - f(0,0).$$

Apply the mean value theorem to see $f(x,y) - f(0,y) = f_x(c,y)\cdot x$ for some  $c = c(x,y)$ between $0$ and $x.$ Because $f_y(0,0)$ exists, $f(0,y) - f(0,0) = f_y(0,0) y +o(y).$ We now have

$$f(x,y) -f(0,0) = f_x(c,y)x + f_y(0,0)y +o(y)$$ $$ = f_x(0,0 )x + f_y(0,0)y + (f_x(c,y)- f_x(0,0))x + +o(y).$$

As $(x,y) \to (0,0), (c,y) \to (0,0).$ Use the continuity of $f_x$ at $(0,0)$ to see that we then have

$$f(x,y) -f(0,0) = f_x(0,0 )x + f_y(0,0)y + o((x^2+y^2)^{1/2}).$$

This implies $Df(0,0)$ is the linear map $(x,y) \to f_x(0,0 )x + f_y(0,0)y.$


Details added later:

  1. $f(0,y) - f(0,0) = f_y(0,0) y +o(y):$ Why? This is just one variable calculus: If $g'(0)$ exists, then $g(t) - g(0) = g'(0)t + o(t),$ simply from the definition of the derivative.

  2. $(f_x(c,y)- f_x(0,0))x = o(x)$ because $f_x$ is continuous at $(0,0).$

  3. Hopefully it is clear that $o(x) + o(y) = o((x^2+y^2)^{1/2}.$

Chappers
  • 67,606
zhw.
  • 105,693
-1

f(x,y)=x+g(y),g(y)=0 if y is irrational,g(y)=y^2 if y is rational is a counter example

Adelafif
  • 1,275
-1

A simpler example: f(x,y)= 1 if xy= 0, otherwise, f(x,y)= 0. Both partial derivatives at (0, 0) are 0 but f is not differentiable at (0, 0).

user247327
  • 18,710
  • 1
    Again, this is not a counterexample. $f_x$ does not exist at points of the $y$ axis where $y\ne 0,$ so certainly $f_x$ is not continuous at $(0,0)$ – zhw. May 20 '16 at 00:11