Necessary and sufficient condition for differentiability

In summary: Differentiability is a property of a function that says that for every point there exists a function that is differentiable at that point. Total differentiability is a property of a function that says that for every point there exists a function that is differentiable in every direction.
  • #1
Local
3
0
Alright, so now that I think have some more "mathematical maturity", I have decided to go back and review/re-learn multivariable calculus. I've just started, and have gotten to differentiation.

From what I have seen, most books state the following sufficient condition for differentiability:
A function [itex] f: \mathbb{R}^n \rightarrow \mathbb{R}^m [/itex] is differentiable at a point [itex] x [/itex] if all the partial derivatives of all the component functions of [itex] f [/itex] exist and are continuous at [itex] x [/itex], i.e. if [itex] f [/itex] is [itex] C^1 [/itex] at [itex] x [/itex].

Many books also seem to state the following necessary condition for differentiability:
If a function [itex] f: \mathbb{R}^n \rightarrow \mathbb{R}^m [/itex] is differentiable at a point [itex] x [/itex], then all directional derivatives of [itex] f [/itex] at [itex] x [/itex] exist.

Neither of these two conditions are both necessary AND sufficient, however, and I have seen examples showing this.

What I have not seen in any book, is a condition that is BOTH necessary AND sufficient. So, I was thinking about how to weaken the above sufficient condition, or strengthen the above necessary condition, in order to get something both necessary and sufficient.

Let me introduce some notation now. Let [itex] Df(x) [/itex] be the derivative of [itex] f [/itex] at [itex] x [/itex], and let [itex] D_{v}f(x) [/itex] be the direction derivative of [itex] f [/itex] at [itex] x [/itex] in the direction [itex] v [/itex].

I know that if a function [itex] f [/itex] is differentiable at [itex] x [/itex], then the [itex] D_{v}f(x) = Df(x) v [/itex]. In particular then, it is not enough for the directional derivatives of [itex] f [/itex] at [itex] x [/itex] to exist, but also we need the map [itex] v \rightarrow D_{v}f(x) [/itex] to be linear.

So I thought maybe a necessary and sufficient condition for differentiability is that all directional derivatives must exist, AND that the map [itex] v \rightarrow D_{v}f(x) [/itex] must be linear.

Is this true? I tried searching for this online but was unable to find what I was looking for. I have tried proving this myself, but I am having trouble with the proof. I also have not thought of a counterexample, either.

I have to go now, but I can indicate where I am getting stuck in my proof sometime tomorrow. In the meantime though, if anyone can answer my question and maybe suggest a hint, I'd appreciate it. Thanks for reading all of that!
 
Physics news on Phys.org
  • #2
It is almost true: continuous partial differentiable ⇒ total differentiable ⇒ differentiable in any direction ⇒ partial differentiable, none of it holds in the other direction. What's missing is that the difference of function values to the differential along ##v## must converge of higher order than 1, i.e. ## (f(x+v) - f(x) - D_v f(x)) / ||v|| → 0 ## with ## ||v|| → 0 ##
 
  • #3
Linearity in ##v\rightarrow D_vf(x)## by itself yields a linear map which is the differential of ##f##, and hence is a necessary and sufficient condition for differentiability.
 
  • #4
