Curious Minds

Clear answers to science and history questions

How to Find the Tangent Plane to a Surface

· 6 min read · Science

Start by writing the surface as a function of three variables, then take the gradient of that function at the point you care about. That gradient vector is the normal to the tangent plane. The whole job takes a few minutes once you have the surface equation and the point, and you only need basic partial derivatives.

Before You Start: What You Need to Know

You need the equation of the surface. It can be given in one of two common forms, and the method differs slightly for each.

  • If the surface is written as z = f(x, y), you will use partial derivatives of f with respect to x and y.
  • If the surface is written implicitly as F(x, y, z) = 0, you will use the gradient of F.

You also need a specific point on the surface, with coordinates (x₀, y₀, z₀). The tangent plane touches the surface exactly at that point, so the point must satisfy the surface equation.

How to Find the Tangent Plane to a Surface z = f(x, y)

When the surface is given as z = f(x, y), the tangent plane at (x₀, y₀, z₀) has a simple formula. You compute two partial derivatives at the point, then plug them into the plane equation.

  1. Write down the function f(x, y).
  2. Compute the partial derivative with respect to x: f_x(x, y). Then evaluate it at (x₀, y₀). Call that value A.
  3. Compute the partial derivative with respect to y: f_y(x, y). Evaluate it at (x₀, y₀). Call that value B.
  4. Write the tangent plane equation: z - z₀ = A(x - x₀) + B(y - y₀).
  5. If you want the plane in standard form, expand and rearrange: A x + B y - z = A x₀ + B y₀ - z₀.

That is the whole method. The values of A and B are the slopes of the surface in the x and y directions at that point, and together they define the plane that best approximates the surface nearby.

How to Find the Tangent Plane to an Implicit Surface F(x, y, z) = 0

Many surfaces are given in implicit form, such as x² + y² + z² = r² for a sphere, or x² + y² - z = 0 for a paraboloid. In that case, you use the gradient vector.

  1. Move everything to one side so the equation is F(x, y, z) = 0. For example, x² + y² + z² = r² becomes F = x² + y² + z² - r² = 0.
  2. Compute the gradient of F: ∇F = (F_x, F_y, F_z). That means take the partial derivative with respect to each variable.
  3. Evaluate the gradient at the point (x₀, y₀, z₀). This gives you a vector (a, b, c) that is normal to the surface at that point.
  4. Write the tangent plane equation using the normal vector: a(x - x₀) + b(y - y₀) + c(z - z₀) = 0.
  5. Simplify if you like, but that equation is already the tangent plane.

This works for any smooth surface, including spheres, ellipsoids, and more complicated shapes. The gradient is always perpendicular to the level surface F = 0, so it is exactly what you need for the plane's normal.

Checking Your Result: Does the Plane Actually Touch the Surface?

After you find the tangent plane, verify that it is correct. A quick check catches sign errors and arithmetic mistakes.

  • Plug the point (x₀, y₀, z₀) into your plane equation. It must satisfy the equation exactly. If it does not, you made an error in the normal vector or in the point.
  • Check that the point actually lies on the surface. If it does not, the whole problem is invalid.
  • If you have a graphing tool, plot the surface and the plane together near the point. They should touch at the point and be close to each other in a small neighborhood.
  • For a function z = f(x, y), you can also check that the plane's slope in the x direction equals f_x at the point, and similarly for y. That is a good sanity check.

If the plane does not touch the surface at the point, redo the partial derivatives. A common mistake is to forget the chain rule when the surface is implicit.

What If the Surface Is Not Smooth at the Point?

A tangent plane only exists if the surface is smooth at that point. That means the partial derivatives exist and are continuous in a neighborhood. If the surface has a sharp corner, a cusp, or a self-intersection, there may be no tangent plane.

For example, a cone has a sharp point at its apex, and no tangent plane exists there. For a function z = f(x, y), if either partial derivative does not exist at the point, the tangent plane is undefined. You can still talk about tangent lines in each direction, but not a single plane.

If you are not sure whether the surface is smooth, check the partial derivatives. If they are finite and continuous around the point, you are fine. If they blow up or are undefined, the tangent plane does not exist.

Worked Example: Tangent Plane to a Sphere

Let's find the tangent plane to the sphere x² + y² + z² = r² at the point (x₀, y₀, z₀) on the sphere.

  1. Write F(x, y, z) = x² + y² + z² - r² = 0.
  2. Compute the gradient: F_x = 2x, F_y = 2y, F_z = 2z.
  3. Evaluate at the point: (2x₀, 2y₀, 2z₀).
  4. The tangent plane equation is 2x₀(x - x₀) + 2y₀(y - y₀) + 2z₀(z - z₀) = 0.
  5. Divide by 2 to simplify: x₀(x - x₀) + y₀(y - y₀) + z₀(z - z₀) = 0.

That is the tangent plane. Notice that the normal vector is just the radius vector from the center to the point, which makes sense for a sphere.

What to Do Next: Use the Tangent Plane for Approximations

The tangent plane is not just a geometric object; it is also a linear approximation of the surface near the point. For a function z = f(x, y), the tangent plane gives you an estimate of the z-value for points close to (x₀, y₀).

If you change x by a small amount dx and y by a small amount dy, the change in z is approximately f_x dx + f_y dy. That is the same as the tangent plane formula. This is useful in optimization, physics, and engineering when you want a simple linear model of a curved surface.

To use it, pick a nearby point (x₀ + dx, y₀ + dy), plug into the tangent plane equation, and get an approximate z. The closer you stay to the original point, the better the approximation.

If you need a more accurate value, you would move to higher-order approximations, but the tangent plane is often enough for small neighborhoods.

In this article
  1. Before You Start: What You Need to Know
  2. How to Find the Tangent Plane to a Surface z = f(x, y)
  3. How to Find the Tangent Plane to an Implicit Surface F(x, y, z) = 0
  4. Checking Your Result: Does the Plane Actually Touch the Surface?
  5. What If the Surface Is Not Smooth at the Point?
  6. Worked Example: Tangent Plane to a Sphere
  7. What to Do Next: Use the Tangent Plane for Approximations