Multivariable CalculusPartial Derivatives5 of 5
Partial Derivatives · 5

Tangent Planes and Linear Approximation

Curvy surfaces z=f(x,y)z = \surf{f(x, y)} are hard to work with directly, so near a single point we replace the surface with a flat, tilted plane that has the same slope.

1

The Tangent Plane Equation

A tangent plane is the flat plane that touches a surface z=f(x,y)z = \surf{f(x, y)} at a starting point (x0,y0,z0)(x_0, y_0, z_0) and matches the slope of the surface in every direction.

The Tangent Plane Equation
xx
yy
zz
z=f(x,y)z = \htmlClass{lc-blue}{f(x, y)}

Starting at height z0=f(x0,y0)\surf{z_0} = \surf{f(x_0, y_0)}, each step away from (x0,y0)(x_0, y_0) changes the height on the plane by slope times step:

z=z0⏟start height+fx⏟slope in x(x−x0)⏟step in x+fy⏟slope in y(y−y0)⏟step in y\displaystyle \begin{aligned} z &= \underbrace{\surf{z_0}}_{\surf{\text{start height}}} + \underbrace{\plane{f_x}}_{\plane{\text{slope in } x}}\underbrace{(x - x_0)}_{\text{step in } x} \\ &\quad + \underbrace{\plane{f_y}}_{\plane{\text{slope in } y}}\underbrace{(y - y_0)}_{\text{step in } y} \end{aligned}

Each term adds the rise from stepping in xx and the rise from stepping in yy onto the starting height z0\surf{z_0}.

Stepping to any point on the tangent plane changes the starting height by the x-slope times your x-step and the y-slope times your y-step, adding or subtracting depending on which way each step goes.
2

Finding a Tangent Plane

Let's find the equation of the tangent plane to the surface

z\displaystyle z =x2+y2at x\displaystyle = \surf{x^2 + y^2} \quad \text{at } x =1,  y\displaystyle = 1, \; y =2\displaystyle = 2
Finding a Tangent Plane
xx
yy
zz
z=x2+y2z = \htmlClass{lc-blue}{x^2 + y^2}
(1,2)(1, 2)
Text solution
Find the starting height at (1,2)(1, 2)Plug x=1x = 1 and y=2y = 2 into the surface equation to find where the plane touches the surface.
z0\displaystyle \surf{z_0} =12+22\displaystyle = 1^2 + 2^2 =1+4\displaystyle = 1 + 4 =5\displaystyle = \surf{5}
Find the xx-slope and yy-slope at (1,2)(1, 2)Take each partial derivative by treating the other variable as a constant, then evaluate both at (1,2)(1, 2).
fx=2x⟶fx(1,2)=2(1)=2fy=2y⟶fy(1,2)=2(2)=4\displaystyle \begin{aligned} \plane{f_x} &= 2x \\ \longrightarrow \plane{f_x(1, 2)} &= 2(1) = \plane{2} \\[6pt] \plane{f_y} &= 2y \\ \longrightarrow \plane{f_y(1, 2)} &= 2(2) = \plane{4} \end{aligned}
Write the tangent plane equationPlug the starting height 5\surf{5} and the two slopes 2\plane{2} and 4\plane{4} at (1,2)(1, 2) into the tangent plane formula.
z\displaystyle z =5+2(x−1)+4(y−2)\displaystyle = \surf{5} + \plane{2}(x - 1) + \plane{4}(y - 2)

So z=5+2(x−1)+4(y−2)z = \surf{5} + \plane{2}(x - 1) + \plane{4}(y - 2) is the flat plane touching z=x2+y2z = \surf{x^2 + y^2} at the point (1,2,5)(1, 2, 5).

3

Linear Approximation and Linearization

Because the tangent plane stays close to the surface near the point where it touches, we can estimate a messy function at awkward decimals by starting at a nearby clean point and following the tangent plane instead.

Suppose we want to estimate this value without a calculator:

4.022+2.972\displaystyle \surf{\sqrt{4.02^2 + 2.97^2}}
Linear Approximation and Linearization
xx
yy
zz
(4.02,2.97)(4.02, 2.97)
?\htmlClass{lc-blue}{?}
f(x,y)=x2+y2\htmlClass{lc-blue}{f(x, y)} = \htmlClass{lc-blue}{\sqrt{x^2 + y^2}}

When we use the right side of the tangent plane equation to approximate f(x,y)\surf{f(x, y)} near (x0,y0)(x_0, y_0), we call it the linearization L(x,y)\plane{L(x, y)} and write it in place of zz:

