Differentiable function of 2 variables

Click For Summary

Homework Help Overview

The discussion revolves around a function of two variables defined piecewise, where participants are tasked with proving the existence of directional derivatives in every direction while also demonstrating that the function is not differentiable at the origin (0,0).

Discussion Character

  • Conceptual clarification, Assumption checking, Mixed

Approaches and Questions Raised

  • Participants discuss the existence of directional derivatives and the implications of having partial derivatives. There is a focus on the behavior of partial derivatives near the point (0,0) and whether this guarantees differentiability.

Discussion Status

Some participants have provided hints and suggestions for checking the behavior of partial derivatives in the neighborhood of (0,0). There is recognition of the distinction between having partial derivatives and being differentiable, indicating a productive exploration of the topic.

Contextual Notes

There is an ongoing examination of the definitions and conditions required for differentiability in the multivariable context, with references to external sources for clarification.

Chromosom
Messages
14
Reaction score
0

Homework Statement



Prove that function has directional derivative in every direction, but is not differentiable in (0,0):

f(x,y)=\begin{cases}\frac{x^3}{x^2+y^2},&(x,y)\neq(0,0)\\ \\0,&(x,y)=(0,0)\end{cases}

The Attempt at a Solution



I have already proved that it has directional derivative in every direction. But in my opinion, if it has directional derivative in direction of OX and OY, it has partial derivatives, so that it is differentiable. Let's derive it:

\frac{\partial f}{\partial x}=\lim_{h\to0}\frac{f(h,0)-f(0,0)}{h}=\lim_{h\to0}\frac{\frac{h^3}{h^2+0}}{h}=\lim_{h\to0}\frac{h^3}{h^3}=1
\frac{\partial f}{\partial y}=\lim_{h\to0}\frac{f(0,h)-f(0,0)}{h}=\lim_{h\to0}\frac{\frac{0}{0+h^2}}{h}=\lim_{h\to0}\frac{0}{h^3}=0

Function is also continuous in (0,0) (although it does not affect differentiability). Is there a mistake in this exercise?
 
Physics news on Phys.org
hold on a second, are you sure that
\lim_{h\rightarrow 0} \frac{0}{h^3} = 0
I think you might have been going through this too quickly, and put an incorrect answer.

edit: blech, oh no, I am the one that has gone through it too quickly and come to the wrong conclusion. ah, yeah you're right, it is zero, since the numerator is zero.

Hmm. so yeah, it does look like the function is differentiable. wikipedia says: "If the partial derivatives of a function all exist and are continuous in a neighbourhood of a point, then the function must be differentiable at that point". So I guess this is the condition to check.
 
yeah, my hint is to check if the partial derivatives behave nicely in a neighbourhood of the point (0,0)
 
Chromosom said:

Homework Statement



Prove that function has directional derivative in every direction, but is not differentiable in (0,0):

f(x,y)=\begin{cases}\frac{x^3}{x^2+y^2},&(x,y)\neq(0,0)\\ \\0,&(x,y)=(0,0)\end{cases}

The Attempt at a Solution



I have already proved that it has directional derivative in every direction. But in my opinion, if it has directional derivative in direction of OX and OY, it has partial derivatives, so that it is differentiable. Let's derive it:

\frac{\partial f}{\partial x}=\lim_{h\to0}\frac{f(h,0)-f(0,0)}{h}=\lim_{h\to0}\frac{\frac{h^3}{h^2+0}}{h}=\lim_{h\to0}\frac{h^3}{h^3}=1
\frac{\partial f}{\partial y}=\lim_{h\to0}\frac{f(0,h)-f(0,0)}{h}=\lim_{h\to0}\frac{\frac{0}{0+h^2}}{h}=\lim_{h\to0}\frac{0}{h^3}=0

Function is also continuous in (0,0) (although it does not affect differentiability). Is there a mistake in this exercise?

In the multivariable case there is a difference between "having partial derivatives" and "being differentiable". Look in your textbook, or Google 'differentiable function + multivariable'. I am not saying your function is, or is not differentiable; I am just saying that your justification is faulty.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 9 ·
Replies
9
Views
6K