Continuous partials implies differentiable: Difference between revisions

From Calculus
(Created page with "==Statement== Suppose <math>f</math> is a real-valued function of <math>n</math> variables <math>x_1,x_2,\dots,x_n</math>. Suppose that <math>(a_1,a_2,\dots,a_n)</math> is a ...")
 
No edit summary
Line 5: Line 5:
<math>(\nabla f)(a_1,a_2,\dots,a_n) = \langle f_{x_1}(a_1,a_2,\dots,a_n), f_{x_2}(a_1,a_2,\dots,a_n), \dots, f_{x_n}(a_1,a_2,\dots,a_n) \rangle</math>
<math>(\nabla f)(a_1,a_2,\dots,a_n) = \langle f_{x_1}(a_1,a_2,\dots,a_n), f_{x_2}(a_1,a_2,\dots,a_n), \dots, f_{x_n}(a_1,a_2,\dots,a_n) \rangle</math>


Note that we say a function of multiple variables is ''differentiable'' if the gradient vector exists, hence this result can be restated as ''continuous partials implies differentiable''.
==Significance==
==Significance==


Line 14: Line 15:


That is where the result of this page comes in useful. It allows us to use the continuity of the partial derivatives, that we have already computed, to deduce the existence of the gradient vector, and hence also compute an expression for it.
That is where the result of this page comes in useful. It allows us to use the continuity of the partial derivatives, that we have already computed, to deduce the existence of the gradient vector, and hence also compute an expression for it.
==Related facts==
===Similar facts===
* [[Relation between gradient vector and partial derivatives]]
* [[Relation between gradient vector and directional derivatives]]
===Opposite facts===
* [[Existence of partial derivatives not implies differentiable]]
* [[Separately continuous not implies continuous]]
* [[Existence of directional derivatives in every direction not implies differentiable]]
* [[Continuous in every linear direction not implies continuous]]
===Converse===
The converse is not true: the existence of the gradient vector does not imply the continuity of the partial derivatives, and it does not even imply the ''existence'' of partial derivatives ''around'' the point. In fact, we can construct counter-examples with functions of one variable. See [[differentiable not implies continuously differentiable]].

Revision as of 16:41, 12 May 2012

Statement

Suppose f is a real-valued function of n variables x1,x2,,xn. Suppose that (a1,a2,,an) is a point in the domain of f such that the partial derivatives fx1,fx2,,fxn exist and are continuous at and around the point (a1,a2,,an) (i.e., they all exist and are continuous in an open ball containing (a1,a2,,an)). Then, the gradient vector of f exists at (a1,a2,,an) and is given by (as per relation between gradient vector and partial derivatives):

(f)(a1,a2,,an)=fx1(a1,a2,,an),fx2(a1,a2,,an),,fxn(a1,a2,,an)

Note that we say a function of multiple variables is differentiable if the gradient vector exists, hence this result can be restated as continuous partials implies differentiable.

Significance

In general, computing partial derivatives is easy, but computing the gradient vector from first principles is hard. Fortunately, we have a result, called the relation between gradient vector and partial derivatives, that says that the coordinates of the gradient vector, wherever it does exist, are simply the partial derivatives. Explicitly, it says that:

(f)(a1,a2,,an)=fx1(a1,a2,,an),fx2(a1,a2,,an),,fxn(a1,a2,,an)

The problem with that result is that it holds conditional to the existence of the gradient vector. In fact, existence of partial derivatives not implies differentiable. Thus, after computing the partial derivatives, we know what the gradient vector should be if it exists, but we still aren't sure whether it exists.

That is where the result of this page comes in useful. It allows us to use the continuity of the partial derivatives, that we have already computed, to deduce the existence of the gradient vector, and hence also compute an expression for it.

Related facts

Similar facts

Opposite facts

Converse

The converse is not true: the existence of the gradient vector does not imply the continuity of the partial derivatives, and it does not even imply the existence of partial derivatives around the point. In fact, we can construct counter-examples with functions of one variable. See differentiable not implies continuously differentiable.