f(x,y)≈z0+fx(x−x0)+fy(y−y0)⏟linearization L(x,y)\displaystyle \surf{f(x, y)} \approx \underbrace{\surf{z_0} + \plane{f_x}(x - x_0) + \plane{f_y}(y - y_0)}_{\plane{\text{linearization } L(x, y)}}
Text solution
Find the starting height at the nearby clean point (4,3)(4, 3)Since (4.02,2.97)(4.02, 2.97) is right next to (4,3)(4, 3), evaluate f(x,y)=x2+y2\surf{f(x, y)} = \surf{\sqrt{x^2 + y^2}} at (4,3)(4, 3).
z0\displaystyle \surf{z_0} =42+32\displaystyle = \sqrt{4^2 + 3^2} =16+9\displaystyle = \sqrt{16 + 9} =25\displaystyle = \sqrt{25} =5\displaystyle = \surf{5}
Find the slopes at (4,3)(4, 3)Rewrite x2+y2\surf{\sqrt{x^2 + y^2}} as (x2+y2)1/2\surf{(x^2 + y^2)^{1/2}} to differentiate with the chain rule, then plug in (4,3)(4, 3) where x2+y2\surf{\sqrt{x^2 + y^2}} is already 5\surf{5}.
fx=12(x2+y2)−1/2(2x)=xx2+y2⟶fx(4,3)=45=0.8fy=12(x2+y2)−1/2(2y)=yx2+y2⟶fy(4,3)=35=0.6\displaystyle \begin{aligned} \plane{f_x} &= \frac{1}{2}(x^2 + y^2)^{-1/2}(2x) \\ &= \frac{x}{\sqrt{x^2 + y^2}} \\ \longrightarrow \plane{f_x(4, 3)} &= \frac{4}{5} = \plane{0.8} \\[6pt] \plane{f_y} &= \frac{1}{2}(x^2 + y^2)^{-1/2}(2y) \\ &= \frac{y}{\sqrt{x^2 + y^2}} \\ \longrightarrow \plane{f_y(4, 3)} &= \frac{3}{5} = \plane{0.6} \end{aligned}
Write the linearization L(x,y)\plane{L(x, y)} at (4,3)(4, 3)Put the starting height 5\surf{5} and the slopes 0.8\plane{0.8} and 0.6\plane{0.6} into the tangent plane equation.
L(x,y)=5+0.8(x−4)+0.6(y−3)\displaystyle \begin{aligned} \plane{L(x, y)} &= \surf{5} + \plane{0.8}(x - 4) \\ &\quad + \plane{0.6}(y - 3) \end{aligned}
Plug in the steps to (4.02,2.97)(4.02, 2.97)Moving from (4,3)(4, 3) to (4.02,2.97)(4.02, 2.97) takes an xx-step of 4.02−4=+0.024.02 - 4 = +0.02 and a yy-step of 2.97−3=−0.032.97 - 3 = -0.03.
4.022+2.972≈L(4.02,2.97)=5+0.8(0.02)+0.6(−0.03)=5+0.016−0.018=4.998\displaystyle \begin{aligned} &\surf{\sqrt{4.02^2 + 2.97^2}} \approx \plane{L(4.02, 2.97)} \\ &\quad = \surf{5} + \plane{0.8}(0.02) + \plane{0.6}(-0.03) \\ &\quad = \surf{5} + \plane{0.016} - \plane{0.018} \\ &\quad = \plane{4.998} \end{aligned}

So 4.022+2.972\surf{\sqrt{4.02^2 + 2.97^2}} is approximately 4.998\plane{4.998}, which is within 0.0002\miss{0.0002} of the calculator value 4.998129…\surf{4.998129\dots}

4

Differentiability: When Tangent Planes Work

Having fx\plane{f_x} and fy\plane{f_y} exist at a point only tells us what the surface is doing along the xx- and yy-directions. A function is differentiable at a point when zooming in makes the surface flatten out into a single plane in every direction, including the diagonals.

Differentiability: When Tangent Planes Work
xx
yy
zz
f(x,y)=xyx2+y2,f(0,0)=0\htmlClass{lc-blue}{f(x, y)} = \htmlClass{lc-blue}{\dfrac{xy}{x^2 + y^2}}, \qquad \htmlClass{lc-blue}{f(0, 0) = 0}

On the pinched surface

f(x,y)=xyx2+y2for (x,y)≠(0,0),f(0,0)=0\displaystyle \begin{gathered} \surf{f(x, y)} = \surf{\frac{xy}{x^2 + y^2}} \quad \text{for } (x, y) \neq (0, 0), \\ \surf{f(0, 0) = 0} \end{gathered}

both axes lie flat at height 0\surf{0}, giving fx(0,0)=0\plane{f_x(0, 0) = 0}, fy(0,0)=0\plane{f_y(0, 0) = 0}, and the plane z=0\plane{z = 0}. Along the diagonals y=x\miss{y = x} and y=−x\miss{y = -x}, however, the surface stays at heights 12\miss{\frac{1}{2}} and −12\miss{-\frac{1}{2}} instead of approaching 00:

f(x,x)=x2x2+x2=x22x2=12,f(x,−x)=−x2x2+(−x)2=−x22x2=−12\displaystyle \begin{aligned} \miss{f(x, x)} &= \frac{x^2}{x^2 + x^2} = \frac{x^2}{2x^2} = \miss{\frac{1}{2}}, \\ \miss{f(x, -x)} &= \frac{-x^2}{x^2 + (-x)^2} = \frac{-x^2}{2x^2} = \miss{-\frac{1}{2}} \end{aligned}
This surface lies completely flat on the plane along both axes, yet pulls away from the plane at the origin in every direction between them.

We don't have to test diagonal paths one by one to know a tangent plane works: we only need to check whether the partial derivative formulas are continuous near our point.

5

Total Differentials: dzdz vs. Δz\Delta z

When we care only about how much the output changes from a small step rather than the total height, we drop the starting height z0\surf{z_0} and keep just the slope-times-step terms. This estimated change on the tangent plane is the total differential dz\plane{dz}.

Total Differentials: dz vs. Δz
z\displaystyle z =z0+fx(x−x0)+fy(y−y0)\displaystyle = \surf{z_0} + \plane{f_x}(x - x_0) + \plane{f_y}(y - y_0)
dz\displaystyle \plane{dz} =  ?Δz\displaystyle = \;? \qquad \surf{\Delta z} =  ?\displaystyle = \;?

Writing dxdx (or Δx\Delta x) for the step x−x0x - x_0 and dydy (or Δy\Delta y) for the step y−y0y - y_0 separates the plane's estimated change from the surface's true change:

dz⏟estimated changeon the tangent plane=fxdx⏟step in x+fydy⏟step in y\displaystyle \begin{aligned} \underbrace{\plane{dz}}_{\plane{\substack{\text{estimated change} \\ \text{on the tangent plane}}}} &= \plane{f_x} \underbrace{dx}_{\text{step in } x} + \plane{f_y} \underbrace{dy}_{\text{step in } y} \end{aligned}
Δz⏟true changeon the surface=f(x0+Δx, y0+Δy)−f(x0,y0)\displaystyle \begin{aligned} \underbrace{\surf{\Delta z}}_{\surf{\substack{\text{true change} \\ \text{on the surface}}}} &= \surf{f(x_0 + \Delta x, \, y_0 + \Delta y)} \\ &\quad - \surf{f(x_0, y_0)} \end{aligned}

For tiny steps away from (x0,y0)(x_0, y_0), the tangent plane stays right against the surface so dz\plane{dz} and Δz\surf{\Delta z} are nearly equal, while larger steps let the curved surface curve away from the plane and widen the gap between dz\plane{dz} and Δz\surf{\Delta z}.

Near where they touch, the tangent plane stays so close to the surface that their height changes are nearly identical, while larger steps make the surface curve away.
6

Estimating Maximum Error with Differentials

Differentials are especially useful when measurements have small possible errors and we want to know the largest error they could cause in a calculated result.

Suppose we measure a metal cylinder to have radius r=2 cmr = 2\text{ cm} (with possible error dr=±0.05 cmdr = \pm 0.05\text{ cm}) and height h=10 cmh = 10\text{ cm} (with possible error dh=±0.1 cmdh = \pm 0.1\text{ cm}), and we want to estimate the maximum possible error dV\plane{dV} in its volume

V\displaystyle \surf{V} =πr2h\displaystyle = \surf{\pi r^2 h}
Estimating Maximum Error with Differentials
r=2 cmr = 2\text{ cm}
dr=±0.05 cmdr = \pm 0.05\text{ cm}
h=10 cmh = 10\text{ cm}
dh=±0.1 cmdh = \pm 0.1\text{ cm}
Text solution
Find the volume slopes Vr\plane{V_r} and Vh\plane{V_h} at r=2,  h=10r = 2, \; h = 10Differentiate V=πr2h\surf{V} = \surf{\pi r^2 h} with respect to each variable and evaluate at r=2r = 2 and h=10h = 10.
Vr=2πrh⟶Vr(2,10)=2π(2)(10)=40πVh=πr2   ⟶Vh(2,10)=π(2)2=4π\displaystyle \begin{aligned} \plane{V_r} &= 2\pi r h \\ \longrightarrow \plane{V_r(2, 10)} &= 2\pi(2)(10) = \plane{40\pi} \\[6pt] \plane{V_h} &= \pi r^2 \;\, \\ \longrightarrow \plane{V_h(2, 10)} &= \pi(2)^2 = \plane{4\pi} \end{aligned}
Add the positive error steps in dV=Vr dr+Vh dh\plane{dV} = \plane{V_r}\,dr + \plane{V_h}\,dhUse dr=+0.05dr = +0.05 and dh=+0.1dh = +0.1 so the two parts of the error add together for the largest possible total.
dV=(40π)(0.05)+(4π)(0.1)=2π+0.4π=2.4π cm3\displaystyle \begin{aligned} \plane{dV} &= (\plane{40\pi})(0.05) + (\plane{4\pi})(0.1) \\ &= \plane{2\pi} + \plane{0.4\pi} \\ &= \plane{2.4\pi}\text{ cm}^3 \end{aligned}

So the calculated volume of 40π cm3\surf{40\pi}\text{ cm}^3 could be off by at most about 2.4π cm3\plane{2.4\pi}\text{ cm}^3, with 2π cm3\plane{2\pi}\text{ cm}^3 coming from the radius error and only 0.4π cm3\plane{0.4\pi}\text{ cm}^3 coming from the height error.

7

Three Variables: Linear Approximation and Differentials

When a function has three inputs, w=f(x,y,z)\surf{w} = \surf{f(x, y, z)}, we can no longer draw a tangent plane in 3D, but "start plus slope times step" works the exact same way by adding a third term for zz.

Let's estimate this three-variable expression without a calculator:

2.072+2.932+6.142\displaystyle \surf{\sqrt{2.07^2 + 2.93^2 + 6.14^2}}
Three Variables: Linear Approximation and Differentials
xx
yy
zz
w=f(x,y,z)\htmlClass{lc-blue}{w} = \htmlClass{lc-blue}{f(x, y, z)}
w0\htmlClass{lc-blue}{w_0}
w≈  ?w \approx \;?

Adding the zz-step gives the three-variable linearization and total differential:

L(x,y,z)=f(x0,y0,z0)+fx(x−x0)+fy(y−y0)+fz(z−z0)dw=fx dx+fy dy+fz dz\displaystyle \begin{aligned} \plane{L(x, y, z)} &= \surf{f(x_0, y_0, z_0)} + \plane{f_x}(x - x_0) \\ &\quad + \plane{f_y}(y - y_0) + \plane{f_z}(z - z_0) \\[6pt] \plane{dw} &= \plane{f_x}\,dx + \plane{f_y}\,dy + \plane{f_z}\,dz \end{aligned}

Here zz is the third input variable, so dz=z−z0dz = z - z_0 is the small input step in zz, while dw\plane{dw} is the resulting estimated change in the output w\surf{w}.

Text solution
Find the starting value at the clean point (2,3,6)(2, 3, 6)Plug (2,3,6)(2, 3, 6) into w=x2+y2+z2\surf{w} = \surf{\sqrt{x^2 + y^2 + z^2}}.
w0\displaystyle \surf{w_0} =22+32+62\displaystyle = \sqrt{2^2 + 3^2 + 6^2} =4+9+36\displaystyle = \sqrt{4 + 9 + 36} =49\displaystyle = \sqrt{49} =7\displaystyle = \surf{7}
Find all three slopes at (2,3,6)(2, 3, 6)Differentiate x2+y2+z2\surf{\sqrt{x^2 + y^2 + z^2}} with respect to each variable and evaluate at (2,3,6)(2, 3, 6), where the square root in the denominator is 7\surf{7}.
fx=xx2+y2+z2⟶fx(2,3,6)=27fy=yx2+y2+z2⟶fy(2,3,6)=37fz=zx2+y2+z2⟶fz(2,3,6)=67\displaystyle \begin{aligned} \plane{f_x} &= \frac{x}{\sqrt{x^2 + y^2 + z^2}} \\ \longrightarrow \plane{f_x(2, 3, 6)} &= \plane{\frac{2}{7}} \\[6pt] \plane{f_y} &= \frac{y}{\sqrt{x^2 + y^2 + z^2}} \\ \longrightarrow \plane{f_y(2, 3, 6)} &= \plane{\frac{3}{7}} \\[6pt] \plane{f_z} &= \frac{z}{\sqrt{x^2 + y^2 + z^2}} \\ \longrightarrow \plane{f_z(2, 3, 6)} &= \plane{\frac{6}{7}} \end{aligned}
Calculate the differential dw\plane{dw} for the steps to (2.07,2.93,6.14)(2.07, 2.93, 6.14)Multiply each slope by its step (dx=+0.07(dx = +0.07, dy=−0.07dy = -0.07, dz=+0.14)dz = +0.14) and add the three pieces.
dw=27(0.07)+37(−0.07)+67(0.14)=2(0.01)−3(0.01)+6(0.02)=0.02−0.03+0.12=0.11\displaystyle \begin{aligned} \plane{dw} &= \plane{\frac{2}{7}}(0.07) + \plane{\frac{3}{7}}(-0.07) \\ &\quad + \plane{\frac{6}{7}}(0.14) \\ &= 2(0.01) - 3(0.01) + 6(0.02) \\ &= \plane{0.02} - \plane{0.03} + \plane{0.12} = \plane{0.11} \end{aligned}
Add the change dw\plane{dw} to the starting value w0\surf{w_0}Add the estimated change to 7\surf{7}.
2.072+2.932+6.142≈7+0.11\displaystyle \surf{\sqrt{2.07^2 + 2.93^2 + 6.14^2}} \approx \surf{7} + \plane{0.11} =7.11\displaystyle = \plane{7.11}

So 2.072+2.932+6.142\surf{\sqrt{2.07^2 + 2.93^2 + 6.14^2}} is approximately 7.11\plane{7.11}, compared to the exact value 7.1112…\surf{7.1112\dots}

Summary

Tangent planes, linear approximation, and differentials are all the same equation: you just keep the pieces that match what the question asks for.

One Equation for Everything
xx
yy
zz
z=z0+fx(x−x0)+fy(y−y0)z = \htmlClass{lc-blue}{z_0} + \htmlClass{lc-pink}{f_x}(x - x_0) + \htmlClass{lc-pink}{f_y}(y - y_0)

Everything here comes from Start + Slope ×\times Step at a clean point (x0,y0)(x_0, y_0):

z=z0+fx(x−x0)+fy(y−y0)⏟dz\displaystyle \begin{aligned} z &= \surf{z_0} + \underbrace{\plane{f_x}(x - x_0) + \plane{f_y}(y - y_0)}_{\plane{dz}} \end{aligned}
When the method works (Differentiability)

Before trusting a tangent plane at (x0,y0)(x_0, y_0), check that the partial derivatives fx\plane{f_x} and fy\plane{f_y} are continuous near (x0,y0)(x_0, y_0) (for x2+y2\surf{\sqrt{x^2 + y^2}} at (4,3)(4, 3), fx=xx2+y2\plane{f_x} = \frac{x}{\sqrt{x^2 + y^2}} has denominator 5≠05 \neq 0, so it is smooth there). When not to use it: Merely finding values for fx\plane{f_x} and fy\plane{f_y} at the point is not enough if the derivative formulas divide by zero there. For f(x,y)=xyx2+y2\surf{f(x, y)} = \surf{\frac{xy}{x^2 + y^2}} at (0,0)(0, 0), both axis slopes are 0\plane{0}, but the surface stays at height 12\miss{\frac{1}{2}} and −12\miss{-\frac{1}{2}} along the diagonals and never flattens into the plane z=0\plane{z = 0}.

Tangent plane or linearization L(x,y)\plane{L(x, y)}

Keep the whole equation and leave (x−x0)(x - x_0) and (y−y0)(y - y_0) as variables, evaluating z0\surf{z_0}, fx\plane{f_x}, and fy\plane{f_y} as numbers at (x0,y0)(x_0, y_0) (for z=x2+y2z = \surf{x^2 + y^2} at (1,2)(1, 2), the tangent plane is z=5+2(x−1)+4(y−2)z = \surf{5} + \plane{2}(x - 1) + \plane{4}(y - 2) and the linearization is L(x,y)=5+2(x−1)+4(y−2)\plane{L(x, y)} = \surf{5} + \plane{2}(x - 1) + \plane{4}(y - 2)).

Linear approximation

To estimate a messy number like 4.022+2.972\surf{\sqrt{4.02^2 + 2.97^2}}, evaluate z0=5\surf{z_0 = 5}, fx=0.8\plane{f_x = 0.8}, and fy=0.6\plane{f_y = 0.6} at the nearby clean point (4,3)(4, 3), then plug the small steps dx=+0.02dx = +0.02 and dy=−0.03dy = -0.03 into 5+0.8(0.02)+0.6(−0.03)=4.998\surf{5} + \plane{0.8}(0.02) + \plane{0.6}(-0.03) = \plane{4.998}.

Total differential dz\plane{dz} (or dw\plane{dw}) and maximum error

When a question asks only for the change in output from small steps in the inputs, drop z0\surf{z_0} and keep dz=fx dx+fy dy\plane{dz} = \plane{f_x}\,dx + \plane{f_y}\,dy (or dw=fx dx+fy dy+fz dz\plane{dw} = \plane{f_x}\,dx + \plane{f_y}\,dy + \plane{f_z}\,dz for three variables). For the largest possible measurement error, make every error step positive so the errors add together: on V=πr2h\surf{V} = \surf{\pi r^2 h} at (2,10)(2, 10), dV=40π(0.05)+4π(0.1)=2.4π\plane{dV} = \plane{40\pi}(0.05) + \plane{4\pi}(0.1) = \plane{2.4\pi}.

8

Practice

1

Find the equation of the tangent plane to the surface z=3x2−xy+y3z = \surf{3x^2 - xy + y^3} at the point where x=1x = 1 and y=2y = 2.

What three numbers do you need at (1,2)(1, 2) to fill in z=z0+fx(x−1)+fy(y−2)z = \surf{z_0} + \plane{f_x}(x - 1) + \plane{f_y}(y - 2)?

Find the starting height at (1,2)(1, 2):
z0\displaystyle \surf{z_0} =3(1)2−(1)(2)+(2)3\displaystyle = 3(1)^2 - (1)(2) + (2)^3 =3−2+8\displaystyle = 3 - 2 + 8 =9\displaystyle = \surf{9}
Differentiate with respect to xx and yy and evaluate at (1,2)(1, 2). Watch the product term −xy-xy: its xx-derivative is −y-y and its yy-derivative is −x-x (dropping −xy-xy gives slopes 66 and 1212 and the wrong plane z=9+6(x−1)+12(y−2)z = 9 + 6(x - 1) + 12(y - 2), while flipping the minus sign gives slopes 88 and 1313 and the wrong plane z=9+8(x−1)+13(y−2)z = 9 + 8(x - 1) + 13(y - 2)):
fx=6x−y  ⟶fx(1,2)=6(1)−2=4fy=−x+3y2⟶fy(1,2)=−1+3(2)2=−1+12=11\displaystyle \begin{aligned} \plane{f_x} &= 6x - y \; \\ \longrightarrow \plane{f_x(1, 2)} &= 6(1) - 2 = \plane{4} \\[6pt] \plane{f_y} &= -x + 3y^2 \\ \longrightarrow \plane{f_y(1, 2)} &= -1 + 3(2)^2 \\ &= -1 + 12 = \plane{11} \end{aligned}
Write the plane equation at (1,2)(1, 2):
z=9+4(x−1)+11(y−2)(or z=4x+11y−17)\displaystyle \begin{gathered} z = \surf{9} + \plane{4}(x - 1) + \plane{11}(y - 2) \\ (\text{or } z = 4x + 11y - 17) \end{gathered}
2

Find the linearization L(x,y)\plane{L(x, y)} of f(x,y)=50−x2−y2\surf{f(x, y)} = \surf{\sqrt{50 - x^2 - y^2}} at (3,4)(3, 4), explain why the function is guaranteed to be differentiable there, and use L(x,y)\plane{L(x, y)} to estimate 50−3.052−3.982\surf{\sqrt{50 - 3.05^2 - 3.98^2}} without a calculator.

Write the function as (50−x2−y2)1/2\surf{(50 - x^2 - y^2)^{1/2}} to take the partial derivatives at (3,4)(3, 4). What do you get when you multiply by the derivative of the inside?

Find the starting value at (3,4)(3, 4):
z0\displaystyle \surf{z_0} =50−32−42\displaystyle = \sqrt{50 - 3^2 - 4^2} =50−9−16\displaystyle = \sqrt{50 - 9 - 16} =25\displaystyle = \sqrt{25} =5\displaystyle = \surf{5}
Take the partial derivatives using the chain rule. Keep the negative signs from differentiating −x2-x^2 and −y2-y^2 inside the square root (forgetting those minus signs makes the slopes +0.6+0.6 and +0.8+0.8, which leads to the wrong estimate 5.0145.014):
fx=−x50−x2−y2⟶fx(3,4)=−35=−0.6fy=−y50−x2−y2⟶fy(3,4)=−45=−0.8\displaystyle \begin{aligned} \plane{f_x} &= \frac{-x}{\sqrt{50 - x^2 - y^2}} \\ \longrightarrow \plane{f_x(3, 4)} &= -\frac{3}{5} = \plane{-0.6} \\[6pt] \plane{f_y} &= \frac{-y}{\sqrt{50 - x^2 - y^2}} \\ \longrightarrow \plane{f_y(3, 4)} &= -\frac{4}{5} = \plane{-0.8} \end{aligned}
Because the denominator 50−x2−y2\sqrt{50 - x^2 - y^2} is near 55 (nowhere near 00), fx\plane{f_x} and fy\plane{f_y} are continuous near (3,4)(3, 4), which guarantees ff is differentiable there.
Write the linearization at (3,4)(3, 4):
L(x,y)\displaystyle \plane{L(x, y)} =5−0.6(x−3)−0.8(y−4)\displaystyle = \surf{5} - \plane{0.6}(x - 3) - \plane{0.8}(y - 4)
Plug in the steps dx=3.05−3=+0.05dx = 3.05 - 3 = +0.05 and dy=3.98−4=−0.02dy = 3.98 - 4 = -0.02. Be careful that 3.983.98 is below 44, so dydy is negative (using +0.02+0.02 instead of −0.02-0.02 subtracts 0.0160.016 and gives the wrong answer 4.9544.954):
50−3.052−3.982≈5+(−0.6)(0.05)+(−0.8)(−0.02)=5−0.03+0.016=4.986\displaystyle \begin{aligned} &\surf{\sqrt{50 - 3.05^2 - 3.98^2}} \\ &\quad \approx \surf{5} + (\plane{-0.6})(0.05) \\ &\qquad + (\plane{-0.8})(-0.02) \\ &\quad = \surf{5} - \plane{0.03} + \plane{0.016} \\ &\quad = \plane{4.986} \end{aligned}
3

For the surface z=x2+2xyz = \surf{x^2 + 2xy}, suppose (x,y)(x, y) moves from (3,2)(3, 2) to (3.1,1.9)(3.1, 1.9). Find both the total differential dzdz and the true height change Δz\Delta z.

Which change uses the slopes at (3,2)(3, 2), and which one compares the actual surface height at (3.1,1.9)(3.1, 1.9) against the starting height at (3,2)(3, 2)?

At (3,2)(3, 2), the starting height is:
z0\displaystyle \surf{z_0} =32+2(3)(2)\displaystyle = 3^2 + 2(3)(2) =9+12\displaystyle = 9 + 12 =21\displaystyle = \surf{21}
Find the partial derivatives at (3,2)(3, 2):
fx=2x+2y⟶fx(3,2)=2(3)+2(2)=10fy=2x ⟶fy(3,2)=2(3)=6\displaystyle \begin{aligned} \plane{f_x} &= 2x + 2y \\ \longrightarrow \plane{f_x(3, 2)} &= 2(3) + 2(2) = \plane{10} \\[6pt] \plane{f_y} &= 2x \, \\ \longrightarrow \plane{f_y(3, 2)} &= 2(3) = \plane{6} \end{aligned}
For the step from (3,2)(3, 2) to (3.1,1.9)(3.1, 1.9), dx=+0.1dx = +0.1 and dy=−0.1dy = -0.1. Keep the minus sign on dy=1.9−2=−0.1dy = 1.9 - 2 = -0.1 (using +0.1+0.1 for both steps gives the wrong differential dz=1.6dz = 1.6):
dz\displaystyle \plane{dz} =10(0.1)+6(−0.1)\displaystyle = \plane{10}(0.1) + \plane{6}(-0.1) =1.0−0.6\displaystyle = \plane{1.0} - \plane{0.6} =0.4\displaystyle = \plane{0.4}
For the true change Δz\surf{\Delta z}, evaluate f(3.1,1.9)\surf{f(3.1, 1.9)} and subtract the starting height 21\surf{21} (forgetting to subtract 21\surf{21} leaves the total new height 21.39\surf{21.39} instead of the change):
f(3.1,1.9)=(3.1)2+2(3.1)(1.9)=9.61+11.78=21.39Δz=21.39−21=0.39\displaystyle \begin{aligned} \surf{f(3.1, 1.9)} &= (3.1)^2 + 2(3.1)(1.9) \\ &= 9.61 + 11.78 = \surf{21.39} \\[6pt] \surf{\Delta z} &= \surf{21.39} - \surf{21} = \surf{0.39} \end{aligned}
4

A rectangular pillar with a square base of side ss and height hh has volume V=s2h\surf{V} = \surf{s^2h}. You measure s=3 ms = 3\text{ m} with a possible error of ±0.02 m\pm 0.02\text{ m}, and h=10 mh = 10\text{ m} with a possible error of ±0.05 m\pm 0.05\text{ m}. Use differentials to estimate the maximum possible error in the calculated volume, and state which measurement contributes more to that error.

Find the two pieces Vs ds\plane{V_s}\,ds and Vh dh\plane{V_h}\,dh at s=3,  h=10s = 3, \; h = 10 before deciding which measurement matters more.

Find the partial derivatives of V=s2h\surf{V} = \surf{s^2h} at s=3s = 3 and h=10h = 10:
Vs=2sh⟶Vs(3,10)=2(3)(10)=60Vh=s2   ⟶Vh(3,10)=(3)2=9\displaystyle \begin{aligned} \plane{V_s} &= 2sh \\ \longrightarrow \plane{V_s(3, 10)} &= 2(3)(10) = \plane{60} \\[6pt] \plane{V_h} &= s^2 \;\, \\ \longrightarrow \plane{V_h(3, 10)} &= (3)^2 = \plane{9} \end{aligned}
Multiply each slope by its positive possible error (ds=0.02(ds = 0.02 and dh=0.05)dh = 0.05) so the errors add rather than cancel (subtracting them gives 0.75 m30.75\text{ m}^3, and comparing the possible errors 0.05>0.020.05 > 0.02 before multiplying by the slopes 60\plane{60} and 9\plane{9} picks the wrong variable):
dV=60(0.02)+9(0.05)=1.2+0.45=1.65 m3,with side s contributing more (1.2 m3 vs. 0.45 m3)\displaystyle \begin{aligned} \plane{dV} &= \plane{60}(0.02) + \plane{9}(0.05) \\ &= \plane{1.2} + \plane{0.45} \\ &= \plane{1.65}\text{ m}^3, \\ &\quad \text{with side } s \text{ contributing more } \\ &\quad (\plane{1.2}\text{ m}^3 \text{ vs. } \plane{0.45}\text{ m}^3) \end{aligned}
5

Use a three-variable linear approximation to estimate (3.02)2(1.95)4.08\surf{(3.02)^2(1.95)\sqrt{4.08}} without a calculator.

Match the expression to the function w=x2yz\surf{w} = \surf{x^2y\sqrt{z}} at the clean starting point (3,2,4)(3, 2, 4).

