Is f Differentiable at (0,0)?

  • Context: MHB 
  • Thread starter Thread starter mathmari
  • Start date Start date
  • Tags Tags
    Differentiable
Click For Summary

Discussion Overview

The discussion revolves around the differentiability of the function defined on \(\mathbb{R}^2\) at the point \((0,0)\). Participants explore the existence of directional derivatives and the conditions for differentiability, including examining specific sequences and limits.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants assert that all directional derivatives of the function exist at \((0,0)\) based on their calculations.
  • There is a suggestion that finding a sequence \(a_n\) converging to \((0,0)\) such that \(f(a_n)\) does not converge to \(0\) could indicate non-differentiability.
  • One participant questions the relevance of whether \(f(a_n)\) converges to \(0\) in the context of differentiability.
  • Another participant proposes checking the limit of the difference quotient to determine differentiability, emphasizing the need for a rigorous approach.
  • Concerns are raised about the validity of assuming differentiability based solely on the existence of directional derivatives.
  • A specific path \(h_1 = h_2\) is examined, leading to a limit that does not converge to \(0\), suggesting non-differentiability.
  • Some participants express uncertainty about the implications of their findings and whether their approaches are valid.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the differentiability of the function at \((0,0)\). While some agree on the existence of directional derivatives, others challenge the conclusions drawn regarding differentiability.

Contextual Notes

Participants note the importance of showing that limits exist and the implications of directional derivatives on differentiability. There are unresolved questions about the conditions under which the function may or may not be differentiable.

Who May Find This Useful

This discussion may be of interest to students and professionals in mathematics and related fields who are exploring concepts of differentiability, limits, and directional derivatives in multivariable calculus.

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :giggle:

We consider the function\begin{align*}f:\mathbb{R}^2 &\rightarrow\mathbb{R} \\ (x,y)&\mapsto \begin{cases}\frac{x^3}{x^2+y^2} & \text{ if } (x,y)\neq(0,0) \\ 0 & \text{ if } (x,y)=(0,0) \end{cases}\end{align*}
(a) Show that all directional derivatives of $f$ in $(0,0)$ exist.
(b) Is $f$ differentiable in $(0,0)$ ? For (a) Ihave donethe following:
$$\partial_vf(0,0)=\lim_{h\rightarrow 0}\frac{f(hv_1, hv_2)-f(0,0)}{h}=\lim_{h\rightarrow 0}\frac{v_1^3}{v_1^2+v_2^2}=\frac{v_1^3}{v_1^2+v_2^2}\in \mathbb{R}$$ The limit exists for all $(v_1,v_2)\neq (0,0)$ and so all directional derivatives of $f$ in $(0,0)$ exist.

Is that correct? For (b) I thought to find a sequence $a_n$ that converges to $(0,0)$ such that $f(a_n)$ doesn't converge to $0$, but I haven't found yet such an examle. Can we maybe not find such an example because $f$ is differentiable in $(0,0)$ ?:unsure:
 
Physics news on Phys.org
mathmari said:
For (a) Ihave donethe following:
$$\partial_vf(0,0)=\lim_{h\rightarrow 0}\frac{f(hv_1, hv_2)-f(0,0)}{h}=\lim_{h\rightarrow 0}\frac{v_1^3}{v_1^2+v_2^2}=\frac{v_1^3}{v_1^2+v_2^2}\in \mathbb{R}$$ The limit exists for all $(v_1,v_2)\neq (0,0)$ and so all directional derivatives of $f$ in $(0,0)$ exist.

Hey mathmari!

Looks correct to me. (Nod)

mathmari said:
For (b) I thought to find a sequence $a_n$ that converges to $(0,0)$ such that $f(a_n)$ doesn't converge to $0$, but I haven't found yet such an examle. Can we maybe not find such an example because $f$ is differentiable in $(0,0)$ ?
How is it relevant whether $f(a_n)$ converges to $0$ or not? :unsure:
We're not checking continuity are we?
Or are you trying to prove that $f$ is not continuous in $(0,0)$, and therefore it is not differentiable either?
Either way, $f$ is continuous in $(0,0)$, so that won't work. (Shake)

Shouldn't we check instead whether $\frac{\|f(a_n)-f(0,0)-\nabla f(0,0)\cdot a_n\|}{\|a_n\|}$ converges to $0$ or not? :unsure:

Note that since the directional derivatives exist, the partial derivatives exist as well, and $\nabla f(0,0)$ is well defined. 🧐
 
Last edited:
mathmari said:
Hey! :giggle:

We consider the function\begin{align*}f:\mathbb{R}^2 &\rightarrow\mathbb{R} \\ (x,y)&\mapsto \begin{cases}\frac{x^3}{x^2+y^2} & \text{ if } (x,y)\neq(0,0) \\ 0 & \text{ if } (x,y)=(0,0) \end{cases}\end{align*}
(a) Show that all directional derivatives of $f$ in $(0,0)$ exist.
(b) Is $f$ differentiable in $(0,0)$ ?For (a) Ihave donethe following:
$$\partial_vf(0,0)=\lim_{h\rightarrow 0}\frac{f(hv_1, hv_2)-f(0,0)}{h}=\lim_{h\rightarrow 0}\frac{v_1^3}{v_1^2+v_2^2}=\frac{v_1^3}{v_1^2+v_2^2}\in \mathbb{R}$$ The limit exists for all $(v_1,v_2)\neq (0,0)$ and so all directional derivatives of $f$ in $(0,0)$ exist.

Is that correct?[/tex]
Except that you jumped over the most important point- showing that the limit does exist!

