01 / 21

Tangent Planes &
Linear Approximation

Learn how to find the best flat approximation to a surface at a point, and use it to estimate function values in multivariable calculus.

Calculus 3

From Tangent Lines to Tangent Planes

In single-variable calculus, you learned that the tangent line at a point gives the best linear approximation to a curve. Now we extend this idea: for a surface \( z = f(x,y) \), the best flat approximation at a point is a tangent plane.

Calculus 1
Tangent line to \( y = f(x) \) at a point: uses \( f'(a) \)
Calculus 3
Tangent plane to \( z = f(x,y) \) at a point: uses \( f_x \) and \( f_y \)

The Building Blocks: Partial Derivatives

A tangent plane needs two slopes: one in each coordinate direction. These are the partial derivatives.

\( f_x(a,b) \)
Slope of the surface in the \(x\)-direction, holding \( y = b \) fixed
\( f_y(a,b) \)
Slope of the surface in the \(y\)-direction, holding \( x = a \) fixed

Visualizing a Tangent Plane

\((a, b, f(a,b))\)
Tangent plane Surface
slope = \(f_x\)
slope = \(f_y\)

The Tangent Plane Equation

For a surface \( z = f(x,y) \) differentiable at \( (a,b) \):

\( f(a,b) \)
The height of the surface at the point
\( f_x(a,b) \)
Tilt of the plane in the \(x\)-direction
\( f_y(a,b) \)
Tilt of the plane in the \(y\)-direction

Linear Approximation Formula

The tangent plane equation doubles as an approximation tool. For points \( (x,y) \) near \( (a,b) \), we write:

\( L(x,y) \) is called the linearization of \( f \) at \( (a,b) \). It replaces a potentially complicated function with a simple first-degree polynomial in two variables.

Total Differential

A closely related idea: if we let \( \Delta x = x - a \) and \( \Delta y = y - b \), the change in the linear approximation is:

This is the total differential. It estimates how much \( z \) changes when \( x \) and \( y \) each shift by small amounts \( dx \) and \( dy \).

Tangent Plane vs. Linear Approximation vs. Differential

Tangent Plane Linearization Differential
What it gives Equation of a plane Approximate value of \(f\) Approximate change in \(f\)
Formula \( z = f(a,b) + f_x(a,b)(x-a) + f_y(a,b)(y-b) \) \( L(x,y) \) (same equation) \( dz = f_x\,dx + f_y\,dy \)
Typical question "Find the tangent plane" "Approximate \(f(1.02, 2.97)\)" "Estimate the change in \(z\)"

Step-by-Step Procedure

1
Identify the point \( (a, b) \) and the function \( f(x,y) \).
2
Evaluate \( f(a,b) \): compute the height of the surface at that point.
3
Find \( f_x \) and \( f_y \): take both partial derivatives.
4
Evaluate partials at \( (a,b) \): plug in the point to get numeric slopes.
5
Assemble the formula: \( z = f(a,b) + f_x(a,b)(x-a) + f_y(a,b)(y-b) \).

Example 1: Tangent Plane

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

1
\( f(1,2) = 1^2 + 2^2 = \)\(5\)
2
\( f_x = 2x \), so \( f_x(1,2) = \)\(2\)
3
\( f_y = 2y \), so \( f_y(1,2) = \)\(4\)
4
Tangent plane: \( z = 5 + 2(x-1) + 4(y-2) \)

Example 1: Visual

\((1, 2, 5)\)
\(z = x^2 + y^2\)
tangent
cross-section at \(y = 2\)

Example 2: Linear Approximation

Use linearization to approximate \( f(1.02,\, 1.97) \) where \( f(x,y) = x^2 + y^2 \).

1
Base point: \( (a,b) = (1, 2) \), so \( f(1,2) = 5 \)
2
Partials: \( f_x(1,2) = 2 \), \( f_y(1,2) = 4 \)
3
Plug in: \( L(1.02, 1.97) = 5 + 2(0.02) + 4(-0.03) \)
4
Compute: \( = 5 + 0.04 - 0.12 = \)\(4.92\)

Example 3: Harder Function

Find the tangent plane to \( f(x,y) = e^{x}\,\sin(y) \) at \( (0, \tfrac{\pi}{2}) \).

1
\( f\!\left(0, \tfrac{\pi}{2}\right) = e^0 \sin\!\left(\tfrac{\pi}{2}\right) = 1 \cdot 1 = \)\(1\)
2
\( f_x = e^x\,\sin(y) \), so \( f_x\!\left(0, \tfrac{\pi}{2}\right) = \)\(1\)
3
\( f_y = e^x\,\cos(y) \), so \( f_y\!\left(0, \tfrac{\pi}{2}\right) = e^0 \cos\!\left(\tfrac{\pi}{2}\right) = \)\(0\)

The tangent plane simplifies dramatically because \( f_y = 0 \) at this point: the surface is flat in the \( y \)-direction there.

Example 4: Using the Differential

The radius \(r\) of a cylinder is measured as 5 cm and height \(h\) as 12 cm. Each measurement could be off by 0.1 cm. Estimate the maximum error in the volume \(V = \pi r^2 h\).

1
\( V_r = 2\pi r h \), so \( V_r(5,12) = 120\pi \)
2
\( V_h = \pi r^2 \), so \( V_h(5,12) = 25\pi \)
3
\( dV = 120\pi(0.1) + 25\pi(0.1) = 12\pi + 2.5\pi = 14.5\pi \approx \mathbf{45.6 \text{ cm}^3} \)

Common Mistakes

Forgetting to evaluate partials
You must plug \( (a,b) \) into \( f_x \) and \( f_y \). Leaving them as expressions in \(x\) and \(y\) gives a wrong (non-linear) answer.
Wrong signs on \( (x-a) \)
If \( a = 3 \), the term is \( (x - 3) \), not \( (x + 3) \). Watch the subtraction carefully.
Omitting \( f(a,b) \)
The formula starts with the height \( f(a,b) \). Dropping it gives a plane through the origin instead of through the surface point.

Quick Reference Summary

Concept Formula Output
Tangent Plane \( z = f(a,b) + f_x(a,b)(x-a) + f_y(a,b)(y-b) \) Equation of a plane
Linearization \( L(x,y) = f(a,b) + f_x(a,b)(x-a) + f_y(a,b)(y-b) \) Approximate value
Differential \( dz = f_x\,dx + f_y\,dy \) Approximate change
Differentiable at \((a,b)\) Partials exist and are continuous Tangent plane exists

Question 1 of 5

Find the tangent plane to \( f(x,y) = x^2 y \) at the point \( (2, 3) \).

Question 2 of 5

Use the linearization of \( f(x,y) = \sqrt{x + 3y} \) at \( (1, 0) \) to approximate \( f(1.1, 0.2) \).

Question 3 of 5

If \( z = xy^2 \), what is the total differential \( dz \)?

Question 4 of 5

The tangent plane to \( f(x,y) = \ln(x+y) \) at \( (1,1) \) is:

Question 5 of 5

A function \( f(x,y) \) has \( f(3,1) = 7 \), \( f_x(3,1) = -2 \), and \( f_y(3,1) = 5 \). Estimate \( f(3.1, 0.9) \).