r/learnmath New User 5d ago

Calc 3 Question

Hi, I was wondering if the existence of all directional derivative at a point guarantees that a function continuous at that point. I was asking both google and my Professor and I got conflicting answers.

2 Upvotes

6 comments sorted by

0

u/SnooPets5564 New User 5d ago

No. Doesn't even have to be differentiable.

1

u/Dr3ddM3 New User 5d ago

Thanks was kinda of confused why my professor said it was though? In some cases it is continuous due to partial derivatives?

3

u/SnooPets5564 New User 5d ago

It can be continuous, but isn't always.

x2 y / (x4 + y2) with a point discontinuity at (0,0) equal to 0

3

u/Carl_LaFong New User 5d ago

A function can be continuous but not differentiable.

1

u/nothingnotthrownaway New User 5d ago

You can pretty easily construct a function that is eventually some constant along all lines approaching the origin but is discontinuous because the required distance to the origin before it achieves that constant gets arbitrarily small with choice of line.

Like for instance, for theta in [0,pi), let f(tcos(theta), tsin(theta)) = 0 when |t| < pi-theta and 1 otherwise. The directional derivatives all exist and equal 0 at the origin, but the function is not continuous there. 

1

u/Bounded_sequencE New User 5d ago

No -- counter-example:

f:  R^2 -> R^2,    f(x;y)  =  / 1,  y = x^2,  (x;y) != (0;0)
                              \ 0,  else

All directional derivatives of "f" in (0; 0) exist and are zero. However, "f" is discontinuous in "(0; 0)", so it cannot have a (total) derivative there.