Directional Derivative of a discontinuous function

Click For Summary

Discussion Overview

The discussion revolves around the concept of directional derivatives of a discontinuous function, specifically examining whether a function can have directional derivatives at a point where it is not continuous. The scope includes theoretical considerations in calculus, particularly in the context of functions of several variables.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions the requirement for a function to be differentiable at a point for directional derivatives to exist, suggesting that this does not make sense if the function is discontinuous at that point.
  • Another participant points out that while a function may not be continuous at the origin, it can still have the same derivative in all directions near the origin.
  • A third participant confirms that the function in question is defined at the origin but not continuous, prompting a reevaluation of the initial conclusion regarding differentiability.
  • It is proposed that if directional derivatives exist at all points near the origin and converge to the same limit, this limit can be considered the derivative at the origin, despite the function's discontinuity.
  • One participant argues against the necessity of differentiability for the existence of directional derivatives, explaining that having directional derivatives implies continuity along lines through the origin, but not necessarily along curves.
  • A later reply acknowledges the earlier points and emphasizes the importance of definitions over theorems in understanding directional derivatives, noting that the directional derivative can be shown to be zero for the given function.

Areas of Agreement / Disagreement

Participants express differing views on the relationship between differentiability and the existence of directional derivatives, indicating that multiple competing views remain without a consensus on the implications of discontinuity.

Contextual Notes

Participants reference specific examples and theorems related to directional derivatives, highlighting the nuances in definitions and the conditions under which directional derivatives can be evaluated.

Useful nucleus
Messages
374
Reaction score
62
I was reviewing basic calculus of of functions of several variables. It struck me that in one of the exercises, it was required to show that a given function has directional derivative for all directions at the origin (0,0) even though it is not continuous at (0,0).
Without getting into the details , I thought that this does not make sense as the function has to be differentiable at (0,0) for the directional derivatives to exist. And differentiability implies the continuity of the function at (0,0).
Am I missing something here?
 
Physics news on Phys.org
If you define derivative the usual way, you need a value for the function at the origin, which you don't have. However near the origin it is possible to have the same derivative in all directions.
 
Indeed the function given in that exercise is defined at the origin but it is not continuous at it. Does that imply that my conclusion is wrong?
 
If you have derivatives at all points near the origin, and they all have the same limit at the origin, this limit may be called the derivative at the origin, even if the function is discontinuous there. At this point, it is more a matter of convention.
 
"the function has to be differentiable at (0,0) for the directional derivatives to exist."

this statement is false. to be differentiable, the directional derivatives not only have to exist, they have to depend linearly on the derivatives in the coordinate axis directions.

e.g. the derivative in the direction (1,1) has to be the sum of the derivatives in the directions (1,0) and (0,1).

the existence of all directional derivatives at (0,0) only implies continuity along all lines through the origin. one can cook up examples that are continuous along all lines, but not along some curve, say a parabola, through the origin.

e.g.: f (x, y) = [xy^2]/[x^2+y^4], if x ≠ 0, and f (0, y) = 0.
 
Last edited:
Thank you mathman and mathwonk for your help!
Indeed the exercise is exactly the one that mathwonk has cooked!
I kept thinking in terms of the theorems that helps in evaluating the directional derivative using the gradient. These theorems requires the differentiability of the function. However, the definition of the directional derivative does not require the differentiability, and using the definition I managed to show that the directional derivative is (0) for f(x,y) given in the above post.
It is always useful to think in definitions first before jumping to theorems!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 21 ·
Replies
21
Views
6K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
20
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K