Showing that the directional derivatives exist but f is not continuous

Click For Summary
The discussion focuses on proving that all directional derivatives of the function f exist at the point (0,0) while f remains discontinuous there. The function f is defined as 1 when 0 < y < x² and 0 otherwise. Participants clarify that while approaching (0,0) along different paths, the value of f changes based on the direction, leading to confusion about the limit's dependence on the vector v. Ultimately, it is established that f(ha, hb) equals 0 for small enough h in most directions, confirming the existence of directional derivatives despite the discontinuity of f at the origin. The conversation emphasizes the need for careful analysis of limits and path dependence in multivariable calculus.
Hernaner28
Messages
261
Reaction score
0

Homework Statement


It says:

\displaystyle f:{{\mathbb{R}}^{2}}\to \mathbb{R}

\displaystyle f\left( x,y \right)=\left\{ \begin{align}<br /> &amp; 1\text{ if 0&lt;y&lt;}{{\text{x}}^{2}} \\ <br /> &amp; 0\text{ in other cases} \\ <br /> \end{align} \right.

Show that all the directional derivatives about (0,0) exist but f is not continuous in (0,0).

Homework Equations


Directional derivative:
\displaystyle \frac{\partial f}{\partial v}\left( 0,0 \right)=\underset{h\to 0}{\mathop{\lim }}\,\frac{f\left( \left( 0,0 \right)+\left( ha,hb \right) \right)-f\left( 0,0 \right)}{h}

The Attempt at a Solution



I write the equation for the directionar derivative respect to a generic v=(a,b) about the origin:

\displaystyle \frac{\partial f}{\partial v}\left( 0,0 \right)=\underset{h\to 0}{\mathop{\lim }}\,\frac{f\left( \left( 0,0 \right)+\left( ha,hb \right) \right)-f\left( 0,0 \right)}{h}

That is:

\displaystyle =\underset{h\to 0}{\mathop{\lim }}\,\frac{f\left( ha,hb \right)}{h}

I should arrive that the limit does not depend on v=(a,b). But I'm stuck here. Which is the value of \displaystyle f\left( ha,hb \right) 1 or 0? It clearly depends on the vector v. If I get close to the origin by the y-axis then \displaystyle f\left( 0,hb \right)=0.

Thanks!

PD: I hope I'm not breaking the rules. I've received several infractions which I'm not going to discuss here. It's not my intention.
 
Last edited:
Physics news on Phys.org
Hernaner28 said:

Homework Statement


It says:

\displaystyle f:{{\mathbb{R}}^{2}}\to \mathbb{R}

\displaystyle f\left( x,y \right)=\left\{ \begin{align}<br /> &amp; 1\text{ if 0&lt;y&lt;}{{\text{x}}^{2}} \\ <br /> &amp; 0\text{ in other cases} \\ <br /> \end{align} \right.

Show that all the directional derivatives about (0,0) exist but f is not continuous in (0,0).

Homework Equations


Directional derivative:
\displaystyle \frac{\partial f}{\partial v}\left( 0,0 \right)=\underset{h\to 0}{\mathop{\lim }}\,\frac{f\left( \left( 0,0 \right)+\left( ha,hb \right) \right)-f\left( 0,0 \right)}{h}


The Attempt at a Solution



I write the equation for the directionar derivative respect to a generic v=(a,b) about the origin:

\displaystyle \frac{\partial f}{\partial v}\left( 0,0 \right)=\underset{h\to 0}{\mathop{\lim }}\,\frac{f\left( \left( 0,0 \right)+\left( ha,hb \right) \right)-f\left( 0,0 \right)}{h}

That is:

\displaystyle =\underset{h\to 0}{\mathop{\lim }}\,\frac{f\left( ha,hb \right)}{h}

I should arrive that the limit does not depend on v=(a,b). But I'm stuck here. Which is the value of \displaystyle f\left( ha,hb \right) 1 or 0? It clearly depends on the vector v. If I get close to the origin by the y-axis then \displaystyle f\left( 0,hb \right)=0.

Thanks!

PD: I hope I'm not breaking the rules. I've received several infractions which I'm not going to discuss here. It's not my intention.

Are you sure you have posted the exact wording of the problem? The function isn't continuous at (0, 0). In fact it's discontinuous all along the parabola y = x2 in the x-y plane.
 
Yes, I can imagine what the graph looks like and its discontinuity is pretty obvious but what I'm asked to show is that the directional derivatives do exist around the origin but the function is still discontinuous.

Thanks Mark!
 
I don't see how the directional derivative in the direction of -j, at (0, 0), could exist.

Look at the difference quotient using these values:

v = (0, -1), h = .1
v = (0, -1), h = .01
v = (0, -1), h = .001
and so on...
 
I think you're right, that's why I made this thdread.

The directional derivative respecto to v=(0,-1) about (0,0) is:

\displaystyle \underset{h\to 0}{\mathop{\lim }}\,\frac{f\left( 0,-h \right)}{h}=\underset{h\to 0}{\mathop{\lim }}\,\frac{1}{h}

which is infinite, isn't it?

Thanks!

PD: I am looking at the wording of the problem right now and it says that. Maybe just a mistake from the professors.
 
Sorry, that's wrong. The limit is zero in all directions because f(0,-h)=0. The numerator is zero, then the limit is zero.
 
You should be able to prove that given (a,b), if h is small enough, f(ha,hb) will equal 0.
 
Yes, I see. Do I have to do any formal proof with deltas and epsilon? Or can I just write it directly?

Thanks vela!
 
Depends on what the grader wants. You'd know better than us.
 
  • #10
vela said:
You should be able to prove that given (a,b), if h is small enough, f(ha,hb) will equal 0.
What about my example, where (a, b) = (0, -1). No matter how small h is (but is still positive), f(ha, hb) = 1. Is there a mistake in my thinking here?
 
  • #11
f(x,y) = 0 when y≤0. It's only equal to 1 between the x-axis and the parabola y=x2.
 

Similar threads

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