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.
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, derivability 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 an 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 .
The theory continues with 6 more sections (tangent plane, the total differential theorem, directional derivatives and the gradient formula…), plus all worked examples, the solutions and the PDF.
Unlock now