Lesson 3.4 · Partial Derivatives
Tangent planes and linear approximation
In single-variable calculus, zooming in on a smooth curve makes it look like its tangent line, and that line gives quick, accurate estimates near the point of tangency. Zooming in on a smooth surface makes it look like a plane. This lesson finds that tangent plane and uses it the same way: to approximate function values and to estimate how errors in the inputs affect the output.
Building the tangent plane
Let be a point on the surface . Any non-vertical plane through has an equation of the form
Which and make this the tangent plane? Slice with the vertical plane . On the plane, the slice is the line , with slope . On the surface, the slice is the trace , whose slope at is . For the plane to be tangent, these slopes must match, so . Slicing with gives in the same way.
Tangent plane
If has continuous partial derivatives near , the tangent plane to at is
Compare this with the tangent line . There is one correction term for each variable, and each uses the partial derivative in that variable.
Worked example: Tangent plane to a paraboloid
Find the tangent plane to at the point .
The partials are and , so and . The tangent plane is
Check: at the plane gives , which matches the surface.
Linear approximation
The function whose graph is the tangent plane is called the linearization of at :
For near , the approximation is the linear approximation or tangent plane approximation. It is most useful when and its partials are easy to compute exactly but is not.
Worked example: Estimating a square root
Use a linear approximation to estimate .
Let and choose the nearby point , where . The partials are
so and . With and :
A calculator gives , so the estimate is off by only about .
Differentiability
In one variable, having a derivative is enough for the tangent line to be a good approximation. In two variables, the mere existence of and is not enough. Partial derivatives only look along two lines, and a function can behave badly in every other direction. The function (with ) from the previous lesson has , since is zero on both axes, but it is not even continuous at the origin.
The right condition is differentiability: is differentiable at if the error shrinks faster than the distance from to . You rarely need to check this from scratch because of the following theorem.
A test for differentiability
If and exist near and are continuous at , then is differentiable at , and the tangent plane approximation is valid there.
Polynomials, exponentials, sines, cosines, and their sums, products and compositions have continuous partials wherever they are defined, so they are differentiable there.
Differentials
Write and for small changes in the inputs. The total differential of is
It is the change in height along the tangent plane, and it approximates the true change . Differentials are especially handy for estimating how measurement errors propagate.
Worked example: Error in the volume of a cylinder
A cylinder is measured to have radius cm and height cm. The radius is actually cm larger than measured and the height is cm smaller. Estimate the change in volume.
, so and . With and :
When you only know the maximum size of each error, say and , the worst case happens when both terms in have the same sign. Use absolute values: .
Common mistake
Evaluate the partial derivatives at the known point , not at the point you are estimating. In the square-root example, is evaluated at , where everything is exact. Plugging into the partials defeats the purpose and does not give the linear approximation.
Tip
Choose the base point as the nearest point where and its partials are easy to compute by hand: perfect squares under roots, inside exponentials, inside logarithms.
Practice
Find the tangent plane to at . Enter it in the form .
Enter an expression, e.g. 3x^2 - 2x + 1
Find the linearization of at .
Enter an expression, e.g. 3x^2 - 2x + 1
Use the linearization of at to estimate .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Use a linear approximation of at to estimate .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Let . Use the differential to estimate the change in when moves from to .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the tangent plane to at the point . Enter it in the form .
Enter an expression, e.g. 3x^2 - 2x + 1
The sides of a rectangle are measured as cm and cm, each with a possible error of at most cm. Use differentials to estimate the maximum possible error in the computed area, in square centimeters.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Suppose and both exist. Which statement is always true?