← back to MATH 102
Week 9Stewart §14.4, 14.565 min full read
6 concepts17 worked examples27 exercises3 exam-level5 figures
What are you here for?

09Tangent planes, linear approximation, and the chain rule for functions of several variables

A weather balloon carries a thermometer through the air. The temperature at each point of the sky is a fixed number $T$ that depends on where you are, on longitude $x$ and altitude $y$. The balloon is at one spot now; a second later it has drifted a little sideways and risen a little. The reading on the thermometer changes. Nobody handed you a formula for the temperature along the balloon's path; you were only given $T$ as a function of position and the two speeds of the balloon. How fast is the number on the dial moving?

By the end you can turn any surface into the flat plane that touches it, use that plane to estimate values a calculator would need, and compute the rate of a quantity that depends on several moving inputs, whether one clock or several dials drive the motion.

In 60 seconds

Near a point, a differentiable surface and its tangent plane are interchangeable; and when a quantity is built from inputs that themselves move, its rate is the sum, over every intermediate variable, of one times the rate of that intermediate.

Tangent plane / at (a,b)
$$L(x,y)=f(a,b)+f_x(a,b)(x-a)+f_y(a,b)(y-b)$$

you need the flat approximation to $f$, or an estimate of $f$ at an awkward point near a friendly one

Total differential
$$dz=f_x\,dx+f_y\,dy$$

small changes $dx,dy$ are given and you want the resulting change or error in $z$

Chain rule, one parameter
$$\dfrac{dz}{dt}=\dfrac{\partial z}{\partial x}\dfrac{dx}{dt}+\dfrac{\partial z}{\partial y}\dfrac{dy}{dt}$$

$z=f(x,y)$ and both $x,y$ depend on a single variable $t$

Chain rule, several parameters
$$\dfrac{\partial z}{\partial s}=\dfrac{\partial z}{\partial x}\dfrac{\partial x}{\partial s}+\dfrac{\partial z}{\partial y}\dfrac{\partial y}{\partial s}$$

$x,y$ depend on more than one independent variable; one such equation per independent variable

Implicit partial derivative
$$\dfrac{\partial z}{\partial x}=-\dfrac{F_x}{F_z}$$

$z$ is defined implicitly by $F(x,y,z)=0$ and $F_z\ne 0$

Three most common mistakes
  1. Writing the tangent plane as $f_x(a,b)(x-a)+f_y(a,b)(y-b)$ and dropping the height $f(a,b)$, so the plane passes through the origin instead of touching the surface.

  2. Using $\partial z/\partial t$ when $x,y$ depend on $t$ alone: the answer is an ordinary derivative $dz/dt$, and forgetting a term because the tree had two branches.

  3. In implicit differentiation, forgetting the minus sign in $-F_x/F_z$, or dividing by $F_y$ instead of $F_z$ when solving for $\partial z/\partial x$.

This section feeds the Quiz and Homework blocks (worth 10% each). Expect one routine tangent-plane-or-linearization item and one chain-rule item; the harder version mixes the two, or asks for a chain-rule identity in polar coordinates rather than a number.

How much time do you have?
10 minutes

You leave holding the two formulas the exam leans on hardest: the tangent plane / linearization, and the one-parameter chain rule. Both are on the card, both are drilled in B.

card, c-tangent-plane, c-chain-1, formula card
45 minutes

You can also read the tree diagram for several independent variables, take a total differential to bound a measurement error, and differentiate an equation implicitly for a slope.

card, c-tangent-plane, c-linear-approx, c-differentials, c-chain-1, c-chain-2, c-implicit, scaffolding ladder, practice C
full read

Everything above plus the definition of differentiability and the surface that has both partials yet no tangent plane, the polar-coordinate exam identity, and the mixed practice that forces you to pick the right tool without being told which section it came from.

everything in order, practice A, practice B, practice C, practice D, self check
By the end of this section
  1. Write the equation of the tangent plane to a surface $z=f(x,y)$ at a given point.

  2. Estimate a value of $f(x,y)$ with the linear approximation, and state when a function is differentiable.

  3. Compute the total differential and use it to estimate the change in $z$ and to bound a measurement error.

  4. Differentiate a composite $z=f(x,y)$ with $x,y$ functions of one variable $t$, obtaining $dz/dt$.

  5. Apply the chain rule with a tree diagram when $x,y$ depend on several independent variables.

  6. Differentiate implicitly to find $dy/dx$ from $F(x,y)=0$ and $\partial z/\partial x$ from $F(x,y,z)=0$.

Syllabus coverage
14.4

Tangent planes and linear approximations

Tangent plane, the linearization, the definition of differentiability, total differentials, and error estimation are the three opening concepts.

covered
14.5

The chain rule

One-parameter and several-parameter chain rule with tree diagrams, and implicit differentiation, are the last three concepts.

covered
Recall first
Partial derivatives

For $f(x,y)$, the partial $f_x$ is the ordinary derivative with respect to $x$ while $y$ is treated as a constant; $f_y$ treats $x$ as a constant. For $f(x,y)=x^2y^3$, $f_x=2xy^3$ and $f_y=3x^2y^2$.

Every formula in this section is built from $f_x$ and $f_y$; if you cannot produce them quickly the rest stalls.

Single-variable chain rule

$\dfrac{d}{dt}f(g(t))=f'(g(t))\,g'(t)$. For example $\dfrac{d}{dt}\sin(t^2)=\cos(t^2)\cdot 2t$.

The multivariable chain rule is this rule applied along each branch of a tree and then summed.

Single-variable linearization

The tangent line to $y=f(x)$ at $x=a$ is $L(x)=f(a)+f'(a)(x-a)$, used to approximate $f$ near $a$.

The tangent plane is the exact two-variable copy of this line, with one slope term for each input.

Equation of a plane

A plane through $(x_0,y_0,z_0)$ with normal vector $\langle A,B,C\rangle$ is $A(x-x_0)+B(y-y_0)+C(z-z_0)=0$.

The tangent plane is one such plane; recognising the form lets you read its normal vector straight off.

Derivatives of the standard functions

$\dfrac{d}{dt}e^{t}=e^{t}$, and by the chain rule $\dfrac{d}{dt}e^{-t}=-e^{-t}$; $\dfrac{d}{dt}\sin t=\cos t$, $\dfrac{d}{dt}\cos t=-\sin t$.

Chain-rule problems here feed on exponentials and trig; a dropped minus sign is the commonest arithmetic slip.

A trace of a surface

Fixing $y=b$ in $z=f(x,y)$ leaves a curve $z=f(x,b)$ in a vertical plane; its slope at $x=a$ is exactly $f_x(a,b)$. Fixing $x=a$ gives the other trace, with slope $f_y(a,b)$.

The tangent plane is the unique plane whose two traces are the tangent lines of these two curves.

Try it yourself first (3 questions)
1§09.0 — a partial derivative, from last week●●○○○

Before tangent planes, make sure the two ingredients come out fast. This one has a built-in trap for anyone who slips back into one-variable habits.

Given
  • $f(x,y)=x^2y^3$

Find
  1. (a) What is $f_x(x,y)$?

Hint 1/4

You want the rate as $x$ moves only, so $y$ is frozen into a constant.

Hint 2/4

Differentiate $x^2$ times the constant $y^3$; the constant rides along untouched.

Hint 3/4

$\dfrac{\partial}{\partial x}\big(x^2\,y^3\big)=y^3\cdot\dfrac{d}{dx}x^2=y^3\cdot 2x$.

Hint 4/4

So $f_x=2xy^3$. The exponent on $y$ never changes, because $y$ was held fixed.

Show solution
Freeze y, differentiate x
$$f_x=\frac{\partial}{\partial x}\big(x^2y^3\big)=y^3\,\frac{d}{dx}x^2$$

$y^3$ is a constant when only $x$ moves, so it comes out front

$$=y^3\cdot 2x=2xy^3$$

the derivative of $x^2$ is $2x$; the frozen $y^3$ is unchanged

Answer $$\boxed{f_x=2xy^3}$$
Check

Check with $f_y=3x^2y^2$: the two are different, as they must be, and each keeps the other variable's power fixed.

2§09.0 — one-variable chain rule●○○○○

The multivariable chain rule is this move repeated along branches. If it is rusty, fix it here first.

Given
  • $g(t)=\sin(t^2)$

Find
  1. (a) Compute $g'(t)$.

Hint 1/4

It is a composition: an outer $\sin$ wrapped around an inner $t^2$.

Hint 2/4

Chain rule: derivative of outer at the inner, times derivative of the inner.

Hint 3/4

Outer derivative $\cos(t^2)$; inner derivative $\dfrac{d}{dt}t^2=2t$.

Hint 4/4

Multiply: $g'(t)=2t\cos(t^2)$.

Show solution
Apply the chain rule once
$$g'(t)=\cos(t^2)\cdot\frac{d}{dt}(t^2)$$

derivative of the outer $\sin$ evaluated at the inner, times the inner's derivative

$$=\cos(t^2)\cdot 2t=2t\cos(t^2)$$

the inner derivative is $2t$

