Near a point where f is differentiable, the surface z = f(x, y) looks flat, and the plane it resembles is the tangent plane: z = f(a, b) + f_x(a, b)(x − a) + f_y(a, b)(y − b). The two partial derivatives are its slopes in the x and y directions. The same formula, read as a function, is the linearization L(x, y), which approximates f near (a, b). Written with small changes, it becomes the differential dz = f_x dx + f_y dy, used to estimate how errors in measured inputs affect a computed output.
What you'll learn
Write the tangent plane to a surface z = f(x, y)
Linearize a function at a point and use it to approximate
Estimate changes and errors with differentials
Explain the tangent plane as the plane with matching slopes
Zoom in on a smooth surface and it looks flat, the way a smooth curve looks
straight under a microscope. In one variable, the straight line it resembles is
the tangent line, and the
linear approximationf(a)+f′(a)(x−a) uses it to estimate values. In two variables the flat
object is a plane. The tangent plane to z=f(x,y) at the point
(a,b,f(a,b)) is
Every non-vertical plane through (a,b,f(a,b)) has the form
z=f(a,b)+m(x−a)+n(y−b), where m is its slope in the x direction
and n its slope in the y direction. The surface has slopes of its own at the
point: the partial derivativesfx(a,b) and fy(a,b) are the slopes of its two slices. The tangent plane
is the one whose slices match both: m=fx(a,b) and n=fy(a,b). Two
slopes pin down a plane, so matching the two partial derivatives picks out the
tangent plane. Each slice of the plane is then the tangent line of the
matching slice of the surface.
surface slice: z = 2x² + 1
tangent plane slice: z = 4x − 1
In the slice y = 1, the tangent plane touches the surface
fx=2x=2 and fy=2y=4 at the point, so z=5+2(x−1)+4(y−2).
Linearize f(x,y)=xy at (2,3), and use it to estimate f(2.1,2.9).
Answer
L=6+3(x−2)+2(y−3); about 6.1
Full solution
fx=y=3 and fy=x=2. L(2.1,2.9)=6+0.3−0.2=6.1, and the exact value is 6.09.
Linearize f(x,y)=ex−y at (1,1).
Answer
L=1+(x−1)−(y−1)
Full solution
f(1,1)=1, fx=ex−y=1 and fy=−ex−y=−1 at the point.
Find the total differential of z=x3y2.
Answer
dz=3x2y2dx+2x3ydy
Full solution
The two partial derivatives multiply their own changes, and the contributions add.
A rectangle measures 10 cm by 20 cm, each with a possible error of 1%. Estimate the largest error in its area.
Answer
4 square centimeters
Full solution
A=xy with dx=0.1 and dy=0.2. Then ∣dA∣≤y∣dx∣+x∣dy∣=20(0.1)+10(0.2)=4, which is 2% of the area 200.
For f(x,y)=x2+y2, why is L(3.1,3.9)=4.98 so close to the true value?
Answer
The point is close to (3,4), where the surface and its tangent plane touch.
Full solution
The inputs moved by only 0.1 each. The error in a linearization shrinks like the square of the distance moved, so small steps give very small errors.
Find the tangent plane to z=4−x2−2y2 at (1,1,1).
Answer
z=7−2x−4y
Full solution
fx=−2x=−2 and fy=−4y=−4, so z=1−2(x−1)−4(y−1).
The tangent plane to a surface at (0,0,5) is z=5+3x−2y. Find fx(0,0) and fy(0,0).
Answer
3 and −2
Full solution
The coefficients of x−a and y−b in the tangent plane are the partial derivatives.
For V=πr2h at r=3, h=10, which measurement error matters more: 0.1 cm in r or 0.1 cm in h?
Answer
The error in r, by more than six times
Full solution
Vrdr=60π(0.1)=6π and Vhdh=9π(0.1)=0.9π.
A student writes the tangent plane to z=2x2+y2 at (1,1,3) as z=3+4x(x−1)+2y(y−1). What went wrong?
Hint
Is the student’s answer a plane?
Answer
The partial derivatives must be evaluated at (1,1). The plane is z=3+4(x−1)+2(y−1).
Full solution
With 4x and 2y left unevaluated, the right side contains x2 and y2, so it describes a curved surface. The slopes of a plane are constants, here fx(1,1)=4 and fy(1,1)=2.
Frequently asked questions
What is the equation of a tangent plane?
z = f(a, b) + f_x(a, b)(x − a) + f_y(a, b)(y − b), the plane through (a, b, f(a, b)) with the same slopes as the surface in the x and y directions.
What is a linearization?
The function L(x, y) given by the tangent plane formula. Near (a, b), L(x, y) is close to f(x, y) and much easier to compute.
What is the total differential?
dz = f_x dx + f_y dy. It estimates the change in z caused by small changes dx and dy in the inputs.
How are differentials used to estimate error?
If the inputs are measured with small errors dx and dy, then |f_x dx| + |f_y dy| bounds the resulting error in f, to first order.
Does every surface have a tangent plane?
No. A cone has none at its tip. A surface has a tangent plane where f is differentiable, which is guaranteed when the partial derivatives are continuous nearby.