Wikipedia lists the following function as one which has all directional derivatives which are all linear but there is no total differential at ##(0,0)## for ##\lim_{h→0} ( f(h^2,h) - f(0,0) - D_{(h^2,h)} f ) / ||(h^2,h)|| = 1/2##.
[tex] f(x,y) = \bigg\{ \begin{array}{*{20}{c}} { \frac{xy^3}{x^2+y^4} } &, (x,y) ≠ 0 \\ {0} &, (x,y) = 0 \end{array} [/tex]
It might be the case that I haven't understood whether there is a difference between differentiability and total differentiability or I haven't seen a mistake in the article. I just wanted to mention.
 
  • #5
fresh_42 said:
Wikipedia lists the following function as one which has all directional derivatives which are all linear but there is no total differential at ##(0,0)## for ##\lim_{h→0} ( f(h^2,h) - f(0,0) - D_{(h^2,h)} f ) / ||(h^2,h)|| = 1/2##.
[tex] f(x,y) = \bigg\{ \begin{array}{*{20}{c}} { \frac{xy^3}{x^2+y^4} } &, (x,y) ≠ 0 \\ {0} &, (x,y) = 0 \end{array} [/tex]
It might be the case that I haven't understood whether there is a difference between differentiability and total differentiability or I haven't seen a mistake in the article. I just wanted to mention.

fresh 42, that example answers my question. Thanks. I had overlooked the fact that the zero function is linear.

All the directional derivatives of the function ## f ## at the origin exist and are equal to zero. To see this, let ## v = (v_1,v_2) ## be any direction. Then
[tex] D_vf(0) = \lim_{t \rightarrow 0} \frac{f(0+tv) - f(0)}{t} = \lim_{t \rightarrow 0} \frac{t^3 v_1 v_2}{t^2 (v_1^2 + t^2 v_2 ^2)} = 0. [/tex]
So this function satisfies the property that all directional derivatives exist, and that the map ## v \rightarrow D_vf(x) ## is linear, and yet the function is not differentiable. So the condition is necessary but still not sufficient. Interesting. Thanks again for your help.
 
  • #7
fresh_42 said:
Wikipedia lists the following function as one which has all directional derivatives which are all linear but there is no total differential at ##(0,0)## for ##\lim_{h→0} ( f(h^2,h) - f(0,0) - D_{(h^2,h)} f ) / ||(h^2,h)|| = 1/2##.
[tex] f(x,y) = \bigg\{ \begin{array}{*{20}{c}} { \frac{xy^3}{x^2+y^4} } &, (x,y) ≠ 0 \\ {0} &, (x,y) = 0 \end{array} [/tex]
It might be the case that I haven't understood whether there is a difference between differentiability and total differentiability or I haven't seen a mistake in the article. I just wanted to mention.
My apologies, you are correct--next time I'll think twice before skipping the pen and paper.
 

Related to Necessary and sufficient condition for differentiability

1. What is the definition of a necessary and sufficient condition for differentiability?

The necessary and sufficient condition for differentiability is a mathematical condition that must be met in order for a function to be considered differentiable. It states that for a function to be differentiable at a specific point, the function must be continuous at that point and the limit of the difference quotient must exist at that point.

2. How is the necessary and sufficient condition for differentiability related to the concept of continuity?

The necessary and sufficient condition for differentiability is closely related to continuity. This is because a function must be continuous at a point in order for it to be differentiable at that point. In other words, if a function is not continuous at a point, it cannot be differentiable at that point.

3. Can a function be differentiable at a point if it is not continuous at that point?

No, a function cannot be differentiable at a point if it is not continuous at that point. This is because the necessary and sufficient condition for differentiability states that a function must be both continuous and have a limit at that point in order to be differentiable at that point.

4. How can the necessary and sufficient condition for differentiability be used to determine if a function is differentiable?

The necessary and sufficient condition for differentiability can be used to determine if a function is differentiable by evaluating the function at a specific point and checking if it meets the condition. If the function is continuous at that point and the limit of the difference quotient exists, then the function is differentiable at that point.

5. Are there any exceptions to the necessary and sufficient condition for differentiability?

Yes, there are some exceptions to the necessary and sufficient condition for differentiability. For example, certain functions such as piecewise-defined and absolute value functions may not be differentiable at every point, even if they meet the condition. Additionally, the condition may not apply to functions with discontinuities that are not removable, such as jump discontinuities.

Similar threads

Replies
14
Views
2K
Replies
1
Views
970
Replies
9
Views
1K
Replies
2
Views
1K
  • Calculus
Replies
12
Views
542
Replies
3
Views
1K
Replies
3
Views
1K
  • Calculus
Replies
14
Views
1K
Replies
1
Views
1K
Back
Top