Skip to content

Tangent planes and linear approximation

5 min read

Short answer

The tangent plane to z=f(x,y)z=f(x,y) at (a,b)(a,b) is z=f(a,b)+fx(a,b)(x−a)+fy(a,b)(y−b).z=f(a,b)+f_x(a,b)(x-a)+f_y(a,b)(y-b). The right-hand side is the linearization L(x,y)L(x,y), the best flat approximation to ff near (a,b)(a,b). Use it to estimate ff at nearby points without recomputing.

L(x,y) = f(a,b) + fₓ(x−a) + f_y(y−b)L(x,y) = f(a,b) + fₓ(x−a) + f_y(y−b)f(a,b) height of the surface at the pointfₓ, f_y slopes in the x and y directions(x−a), (y−b) how far you step awayValid near the point, if f is differentiable
It is the two-variable version of y = f(a) + f′(a)(x − a): start at the known height and add slope times step in each direction.

Why it works

Each partial derivative gives the slope of the surface along one axis. A plane through the point with those two slopes matches the surface to first order. The error shrinks faster than the distance when ff is differentiable, and is governed by the second derivatives.

Normal vector

The plane fx(x−a)+fy(y−b)−(z−c)=0f_x(x-a)+f_y(y-b)-(z-c)=0 has normal vector (fx,fy,−1)(f_x,f_y,-1). For a level surface F(x,y,z)=kF(x,y,z)=k, the normal is simply ∇F\nabla F.

Worked example

Find the tangent plane to f(x,y)=x2yf(x,y)=x^2y at (1,2)(1,2) and use it to estimate f(1.1,1.9)f(1.1,1.9).

f(1,2)=2f(1,2)=2, fx=2xy=4f_x=2xy=4, fy=x2=1f_y=x^2=1 at the point. L(x,y)=2+4(x−1)+(y−2)=4x+y−4.L(x,y)=2+4(x-1)+(y-2)=4x+y-4. Estimate: L(1.1,1.9)=2+0.4−0.1=2.3L(1.1,1.9)=2+0.4-0.1=2.3.

Actual: 1.12⋅1.9=1.21⋅1.9=2.2991.1^2\cdot1.9=1.21\cdot1.9=2.299. The error is only 0.0010.001.

Try it yourself

Use the linearization of f(x,y)=x2+y2f(x,y)=\sqrt{x^2+y^2} at (3,4)(3,4) to estimate f(3.1,3.9)f(3.1,3.9).

Show the answer

f(3,4)=5f(3,4)=5, fx=xf=35f_x=\tfrac xf=\tfrac35, fy=45f_y=\tfrac45. L=5+0.6(0.1)+0.8(−0.1)=5+0.06−0.08=4.98L=5+0.6(0.1)+0.8(-0.1)=5+0.06-0.08=4.98. The true value is about 4.9824.982.

Keep going with practice

Tangent planes and linear approximation are part of Vidi's Multivariable & Vector Calculus course.