Multivariable CalculusPartial Derivatives1 of 5
Partial Derivatives · 1

Functions of Several Variables

When a function depends on two inputs, xx and yy, we need a way to graph its output z=f(x,y)\func{z = f(x, y)} and see the shape it makes in space.

From Two Inputs to a 3D Surface
z=f(x,y)\htmlClass{lc-blue}{z = f(x, y)}
xx
yy
zz
(1.5,1)(1.5, 1)
≈3.05\htmlClass{lc-blue}{\approx 3.05}

For a single-variable function y=f(x)\func{y = f(x)}, each input xx on a line gets lifted to a height y\func{y} to form a 2D curve. For a two-variable function, each input point (x,y)(x, y) on the flat xyxy-plane gets lifted straight up or down to its output height z\func{z}:

(x,y)⏟point on xy-plane⟶z=f(x,y)⏟height above or below (x,y)\displaystyle \underbrace{(x, y)}_{\text{point on } xy\text{-plane}} \longrightarrow \underbrace{\func{z = f(x, y)}}_{\text{height above or below } (x, y)}
y=x2\htmlClass{lc-blue}{y = x^2}
xx
yy
1.51.5
2.25\htmlClass{lc-blue}{2.25}
z=f(x,y)\htmlClass{lc-blue}{z = f(x, y)}
1

Domain and Range on the xyxy-Plane

Before drawing a surface in 3D, we want to find its domain (the region of input points (x,y)(x, y) on the xyxy-plane where the function gives a real height z\func{z}) and its range (the set of heights z\func{z} the surface reaches). Just as in single-variable calculus, three things can rule out inputs: square roots, logarithms, and denominators.

Domain and Range on the xy-Plane
z=9−x2−y2\htmlClass{lc-blue}{z = \sqrt{9 - x^2 - y^2}}
xx
yy
22
22
44
44

Square roots and range

Let's start with the upper hemisphere:

z=9−x2−y2\displaystyle \func{z = \sqrt{9 - x^2 - y^2}}
Text solution
Keep the inside of the square root zero or positiveSet the inside of the square root greater than or equal to zero, then move x2x^2 and y2y^2 to the other side to see the shape on the xyxy-plane:
9−x2−y2≥0x2+y2≤9\displaystyle \begin{aligned} \func{9 - x^2 - y^2} &\func{\ge 0} \\ \func{x^2 + y^2} &\func{\le 9} \end{aligned}
Sketch the domain on the xyxy-planePoints on the circle x2+y2=9\func{x^2 + y^2 = 9} make the inside of the square root equal 00, which is allowed. So draw the circle of radius 33 centered at (0,0)(0, 0) as a solid curve and shade the disk inside it:
Domain: x2+y2≤9⏟solid boundary circle, shaded interior\displaystyle \text{Domain: } \\ \underbrace{\func{x^2 + y^2 \le 9}}_{\text{solid boundary circle, shaded interior}}
Find the highest and lowest outputs for the rangeSince x2x^2 and y2y^2 are never negative, subtracting nothing at the center (0,0)(0, 0) gives the highest z\func{z}, and moving out to the boundary circle x2+y2=9\func{x^2 + y^2 = 9} drops z\func{z} to its lowest value:
At (0,0):z=9−0−0=3On x2+y2=9:z=9−9=0\displaystyle \begin{aligned} &\text{At } (0, 0): \\ &\qquad \func{z} = \sqrt{9 - 0 - 0} = \func{3} \\[6pt] &\text{On } \func{x^2 + y^2 = 9}: \\ &\qquad \func{z} = \sqrt{9 - 9} = \func{0} \end{aligned}

So the heights of the surface run from 0\func{0} to 3\func{3}, giving the range [0,3]\func{[0, 3]}.

For z=9−x2−y2\func{z = \sqrt{9 - x^2 - y^2}}, the upper hemisphere only exists directly over the shaded disk x2+y2≤9\func{x^2 + y^2 \le 9}. It reaches its highest point z=3\func{z = 3} at the origin where nothing is subtracted, and drops to z=0\func{z = 0} along the solid boundary circle.

The hemisphere only exists above the shaded disk, peaking at the center and dropping to zero along the edge.

Logarithms

Now let's find the domain when the inputs are inside a natural logarithm:

z=ln⁡(y−x2)\displaystyle \func{z = \ln(y - x^2)}
Text solution
Keep the inside of the logarithm strictly positiveA logarithm cannot take a negative number or zero, so set the inside greater than zero and solve for yy:
y−x2>0y>x2\displaystyle \begin{aligned} \func{y - x^2} &\func{> 0} \\ \func{y} &\func{> x^2} \end{aligned}
Sketch the dashed boundary and shadeOn the parabola y=x2\noheight{y = x^2}, the inside of the log equals zero and the function is undefined. Draw y=x2\noheight{y = x^2} as a dashed curve and shade the region above it where yy is greater than x2x^2:
Domain: y>x2⏟dashed parabola y=x2, shaded above\displaystyle \text{Domain: } \\ \underbrace{\func{y > x^2}}_{\text{dashed parabola } \noheight{y = x^2}\text{, shaded above}}

Denominators

Finally, let's look at a fraction where the bottom could equal zero:

z=1x−y\displaystyle \func{z = \frac{1}{x - y}}
Text solution
Rule out points that make the denominator zeroPositive and negative numbers are both fine in a fraction as long as we never divide by zero:
x−y≠0y≠x\displaystyle \begin{aligned} \func{x - y} &\func{\ne 0} \\ \func{y} &\func{\ne x} \end{aligned}
Shade the plane except the dashed lineEvery point on the xyxy-plane is in the domain except the line y=x\noheight{y = x}, which we draw as a dashed diagonal line through the origin:
Domain: y≠x⏟entire xy-plane except dashed line y=x\displaystyle \text{Domain: } \\ \underbrace{\func{y \ne x}}_{\text{entire } xy\text{-plane except dashed line } \noheight{y = x}}
x2+y2≤9\htmlClass{lc-blue}{x^2 + y^2 \le 9}
xx
yy
33
y>x2\htmlClass{lc-blue}{y > x^2}
xx
yy
y=x2\htmlClass{lc-orange}{y = x^2}
y≠x\htmlClass{lc-blue}{y \ne x}
xx
yy
y=x\htmlClass{lc-orange}{y = x}
2

Level Curves, Contour Maps, and Steepness

When a 3D surface has several peaks, valleys, and passes, drawing it in 3D on flat paper turns into a mess that's hard to read. To show the exact 3D shape clearly in 2D, we slice the surface horizontally at evenly spaced heights z=c\func{z = c} and drop those slices straight down onto the xyxy-plane. Each dropped curve is a level curve (a path at a constant height), and the whole set of level curves on the xyxy-plane is a contour map.

Level Curves, Contour Maps, and Steepness
z=x2+y2\htmlClass{lc-blue}{z = x^2 + y^2}
xx
yy
zz
z=1\htmlClass{lc-blue}{z = 1}
z=4\htmlClass{lc-blue}{z = 4}
z=9\htmlClass{lc-blue}{z = 9}

Let's compare the contour map of the paraboloid z=x2+y2\func{z = x^2 + y^2} with the contour map of the upper cone z=x2+y2\func{z = \sqrt{x^2 + y^2}} by slicing both at the evenly spaced heights z=1,2,3,4\func{z = 1, 2, 3, 4}.

Text solution
Set z\func{z} to evenly spaced heights on the paraboloid z=x2+y2\func{z = x^2 + y^2}Setting z=1,2,3,4\func{z = 1, 2, 3, 4} gives circles centered at the origin whose radii are the square roots of the heights:
z=1:x2+y2=1  ⟹  r=1z=2:x2+y2=2  ⟹  r=2≈1.41z=3:x2+y2=3  ⟹  r=3≈1.73z=4:x2+y2=4  ⟹  r=2\displaystyle \begin{aligned} \func{z = 1}: & \quad \func{x^2 + y^2} \func{= 1} \\ & \quad \implies r = 1 \\[6pt] \func{z = 2}: & \quad \func{x^2 + y^2} \func{= 2} \\ & \quad \implies r = \sqrt{2} \approx 1.41 \\[6pt] \func{z = 3}: & \quad \func{x^2 + y^2} \func{= 3} \\ & \quad \implies r = \sqrt{3} \approx 1.73 \\[6pt] \func{z = 4}: & \quad \func{x^2 + y^2} \func{= 4} \\ & \quad \implies r = 2 \end{aligned}
Check the gaps between radii on the paraboloidSubtracting each radius from the next starting at z=0\func{z = 0} shows the horizontal steps getting smaller as the paraboloid curves steeper upward:
Gaps between radii: 1,0.41,0.32,0.27\displaystyle \text{Gaps between radii: } \\ \steep{1}, \quad \steep{0.41}, \quad \steep{0.32}, \quad \steep{0.27}
Set z\func{z} to the same heights on the cone z=x2+y2\func{z = \sqrt{x^2 + y^2}}Setting x2+y2=z\func{\sqrt{x^2 + y^2} = z} and squaring both sides gives circles whose radii are equal to the heights:
x2+y2=zx2+y2=z2  ⟹  r=1, 2, 3, 4(for z=1, 2, 3, 4)\displaystyle \begin{aligned} \func{\sqrt{x^2 + y^2}} &\func{= z} \\ \func{x^2 + y^2} &\func{= z^2} \\ &\implies r = 1, \, 2, \, 3, \, 4 \\ &\quad (\text{for } \func{z = 1, \, 2, \, 3, \, 4}) \end{aligned}
Compare the spacingEvery step of 1\steep{1} unit outward on the cone climbs 1\func{1} unit in height, so its level curves stay an equal 1\steep{1} unit apart along its straight sides. On the paraboloid, the level curves get closer together as its walls curve steeper upward.
z=x2+y2\htmlClass{lc-blue}{z = x^2 + y^2}
xx
yy
1\htmlClass{lc-blue}{1}
2\htmlClass{lc-blue}{2}
3\htmlClass{lc-blue}{3}
4\htmlClass{lc-blue}{4}
gaps: 1, 0.41, 0.32, 0.27\text{gaps: } \htmlClass{lc-pink}{1,\ 0.41,\ 0.32,\ 0.27}
z=x2+y2\htmlClass{lc-blue}{z = \sqrt{x^2 + y^2}}
xx
yy
1\htmlClass{lc-blue}{1}
2\htmlClass{lc-blue}{2}
3\htmlClass{lc-blue}{3}
4\htmlClass{lc-blue}{4}
gaps: 1, 1, 1, 1\text{gaps: } \htmlClass{lc-pink}{1,\ 1,\ 1,\ 1}

Taking equal steps up in height z\func{z} makes the paraboloid's circles on the xyxy-plane get closer together as its walls curve steeper upward, while the cone's circles stay 1\steep{1} unit apart because its straight sides have the same steepness everywhere.

Taking equal steps up crowds the rings together where a wall curves steeper, and spaces them evenly where the wall goes up straight.
3

Contour Map of a Saddle

On the paraboloid and the cone, the surface only goes up as you move away from the origin. Now let's build the 2D contour map of a saddle (a hyperbolic paraboloid), which curves upward in one direction and downward in the perpendicular direction:

z=y2−x2\displaystyle \func{z = y^2 - x^2}
Contour Map of a Saddle
z=y2−x2\htmlClass{lc-blue}{z = y^2 - x^2}
xx
yy
zz
z=y2\htmlClass{lc-pink}{z = y^2}
z=−x2\htmlClass{lc-pink}{z = -x^2}
Text solution
Slice at height z=0\func{z = 0}Set z=0\func{z = 0} and take the square root of both sides (keeping both the positive and negative roots) to find where the upward curve in yy and downward curve in xx cancel out:
0=y2−x2y2=x2y=xandy=−x\displaystyle \begin{aligned} 0 &= y^2 - x^2 \\ y^2 &= x^2 \\ y &= x \quad \text{and} \quad y = -x \end{aligned}
These two diagonal lines cross at the origin, and the surface stays at height 0\func{0} all along both lines.
Slice at positive heights z=1,2,3\func{z = 1, 2, 3}Along the yy-axis (x=0)(x = 0), the height is z=y2>0\steep{z = y^2} > 0, so moving up or down the yy-axis from the origin climbs uphill, and the positive level curves are hyperbolas opening along the yy-axis:
y2−x2=1, 2, 3(hyperbolas opening up and down along the y-axis)\displaystyle \func{y^2 - x^2 = 1, \, 2, \, 3} \\ (\text{hyperbolas opening up and down } \allowbreak \text{along the } y\text{-axis})
Slice at negative heights z=−1,−2,−3\func{z = -1, -2, -3}Along the xx-axis (y=0)(y = 0), the height is z=−x2<0\steep{z = -x^2} < 0, so moving left or right along the xx-axis from the origin drops downhill, and the negative level curves are hyperbolas opening along the xx-axis:
y2−x2=−1, −2, −3(hyperbolas opening left and right along the x-axis)\displaystyle \func{y^2 - x^2 = -1, \, -2, \, -3} \\ (\text{hyperbolas opening left and right } \allowbreak \text{along the } x\text{-axis})
z=y2−x2\htmlClass{lc-blue}{z = y^2 - x^2}
xx
yy
00
00
1\htmlClass{lc-blue}{1}
1\htmlClass{lc-blue}{1}
2\htmlClass{lc-blue}{2}
2\htmlClass{lc-blue}{2}
3\htmlClass{lc-blue}{3}
3\htmlClass{lc-blue}{3}
−1\htmlClass{lc-blue}{-1}
−1\htmlClass{lc-blue}{-1}
−2\htmlClass{lc-blue}{-2}
−2\htmlClass{lc-blue}{-2}
−3\htmlClass{lc-blue}{-3}
−3\htmlClass{lc-blue}{-3}

On the saddle z=y2−x2\func{z = y^2 - x^2}, staying on any single hyperbola keeps your 3D height the same, following either diagonal line y=xy = x or y=−xy = -x stays at height 0\func{0}, moving out along the yy-axis climbs up positive ridges, and moving out along the xx-axis drops into negative valleys.

On a saddle surface, each hyperbola and diagonal on the 2D contour map is a flat path at a single height in 3D, while the surface rises in ridges along the y-axis and falls into valleys along the x-axis.
4

Functions of Three Variables and Level Surfaces

When a function takes three inputs, w=f(x,y,z)\func{w = f(x, y, z)}, just plotting the input point (x,y,z)(x, y, z) uses up all three dimensions of 3D space, leaving no fourth dimension to plot the output w\func{w} as a height. Just as a contour map leaves out the output axis by setting f(x,y)=c\func{f(x, y) = c} on the 2D input plane, we can picture w=f(x,y,z)\func{w = f(x, y, z)} inside 3D input space by setting the output to constants f(x,y,z)=c\func{f(x, y, z) = c}. Each constant output gives a 3D level surface where the function has that same value c\func{c}.

Functions of Three Variables and Level Surfaces
w=f(x,y,z)\htmlClass{lc-blue}{w = f(x, y, z)}
xx
yy
zz
(x,y,z)(x, y, z)
w=67.1∘w = \htmlClass{lc-blue}{67.1^{\circ}}

Let's find the level surfaces of this three-variable function at w=1,4,9\func{w = 1, 4, 9}:

w=x2+y2+z2\displaystyle \func{w = x^2 + y^2 + z^2}
Text solution
Set the output w\func{w} to each constant valueSet w=1,4,9\func{w = 1, 4, 9} in 3D (x,y,z)(x, y, z) space and match each equation to a sphere x2+y2+z2=R2x^2 + y^2 + z^2 = R^2 centered at the origin:
w=1:x2+y2+z2=1  ⟹  sphere of radius 1w=4:x2+y2+z2=4  ⟹  sphere of radius 2w=9:x2+y2+z2=9  ⟹  sphere of radius 3\displaystyle \begin{aligned} \func{w = 1}: & \quad \func{x^2 + y^2 + z^2} \func{= 1} \\ & \quad \implies \text{sphere of radius } 1 \\[6pt] \func{w = 4}: & \quad \func{x^2 + y^2 + z^2} \func{= 4} \\ & \quad \implies \text{sphere of radius } 2 \\[6pt] \func{w = 9}: & \quad \func{x^2 + y^2 + z^2} \func{= 9} \\ & \quad \implies \text{sphere of radius } 3 \end{aligned}

Moving outward from the origin in any direction passes through nested spheres with larger and larger output values w\func{w}.

w=x2+y2+z2\htmlClass{lc-blue}{w = x^2 + y^2 + z^2}

Summary

To picture a function with two or three inputs without trying to draw a complicated 3D or 4D graph, draw it in its input space:

Domain on the xyxy-plane

Check the formula for the three things that rule out inputs: square roots need inside≥0\text{inside} \ge 0 (like z=9−x2−y2  ⟹  \func{z = \sqrt{9 - x^2 - y^2}} \implies x2+y2≤9\func{x^2 + y^2 \le 9}), logarithms need inside>0\text{inside} > 0 (like z=ln⁡(y−x2)  ⟹  y>x2\func{z = \ln(y - x^2)} \implies \func{y > x^2}), and fractions need denominator≠0\text{denominator} \ne 0 (like z=1x−y  ⟹  y≠x\func{z = \frac{1}{x - y}} \implies \func{y \ne x}). Set the two sides equal to draw the boundary curve, using a solid line when the boundary is included (≥,≤)(\ge, \le) and a dashed line when it is excluded (>,<,≠)(>, <, \ne).

Level curves and steepness in 2D (z=f(x,y))(\func{z = f(x, y)})

To make a flat map of a 3D surface, set the height to evenly spaced constants:

f(x,y)=c⏟2D level curve on the xy-plane\displaystyle \underbrace{\func{f(x, y) = c}}_{\text{2D level curve on the } xy\text{-plane}}
Two surfaces can have the same curve shapes (both z=x2+y2\func{z = x^2 + y^2} and z=x2+y2\func{z = \sqrt{x^2 + y^2}} have circular level curves), so always check the spacing at evenly spaced values of z\func{z}. Curves getting closer together mean the surface is curving steeper, while curves spaced equally apart mean straight sides with constant steepness. If the surface is a saddle like z=y2−x2\func{z = y^2 - x^2}, slice at z=0\func{z = 0} first to get the crossing diagonal lines y=±xy = \pm x, then plug in x=0x = 0 and y=0y = 0 to see which axis has the positive hyperbolas and which has the negative ones.

Level surfaces in 3D (w=f(x,y,z))(\func{w = f(x, y, z)})

When a function has three inputs, all three dimensions of space are already used by (x,y,z)(x, y, z), so we can't graph the output as a height. Instead, set the output to constants:

f(x,y,z)=c⏟3D level surface in xyz-space\displaystyle \underbrace{\func{f(x, y, z) = c}}_{\text{3D level surface in } xyz\text{-space}}
For w=x2+y2+z2\func{w = x^2 + y^2 + z^2}, setting w=c\func{w = c} gives nested spheres centered at the origin.

5

Practice

1

Find the domain and range of z=16−x2−y2\func{z = \sqrt{16 - x^2 - y^2}}, and describe how to sketch the domain on the xyxy-plane.

Write the inequality for what is allowed inside a square root, then find the height z\func{z} when x2+y2x^2 + y^2 is as small and as large as that domain allows.

Inside a square root, the expression must be zero or positive:
16−x2−y2≥0x2+y2≤16\displaystyle \begin{aligned} \func{16 - x^2 - y^2} &\func{\ge 0} \\ \func{x^2 + y^2} &\func{\le 16} \end{aligned}
Watch out: Don't read 1616 as the radius or draw a dashed boundary. Here 1616 is r2r^2, so the radius is 16=4\sqrt{16} = 4, and because =0= 0 is allowed inside a square root, the boundary circle is included. On the xyxy-plane, the domain is the disk of radius 44 centered at (0,0)(0, 0), drawn with a solid boundary circle and shaded inside.
For the range, the highest z\func{z} happens at (0,0)(0, 0) where nothing is subtracted, and the lowest z\func{z} happens on the boundary circle x2+y2=16\func{x^2 + y^2 = 16}:
At (0,0):z=16−0−0=4On x2+y2=16:z=16−16=0\displaystyle \begin{aligned} &\text{At } (0, 0): \\ &\qquad \func{z} = \sqrt{16 - 0 - 0} = \func{4} \\[6pt] &\text{On } \func{x^2 + y^2 = 16}: \\ &\qquad \func{z} = \sqrt{16 - 16} = \func{0} \end{aligned}
Watch out: Don't forget to take the square root of 1616 (which gives the wrong range [0,16][0, 16]) or include negative numbers (which gives [−4,4][-4, 4]; the square root symbol x\sqrt{\phantom{x}} only gives the non-negative root). The range is [0,4]\func{[0, 4]}.
2

Find the domain of z=ln⁡(x2−y)\func{z = \ln(x^2 - y)}, and describe how to sketch it on the xyxy-plane.

Set the expression inside the logarithm greater than zero and solve for yy to see which side of the boundary parabola to shade.

Whatever is inside the logarithm must be greater than zero:
x2−y>0y<x2\displaystyle \begin{aligned} \func{x^2 - y} &\func{> 0} \\ \func{y} &\func{< x^2} \end{aligned}
Watch out: Don't allow x2−y≥0x^2 - y \ge 0 (which draws a solid parabola, forgetting that ln⁡(0)\noheight{\ln(0)} is undefined), and don't keep the >> sign pointing at yy when rearranging (which shades above the parabola as y>x2y > x^2). On the xyxy-plane, draw the boundary parabola y=x2\noheight{y = x^2} as a dashed curve and shade the region below the parabola.
3

Find the domain of z=1x2−y2\func{z = \frac{1}{x^2 - y^2}}, and describe how to sketch it on the xyxy-plane.

Set the denominator not equal to zero and solve for yy in terms of xx, keeping track of both the positive and negative square roots.

The denominator cannot equal zero:
x2−y2≠0y2≠x2y≠xandy≠−x\displaystyle \begin{aligned} \func{x^2 - y^2} &\func{\ne 0} \\ \func{y^2} &\func{\ne x^2} \\ \func{y} &\func{\ne x} \quad \text{and} \quad \func{y \ne -x} \end{aligned}
Watch out: When taking the square root of y2≠x2\func{y^2 \ne x^2}, don't forget the ±\pm sign and only rule out the single line y=xy = x. The domain is the entire xyxy-plane except the two diagonal lines y=x\noheight{y = x} and y=−x\noheight{y = -x}, which are drawn as dashed lines crossing at the origin.
4

Describe the contour map of the saddle z=x2−y2\func{z = x^2 - y^2} by finding the level curves at z=0\func{z = 0}, at z=1,2,3\func{z = 1, 2, 3}, and at z=−1,−2,−3\func{z = -1, -2, -3}.

Slice at z=0\func{z = 0} first to get the crossing diagonal lines, then plug in y=0y = 0 (the xx-axis) and x=0x = 0 (the yy-axis) to see which direction climbs to positive heights and which drops to negative heights.

At z=0\func{z = 0}, set the height to zero:
x2−y2=0y2=x2y=xandy=−x\displaystyle \begin{aligned} x^2 - y^2 &= 0 \\ y^2 &= x^2 \\ y &= x \quad \text{and} \quad y = -x \end{aligned}
This gives the two diagonal lines y=xy = x and y=−xy = -x crossing at the origin.
Watch out: Don't reuse the picture from z=y2−x2\func{z = y^2 - x^2} and put the positive hyperbolas on the yy-axis; here the signs on x2x^2 and y2y^2 are swapped. Along the xx-axis (y=0)(y = 0), z=x2\steep{z = x^2} is positive, so the positive contours z=1,2,3\func{z = 1, 2, 3} are hyperbolas x2−y2=c\func{x^2 - y^2 = c} opening left and right along the xx-axis. Along the yy-axis (x=0)(x = 0), z=−y2\steep{z = -y^2} is negative, so the negative contours z=−1,−2,−3\func{z = -1, -2, -3} are hyperbolas x2−y2=−c\func{x^2 - y^2 = -c} opening up and down along the yy-axis.
5

Slice the upper hemisphere z=9−x2−y2\func{z = \sqrt{9 - x^2 - y^2}} at the evenly spaced heights z=0,1,2,3\func{z = 0, 1, 2, 3}. Find the radius of each level curve and use the gaps between radii to explain where the surface is steepest and where it is flattest.

Set 9−x2−y2=z\func{\sqrt{9 - x^2 - y^2} = z} and square both sides to solve for x2+y2x^2 + y^2, then compare the gaps between radii from one circle to the next as z\func{z} steps from 0\func{0} to 3\func{3}.

Set the height equal to z\func{z} and square both sides to write the level curves as circles:
9−x2−y2=z9−x2−y2=z2x2+y2=9−z2\displaystyle \begin{aligned} \func{\sqrt{9 - x^2 - y^2}} &\func{= z} \\ \func{9 - x^2 - y^2} &\func{= z^2} \\ \func{x^2 + y^2} &\func{= 9 - z^2} \end{aligned}
Watch out: Don't forget to square zz on the right side (writing 9−z9 - z instead of 9−z29 - z^2), and don't list 9−z29 - z^2 (9,8,5,0)(9, 8, 5, 0) as the radii without taking the square root r=9−z2r = \sqrt{9 - z^2}.
At z=0,1,2,3\func{z = 0, 1, 2, 3}, the level curves are circles centered at the origin with radii:
z=0:r=9−0=3z=1:r=9−1=8≈2.83z=2:r=9−4=5≈2.24z=3:r=9−9=0(a single point at the origin)\displaystyle \begin{aligned} \func{z = 0}: &\quad r = \sqrt{9 - 0} = 3 \\ \func{z = 1}: &\quad r = \sqrt{9 - 1} = \sqrt{8} \approx 2.83 \\ \func{z = 2}: &\quad r = \sqrt{9 - 4} = \sqrt{5} \approx 2.24 \\ \func{z = 3}: &\quad r = \sqrt{9 - 9} = 0 \\ &\quad (\text{a single point at the origin}) \end{aligned}
Climbing from z=0\func{z = 0} inward to z=3\func{z = 3}, the gaps between radii from one circle to the next are about 0.17\steep{0.17}, 0.59\steep{0.59}, and 2.24\steep{2.24}. The contours are packed tightly near the outer edge (radius 33) where the hemisphere goes almost straight up, and spread wide apart near the center (radius 00) where the dome flattens out at the top.
6

Describe the level surfaces of w=x2+y2+z2\func{w = \sqrt{x^2 + y^2 + z^2}} at the evenly spaced values w=1,2,3,4\func{w = 1, 2, 3, 4}, and compare their spacing to the level surfaces of w=x2+y2+z2\func{w = x^2 + y^2 + z^2} at w=1,2,3,4\func{w = 1, 2, 3, 4}.

Set w=c\func{w = c} in each equation and rewrite it in the sphere form x2+y2+z2=R2x^2 + y^2 + z^2 = R^2 to find the radius RR for c=1,2,3,4\func{c = 1, 2, 3, 4}.

For w=x2+y2+z2\func{w = \sqrt{x^2 + y^2 + z^2}}, setting x2+y2+z2=c\func{\sqrt{x^2 + y^2 + z^2} = c} and squaring both sides gives:
x2+y2+z2=c2\displaystyle \func{x^2 + y^2 + z^2 = c^2}
So for w=1,2,3,4\func{w = 1, 2, 3, 4}, the level surfaces are nested spheres centered at the origin with radii 1,2,3,41, 2, 3, 4, spaced an equal 1\steep{1} unit apart.
For w=x2+y2+z2\func{w = x^2 + y^2 + z^2}, setting w=c\func{w = c} gives:
x2+y2+z2=c\displaystyle \func{x^2 + y^2 + z^2 = c}
Watch out: Don't read the right side cc as the radius RR instead of R2R^2 (which mistakes these spheres as also having radii 1,2,3,41, 2, 3, 4). Taking the square root gives nested spheres at w=1,2,3,4\func{w = 1, 2, 3, 4} with radii 11, 2≈1.41\sqrt{2} \approx 1.41, 3≈1.73\sqrt{3} \approx 1.73, and 22, which get closer together as you move outward from the origin.