Partial Derivatives/Tangent Planes, Linear Approximation, and the Chain Rule

Lesson 11.3878 words

Tangent Planes, Linear Approximation, and the Chain Rule

Near a point, a smooth surface looks like its tangent plane, and the plane's equation is built from the two partial derivatives. That linearization defines the total differential and the meaning of differentiability in two variables.

╌╌╌╌

Zoom in on a point of a curve whose function is differentiable, and the curve straightens into its tangent line. Zoom in on a point of a smooth surface, and it flattens into a plane. That plane is the best linear approximation to the surface, and its slopes in the two coordinate directions are the partial derivatives already in hand.

The tangent plane

Let be the surface with having continuous first partials, and let be a point on it. The plane cuts in a curve with tangent line of slope ; the plane cuts in with tangent of slope .

Any plane through has the form . Setting leaves , a line of slope that must be , so . Setting forces .

Compare the single-variable tangent line : the plane carries one slope term per input.

The tangent plane at touches the surface and shares both trace tangents and ; near the surface and plane are nearly identical.

Linear approximation

Solving the plane equation for names the linear function whose graph is the tangent plane.

Differentiability

Having partial derivatives at a point is weaker than the surface being smooth there: a function can possess and at yet fail to have a tangent plane, because the partials only probe two directions. Differentiability demands that the linear approximation be genuinely good in every direction.

Write the increment for the actual change in .

The leading two terms are the tangent-plane change; the -terms are the leftover, which must vanish faster than the step. A differentiable function is one whose tangent plane approximates the surface well near the point of tangency. The definition is awkward to check directly, so the working criterion is a sufficient condition.

Every function assembled from polynomials, roots, exponentials, logarithms, and trigonometric functions by the usual operations has continuous partials on its domain, so it is differentiable there. For , both and are continuous, so is differentiable everywhere; at the linearization is .

Differentials

For the differentials and are independent variables, free to take any value. The total differential is defined by

Setting and , the differential is the change in height along the tangent plane, while is the change in height along the surface. For a differentiable function the two agree closely when are small, and is the estimate used in error propagation.

is the true change along the surface; is the change along the tangent plane. Their difference is the higher-order leftover.

The chain rule

The one-variable chain rule differentiates a composition: if and , then . With several intermediate variables, the rule becomes a sum with one term per intermediate route.

Tree diagram for with each a function of . Sum the two paths from to , each a partial of times a derivative of or .

Here are the independent variables, the intermediate variables, and the dependent variable. Each formula has one term per intermediate variable, and each term mirrors the one-dimensional chain rule.

The tree diagram organizes the bookkeeping. Draw a branch from to each variable it depends on, then from each of those to the variables below. is the sum, over every path from down to , of the product of the derivatives along that path.

Tree diagram for with functions of . Multiply derivatives down each path from to , then add the paths.

The pattern scales without change.

Implicit differentiation

The chain rule sharpens implicit differentiation. Suppose defines as a function of . Differentiating both sides with respect to , and using ,

For a surface defining implicitly as , the same argument with the three-variable chain rule gives both partials at once.

The level surface defines as a function of wherever ; the implicit partials come from the chain rule applied to .

Existence of these functions is underwritten by the Implicit Function Theorem: if , , and are continuous near , then does define near that point, with the partials above.1

Differentiating in an arbitrary direction, rather than along the two axes, combines both partials into the gradient vector.

Footnotes

  1. Stewart, §14.5 — the Implicit Function Theorem stated for and , giving conditions ( continuously differentiable, relevant partial nonzero) under which the implicit function exists and is differentiable.

╌╌ END ╌╌