Ripetizioni di Analisi
EN

Theory

Differential calculus in several variables

Partial derivatives and gradient, differentiability and tangent plane, directional derivatives and the gradient formula, chain rule, second derivatives and second-order Taylor formula.

On this page
  1. Partial derivatives and gradient
  2. Differentiability

Partial derivatives and gradient

1. Partial derivative

, interior to . The partial derivative of with respect to at is

if the limit exists and is finite; the partial derivative with respect to is defined in the same way, with the increment on the second variable. One also writes and . If both exist, is called partially differentiable at . In the difference quotient of the variable stays fixed at the value , so in the computation one differentiates with respect to treating as a constant, with the differentiation rules of one variable.

Example

. Differentiating with respect to with constant gives ; differentiating with respect to with constant gives , because is constant with respect to and its derivative is zero.

2. Gradient

If is partially differentiable at , the gradient of at is the vector of partial derivatives

For a function of variables the gradient has components. The gradient appears in the differential, in the formula for the directional derivative and in the search for critical points, so almost every exercise in this chapter begins with its computation. For we have .

Differentiability

1. Differentiable function

, interior to . is differentiable at if it is partially differentiable at and

The linear map is called the differential of at . The condition says that the increment of is approximated by a linear function of the increments and , with an error that is :

In the exercises, differentiability at a point is checked by first computing the partial derivatives with the definition and then this limit.

Remark

In one variable, the existence of the derivative and differentiability are equivalent. In two variables the existence of the partial derivatives is a weaker condition, since the partial derivatives control only along the two lines through parallel to the axes, while the differentiability limit controls the increment along every way of approaching the point. For this reason, in several variables the central notion of differential calculus is differentiability.

2. Differentiability implies continuity

If is differentiable at , then is continuous at . The theorem is often used in the following form: if is not continuous at a point, then is not differentiable at that point.

Proof

By differentiability, as we have

The terms and tend to because they are products of a constant and an infinitesimal; the remainder tends to because it is and . Hence , and this is the continuity of at .

Warning

The existence of the partial derivatives at a point does not guarantee continuity at that point. The function

is zero on the axes, so and both partial derivatives exist. Along the line we have for every , while along the -axis the function is zero, so the limit of at does not exist and is not continuous at the origin. Since differentiability implies continuity, is not differentiable at .

x y -2-112-2-112 O f = 0f = 0
y=xy = xy=−xy = -x
equals on the axes, on the line (in color) and on the line (dashed), so it has no limit at the origin

End of the free preview

The theory of this topic continues with 7 more sections

  1. Tangent plane
  2. The total differential theorem
  3. Directional derivatives and the gradient formula
  4. Chain rule
  5. Second derivatives and Hessian matrix
  6. Second-order Taylor formula
  7. Keep studying

Full access also includes the other 4 worked examples of this topic and the solutions of the 14 practice exercises.

Unlock Analysis 2 · €55

Read the first 3 worked examples in this chapter for free.

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents