Skip to content

Tangent Planes and Linear Approximations

In this lesson you’ll learn how to find the tangent plane to a surface at a point and use it to approximate function values nearby. This is the multivariable version of the tangent line from Calculus 1.

In Calculus 1, the tangent line to y = f(x) at a point gives the best linear approximation to the curve near that point. In Calculus 3, we have surfaces z = f(x, y), and the tangent line becomes a tangent plane.

For a surface z = f(x, y), the tangent plane at the point (x₀, y₀, z₀) is

zz0=fx(x0,y0)(xx0)+fy(x0,y0)(yy0)z - z_0 = f_x(x_0, y_0)(x - x_0) + f_y(x_0, y_0)(y - y_0)

The partial derivatives act as slopes: one in the x-direction, one in the y-direction. Together they define a flat plane that just touches the surface at that point.

The tangent plane gives us a way to estimate f(x, y) near a known point without computing the full function

f(x,y)f(x0,y0)+fx(x0,y0)(xx0)+fy(x0,y0)(yy0)f(x, y) \approx f(x_0, y_0) + f_x(x_0, y_0)(x - x_0) + f_y(x_0, y_0)(y - y_0)

This works well when x and y are close to x₀ and y₀. The further you move from the point, the worse the approximation gets, just like tangent lines in single-variable calculus.

Example 1: Finding the tangent plane

Find the tangent plane to f(x, y) = x² + y² at the point (1, 2).

First, compute the function value and partial derivatives at (1, 2)

f(1,2)=1+4=5f(1, 2) = 1 + 4 = 5 fx=2x    fx(1,2)=2f_x = 2x \implies f_x(1, 2) = 2 fy=2y    fy(1,2)=4f_y = 2y \implies f_y(1, 2) = 4

Plug into the tangent plane formula

z5=2(x1)+4(y2)z - 5 = 2(x - 1) + 4(y - 2)

Simplify

z=2x+4y5z = 2x + 4y - 5

This plane touches the paraboloid at exactly (1, 2, 5) and has slope 2 in the x-direction and slope 4 in the y-direction.

The blue surface is the paraboloid z = x² + y². The orange plane is the tangent plane z = 2x + 4y - 5, touching the surface at the purple point (1, 2, 5). Notice how the plane matches the surface closely near the point but drifts away further out.

Example 2: Linear approximation

Use the tangent plane from Example 1 to approximate f(1.1, 2.05).

Instead of computing 1.1² + 2.05² directly, use the linear approximation

f(1.1,2.05)5+2(1.11)+4(2.052)f(1.1, 2.05) \approx 5 + 2(1.1 - 1) + 4(2.05 - 2) =5+2(0.1)+4(0.05)= 5 + 2(0.1) + 4(0.05) =5+0.2+0.2=5.4= 5 + 0.2 + 0.2 = 5.4

The actual value is 1.21 + 4.2025 = 5.4125. The approximation is off by only 0.0125, which is pretty good for such a simple calculation.

This shows a 1D slice of the idea (holding y = 2 and varying x). The blue curve is the actual function, the dashed orange line is the tangent (linear approximation), and at x = 1.5 the gap between actual (6.25) and approx (6.0) is small. The full tangent plane does the same thing but in both the x and y directions simultaneously.

Example 3: When the approximation breaks down

The linear approximation works because the tangent plane matches the surface at the point and has the same slopes. But it’s only a flat plane, so it can’t capture curvature. If you try to approximate f(3, 5) using the tangent plane at (1, 2), you get

z2(3)+4(5)5=21z \approx 2(3) + 4(5) - 5 = 21

The actual value is 9 + 25 = 34. That’s way off. The approximation only works well when the changes in x and y are small.

Tangent planes and linear approximations show up constantly:

  • Game engines use linear approximations for quick collision response on curved surfaces, estimating the local surface as a flat plane
  • Machine learning uses linear approximations at every step of gradient descent, treating the loss surface as locally flat to decide which direction to step
  • Engineering uses linearization to analyze how small changes in inputs affect outputs (sensitivity analysis)
  • Physics linearizes nonlinear equations near equilibrium points to make them solvable
The tangent plane to $z = f(x,y)$ at $(x_0, y_0)$ uses
For $f(x,y) = x^2 + y^2$, the tangent plane at $(1, 2, 5)$ is
Linear approximation works best when
The tangent plane is the multivariable version of
Using the tangent plane at $(1,2,5)$ to approximate $f(3,5)$ gives a poor result because