Answer $$\boxed{g'(t)=2t\cos(t^2)}$$
Check

At $t=0$ the answer is $0$; and $g(t)=\sin(t^2)$ is flat at $t=0$ because $t^2$ has a minimum there, so a zero slope is right.

3§09.0 — the equation of a plane●●○○○

The tangent plane is a plane; you should be able to write any plane from a point and a normal without thinking.

Given
  • the plane passes through $(1,2,3)$

  • its normal vector is $\langle 4,-1,2\rangle$

Find
  1. (a) Which equation describes this plane?

Hint 1/4

A plane is fixed by one point on it and one direction perpendicular to it.

Hint 2/4

Use $A(x-x_0)+B(y-y_0)+C(z-z_0)=0$ with $\langle A,B,C\rangle$ the normal.

Hint 3/4

Here $\langle A,B,C\rangle=\langle 4,-1,2\rangle$ and $(x_0,y_0,z_0)=(1,2,3)$.

Hint 4/4

So $4(x-1)-1(y-2)+2(z-3)=0$.

Show solution
Substitute into the point-normal form
$$4(x-1)+(-1)(y-2)+2(z-3)=0$$

the normal supplies the coefficients; the point supplies what is subtracted

$$4x-y+2z=4-2+6=8$$

expand and collect the constants on the right

Answer $$\boxed{4x-y+2z=8}$$
Check

Test the point: $4(1)-2+2(3)=4-2+6=8$, so $(1,2,3)$ satisfies the equation.

Notation
symbolreads asmeanswatch out
$f_x,\ f_y$

the partial of f with respect to x, and with respect to y

the rate of $f$ when only $x$ moves (with $y$ held fixed), and when only $y$ moves; also written $\partial f/\partial x$ and $\partial f/\partial y$

$f_x(a,b)$ is a number; $f_x$ alone is a function. The plane and the differential use the number.

$L(x,y)$

the linearization of f at the base point

the tangent plane to $z=f(x,y)$ at $(a,b)$, read as a formula for approximate values of $f$ near $(a,b)$

$L$ carries its base point $(a,b)$ inside every coefficient; move the base point and all four numbers in $L$ change.

$dz$

the differential of z

$dz=f_x\,dx+f_y\,dy$, the change in $z$ predicted by the tangent plane over the input steps $dx,dy$

$dz$ is the estimate; $\Delta z=f(a+dx,b+dy)-f(a,b)$ is the truth. They are close, not equal.

$\partial z/\partial t\ \text{vs}\ dz/dt$

partial dee z by dee t, versus dee z by dee t

the partial holds every other independent variable fixed; the ordinary $d$ is used when $t$ is the only independent variable

Reaching for $\partial$ when there is a single independent variable is the most common notation error in this section.

Conventions used here
Partial versus ordinary d

When $z$ depends on inputs that all move with a single variable $t$, the result is an ordinary derivative and we write $dz/dt$. When the inputs depend on more than one independent variable, each result is a partial derivative and we write $\partial z/\partial s$. The symbol on the far left tells the reader how many dials are turning.

Where the partials are evaluated

In the tangent plane and the chain rule, $f_x$ and $f_y$ are evaluated at the base point or at the current point, never left as functions when a number is asked for. A partial derivative written without a point is a function; the plane and the rate want the number it takes at the point in question.

Differentiability is stronger than having partials

Saying a function is differentiable at a point means its graph has a genuine tangent plane there, so that the linear approximation error dies faster than the distance to the point. The mere existence of $f_x$ and $f_y$ does not guarantee this; a sufficient condition is that $f_x$ and $f_y$ are continuous near the point.

The differential symbols dx, dy

In a differential, $dx$ and $dy$ are the actual (small) changes you choose to make in the inputs, equal to $\Delta x$ and $\Delta y$. The output differential $dz$ is then only an estimate of the true change $\Delta z$; the two agree to first order and differ by an amount that shrinks faster than the step.

9.1The plane that touches a surface

The tangent plane packs the height and both partial slopes at a point into one flat equation.

We can already produce both partial derivatives of a surface $z=f(x,y)$. The one thing left is to assemble those two slopes into a single flat sheet that hugs the surface at a chosen point.

Solvable with what we have
  • Find the tangent line to a curve $y=f(x)$ at a point: one point, one slope $f'(a)$, done.

  • Compute $f_x$ and $f_y$ for a surface with $y$ or $x$ frozen.

Not solvable yet
  • Write down the flat object that touches a whole surface $z=f(x,y)$ at a point.

  • Use it to estimate the height of the surface a short step away.

A tangent line worked with one slope, so try $z=f(a,b)+f_x(a,b)(x-a)$ and call it the tangent to the surface.

Why it fails

That is only a line, sitting in the plane $y=b$. It follows the surface as $x$ moves but ignores everything that happens as $y$ moves. A surface is two-dimensional; the flat thing that matches it must be a plane, and a plane needs a $y$-slope too.

RuleTangent plane to z = f(x, y)
Conditions
  • $f$ has continuous partial derivatives near $(a,b)$ (so it is differentiable there)

$$\boxed{\,z=f(a,b)+f_x(a,b)\,(x-a)+f_y(a,b)\,(y-b)\,}$$

Start at the height of the surface above the base point; then add the x-slope times how far you moved in x, and the y-slope times how far you moved in y.

Looks like this, but is not

The cone $z=\sqrt{x^2+y^2}$ looks like a smooth surface that should have a tangent plane everywhere, including at its tip $(0,0,0)$.

At the tip the surface comes to a sharp point, like the bottom of an ice-cream cone. No single flat plane can touch it there; indeed $f_x$ and $f_y$ do not even exist at $(0,0)$. A tangent plane needs the partials to exist first, and a smooth-looking picture is not a guarantee.

Tangent plane to z = x squared minus y squared at (2, 1)

Find the tangent plane to the surface $z=x^2-y^2$ at the point above $(2,1)$.

Given
  • $f(x,y)=x^2-y^2$

  • base point $(a,b)=(2,1)$

Find

the equation of the tangent plane

Solution
Get the height and the two slopes
$$f(2,1)=2^2-1^2=3$$

the height of the surface above the base point

$$f_x=2x\ \Rightarrow\ f_x(2,1)=4,\qquad f_y=-2y\ \Rightarrow\ f_y(2,1)=-2$$

each partial is taken with the other variable frozen, then evaluated at the point

Assemble the plane
$$z=3+4(x-2)-2(y-1)$$

height plus x-slope times x-step plus y-slope times y-step

$$z=4x-2y-3$$

expand and collect: $3-8+2=-3$

Answer $$\boxed{z=4x-2y-3}$$
Check

Check the base point: $4(2)-2(1)-3=8-2-3=3=f(2,1)$, so the plane passes through $P$ as it must.

Two partials and one line of algebra; nothing here needs a calculator.

The plane's coefficients ARE the partials: read $4$ and $-2$ straight off, and you have the surface's two slopes at the point.

Tangent plane to z = square root of x squared plus y squared at (3, 4)

Find the tangent plane to $z=\sqrt{x^2+y^2}$ at the point above $(3,4)$, where the surface is smooth.

Given
  • $f(x,y)=\sqrt{x^2+y^2}$

  • base point $(3,4)$

Find

the tangent plane

Solution
Height and slopes
$$f(3,4)=\sqrt{9+16}=\sqrt{25}=5$$

the height at the base point

$$f_x=\dfrac{x}{\sqrt{x^2+y^2}}\ \Rightarrow\ f_x(3,4)=\tfrac{3}{5},\qquad f_y=\dfrac{y}{\sqrt{x^2+y^2}}\ \Rightarrow\ f_y(3,4)=\tfrac{4}{5}$$

differentiate the square root by the chain rule, once per variable

Assemble and simplify
$$z=5+\tfrac{3}{5}(x-3)+\tfrac{4}{5}(y-4)$$

the plane formula with the three numbers dropped in

$$z=\tfrac{3}{5}x+\tfrac{4}{5}y$$

constants cancel: $5-\tfrac{9}{5}-\tfrac{16}{5}=5-5=0$

Answer $$\boxed{z=\tfrac{3}{5}x+\tfrac{4}{5}y}$$
Check

At $(3,4)$: $\tfrac{3}{5}(3)+\tfrac{4}{5}(4)=\tfrac{9+16}{5}=5$, matching $f(3,4)$. The constant genuinely vanished because the cone's tangent planes all pass through the origin.

Checkpoint
§09.1 — reading off a tangent plane●●○○○

The whole method is three numbers dropped into one formula. This checks that you keep the height and place the slopes on the right variable.

Given
  • $f(x,y)=xy$

  • base point $(2,3)$

Find
  1. (a) Which is the tangent plane at the point above $(2,3)$?

Hint 1/4

You need three numbers: the height $f(2,3)$, and the two slopes $f_x(2,3)$ and $f_y(2,3)$.

Hint 2/4

For $f=xy$, $f_x=y$ and $f_y=x$, so at $(2,3)$ the slopes are $3$ and $2$; the height is $6$.

Hint 3/4

Drop them into $z=f(a,b)+f_x(x-a)+f_y(y-b)=6+3(x-2)+2(y-3)$.

Hint 4/4

Expanding, $6+3x-6+2y-6=3x+2y-6$.

Show solution
Three numbers
$$f(2,3)=6,\quad f_x=y\Rightarrow 3,\quad f_y=x\Rightarrow 2$$

height and the two slopes at the point

$$z=6+3(x-2)+2(y-3)=3x+2y-6$$

assemble, then expand

Answer $$\boxed{z=3x+2y-6}$$
Check

$3(2)+2(3)-6=6=f(2,3)$; the plane meets the surface at the base point.

⚠ Dropping the height f(a,b)

the slope terms feel like the calculus, so the constant height reads as decoration

wrong$$z=f_x(a,b)(x-a)+f_y(a,b)(y-b)$$
right$$z=f(a,b)+f_x(a,b)(x-a)+f_y(a,b)(y-b)$$
⚠ Putting each slope on the wrong variable

$f_x$ and $f_y$ get written down in a rush and attached to whichever bracket comes first

wrong$$z=f(a,b)+f_y(a,b)(x-a)+f_x(a,b)(y-b)$$
right$$z=f(a,b)+f_x(a,b)(x-a)+f_y(a,b)(y-b)$$

9.2Using the plane as a calculator, and when you are allowed to

The tangent plane's height estimates f cheaply, and it is trustworthy exactly when f is differentiable.

Read the tangent plane as a rule for height instead of a geometric object, and it becomes a hand calculator: it trades a hard value of $f$ for one multiplication and one addition.

RuleLinear approximation of f near (a, b)
Conditions
  • $f$ is differentiable at $(a,b)$

  • $(x,y)$ is close to $(a,b)$

$$\boxed{\,f(x,y)\approx L(x,y)=f(a,b)+f_x(a,b)(x-a)+f_y(a,b)(y-b)\,}$$

Near the base point, the surface and its tangent plane share almost the same height, so the plane's height is a good estimate of the function's.

Looks like this, but is not

Take $f(x,y)=\dfrac{xy}{x^2+y^2}$ with $f(0,0)=0$. Along each axis $f$ is constantly $0$, so both partials exist at the origin: $f_x(0,0)=f_y(0,0)=0$. It looks ready for a linear approximation.

But approach the origin along the line $y=x$: $f(x,x)=\dfrac{x^2}{2x^2}=\tfrac12$, not $0$. So $f$ is not even continuous at $(0,0)$, let alone differentiable, and the 'linear approximation' $L\equiv 0$ is wrong by $\tfrac12$ arbitrarily close in. Existence of both partials is not enough; that is why the theorem asks for the partials to be continuous.

step hpointtrue festimate Lerror

1.0

(4.0, 5.0)

6.4031

6.4000

0.0031

0.5

(3.5, 4.5)

5.7009

5.7000

0.0009

0.1

(3.1, 4.1)

5.14004

5.14000

0.00004

Shrink the step by a factor of 5 (from 0.5 to 0.1) and the error drops by about 20, close to $5^2=25$. The error of a tangent-plane estimate is second order in the step: halve the step and you roughly quarter the error. That is exactly why differentiability, defined below, is the right idea.

Estimating the length of the vector (3.02, 3.96)

Use a linear approximation to estimate $\sqrt{(3.02)^2+(3.96)^2}$ by hand.

Given
  • $f(x,y)=\sqrt{x^2+y^2}$

  • target point $(3.02,3.96)$

Find

a decimal estimate without a calculator

Solution
Pick a friendly base point nearby
$$(a,b)=(3,4)$$

the closest point where $f$ and both partials are exact, and the steps $dx=0.02,\ dy=-0.04$ are small

$$f(3,4)=5,\quad f_x(3,4)=\tfrac{3}{5}=0.6,\quad f_y(3,4)=\tfrac{4}{5}=0.8$$

the three numbers the plane is built from

Walk one step along the plane
$$L=5+0.6(0.02)+0.8(-0.04)$$

height plus each slope times its step; the step in $y$ is negative because $3.96<4$

$$=5+0.012-0.032=4.980$$

one multiplication per input and an addition

Answer $$\boxed{\sqrt{(3.02)^2+(3.96)^2}\approx 4.980}$$
Check

Square the estimate: $4.980^2=24.8004$, while $(3.02)^2+(3.96)^2=9.1204+15.6816=24.802$. The two agree to four figures, so the estimate is sound.

A step of a few hundredths gives an error in the fourth decimal place, exactly the second-order behaviour the table predicted.

Where is f(x, y) = x squared plus x y differentiable?

State where $f(x,y)=x^2+xy$ is differentiable, and justify it with the theorem.

Given
  • $f(x,y)=x^2+xy$

Find

the set of points where a tangent plane exists

Solution
Check the sufficient condition
$$f_x=2x+y,\qquad f_y=x$$

both partials, taken with the other variable frozen

$$2x+y\ \text{and}\ x\ \text{are polynomials, continuous on all of}\ \mathbb{R}^2$$

polynomials are continuous everywhere, which is exactly the hypothesis the theorem needs

Answer $$\boxed{f\ \text{is differentiable at every point}\ (a,b)}$$
Check

A quick sanity check: the counterexample failed because its partials were discontinuous at the origin; here nothing like that can happen, so a tangent plane exists everywhere.

Checkpoint
§09.2 — one step of a linear approximation●●○○○

You do not need the true value to answer; the estimate is pure arithmetic once you have the three numbers.

Given
  • $f(x,y)=\sqrt{x^2+y^2}$

  • base point $(3,4)$ with $f=5,\ f_x=0.6,\ f_y=0.8$

Find
  1. (a) Estimate $f(3.1,3.9)$ using the linear approximation at $(3,4)$.

Hint 1/4

You are moving from $(3,4)$ to $(3.1,3.9)$, so find the two steps first.

Hint 2/4

The estimate is $L=f(a,b)+f_x\,dx+f_y\,dy$ with $dx=0.1$ and $dy=-0.1$.

Hint 3/4

Substitute: $L=5+0.6(0.1)+0.8(-0.1)$, using $f=5,\ f_x=0.6,\ f_y=0.8$.

Hint 4/4

So $L=5+0.06-0.08=4.98$.

Show solution
Plug into the plane
$$L=5+0.6(0.1)+0.8(-0.1)$$

the linear approximation with the two steps

$$=5+0.06-0.08=4.98$$

collect

Answer $$\boxed{L=4.98}$$
Check

True value $\sqrt{9.61+15.21}=\sqrt{24.82}=4.9820$; the estimate $4.98$ is right to three figures.

⚠ Using the wrong sign on a step

$dx$ and $dy$ are read as the target coordinates instead of the change from the base point

wrong$$L=5+0.6(3.1)+0.8(3.9)$$
right$$L=5+0.6(0.1)+0.8(-0.1)$$
⚠ Approximating where f is not differentiable

a formula exists, so it feels safe to linearize, even at a corner or a break

wrong$$\sqrt{x^2+y^2}\approx L\ \text{near}\ (0,0)$$
right$$\text{no tangent plane at}\ (0,0);\ \text{the tip is a corner}$$

9.3Small changes: the total differential

The total differential adds one partial-times-change term per input to estimate how much f moves.

Sometimes you do not want the value of $f$ at a new point but the change in $f$ when the inputs nudge a little. Rearranging the linear approximation gives that change its own name and its own symbol.

DefinitionTotal differential
Conditions
  • $f$ differentiable at the point

  • $dx=\Delta x,\ dy=\Delta y$ are the chosen input changes

$$\boxed{\,dz=f_x(x,y)\,dx+f_y(x,y)\,dy\,}$$

The predicted change in output is the x-slope times the change in x plus the y-slope times the change in y; each input contributes through its own partial.

Looks like this, but is not

It is tempting to treat $dz$ as the exact change $\Delta z$, since for a straight line the tangent is the function.

For a genuinely curved surface they differ. In the area picture, $\Delta A=(x+dx)(y+dy)-xy=y\,dx+x\,dy+dx\,dy$, so $\Delta A-dA=dx\,dy$. The differential is missing the corner. It is small (a product of two small numbers) but it is not zero, which is why $dz$ is an estimate, not the truth.

How much does a heated metal plate grow?

A rectangular plate is $30$ cm by $24$ cm. Heating lengthens each side by $0.1$ cm. Use a differential to estimate the change in area, and compare with the exact change.

Given
  • $A=xy$ with $x=30,\ y=24$

  • $dx=dy=0.1$

Find

the estimated change in area $dA$, and the error in that estimate

Solution
Write the differential of the area
$$dA=A_x\,dx+A_y\,dy=y\,dx+x\,dy$$

$A_x=y$ and $A_y=x$, since $A=xy$

$$dA=24(0.1)+30(0.1)=2.4+3=5.4$$

each strip: the long side times its own small growth

Compare with the exact change
$$\Delta A=(30.1)(24.1)-30(24)=725.41-720=5.41$$

the true new area minus the old

$$\Delta A-dA=5.41-5.4=0.01=dx\,dy$$

the leftover is exactly the corner $0.1\times0.1$

Answer $$\boxed{dA=5.4\ \text{cm}^2\quad(\text{exact }5.41,\ \text{missing corner }0.01)}$$
Check

The missed piece $dx\,dy=0.01$ is a hundredth, while $dA=5.4$; the corner is smaller than $dA$ by a factor of hundreds, as a second-order term should be.

Whenever a quantity is a product, its differential is a sum of 'one factor times the other's change' terms, one per factor.

Worst-case error in a computed volume

The sides of a rectangular box are measured as $x=75$, $y=60$, $z=40$ cm, each with a possible error of at most $0.2$ cm. Estimate the largest resulting error in the computed volume $V=xyz$.

Given
  • $V=xyz$ at $(75,60,40)$

  • $|dx|,|dy|,|dz|\le 0.2$

Find

an estimate of the maximum error in $V$

Solution
Differentiate the volume
$$dV=yz\,dx+xz\,dy+xy\,dz$$

the differential of a triple product: freeze two factors in each term

$$yz=2400,\quad xz=3000,\quad xy=4500$$

the three coefficients at the measured point

Push every term to its worst case
$$|dV|\le 2400(0.2)+3000(0.2)+4500(0.2)$$

take each error as large as allowed and all the same sign

$$=(9900)(0.2)=1980$$

factor out $0.2$ and add the coefficients

Answer $$\boxed{|dV|\lesssim 1980\ \text{cm}^3}$$
Check

As a relative error, $1980/180000=0.011=1.1\%$, which is roughly the sum of the three relative side errors $0.2/75+0.2/60+0.2/40$; a good order-of-magnitude check.

Three partials, but each is just a product of the two frozen sides.

Checkpoint
§09.3 — one differential●●○○○

Two terms, one per input. The only trap is forgetting a term or slipping in the corner.

Given
  • $z=x^2y$

  • at $(x,y)=(2,3)$

  • $dx=0.1,\ dy=0.1$

Find
  1. (a) Estimate the change $dz$.

Hint 1/4

Write the differential in general first, then substitute the point and the steps.

Hint 2/4

For $z=x^2y$: $z_x=2xy$ and $z_y=x^2$, so $dz=2xy\,dx+x^2\,dy$.

Hint 3/4

At $(2,3)$: $z_x=2(2)(3)=12$ and $z_y=2^2=4$, with $dx=dy=0.1$.

Hint 4/4

So $dz=12(0.1)+4(0.1)=1.2+0.4=1.6$.

Show solution
Partials then substitute
$$dz=2xy\,dx+x^2\,dy$$

one term per input

$$=12(0.1)+4(0.1)=1.6$$

evaluate the partials at $(2,3)$, then the steps

Answer $$\boxed{dz=1.6}$$
Check

The exact change is $2.1^2(3.1)-2^2(3)=13.671-12=1.671$; the differential $1.6$ is close, low by the second-order part.

⚠ Including the corner term in dz

the exact change has a $dx\,dy$ piece, so it sneaks into the differential

wrong$$dz=f_x\,dx+f_y\,dy+dx\,dy$$
right$$dz=f_x\,dx+f_y\,dy$$
⚠ Losing a term in a product's differential

only the factor that changed 'a lot' gets a term; the other is dropped

wrong$$d(xy)=y\,dx$$
right$$d(xy)=y\,dx+x\,dy$$

9.4One clock driving everything: the chain rule in t

When one variable t drives x and y, dz/dt sums one partial-times-speed term for each of the two routes.

Back to the balloon. The temperature $T$ depends on position $(x,y)$, and the position depends on time $t$. Time reaches $T$ by two routes, through $x$ and through $y$, and the rate on the dial is the sum of what each route contributes.

TheoremChain Rule (Case 1): x and y depend on one variable t
Conditions
  • $z=f(x,y)$ is differentiable

  • $x=g(t)$ and $y=h(t)$ are differentiable functions of $t$

$$\boxed{\,\dfrac{dz}{dt}=\dfrac{\partial z}{\partial x}\dfrac{dx}{dt}+\dfrac{\partial z}{\partial y}\dfrac{dy}{dt}\,}$$

The rate of z with time is the response of z to x times the speed of x, plus the response of z to y times the speed of y: add the contribution of each route by which t reaches z.

Looks like this, but is not

Because $z$ ends up depending on $t$, students often write $\dfrac{\partial z}{\partial t}$ and stop after one term, as if only $x$ carried the time.

There is a single independent variable $t$, so the result is an ordinary derivative $\dfrac{dz}{dt}$, not a partial. And the tree has two branches: dropping the $y$-term is dropping half the answer whenever $y$ actually moves.

How fast is the thermometer climbing?

The temperature near a balloon is $T=x^2+xy$ (with $x$ longitude, $y$ altitude). Right now the balloon is at $(2,1)$, moving with $dx/dt=3$ and $dy/dt=2$. How fast is $T$ changing?

Given
  • $T=x^2+xy$

  • at $(2,1)$

  • $dx/dt=3,\ dy/dt=2$

Find

the rate $dT/dt$ at this instant

Solution
Response of T to each input
$$T_x=2x+y,\qquad T_y=x$$

partials with the other coordinate frozen

$$T_x(2,1)=5,\qquad T_y(2,1)=2$$

evaluated at the balloon's current position

Sum the two routes
$$\frac{dT}{dt}=T_x\frac{dx}{dt}+T_y\frac{dy}{dt}=5(3)+2(2)$$

each route: sensitivity times speed

$$=15+4=19$$

add the eastward route and the upward route

Answer $$\boxed{\dfrac{dT}{dt}=19\ \text{degrees per unit time}}$$
Check

Substitute the path $x=2+3t,\ y=1+2t$ into $T$ and differentiate directly at $t=0$: $2(2)(3)+[3(1)+2(2)]=12+7=19$. Same number, reached without the chain rule.

This is the balloon question from the start, now answered: you never needed a formula for $T$ along the path, only $T$'s partials and the two speeds.

dz/dt for z = x squared y + 3 x y to the fourth at t = 0

Let $z=x^2y+3xy^4$, with $x=\sin 2t$ and $y=\cos t$. Find $dz/dt$ at $t=0$.

Given
  • $z=x^2y+3xy^4$

  • $x=\sin 2t,\ y=\cos t$

  • evaluate at $t=0$

Find

the value of $dz/dt$ at $t=0$

Solution
All four pieces
$$z_x=2xy+3y^4,\qquad z_y=x^2+12xy^3$$

the two partials of $z$

$$\frac{dx}{dt}=2\cos 2t,\qquad \frac{dy}{dt}=-\sin t$$

the two speeds, by the single-variable chain rule

Evaluate at t = 0 before combining
$$t=0:\ x=\sin 0=0,\ y=\cos 0=1$$

the current point on the path

$$z_x=0+3=3,\ z_y=0,\ \tfrac{dx}{dt}=2,\ \tfrac{dy}{dt}=0$$

the four numbers at $t=0$

Combine
$$\frac{dz}{dt}=z_x\frac{dx}{dt}+z_y\frac{dy}{dt}=3(2)+0(0)$$

the chain-rule sum

$$=6$$

only the $x$-route is active because $dy/dt=0$ here

Answer $$\boxed{\left.\dfrac{dz}{dt}\right|_{t=0}=6}$$
Check

Sanity: at $t=0$ the balloon-style motion in $y$ is momentarily stopped ($\sin 0=0$), so the whole rate must come through $x$, and it does.

Evaluating the four pieces at $t=0$ first turns a messy product into $3\cdot 2$.

Checkpoint
§09.4 — dz/dt through two branches●●○○○

Two branches, so two terms. Answer with a number at the given instant.

Given
  • $z=x^2+y^2$

  • $x=t,\ y=t^2$

  • evaluate at $t=1$

Find
  1. (a) Find $dz/dt$ at $t=1$.

Hint 1/4

Time reaches $z$ through both $x$ and $y$, so expect two terms added.

Hint 2/4

Use $\dfrac{dz}{dt}=\dfrac{\partial z}{\partial x}\dfrac{dx}{dt}+\dfrac{\partial z}{\partial y}\dfrac{dy}{dt}$ with $z_x=2x,\ z_y=2y$.

Hint 3/4

Here $\tfrac{dx}{dt}=1,\ \tfrac{dy}{dt}=2t$, and at $t=1$: $x=1,\ y=1$. So $dz/dt=2(1)(1)+2(1)(2)$.

Hint 4/4

That is $2+4=6$.

Show solution
Assemble the two terms
$$\frac{dz}{dt}=2x(1)+2y(2t)=2t+4t^3$$

$z_x\,x'+z_y\,y'$ with $x'=1,\ y'=2t$ and $x=t,\ y=t^2$

$$\left.\frac{dz}{dt}\right|_{t=1}=2+4=6$$

substitute $t=1$

Answer $$\boxed{6}$$
Check

Direct check: $z=t^2+t^4$, so $dz/dt=2t+4t^3=6$ at $t=1$. The two routes agree.

⚠ Writing a partial when t is the only variable

$z$ visibly depends on $t$, and $\partial$ looks more advanced than $d$

wrong$$\frac{\partial z}{\partial t}=z_x x'+z_y y'$$
right$$\frac{dz}{dt}=z_x x'+z_y y'$$
⚠ Dropping a branch

the first term feels like the whole rule, so the $y$-route is forgotten

wrong$$\frac{dz}{dt}=\frac{\partial z}{\partial x}\frac{dx}{dt}$$
right$$\frac{dz}{dt}=\frac{\partial z}{\partial x}\frac{dx}{dt}+\frac{\partial z}{\partial y}\frac{dy}{dt}$$

9.5Several dials: the tree diagram

With several independent variables, write one partial equation each, summing the tree paths that end at that variable.

Now let the intermediate variables $x,y$ depend on more than one independent variable, say $s$ and $t$. There is nothing new to learn, only more branches to walk: you get one equation per independent variable, each built the same way.

TheoremChain Rule (Case 2): x and y depend on s and t
Conditions
  • $z=f(x,y)$ differentiable

  • $x=g(s,t),\ y=h(s,t)$ have partial derivatives

$$\boxed{\,\dfrac{\partial z}{\partial s}=\dfrac{\partial z}{\partial x}\dfrac{\partial x}{\partial s}+\dfrac{\partial z}{\partial y}\dfrac{\partial y}{\partial s},\qquad \dfrac{\partial z}{\partial t}=\dfrac{\partial z}{\partial x}\dfrac{\partial x}{\partial t}+\dfrac{\partial z}{\partial y}\dfrac{\partial y}{\partial t}\,}$$

To differentiate z by one independent variable, walk every path from z down to that variable, multiply the partials along each path, and add the paths; write one such equation for each independent variable.

Looks like this, but is not

Having just met $dz/dt$, it is natural to keep writing $d$'s here too, or to build $\partial z/\partial s$ out of $\partial x/\partial t$.

With two independent variables $s,t$, holding one fixed and moving the other is a partial derivative, so every symbol is a $\partial$. And the wires must match: $\partial z/\partial s$ uses $\partial x/\partial s$ and $\partial y/\partial s$, the rates as $s$ moves, never the $t$-rates. Cross the wires and you have added two unrelated things.

Both partials of z = x squared y with x = s + t, y = s - t

Let $z=x^2y$ with $x=s+t$ and $y=s-t$. Find $\partial z/\partial s$ and $\partial z/\partial t$.

Given
  • $z=x^2y$

  • $x=s+t,\ y=s-t$

Find

the two partials $\partial z/\partial s$ and $\partial z/\partial t$

Solution
Collect the ingredients
$$z_x=2xy,\qquad z_y=x^2$$

partials of $z$

$$x_s=1,\ x_t=1,\qquad y_s=1,\ y_t=-1$$

partials of the intermediate variables

One equation per independent variable
$$\frac{\partial z}{\partial s}=2xy(1)+x^2(1)=2xy+x^2$$

paths ending at $s$, summed

$$\frac{\partial z}{\partial t}=2xy(1)+x^2(-1)=2xy-x^2$$

paths ending at $t$; the $y$-branch brings a minus

Answer $$\boxed{\dfrac{\partial z}{\partial s}=2xy+x^2,\qquad \dfrac{\partial z}{\partial t}=2xy-x^2}$$
Check

Substitute directly: $z=(s+t)^2(s-t)$, so $\partial z/\partial s=(s+t)(3s-t)$. Expanding $2xy+x^2$ with $x=s+t,\ y=s-t$ gives $(s+t)(3s-t)$ too.

The only thing that changed from Case 1 is that each branch label became a partial and there is now one output equation per independent variable.

Partial of z = e to the x times sine y with x = s t squared, y = s squared t

Let $z=e^{x}\sin y$ with $x=st^2$ and $y=s^2t$. Find $\partial z/\partial s$.

Given
  • $z=e^{x}\sin y$

  • $x=st^2,\ y=s^2t$

Find

the partial $\partial z/\partial s$

Solution
Ingredients for the s-paths
$$z_x=e^{x}\sin y,\qquad z_y=e^{x}\cos y$$

partials of $z$

$$x_s=t^2,\qquad y_s=2st$$

partials of $x,y$ with respect to $s$ (hold $t$ fixed)

Sum the two s-paths and back-substitute
$$\frac{\partial z}{\partial s}=e^{x}\sin y\cdot t^2+e^{x}\cos y\cdot 2st$$

the chain-rule sum for $s$

$$=e^{st^2}\big(t^2\sin(s^2t)+2st\cos(s^2t)\big)$$

replace $x,y$ by their expressions in $s,t$

Answer $$\boxed{\dfrac{\partial z}{\partial s}=e^{st^2}\big(t^2\sin(s^2t)+2st\cos(s^2t)\big)}$$
Check

Test at $t=0$: every term has a factor $t$, so $\partial z/\partial s=0$; and indeed at $t=0$, $x=y=0$ for all $s$, making $z=e^0\sin 0=0$ constant in $s$.

Two chain-rule products, then one substitution to return to $s,t$.

Checkpoint
§09.5 — which equation is right●●●○○

The structure is the whole point here, not the arithmetic. Pick the correctly wired equation.

Given
  • $z=f(x,y)$

  • $x=g(s,t),\ y=h(s,t)$

Find
  1. (a) Which expression equals $\partial z/\partial t$?

Hint 1/4

Two independent variables are present, so ask first: partial or ordinary derivative, and how many terms.

Hint 2/4

For $\partial z/\partial t$ walk the paths from $z$ that end at $t$; each path multiplies the partials along it, and $t$ is reached through both $x$ and $y$.

Hint 3/4

So the terms use $\partial x/\partial t$ and $\partial y/\partial t$ (the $t$-rates), not the $s$-rates, and there is no direct $z$-to-$t$ link.

Hint 4/4

The answer is $$\dfrac{\partial z}{\partial x}\dfrac{\partial x}{\partial t}+\dfrac{\partial z}{\partial y}\dfrac{\partial y}{\partial t}$$.

Show solution
Read the tree
$$t\ \text{is reached from}\ z\ \text{through}\ x\ \text{and through}\ y$$

two paths end at $t$

$$\frac{\partial z}{\partial t}=\frac{\partial z}{\partial x}\frac{\partial x}{\partial t}+\frac{\partial z}{\partial y}\frac{\partial y}{\partial t}$$

multiply along each path, add the paths, all partials

Answer $$\boxed{\dfrac{\partial z}{\partial t}=\dfrac{\partial z}{\partial x}\dfrac{\partial x}{\partial t}+\dfrac{\partial z}{\partial y}\dfrac{\partial y}{\partial t}}$$
Check

Count check: two intermediate variables give two terms, and both carry $\partial\,\cdot/\partial t$ in the second factor.

⚠ Using ordinary d with several independent variables

the one-parameter case used $d$, so the habit carries over

wrong$$\frac{dz}{ds}=z_x x_s+z_y y_s$$
right$$\frac{\partial z}{\partial s}=z_x x_s+z_y y_s$$
⚠ Crossing the wires

the subscripts blur, and an $s$-rate gets multiplied into a $t$-equation

wrong$$\frac{\partial z}{\partial s}=z_x\frac{\partial x}{\partial t}+z_y\frac{\partial y}{\partial t}$$
right$$\frac{\partial z}{\partial s}=z_x\frac{\partial x}{\partial s}+z_y\frac{\partial y}{\partial s}$$

9.6Slopes without solving: implicit differentiation

Differentiating F = 0 gives dy/dx = -F_x/F_y and, for a surface, partial z by x = -F_x/F_z.

The chain rule pays off at once for equations that tie the variables together without being solved for one of them. Differentiate the whole equation and let the chain rule carry the hidden dependence.

RuleImplicit differentiation formulas
Conditions
  • $F$ has continuous partials

  • the relevant denominator partial is non-zero at the point

$$\boxed{\ \dfrac{dy}{dx}=-\dfrac{F_x}{F_y}\ }\qquad\boxed{\ \dfrac{\partial z}{\partial x}=-\dfrac{F_x}{F_z},\quad \dfrac{\partial z}{\partial y}=-\dfrac{F_y}{F_z}\ }$$

Write the relation as F equals zero; then the curve's slope is minus the x-partial over the y-partial, and a surface's z-rates are minus the matching partial over the z-partial.

Looks like this, but is not

The formula $dy/dx=F_x/F_y$ (no minus sign) looks plausible; after all, we are just taking a ratio of partials.

The minus sign is not optional. Differentiating $F=0$ gives $F_x+F_y\,y'=0$, so $y'$ is $F_x$ moved to the other side and divided out: $-F_x/F_y$. Drop the sign and the tangent tilts the wrong way. In the picture the true slope is negative; $+F_x/F_y=+\tfrac{2}{3}$ would point uphill, straight off the circle.

Slope on the circle x squared plus y squared = 13 at (2, 3)

Find $dy/dx$ for $x^2+y^2=13$ at the point $(2,3)$, without solving for $y$.

Given
  • $x^2+y^2=13$

  • point $(2,3)$

Find

the slope $dy/dx$ at the point

Solution
Set F = 0 and take its partials
$$F(x,y)=x^2+y^2-13,\quad F_x=2x,\quad F_y=2y$$

move everything to one side; then two ordinary partials

$$\frac{dy}{dx}=-\frac{F_x}{F_y}=-\frac{2x}{2y}=-\frac{x}{y}$$

the formula, then cancel the $2$

Evaluate at the point
$$\left.\frac{dy}{dx}\right|_{(2,3)}=-\frac{2}{3}$$

substitute $x=2,\ y=3$

Answer $$\boxed{\left.\dfrac{dy}{dx}\right|_{(2,3)}=-\dfrac{2}{3}}$$
Check

Solve explicitly to check: $y=\sqrt{13-x^2}$, so $y'=\dfrac{-x}{\sqrt{13-x^2}}=\dfrac{-x}{y}=-\dfrac{2}{3}$ at $(2,3)$. The implicit route skipped the square root.

The slope $-x/y$ is just the direction perpendicular to the radius $(x,y)$, which is why a tangent to a circle is always perpendicular to its radius.

The folium x cubed plus y cubed = 6 x y

Find $dy/dx$ for the folium $x^3+y^3=6xy$, and evaluate it at $(3,3)$.

Given
  • $x^3+y^3=6xy$

  • point $(3,3)$

Find

a formula for $dy/dx$, and its value at $(3,3)$

Solution
Partials of F = x cubed + y cubed minus 6 x y
$$F_x=3x^2-6y,\qquad F_y=3y^2-6x$$

differentiate $F=x^3+y^3-6xy$ once with respect to each variable

$$\frac{dy}{dx}=-\frac{3x^2-6y}{3y^2-6x}=-\frac{x^2-2y}{y^2-2x}$$

apply the formula and cancel the common $3$

Evaluate at (3, 3)
$$=-\frac{9-6}{9-6}=-1$$

substitute $x=y=3$

Answer $$\boxed{\dfrac{dy}{dx}=-\dfrac{x^2-2y}{y^2-2x},\quad \left.\dfrac{dy}{dx}\right|_{(3,3)}=-1}$$
Check

At $(3,3)$ the curve is symmetric in $x$ and $y$, so a slope of $-1$ (reflecting $x\leftrightarrow y$) is exactly what symmetry predicts.

No product rule, no solving a cubic: implicit differentiation avoids both.

A surface: partial z by x for x cubed + y cubed + z cubed + 6 x y z = 1

The equation $x^3+y^3+z^3+6xyz=1$ defines $z$ as a function of $x$ and $y$. Find $\partial z/\partial x$.

Given
  • $x^3+y^3+z^3+6xyz=1$

Find

the partial $\partial z/\partial x$

Solution
Take F = 0 and its x- and z-partials
$$F=x^3+y^3+z^3+6xyz-1$$

one side; now differentiate treating $x,y,z$ as independent

$$F_x=3x^2+6yz,\qquad F_z=3z^2+6xy$$

for $F_x$ hold $y,z$ fixed; for $F_z$ hold $x,y$ fixed

Apply the surface formula
$$\frac{\partial z}{\partial x}=-\frac{F_x}{F_z}=-\frac{3x^2+6yz}{3z^2+6xy}$$

the ratio, with the minus sign

$$=-\frac{x^2+2yz}{z^2+2xy}$$

cancel the common factor $3$

Answer $$\boxed{\dfrac{\partial z}{\partial x}=-\dfrac{x^2+2yz}{z^2+2xy}}$$
Check

Symmetry check: the equation is symmetric in $x,y,z$, so $\partial z/\partial y=-\dfrac{y^2+2xz}{z^2+2xy}$ by swapping $x\leftrightarrow y$, which is indeed what the same method gives.

Checkpoint
§09.6 — an implicit partial●●○○○

Set the equation to zero, take two partials, divide with a minus sign.

Given
  • $x^2+y^2+z^2=14$ defines $z=z(x,y)$

  • at the point $(1,2,3)$

Find
  1. (a) Find $\partial z/\partial x$ at $(1,2,3)$.

Hint 1/4

You want the surface formula $\partial z/\partial x=-F_x/F_z$; identify $F$ first.

Hint 2/4

Here $F=x^2+y^2+z^2-14$, so $F_x=2x$ and $F_z=2z$.

Hint 3/4

Thus $\partial z/\partial x=-\dfrac{2x}{2z}=-\dfrac{x}{z}$, and at $(1,2,3)$ that is $-\dfrac{1}{3}$.

Hint 4/4

So $\partial z/\partial x=-\tfrac13$.

Show solution
Formula and substitution
$$\frac{\partial z}{\partial x}=-\frac{F_x}{F_z}=-\frac{2x}{2z}=-\frac{x}{z}$$

the surface rule, then cancel

$$=-\frac{1}{3}$$

at $(1,2,3)$

Answer $$\boxed{\dfrac{\partial z}{\partial x}=-\dfrac{1}{3}}$$
Check

Explicit check: $z=\sqrt{14-x^2-y^2}$, so $\partial z/\partial x=-x/\sqrt{\cdots}=-x/z=-\tfrac13$.

⚠ Dropping the minus sign

the ratio of partials is remembered but the sign from moving $F_x$ across is not

wrong$$\frac{dy}{dx}=\frac{F_x}{F_y}$$
right$$\frac{dy}{dx}=-\frac{F_x}{F_y}$$
⚠ Dividing by the wrong partial for a surface

$\partial z/\partial x$ has an $x$ in it, so $F_x$ looks like the denominator too

wrong$$\frac{\partial z}{\partial x}=-\frac{F_x}{F_y}$$
right$$\frac{\partial z}{\partial x}=-\frac{F_x}{F_z}$$
Writing a tangent plane or a linear approximation

you are asked for the tangent plane at a point, or to estimate $f$ near a friendly point

  1. Name the base point

    Pick $(a,b)$: the given point for a tangent plane, or the nearest friendly point to the target for an estimate.

  2. Get three numbers

    Compute $f(a,b)$, $f_x(a,b)$, $f_y(a,b)$. Evaluate the partials at the point; do not leave them as functions.

  3. Assemble

    Write $L(x,y)=f(a,b)+f_x(a,b)(x-a)+f_y(a,b)(y-b)$. For an estimate, plug the target $(x,y)$ into $L$.

  4. Check the base point

    Confirm $L(a,b)=f(a,b)$: the plane must pass through the surface at the base point.

Where it goes wrong
  • Dropping the height $f(a,b)$.

  • Using target coordinates instead of steps $x-a,\ y-b$.

  • Approximating where $f$ is not differentiable.

Differentiating a composite with a tree

$z=f(x,y)$ and $x,y$ are themselves functions of one or more variables

  1. Draw the tree

    Put $z$ on top, the intermediate variables beneath, and the independent variables at the bottom.

  2. Count the independent variables

    One independent variable means ordinary $d$; two or more means partial $\partial$, with one equation per independent variable.

  3. Walk the paths

    For each independent variable, sum over every path down to it, multiplying the partials along each path.

  4. Evaluate

    If a point is given, substitute it — often before combining, to keep the arithmetic light.

Where it goes wrong
  • Writing $\partial$ when a single variable drives everything, or $d$ when several do.

  • Dropping a branch.

  • Crossing the wires between $s$- and $t$-rates.

Implicit differentiation

an equation ties the variables together and you want a slope or a partial without solving

  1. Move to F = 0

    Rewrite the relation as $F(\dots)=0$.

  2. Take partials of F

    Treat all variables as independent while differentiating $F$; get $F_x,\ F_y$ (and $F_z$ for a surface).

  3. Divide with a minus

    $\dfrac{dy}{dx}=-\dfrac{F_x}{F_y}$, or $\dfrac{\partial z}{\partial x}=-\dfrac{F_x}{F_z}$. Match the denominator to the dependent variable.

  4. Evaluate

    Substitute the point if one is given; check the denominator is non-zero there.

Where it goes wrong
  • Dropping the minus sign.

  • Dividing by $F_y$ instead of $F_z$ for a surface.

  • Forgetting the denominator can vanish.

One clock: dz/dt for z = xy with x = t, y = t squared

For $z=xy$ with $x=t,\ y=t^2$, find the rate of $z$.

Given
  • $z=xy$

  • $x=t,\ y=t^2$

Find

$dz/dt$

Solution
One independent variable, so ordinary d
$$\frac{dz}{dt}=y\frac{dx}{dt}+x\frac{dy}{dt}=y(1)+x(2t)$$

$z_x=y,\ z_y=x$; both $x,y$ move with the single clock $t$

$$=t^2+t(2t)=3t^2$$

substitute $x=t,\ y=t^2$

Answer $$\boxed{\dfrac{dz}{dt}=3t^2}$$
Check

Direct: $z=t\cdot t^2=t^3$, so $dz/dt=3t^2$.

Two dials: partial z by s for z = xy with x = s + t, y = s - t

For $z=xy$ with $x=s+t,\ y=s-t$, find $\partial z/\partial s$.

Given
  • $z=xy$

  • $x=s+t,\ y=s-t$

Find

$\partial z/\partial s$

Solution
Two independent variables, so partial
$$\frac{\partial z}{\partial s}=y\frac{\partial x}{\partial s}+x\frac{\partial y}{\partial s}=y(1)+x(1)$$

$x_s=1,\ y_s=1$; hold $t$ fixed while $s$ moves

$$=x+y=2s$$

substitute $x=s+t,\ y=s-t$, and $t$ cancels

Answer $$\boxed{\dfrac{\partial z}{\partial s}=2s}$$
Check

Direct: $z=(s+t)(s-t)=s^2-t^2$, so $\partial z/\partial s=2s$.

Same function $z=xy$: on the left one clock $t$ drives everything, so the answer is an ordinary $dz/dt$; on the right two dials $s,t$ turn, so the answer is a partial $\partial z/\partial s$ with $t$ held fixed.

How to tell them apart

Count the independent variables. Exactly one gives an ordinary $d$ and a single equation; two or more give a $\partial$ and one equation per independent variable.

Scaffolding comes off
The common skeleton
  1. Identify the dependent variable, the intermediate variables it is built from, and the independent variable(s).

  2. Collect every partial: the derivatives of $z$ in its intermediate variables, and the derivative of each intermediate variable.

  3. For each independent variable, sum over the paths from $z$ down to it, multiplying the labels along each path.

  4. Substitute the given point or expressions, and simplify.

1 · fully worked

dz/dt for z = x squared y with x = t squared, y = t cubed

Find $dz/dt$ at $t=1$ for $z=x^2y$, where $x=t^2$ and $y=t^3$.

Given
  • $z=x^2y$

  • $x=t^2,\ y=t^3$

Find

$dz/dt$ at $t=1$

Solution
Identify and collect
$$z_x=2xy,\quad z_y=x^2$$

the two partials of $z$

$$\frac{dx}{dt}=2t,\quad \frac{dy}{dt}=3t^2$$

one independent variable $t$, so ordinary derivatives

Sum the two paths
$$\frac{dz}{dt}=2xy(2t)+x^2(3t^2)$$

$z_x\,x'+z_y\,y'$

Substitute t = 1
$$t=1:\ x=1,\ y=1$$

the point on the path

$$\frac{dz}{dt}=2(1)(1)(2)+1(3)=4+3=7$$

combine the two contributions

Answer $$\boxed{\left.\dfrac{dz}{dt}\right|_{t=1}=7}$$
Check

Direct check: $z=(t^2)^2(t^3)=t^7$, so $dz/dt=7t^6=7$ at $t=1$.

2 · you write the reasoning

Same skeleton, an easier function: find $dz/dt$ at $t=2$ for $z=xy$ with $x=t,\ y=t^2$. The steps are written; supply the reason for each before opening it.

  1. $z_x=y$ and $z_y=x$.

    reasoning

    $z=xy$, so the partial in $x$ leaves $y$, and the partial in $y$ leaves $x$.

  2. $\dfrac{dx}{dt}=1,\ \dfrac{dy}{dt}=2t$.

    reasoning

    Both intermediate variables depend on the single clock $t$, so these are ordinary derivatives.

  3. $\dfrac{dz}{dt}=y(1)+x(2t)=t^2+2t^2=3t^2$.

    reasoning

    One independent variable means one equation, summing the two paths $z\to x\to t$ and $z\to y\to t$; then substitute $x=t,\ y=t^2$.

  4. At $t=2$, $\dfrac{dz}{dt}=12$.

    reasoning

    Finally put $t=2$ into $3t^2$. A direct check agrees: $z=t\cdot t^2=t^3$, $dz/dt=3t^2=12$.

3 · find the buried error

Harder function, and a solution written by someone else. Exactly two of the four steps contain an error. Find both before reading on: the task is to find $dz/dt$ for $z=x^2+y^2$ with $x=e^{t},\ y=e^{-t}$.

  1. Step 1. $z_x=2x$ and $z_y=2y$.

  2. Step 2. $\dfrac{dx}{dt}=e^{t}$ and $\dfrac{dy}{dt}=e^{-t}$.

  3. Step 3. $\dfrac{dz}{dt}=z_x\dfrac{dx}{dt}+z_y\dfrac{dy}{dt}=2x\,e^{t}+2y\,e^{-t}$.

  4. Step 4. Putting $x=e^{t},\ y=e^{-t}$: $2e^{t}e^{t}+2e^{-t}e^{-t}=2e^{t^2}+2e^{-t^2}$.

the two buried errors (2)
⚠ step 2

$\dfrac{dy}{dt}=-e^{-t}$, not $e^{-t}$; the derivative of $e^{-t}$ carries the $-1$ from the inner exponent.

The exponential is the visible rule and gets differentiated to itself; the inner function's derivative $-1$ is the easy factor to drop.

right

$\dfrac{dy}{dt}=-e^{-t}$, which turns the second term into $-2e^{-2t}$.

⚠ step 4

$e^{t}e^{t}=e^{2t}$, not $e^{t^2}$; multiplying powers of the same base adds the exponents.

The reflex 'multiply the powers' is borrowed from $(e^{t})^{t}$; here the bases are multiplied, so the exponents add.

right

$e^{t}e^{t}=e^{t+t}=e^{2t}$, and with the fixed sign the answer is $2e^{2t}-2e^{-2t}$.

4 · the bare problem
§09.4 — chain rule, on your own●●●○○

No scaffolding now. Set up the tree, sum the paths, and evaluate.

Given
  • $z=\dfrac{x}{y}$

  • $x=t^2,\ y=t$

Find
  1. (a) Find $dz/dt$ at $t=1$.

Hint 1/4

One clock $t$ drives both $x$ and $y$, so expect an ordinary $dz/dt$ with two terms.

Hint 2/4

Use $\dfrac{dz}{dt}=z_x\dfrac{dx}{dt}+z_y\dfrac{dy}{dt}$ with $z_x=\dfrac{1}{y}$ and $z_y=-\dfrac{x}{y^2}$.

Hint 3/4

Here $\dfrac{dx}{dt}=2t,\ \dfrac{dy}{dt}=1$, and at $t=1$: $x=1,\ y=1$.

Hint 4/4

So $dz/dt=\dfrac{1}{1}(2)-\dfrac{1}{1}(1)=2-1=1$.

Show solution
Assemble and simplify
$$\frac{dz}{dt}=\frac{1}{y}(2t)+\left(-\frac{x}{y^2}\right)(1)$$

$z_x=1/y,\ z_y=-x/y^2$; $x'=2t,\ y'=1$

$$=\frac{2t}{t}-\frac{t^2}{t^2}=2-1=1$$

substitute $x=t^2,\ y=t$

Answer $$\boxed{\left.\dfrac{dz}{dt}\right|_{t=1}=1}$$
Check

Direct check: $z=t^2/t=t$, so $dz/dt=1$ for all $t$. The chain rule agrees.

Full exam-style question

Exam level: the polar-coordinate identityexam format

Let $z=f(x,y)$ have continuous partial derivatives, and let $x=r\cos\theta,\ y=r\sin\theta$. Show that $$\left(\dfrac{\partial z}{\partial r}\right)^2+\dfrac{1}{r^2}\left(\dfrac{\partial z}{\partial \theta}\right)^2=\left(\dfrac{\partial z}{\partial x}\right)^2+\left(\dfrac{\partial z}{\partial y}\right)^2.$$

Given
  • $z=f(x,y)$

  • $x=r\cos\theta,\ y=r\sin\theta$

Find

a proof of the stated identity

Solution
Chain rule for the r-derivative
$$x_r=\cos\theta,\quad y_r=\sin\theta$$

partials of $x,y$ with respect to $r$

$$\frac{\partial z}{\partial r}=z_x\cos\theta+z_y\sin\theta$$

sum the two paths ending at $r$

Chain rule for the theta-derivative
$$x_\theta=-r\sin\theta,\quad y_\theta=r\cos\theta$$

partials of $x,y$ with respect to $\theta$

$$\frac{\partial z}{\partial \theta}=z_x(-r\sin\theta)+z_y(r\cos\theta)=r(-z_x\sin\theta+z_y\cos\theta)$$

sum the two paths ending at $\theta$; factor out $r$

Square, scale, and add
$$\left(\frac{\partial z}{\partial r}\right)^2=z_x^2\cos^2\theta+2z_xz_y\cos\theta\sin\theta+z_y^2\sin^2\theta$$

expand the first square

$$\frac{1}{r^2}\left(\frac{\partial z}{\partial \theta}\right)^2=z_x^2\sin^2\theta-2z_xz_y\sin\theta\cos\theta+z_y^2\cos^2\theta$$

the $r^2$ cancels the $r^2$ from the factor, leaving the bracket squared

$$\text{sum}=z_x^2(\cos^2\theta+\sin^2\theta)+z_y^2(\sin^2\theta+\cos^2\theta)$$

the two cross terms $+2z_xz_y\cos\theta\sin\theta$ and $-2z_xz_y\sin\theta\cos\theta$ cancel

$$=z_x^2+z_y^2$$

each Pythagorean bracket is $1$

Answer $$\boxed{\left(\dfrac{\partial z}{\partial r}\right)^2+\dfrac{1}{r^2}\left(\dfrac{\partial z}{\partial \theta}\right)^2=\left(\dfrac{\partial z}{\partial x}\right)^2+\left(\dfrac{\partial z}{\partial y}\right)^2}$$
Check

The right side has no $\theta$ in it, so the left side must be rotation-independent too; the cancelling cross terms are exactly what removes the angle. Units also match: both sides are (rate of $z$) squared.

Two chain-rule sums and one trig identity; no properties of $f$ beyond having continuous partials are used.

This is the squared length of the vector of partials written in polar coordinates; you will meet it again as the gradient's length in the next section.

Practice

A · concept 4 questions
1§09.2 — do partials guarantee a plane?●●●○○

One sentence, and it decides whether 'the partials exist' is the same as 'the surface is smooth enough to have a tangent plane'.

Given
  • $f_x(a,b)$ and $f_y(a,b)$ both exist

Find
  1. (a) True or false: it follows that $f$ is differentiable at $(a,b)$.

Hint 1/4

Try to recall a surface whose partials exist at a point but which has no tangent plane there.

Hint 2/4

Differentiability is stronger than having partials; the theorem needs the partials to be continuous near the point.

Hint 3/4

Take $f=\dfrac{xy}{x^2+y^2}$ with $f(0,0)=0$: both partials are $0$ at the origin, yet $f$ is not even continuous there.

Hint 4/4

So the statement is false: existing partials are not enough.

Show solution
Produce the standard counterexample
$$f(x,y)=\frac{xy}{x^2+y^2},\ f(0,0)=0:\ f_x(0,0)=f_y(0,0)=0$$

on each axis $f\equiv 0$, so both partials are $0$

$$f(x,x)=\tfrac12\not\to 0$$

along $y=x$ the value is $\tfrac12$, so $f$ is discontinuous, hence not differentiable

Answer $$\boxed{\text{False}}$$
Check

A sufficient (not necessary) condition for differentiability is that $f_x,f_y$ are continuous near the point; mere existence is weaker.

2§09.4 — which symbol, which form●●○○○

Choosing the right symbol is half the marks on a chain-rule item; the other half is not dropping a term.

Given
  • $z=f(x,y)$

  • $x=g(t),\ y=h(t)$

Find
  1. (a) Which correctly gives the rate of $z$ with respect to $t$?

Hint 1/4

Ask how many independent variables are turning here: just $t$, or more?

Hint 2/4

A single independent variable gives an ordinary derivative $dz/dt$, and the tree has two branches, so two terms.

Hint 3/4

That means $\dfrac{dz}{dt}=z_x\,x'(t)+z_y\,y'(t)$, with both branches present.

Hint 4/4

The partial symbol and the single-term and single-product forms are all wrong.

Show solution
Answer

$\dfrac{dz}{dt}=z_x\,x'(t)+z_y\,y'(t)$.

3§09.3 — when is dz exactly the change?●●○○○

The differential is usually only an estimate; here is the one family where it is exact.

Given
  • $f(x,y)=ax+by+c$ is a linear function

Find
  1. (a) True or false: for this $f$, the differential $dz$ equals the exact change $\Delta z$.

Hint 1/4

Recall that $dz$ misses the surface by the second-order 'corner'; ask what that corner is for a flat graph.

Hint 2/4

For a plane the tangent plane is the graph itself, so the approximation is exact and the corner term vanishes.

Hint 3/4

Check: $\Delta z=a(dx)+b(dy)$ exactly, and $dz=f_x\,dx+f_y\,dy=a\,dx+b\,dy$; they match.

Hint 4/4

So the statement is true for linear $f$.

Show solution
Compute both
$$\Delta z=a\,dx+b\,dy$$

the exact change: the $c$ and cross terms cancel

$$dz=f_x\,dx+f_y\,dy=a\,dx+b\,dy$$

the differential; $f_x=a,\ f_y=b$

Answer $$\boxed{\text{True}}$$
Check

The missing corner for a general surface is $\tfrac12 f_{xx}dx^2+\cdots$; for a plane all second partials are $0$.

4§09.6 — the implicit slope, sign and all●●○○○

The formula is short; the trap is the sign and which partial goes on the bottom.

Given
  • $F(x,y)=0$ defines $y=y(x)$

Find
  1. (a) Which equals $dy/dx$?

Hint 1/4

Differentiate $F(x,y)=0$ with respect to $x$, remembering $y$ depends on $x$.

Hint 2/4

The chain rule gives $F_x+F_y\,y'=0$.

Hint 3/4

Solve for $y'$: move $F_x$ across and divide by $F_y$.

Hint 4/4

So $y'=-F_x/F_y$, with the minus sign.

Show solution
Answer

$dy/dx=-F_x/F_y$.

B · computation 7 questions
1§09.1 — a tangent plane●●○○○

Straight application: three numbers into one formula.

Given
  • $f(x,y)=x^2y+y$

  • base point $(2,1)$

Find
  1. (a) Find the tangent plane at the point above $(2,1)$.

Hint 1/4

You need $f(2,1)$ and the two slopes $f_x(2,1),\ f_y(2,1)$.

Hint 2/4

$f_x=2xy$ and $f_y=x^2+1$; evaluate each at $(2,1)$.

Hint 3/4

$f(2,1)=4+1=5$, $f_x(2,1)=4$, $f_y(2,1)=5$; drop into $z=f+f_x(x-2)+f_y(y-1)$.

Hint 4/4

So $z=5+4(x-2)+5(y-1)=4x+5y-8$.

Show solution
Three numbers, then assemble
$$f(2,1)=5,\quad f_x=2xy\Rightarrow 4,\quad f_y=x^2+1\Rightarrow 5$$

height and slopes at the point

$$z=5+4(x-2)+5(y-1)=4x+5y-8$$

assemble and expand

Answer $$\boxed{z=4x+5y-8}$$
Check

Base-point check: $4(2)+5(1)-8=5=f(2,1)$.

2§09.2 — a linear estimate●●○○○

Pure arithmetic once you have the plane at the base point.

Given
  • $f(x,y)=x^2+y^2$

  • base point $(1,2)$

  • target $(1.1,1.9)$

Find
  1. (a) Estimate $f(1.1,1.9)$ using the linear approximation at $(1,2)$.

Hint 1/4

Find the two steps $dx,dy$ from $(1,2)$ to $(1.1,1.9)$ first.

Hint 2/4

$L=f(1,2)+f_x(1,2)\,dx+f_y(1,2)\,dy$ with $f_x=2x,\ f_y=2y$.

Hint 3/4

$f(1,2)=5,\ f_x=2,\ f_y=4$; $dx=0.1,\ dy=-0.1$.

Hint 4/4

$L=5+2(0.1)+4(-0.1)=5+0.2-0.4=4.8$.

Show solution
Plug into the plane
$$L=5+2(0.1)+4(-0.1)=4.8$$

$f=5,\ f_x=2,\ f_y=4$ at $(1,2)$

Answer $$\boxed{L=4.8}$$
Check

True value $1.21+3.61=4.82$; the estimate $4.8$ is low by $0.02$, the second-order part.

3§09.3 — a total differential●●○○○

Two terms; evaluate the partials at the point, then multiply by the steps.

Given
  • $z=x^2+y^2$

  • at $(3,4)$

  • $dx=0.1,\ dy=0.2$

Find
  1. (a) Estimate the change $dz$.

Hint 1/4

Write the differential in general, then substitute.

Hint 2/4

$dz=2x\,dx+2y\,dy$.

Hint 3/4

At $(3,4)$: $2x=6,\ 2y=8$, with $dx=0.1,\ dy=0.2$.

Hint 4/4

$dz=6(0.1)+8(0.2)=0.6+1.6=2.2$.

Show solution
Partials then steps
$$dz=2x\,dx+2y\,dy=6(0.1)+8(0.2)=2.2$$

evaluate $2x,2y$ at $(3,4)$

Answer $$\boxed{dz=2.2}$$
Check

Exact $\Delta z=(3.1^2+4.2^2)-25=(9.61+17.64)-25=2.25$; $dz=2.2$ is close.

4§09.4 — chain rule on a circle●●●○○

One clock $t$; watch the trig simplify.

Given
  • $z=x^2-y^2$

  • $x=\cos t,\ y=\sin t$

Find
  1. (a) Find $dz/dt$, simplified.

Hint 1/4

One independent variable, so $dz/dt$ with two terms.

Hint 2/4

$dz/dt=2x\,x'+(-2y)\,y'$ with $x'=-\sin t,\ y'=\cos t$.

Hint 3/4

$=2\cos t(-\sin t)-2\sin t(\cos t)=-2\sin t\cos t-2\sin t\cos t$.

Hint 4/4

$=-4\sin t\cos t=-2\sin 2t$.

Show solution
Sum and simplify
$$\frac{dz}{dt}=2x(-\sin t)-2y(\cos t)$$

$z_x=2x,\ z_y=-2y$; $x'=-\sin t,\ y'=\cos t$

$$=-2\sin t\cos t-2\sin t\cos t=-2\sin 2t$$

combine, then use the double-angle identity

Answer $$\boxed{\dfrac{dz}{dt}=-2\sin 2t}$$
Check

Direct: $z=\cos^2 t-\sin^2 t=\cos 2t$, so $dz/dt=-2\sin 2t$. The routes agree.

5§09.5 — a partial through polar-type inputs●●●○○

Two dials $s,t$; the answer is unexpectedly clean.

Given
  • $z=x^2+y^2$

  • $x=s\cos t,\ y=s\sin t$

Find
  1. (a) Find $\partial z/\partial s$, simplified.

Hint 1/4

Two independent variables, so a partial; hold $t$ fixed while $s$ moves.

Hint 2/4

$\partial z/\partial s=2x\,x_s+2y\,y_s$ with $x_s=\cos t,\ y_s=\sin t$.

Hint 3/4

$=2s\cos t\cos t+2s\sin t\sin t=2s(\cos^2 t+\sin^2 t)$.

Hint 4/4

$=2s$.

Show solution
Sum the s-paths and use the identity
$$\frac{\partial z}{\partial s}=2x\cos t+2y\sin t=2s\cos^2 t+2s\sin^2 t$$

$x_s=\cos t,\ y_s=\sin t$

$$=2s(\cos^2 t+\sin^2 t)=2s$$

the Pythagorean identity collapses the $t$

Answer $$\boxed{\dfrac{\partial z}{\partial s}=2s}$$
Check

Sanity: $z=x^2+y^2=s^2$, so directly $\partial z/\partial s=2s$. The angle drops out because $z$ is the squared radius.

6§09.6 — an implicit slope●●●○○

Set $F=0$, two partials, divide with a minus.

Given
  • $x^2+xy+y^2=7$

  • at $(1,2)$

Find
  1. (a) Find $dy/dx$ at $(1,2)$.

Hint 1/4

Let $F=x^2+xy+y^2-7$ and use $dy/dx=-F_x/F_y$.

Hint 2/4

$F_x=2x+y$ and $F_y=x+2y$.

Hint 3/4

At $(1,2)$: $F_x=2+2=4$, $F_y=1+4=5$.

Hint 4/4

$dy/dx=-4/5$.

Show solution
Formula and substitution
$$\frac{dy}{dx}=-\frac{2x+y}{x+2y}$$

$F_x=2x+y,\ F_y=x+2y$

$$=-\frac{4}{5}$$

at $(1,2)$

Answer $$\boxed{\dfrac{dy}{dx}=-\dfrac{4}{5}}$$
Check

The point is on the curve: $1+2+4=7$; and $F_y=5\ne 0$, so the formula is valid there.

7§09.6 — an implicit surface partial●●●○○

Same idea, now with a third variable in the denominator.

Given
  • $x^2+y^2-z^2=0$ defines $z=z(x,y)$

  • at $(3,4,5)$

Find
  1. (a) Find $\partial z/\partial x$ at $(3,4,5)$.

Hint 1/4

Use $\partial z/\partial x=-F_x/F_z$ with $F=x^2+y^2-z^2$.

Hint 2/4

$F_x=2x$ and $F_z=-2z$.

Hint 3/4

So $\partial z/\partial x=-\dfrac{2x}{-2z}=\dfrac{x}{z}$, and at $(3,4,5)$ that is $\dfrac{3}{5}$.

Hint 4/4

The two minus signs make the result positive.

Show solution
Mind both minus signs
$$\frac{\partial z}{\partial x}=-\frac{2x}{-2z}=\frac{x}{z}$$

$F_x=2x,\ F_z=-2z$

$$=\frac{3}{5}$$

at $(3,4,5)$

Answer $$\boxed{\dfrac{\partial z}{\partial x}=\dfrac{3}{5}}$$
Check

Explicit check on the upper cone $z=\sqrt{x^2+y^2}$: $\partial z/\partial x=x/\sqrt{x^2+y^2}=x/z=3/5$.

C · exam level 3 questions
1§09.4 — a rate built from two moving inputs●●●○○

A related-rate dressed in two variables: the chain rule does the work.

Given
  • a cylinder has $V=\pi r^2 h$

  • its radius grows as $r=2+t$ and its height shrinks as $h=10-t$

Find
  1. (a) How fast is the volume changing at $t=0$? Give $dV/dt$.

Hint 1/4

Volume depends on $r$ and $h$, and both move with the single clock $t$, so use $dV/dt$.

Hint 2/4

$\dfrac{dV}{dt}=V_r\dfrac{dr}{dt}+V_h\dfrac{dh}{dt}=2\pi rh\,(1)+\pi r^2\,(-1)$.

Hint 3/4

At $t=0$: $r=2,\ h=10$, so $2\pi(2)(10)-\pi(2)^2=40\pi-4\pi$.

Hint 4/4

$dV/dt=36\pi$.

Show solution
Chain rule, then evaluate
$$\frac{dV}{dt}=2\pi rh(1)+\pi r^2(-1)$$

$V_r=2\pi rh,\ V_h=\pi r^2$; $r'=1,\ h'=-1$

$$=40\pi-4\pi=36\pi$$

at $t=0$, $r=2,\ h=10$

Answer $$\boxed{\left.\dfrac{dV}{dt}\right|_{t=0}=36\pi}$$
Check

Direct: $V=\pi(2+t)^2(10-t)$; differentiating and setting $t=0$ gives $\pi[2(2)(10)-4]=36\pi$.

2§09.5 — a squaring-map change of variables●●●●○

The map $x=u^2-v^2,\ y=2uv$ is exactly complex squaring; the chain rule handles it with no fuss.

Given
  • $z=f(x,y)$ with continuous partials

  • $x=u^2-v^2,\ y=2uv$

Find
  1. (a) Express $\partial z/\partial u$ in terms of $z_x,z_y$.

  2. (b) Express $\partial z/\partial v$ in terms of $z_x,z_y$.

Hint 1/4

Two independent variables $u,v$, so each answer is a partial with two terms.

Hint 2/4

Get the four inner partials: $x_u=2u,\ x_v=-2v,\ y_u=2v,\ y_v=2u$.

Hint 3/4

Then $\partial z/\partial u=z_x x_u+z_y y_u$ and $\partial z/\partial v=z_x x_v+z_y y_v$.

Hint 4/4

So $\partial z/\partial u=2u\,z_x+2v\,z_y$ and $\partial z/\partial v=-2v\,z_x+2u\,z_y$.

Show solution
Inner partials
$$x_u=2u,\ x_v=-2v,\quad y_u=2v,\ y_v=2u$$

differentiate $x,y$ in $u$ and in $v$

Assemble each output
$$\frac{\partial z}{\partial u}=z_x(2u)+z_y(2v)=2u\,z_x+2v\,z_y$$

paths ending at $u$

$$\frac{\partial z}{\partial v}=z_x(-2v)+z_y(2u)=-2v\,z_x+2u\,z_y$$

paths ending at $v$

Answer $$\boxed{\dfrac{\partial z}{\partial u}=2u\,z_x+2v\,z_y,\quad \dfrac{\partial z}{\partial v}=-2v\,z_x+2u\,z_y}$$
Check

Check by combining: $\left(\partial z/\partial u\right)^2+\left(\partial z/\partial v\right)^2=4(u^2+v^2)(z_x^2+z_y^2)$, since the cross terms cancel; the factor $4(u^2+v^2)$ is the map's stretch.

3§09.1 — plane then estimate●●●○○

The two halves of 14.4 in one item: build the plane, then read a value off it.

Given
  • $f(x,y)=\ln(2x+y)$

  • base point $(-1,3)$

Find
  1. (a) Find the tangent plane at the point above $(-1,3)$.

  2. (b) Use it to estimate $f(-0.9,3.1)$.

Hint 1/4

First check the base value: $2(-1)+3=1$, so $f(-1,3)=\ln 1=0$.

Hint 2/4

The partials are $f_x=\dfrac{2}{2x+y}$ and $f_y=\dfrac{1}{2x+y}$; at $(-1,3)$ they are $2$ and $1$.

Hint 3/4

So the plane is $z=0+2(x+1)+1(y-3)=2x+y-1$; for (b) put $x=-0.9,\ y=3.1$.

Hint 4/4

$L=2(-0.9)+3.1-1=-1.8+3.1-1=0.3$.

Show solution
Height and slopes
$$f(-1,3)=\ln 1=0$$

the base value; $2(-1)+3=1$

$$f_x=\frac{2}{2x+y}\Rightarrow 2,\quad f_y=\frac{1}{2x+y}\Rightarrow 1$$

chain rule on $\ln$, evaluated at the point

Plane, then estimate
$$z=0+2(x+1)+1(y-3)=2x+y-1$$

assemble and expand

$$L(-0.9,3.1)=2(-0.9)+3.1-1=0.3$$

substitute the target into the plane

Answer $$\boxed{z=2x+y-1,\qquad f(-0.9,3.1)\approx 0.3}$$
Check

True value $\ln(2(-0.9)+3.1)=\ln(1.3)=0.262$; the estimate $0.3$ is close, high by the second-order part.

D · interleaved 3 questions
1§09.4 — a growing rectangle (mixed review●●●○○

Reads like a related-rates problem from earlier; decide what tool it actually needs.

Given
  • a rectangle has base $x=1+2t$ and height $y=3+t$

Find
  1. (a) How fast is the area $A=xy$ changing at $t=0$?

  2. (b) How fast is the diagonal $D=\sqrt{x^2+y^2}$ changing at $t=0$?

Hint 1/4

Both $A$ and $D$ are functions of $x,y$, and $x,y$ move with the one clock $t$: chain rule, $d/dt$.

Hint 2/4

For (a): $\dfrac{dA}{dt}=y\dfrac{dx}{dt}+x\dfrac{dy}{dt}$. For (b): $\dfrac{dD}{dt}=\dfrac{x\,x'+y\,y'}{\sqrt{x^2+y^2}}$.

Hint 3/4

At $t=0$: $x=1,\ y=3,\ x'=2,\ y'=1$. So $dA/dt=3(2)+1(1)$ and $dD/dt=\dfrac{1(2)+3(1)}{\sqrt{10}}$.

Hint 4/4

$dA/dt=7$ and $dD/dt=\dfrac{5}{\sqrt{10}}=\dfrac{\sqrt{10}}{2}$.

Show solution
Area rate
$$\frac{dA}{dt}=y x'+x y'=3(2)+1(1)=7$$

product via chain rule; $x'=2,\ y'=1$ at $t=0$

Diagonal rate
$$\frac{dD}{dt}=\frac{x x'+y y'}{\sqrt{x^2+y^2}}=\frac{1(2)+3(1)}{\sqrt{10}}=\frac{5}{\sqrt{10}}$$

chain rule on the square root

$$=\frac{\sqrt{10}}{2}\approx 1.58$$

rationalise $5/\sqrt{10}$

Answer $$\boxed{\dfrac{dA}{dt}=7,\qquad \dfrac{dD}{dt}=\dfrac{\sqrt{10}}{2}}$$
Check

Units and sign: both are positive because the rectangle is growing; and $dA/dt=7$ matches the differential $y\,dx+x\,dy$ with $dx=2,\ dy=1$.

2§09.6 — an implicit slope (mixed review●●●●○

You could grind this with one-variable implicit differentiation; the $F=0$ method is faster.

Given
  • $e^{xy}=x+y$

  • at the point $(0,1)$

Find
  1. (a) Find $dy/dx$ at $(0,1)$.

Hint 1/4

Set $F(x,y)=e^{xy}-x-y$ and use $dy/dx=-F_x/F_y$.

Hint 2/4

$F_x=y\,e^{xy}-1$ and $F_y=x\,e^{xy}-1$.

Hint 3/4

At $(0,1)$: $e^{0}=1$, so $F_x=1(1)-1=0$ and $F_y=0(1)-1=-1$.

Hint 4/4

$dy/dx=-\dfrac{0}{-1}=0$.

Show solution
Partials, then evaluate
$$F_x=y e^{xy}-1,\quad F_y=x e^{xy}-1$$

differentiate $F$ in $x$ and in $y$

$$\text{at }(0,1):\ F_x=0,\ F_y=-1\ \Rightarrow\ \frac{dy}{dx}=-\frac{0}{-1}=0$$

$e^{0}=1$ simplifies both

Answer $$\boxed{\dfrac{dy}{dx}=0}$$
Check

Direct one-variable check: differentiate $e^{xy}=x+y$ to get $e^{xy}(y+xy')=1+y'$; at $(0,1)$, $1(1+0)=1+y'$, so $y'=0$.

3§09.1 — where is the plane flat (mixed review●●●○○

Combines this section's plane with last week's partials, and points at where optimization will begin.

Given
  • $z=x^2+y^2-4x$

Find
  1. (a) At which point is the tangent plane horizontal?

Hint 1/4

A tangent plane is horizontal exactly when both slopes vanish: $f_x=0$ and $f_y=0$.

Hint 2/4

$f_x=2x-4$ and $f_y=2y$.

Hint 3/4

Set both to zero: $2x-4=0$ gives $x=2$, and $2y=0$ gives $y=0$.

Hint 4/4

So the point is $(2,0)$.

Show solution
Answer

$(2,0)$, where $f_x=2x-4=0$ and $f_y=2y=0$ both hold (there $z=-4$).

Mistake ledger (12 entries)
⚠ Dropping the height f(a,b)

the slope terms feel like the calculus, so the constant height reads as decoration

wrong$$z=f_x(a,b)(x-a)+f_y(a,b)(y-b)$$
right$$z=f(a,b)+f_x(a,b)(x-a)+f_y(a,b)(y-b)$$
⚠ Putting each slope on the wrong variable

$f_x$ and $f_y$ get written down in a rush and attached to whichever bracket comes first

wrong$$z=f(a,b)+f_y(a,b)(x-a)+f_x(a,b)(y-b)$$
right$$z=f(a,b)+f_x(a,b)(x-a)+f_y(a,b)(y-b)$$
⚠ Using the wrong sign on a step

$dx$ and $dy$ are read as the target coordinates instead of the change from the base point

wrong$$L=5+0.6(3.1)+0.8(3.9)$$
right$$L=5+0.6(0.1)+0.8(-0.1)$$
⚠ Approximating where f is not differentiable

a formula exists, so it feels safe to linearize, even at a corner or a break

wrong$$\sqrt{x^2+y^2}\approx L\ \text{near}\ (0,0)$$
right$$\text{no tangent plane at}\ (0,0);\ \text{the tip is a corner}$$
⚠ Including the corner term in dz

the exact change has a $dx\,dy$ piece, so it sneaks into the differential

wrong$$dz=f_x\,dx+f_y\,dy+dx\,dy$$
right$$dz=f_x\,dx+f_y\,dy$$
⚠ Losing a term in a product's differential

only the factor that changed 'a lot' gets a term; the other is dropped

wrong$$d(xy)=y\,dx$$
right$$d(xy)=y\,dx+x\,dy$$
⚠ Writing a partial when t is the only variable

$z$ visibly depends on $t$, and $\partial$ looks more advanced than $d$

wrong$$\frac{\partial z}{\partial t}=z_x x'+z_y y'$$
right$$\frac{dz}{dt}=z_x x'+z_y y'$$
⚠ Dropping a branch

the first term feels like the whole rule, so the $y$-route is forgotten

wrong$$\frac{dz}{dt}=\frac{\partial z}{\partial x}\frac{dx}{dt}$$
right$$\frac{dz}{dt}=\frac{\partial z}{\partial x}\frac{dx}{dt}+\frac{\partial z}{\partial y}\frac{dy}{dt}$$
⚠ Using ordinary d with several independent variables

the one-parameter case used $d$, so the habit carries over

wrong$$\frac{dz}{ds}=z_x x_s+z_y y_s$$
right$$\frac{\partial z}{\partial s}=z_x x_s+z_y y_s$$
⚠ Crossing the wires

the subscripts blur, and an $s$-rate gets multiplied into a $t$-equation

wrong$$\frac{\partial z}{\partial s}=z_x\frac{\partial x}{\partial t}+z_y\frac{\partial y}{\partial t}$$
right$$\frac{\partial z}{\partial s}=z_x\frac{\partial x}{\partial s}+z_y\frac{\partial y}{\partial s}$$
⚠ Dropping the minus sign

the ratio of partials is remembered but the sign from moving $F_x$ across is not

wrong$$\frac{dy}{dx}=\frac{F_x}{F_y}$$
right$$\frac{dy}{dx}=-\frac{F_x}{F_y}$$
⚠ Dividing by the wrong partial for a surface

$\partial z/\partial x$ has an $x$ in it, so $F_x$ looks like the denominator too

wrong$$\frac{\partial z}{\partial x}=-\frac{F_x}{F_y}$$
right$$\frac{\partial z}{\partial x}=-\frac{F_x}{F_z}$$
Formula card
Tangent plane / linearization at (a, b)
$$L(x,y)=f(a,b)+f_x(a,b)(x-a)+f_y(a,b)(y-b)$$

$f$ differentiable at $(a,b)$

Total differential
$$dz=f_x\,dx+f_y\,dy$$

$dx=\Delta x,\ dy=\Delta y$ small

Chain rule, one parameter
$$\frac{dz}{dt}=\frac{\partial z}{\partial x}\frac{dx}{dt}+\frac{\partial z}{\partial y}\frac{dy}{dt}$$

$x,y$ functions of the single variable $t$

Chain rule, several parameters
$$\frac{\partial z}{\partial s}=\frac{\partial z}{\partial x}\frac{\partial x}{\partial s}+\frac{\partial z}{\partial y}\frac{\partial y}{\partial s}$$

$x,y$ depend on $s,t,\dots$

Implicit derivative (curve)
$$\frac{dy}{dx}=-\frac{F_x}{F_y}$$

$F(x,y)=0,\ F_y\ne 0$

Implicit derivative (surface)
$$\frac{\partial z}{\partial x}=-\frac{F_x}{F_z},\quad \frac{\partial z}{\partial y}=-\frac{F_y}{F_z}$$

$F(x,y,z)=0,\ F_z\ne 0$

Check yourself

Close the page and write, from memory: the tangent-plane formula; what makes a function differentiable and one surface where the partials exist but no tangent plane does; the total differential and why it misses the change by a corner term; the one-parameter chain rule $dz/dt$ and the several-parameter form $\partial z/\partial s$, with the rule for choosing $d$ versus $\partial$; and the two implicit formulas $-F_x/F_y$ and $-F_x/F_z$. Then check against the formula card and mark only the ones you could not produce.

  • Write the tangent plane to $z=xy^2$ at $(1,2)$ from scratch?

    c-tangent-plane

  • Estimate $\sqrt{(2.02)^2+(1.97)^2}$ by hand, and say why the estimate is trustworthy?

    c-linear-approx

  • Bound the error in a volume $V=xyz$ when each side is off by $0.1$?

    c-differentials

  • Find $dz/dt$ for $z=x^2y$ with $x=\cos t,\ y=\sin t$ without dropping a term?

    c-chain-1

  • Write $\partial z/\partial s$ and $\partial z/\partial t$ for $x=s+t,\ y=s-t$ using a tree?

    c-chain-2

  • Find $\partial z/\partial x$ from $x^2+y^2+z^2=9$, minus sign and denominator correct?

    c-implicit

Glossary (8 terms)
tangent planeteğet düzlem

The plane $z=f(a,b)+f_x(a,b)(x-a)+f_y(a,b)(y-b)$ that touches the surface $z=f(x,y)$ at the point above $(a,b)$.

linearizationdoğrusallaştırma

The tangent plane read as a formula $L(x,y)$ for approximate values of $f$ near the base point.

differentiable (function of two variables)türevlenebilir

A function whose graph has a genuine tangent plane at the point, so the linear approximation error shrinks faster than the distance; guaranteed when $f_x,f_y$ are continuous there.

total differentialtam diferansiyel

The quantity $dz=f_x\,dx+f_y\,dy$, the change in $z$ predicted by the tangent plane over input steps $dx,dy$.

chain rulezincir kuralı

The rule that differentiates a composite by summing, over each intermediate variable, one partial of $z$ times the derivative of that intermediate variable.

tree diagramağaç diyagramı

A picture with the dependent variable on top and the independent ones at the bottom; each path multiplies its partials and the paths to a variable are added.

implicit differentiationkapalı türev

Finding a derivative from a relation $F=0$ without solving for the dependent variable, via $dy/dx=-F_x/F_y$ or $\partial z/\partial x=-F_x/F_z$.

partial derivativekısmi türev

The derivative of a multivariable function with respect to one variable while the others are held fixed.

What comes next
§10 · Directional derivatives, the gradient vector, and maximum and minimum values

The polar identity at the end hinted at it: the two partials $f_x,f_y$ deserve to be bundled into a single vector. Next that bundle gets a name, the gradient, a length, and a direction; it turns the chain rule into a dot product and points the way to the highest and lowest points of a surface.

Sources
  • James Stewart, Calculus, ninth edition — sections 14.4 and 14.5 The two sections on this week's syllabus line; the tangent plane, differentials, chain rule and implicit formulas follow this book's statements and conventions.
  • Standard multivariable calculus results The differentiability counterexample and the polar-coordinate identity are classical and appear across standard treatments.

Spotted something missing or wrong? tell us · share your own notes or an old exam.