Calculus 3Partial Derivatives

Functions of Three Variables and Level Surfaces

f(x, y, z) = k describes a surface.

Not started Jump to practice

A function of three variables, $w = f(x, y, z)$, gives a number at every point of space: the temperature in a room, the density inside a planet, the pressure in the air. Its graph would need four dimensions, so we use the idea that worked for contour maps one dimension up.

Key idea

A level surface of $f$ is the set $f(x, y, z) = k$. Through each point of the domain passes exactly one level surface: the one with $k$ equal to the value of $f$ there. Together, the level surfaces fill space in layers, like the skins of an onion.

Why it works

A point has only one value of $f$, so it cannot lie on two level surfaces with different $k$. That is why level surfaces never cross each other, just as contour lines on a map never cross. Picturing the layers tells you how $f$ changes: moving within one layer keeps $f$ constant, and moving across layers changes it.
Recognizing the layers is the same skill as naming quadric surfaces.
$f(x, y, z)$Level surfaces $f = k$
$x^2 + y^2 + z^2$spheres of radius $\sqrt{k}$ around the origin ($k > 0$)
$ax + by + cz$parallel planes with normal $\langle a, b, c \rangle$
$z - x^2 - y^2$copies of one paraboloid, lifted by $k$
$x^2 + y^2 - z^2$one-sheet hyperboloids ($k > 0$), a cone ($k = 0$), two-sheet hyperboloids ($k < 0$)
The level surface $x^2 + y^2 - z^2 = 1$ of $f = x^2 + y^2 - z^2$. Larger $k$ gives a fatter hyperboloid around this one; $k = 0$ pinches it into a cone.

Level surfaces have physical names: in a temperature field they are isothermal surfaces, and for an electric potential they are equipotential surfaces. How closely the layers are packed shows how fast $f$ changes: tightly packed layers mean a steep change. Every graph is also a level surface: $z = g(x, y)$ is the level surface $F = 0$ of $F(x, y, z) = z - g(x, y)$. This point of view pays off with gradients and normal vectors, where the gradient of $f$ turns out to be perpendicular to the level surface through each point.

Worked examples

Worked example: A sphere

For $f(x, y, z) = x^2 + y^2 + z^2$, describe the level surface through $(1, 2, 2)$.
  1. $f(1, 2, 2) = 1 + 4 + 4 = 9$.
  2. The level surface is $x^2 + y^2 + z^2 = 9$: the sphere of radius 3 around the origin.

Answer: the sphere $x^2 + y^2 + z^2 = 9$

Worked example: Three kinds of levels

Describe the level surfaces of $f(x, y, z) = x^2 + y^2 - z^2$ for $k = 1$, ${}0$ and $-1$.
  1. $k = 1$: $x^2 + y^2 - z^2 = 1$, a hyperboloid of one sheet around the $z$-axis.
  2. $k = 0$: $z^2 = x^2 + y^2$, a double cone.
  3. $k = -1$: $z^2 - x^2 - y^2 = 1$, a hyperboloid of two sheets.

Answer: one sheet, cone, two sheets

Worked example: A plane

Find the level surface of $f(x, y, z) = 2x - y + 3z$ through $(1, 1, 1)$.
  1. $k = f(1, 1, 1) = 2 - 1 + 3 = 4$.
  2. The level surface is the plane ${}2x - y + 3z = 4$.

Answer: ${}2x - y + 3z = 4$

Common mistake

Treating a level surface as the graph of $f$. The surface $x^2 + y^2 + z^2 = 9$ is not "the graph of $f = x^2 + y^2 + z^2$"; it is the set where that function equals ${}9$. The function's values are not drawn as heights at all; they label the layers. Check: every point on one level surface gives the same value of $f$.

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 2 XP.

Loading practice…

Builds on

Leads to

Sources and further reading

  • OpenStax Calculus Volume 3, 4.1 Functions of Several Variables
@teddyrookbook GitHub