I would have done this: every line through (0, 0) (except the vertical line) can be written y= mx for some constant m. Then \frac{x^3}{x^2+ y^2}= \frac{x^3}{x^3+ m^3x^2}= \frac{x^3}{x^2(m^2+ 1}= \frac{1}{m^2+ 1} x.
mathmari said:
Hey! :giggle:

We consider the function\begin{align*}f:\mathbb{R}^2 &\rightarrow\mathbb{R} \\ (x,y)&\mapsto \begin{cases}\frac{x^3}{x^2+y^2} & \text{ if } (x,y)\neq(0,0) \\ 0 & \text{ if } (x,y)=(0,0) \end{cases}\end{align*}
(a) Show that all directional derivatives of $f$ in $(0,0)$ exist.
(b) Is $f$ differentiable in $(0,0)$ ?For (a) Ihave donethe following:
$$\partial_vf(0,0)=\lim_{h\rightarrow 0}\frac{f(hv_1, hv_2)-f(0,0)}{h}=\lim_{h\rightarrow 0}\frac{v_1^3}{v_1^2+v_2^2}=\frac{v_1^3}{v_1^2+v_2^2}\in \mathbb{R}$$ The limit exists for all $(v_1,v_2)\neq (0,0)$ and so all directional derivatives of $f$ in $(0,0)$ exist.

Is that correct?
It's good except that you have skipped over the important part- showing that the limit does exist. You just stated that it did.

I would have done this: any line (except a vertical line) through the origin can be written y= mx for some constant m. Then f(x,y)= f(x,mx)= \frac{x^3}{x^2+ m^2x^2}= \frac{x^3}{x^2(m^2+ 1)}= \frac{1}{m^2+ 1}x. So the difference quotient, along that line is \frac{\frac{1}{m^2+ 1}h}{h}= \frac{1}{1+ m^2}. The directional derivative is the limit of that as h goes to 0, \frac{1}{m^2+ 1} which certainly exists!

(Along the vertical line through the origin, x= 0 so the function is \frac{0^3}{0^2+ y^2}= 0, a constant so the derivative is 0.)

For (b) I thought to find a sequence $a_n$ that converges to $(0,0)$ such that $f(a_n)$ doesn't converge to $0$, but I haven't found yet such an examle. Can we maybe not find such an example because $f$ is differentiable in $(0,0)$ ?:unsure:
For (b) I thought to find a sequence $a_n$ that converges to $(0,0)$ such that $f(a_n)$ doesn't converge to $0$, but I haven't found yet such an examle. Can we maybe not find such an example because $f$ is differentiable in $(0,0)$ ?:unsure:
 
Klaas van Aarsen said:
Shouldn't we check instead whether $\frac{\|f(a_n)-f(0,0)-\nabla f(0,0)\cdot a_n\|}{\|a_n\|}$ converges to $0$ or not? :unsure:

Note that since the directional derivatives exist, the partial derivatives exist as well, and $\nabla f(0,0)$ is well defined. 🧐

We have that (ifI have doneall calculations correctly) $$\frac{\|f\left ((0,0)+(h_1, h_2)\right )-f(0,0)-\nabla f(0,0)\cdot (h_1,h_2)\|}{\|h\|}=\frac{\|f\left (h_1, h_2\right )-0-(1,0)\cdot (h_1,h_2)\|}{\sqrt{h_1^2+h_2^2}}=\frac{\|f\left (h_1, h_2\right )-h_1\|}{\sqrt{h_1^2+h_2^2}}=\frac{|h_1|\cdot h_2^2}{\sqrt{h_1^2+h_2^2}^3}$$ How do we calculate the last limit? :unsure:
 

So can we not just say, at the way I did it, that for every $(v_1, v_2)\neq (0,0)$ the limit is a real number and so it exists? :unsure:
 
mathmari said:
$$\frac{\|f\left ((0,0)+(h_1, h_2)\right )-f(0,0)-\nabla f(0,0)\cdot (h_1,h_2)\|}{\|h\|}=\frac{\|f\left (h_1, h_2\right )-0-(1,0)\cdot (h_1,h_2)\|}{\sqrt{h_1^2+h_2^2}}=\frac{\|f\left (h_1, h_2\right )-h_1\|}{\sqrt{h_1^2+h_2^2}}=\frac{|h_1|\cdot h_2^2}{\sqrt{h_1^2+h_2^2}^3}$$ How do we calculate the last limit?
Can we find a path $(h_1(t), h_2(t))$ such that the limit is not $0$? 🤔
 
Klaas van Aarsen said:
Can we find a path $(h_1(t), h_2(t))$ such that the limit is not $0$? 🤔

For $h_1=h_2$ we get $$\frac{|h_1|\cdot h_1^2}{\sqrt{h_1^2+h_1^2}^3}=\frac{|h_1|^3}{\sqrt{2h_1^2}^3}=\frac{|h_1|^3}{\sqrt{2}\cdot |h_1|^3}=\frac{1}{\sqrt{2}}\rightarrow \frac{1}{\sqrt{2}}\neq 0$$ Since this doesn't converge to $0$, it follows that $f$ is not differentiable.

Is that correct? Or can we not just take $h_1=h_2$ ? :unsure:
 
mathmari said:
For $h_1=h_2$ we get $$\frac{|h_1|\cdot h_1^2}{\sqrt{h_1^2+h_1^2}^3}=\frac{|h_1|^3}{\sqrt{2h_1^2}^3}=\frac{|h_1|^3}{\sqrt{2}\cdot |h_1|^3}=\frac{1}{\sqrt{2}}\rightarrow \frac{1}{\sqrt{2}}\neq 0$$ Since this doesn't converge to $0$, it follows that $f$ is not differentiable.
All correct. (Sun)
 
Klaas van Aarsen said:
All correct. (Sun)

Great! Thank you very much! (Sun)
 

Similar threads

Replies
11
Views
2K
Replies
21
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K