Evaluate w=x2yz\surf{w} = \surf{x^2y\sqrt{z}} at (3,2,4)(3, 2, 4):
w0\displaystyle \surf{w_0} =(3)2(2)4\displaystyle = (3)^2(2)\sqrt{4} =(9)(2)(2)\displaystyle = (9)(2)(2) =36\displaystyle = \surf{36}
Find the three partial derivatives at (3,2,4)(3, 2, 4). In fz\plane{f_z}, remember the 22 in the denominator from differentiating z=z1/2\sqrt{z} = z^{1/2} (leaving off the 22 makes fz=9f_z = 9 instead of 4.5\plane{4.5} and leads to the wrong answer 36.3036.30):
fx=2xyz  ⟶fx(3,2,4)=2(3)(2)(2)=24fy=x2z    ⟶fy(3,2,4)=(9)(2)=18fz=x2y2z⟶fz(3,2,4)=(9)(2)2(2)=184=4.5\displaystyle \begin{aligned} \plane{f_x} &= 2xy\sqrt{z} \; \\ \longrightarrow \plane{f_x(3, 2, 4)} &= 2(3)(2)(2) = \plane{24} \\[6pt] \plane{f_y} &= x^2\sqrt{z} \;\; \\ \longrightarrow \plane{f_y(3, 2, 4)} &= (9)(2) = \plane{18} \\[6pt] \plane{f_z} &= \frac{x^2y}{2\sqrt{z}} \\ \longrightarrow \plane{f_z(3, 2, 4)} &= \frac{(9)(2)}{2(2)} = \frac{18}{4} = \plane{4.5} \end{aligned}
Plug the steps dx=+0.02dx = +0.02, dy=−0.05dy = -0.05, and dz=+0.08dz = +0.08 into dw\plane{dw}:
dw=24(0.02)+18(−0.05)+4.5(0.08)=0.48−0.90+0.36=−0.06\displaystyle \begin{aligned} \plane{dw} &= \plane{24}(0.02) + \plane{18}(-0.05) \\ &\quad + \plane{4.5}(0.08) \\ &= \plane{0.48} - \plane{0.90} + \plane{0.36} \\ &= \plane{-0.06} \end{aligned}
Add the change dw=−0.06\plane{dw = -0.06} to the starting value w0=36\surf{w_0 = 36} (don't stop at −0.06\plane{-0.06}):
(3.02)2(1.95)4.08≈36−0.06\displaystyle \surf{(3.02)^2(1.95)\sqrt{4.08}} \approx \surf{36} - \plane{0.06} =35.94\displaystyle = \plane{35.94}
6

Let f(x,y)=4xyx2+y2\surf{f(x, y)} = \surf{\frac{4xy}{x^2 + y^2}} for (x,y)≠(0,0)(x, y) \neq (0, 0), and f(0,0)=0\surf{f(0, 0) = 0}. Find fx(0,0)\plane{f_x(0, 0)} and fy(0,0)\plane{f_y(0, 0)} along the coordinate axes and write the plane equation they give at the origin. Then find the height of the surface along the diagonals y=x\miss{y = x} and y=−x\miss{y = -x} away from the origin, and explain why ff is not differentiable at (0,0)(0, 0).

Look at what f(x,0)\surf{f(x, 0)} and f(0,y)\surf{f(0, y)} equal along the two axes before taking any derivatives, then substitute y=x\miss{y = x} into 4xyx2+y2\surf{\frac{4xy}{x^2 + y^2}} for x≠0x \neq 0.

Along the xx-axis (y=0)(y = 0), f(x,0)=0\surf{f(x, 0) = 0} everywhere, and along the yy-axis (x=0)(x = 0), f(0,y)=0\surf{f(0, y) = 0} everywhere (trying to use the quotient rule on 4xyx2+y2\frac{4xy}{x^2 + y^2} and plug in (0,0)(0, 0) divides by zero instead of using the values along the axes):
fx(0,0)=0,fy(0,0)=0⟶z=0\displaystyle \begin{gathered} \plane{f_x(0, 0) = 0}, \quad \plane{f_y(0, 0) = 0} \\ \longrightarrow\quad \plane{z = 0} \end{gathered}
Now substitute y=x\miss{y = x} and y=−x\miss{y = -x} for x≠0x \neq 0. Remember to add both x2x^2 terms in the denominator x2+x2=2x2x^2 + x^2 = 2x^2 (writing x2x^2 instead of 2x22x^2 on the bottom gives the wrong heights 44 and −4-4):
Along y=x:f(x,x)=4x(x)x2+x2=4x22x2=2Along y=−x:f(x,−x)=4x(−x)x2+(−x)2=−4x22x2=−2\displaystyle \begin{aligned} \text{Along } \miss{y = x}\text{:} & \\ \miss{f(x, x)} &= \frac{4x(x)}{x^2 + x^2} \\ &= \frac{4x^2}{2x^2} = \miss{2} \\[6pt] \text{Along } \miss{y = -x}\text{:} & \\ \miss{f(x, -x)} &= \frac{4x(-x)}{x^2 + (-x)^2} \\ &= \frac{-4x^2}{2x^2} = \miss{-2} \end{aligned}
Because the surface stays at heights 2\miss{2} and −2\miss{-2} along the diagonals right up to the origin instead of flattening out into the plane z=0\plane{z = 0}, ff has a pinch at (0,0)(0, 0) and is not differentiable there.