MATH U101 · Multivariable Calculus · Module 4

Partial Derivatives & the Chain Rule

Thomas §14.3–14.4, lectures L8–L9. The differentiation engine of the whole second half of the course — Modules 5 and 6 are applications of exactly these two sections.

🎧 Narrated walkthroughs for this module

Partial derivatives & implicit differentiation (6.7 min, T6 Q1–Q2) · The chain rule as a tree (7.4 min, T6 Q3–Q5) · Rates along a curve (6.2 min, T6 Q6–Q7). Each one is sound-on and pauses for your next move. The chain-rule walkthrough labels the bottom edges of the tree without working them out; that step (freeze s, then the school chain rule on cos(r + s)) is written out in the tutorial companion, T6 Q3 step 2.

Start here

The computing in this module is one-variable differentiation with a discipline attached (freeze the other letter) — the daily drill already built the hard part. The two genuinely new items, for everyone in the room: the ∂ concept itself and the §14.4 route-counting rule. No 12th-class background covers either.

First time? Start with the Module 4 lesson (slow build, slice-the-surface widget); this page is the compressed map for revision.

1 · Partial derivatives: definition and notation §14.3

Intuition: a surface has a slope per direction; fx is the slope walking east (y frozen), fy walking north (x frozen). Formal:

fx(x0, y0) = limh→0 f(x0+h, y0) − f(x0, y0)h

Equivalent notations, all exam-legal: ∂f/∂x = fx = ∂z/∂x = zx; at a point, fx(a, b) or ∂f/∂x |(a,b). Use ∂ (never d) whenever the function has two or more inputs.

2 · Computing: freeze, then use the old rules

Reference results (both derived slowly in the lesson): for f = x2y + sin(xy), fx = 2xy + y cos(xy), fy = x2 + x cos(xy); for g = xy/(x+y), gx = y2/(x+y)2, gy = x2/(x+y)2.

3 · Second partials and the Mixed Derivative Theorem

Four second partials: fxx, fyy, fxy = (fx)y, fyx = (fy)x. Clairaut: if the mixed partials are continuous, fxy = fyx — true for every function in this course. Uses: pick the easier order; and compute both as a built-in error check.

Worked example 1All four second partials of f(x, y) = x3y2 − exy

  1. First partials. fx = 3x2y2 − y exy (chain rule on exy: inner derivative y). fy = 2x3y − x exy.
  2. fxx: differentiate fx in x (y frozen): 6xy2 − y2 exy.
  3. fyy: differentiate fy in y: 2x3 − x2 exy.
  4. fxy: differentiate fx = 3x2y2 − y exy in y — product rule on y exy: exy + xy exy. Total: 6x2y − exy − xy exy.
  5. fyx: differentiate fy = 2x3y − x exy in x: 6x2y − (exy + xy exy) — identical to step 4 ✓ (Clairaut, as it must).

4 · Differentiability §14.3

Meaning: near the point, the surface is well approximated by a plane (differentiable ⟹ continuous). The catch: partials existing is not enough — xy/(x2+y2) has fx(0,0) = fy(0,0) = 0 yet isn't even continuous at the origin. The rescue theorem (quote this): if fx, fy exist near the point and are continuous at it, f is differentiable there. Standard functions pass automatically. Depth beyond this (increment form with error terms) — confirm with the instructor.

5 · The chain rule §14.4

The one sentence: draw the dependency diagram; one product per route from the top variable to the one you're differentiating by; multiply along a route, add the routes. The two exam cases:

zxyt ∂z/∂x∂z/∂y dx/dtdy/dt
The diagram for z = f(x, y), x(t), y(t): two routes → two terms. Three moving inputs → three routes → three terms.
x(t), y(t): dzdt = fx dxdt + fy dydt  x(s,t), y(s,t): ∂z∂t = fx ∂x∂t + fy ∂y∂t

Symbols carry marks: d where a quantity has one input, ∂ where it has several. Three inputs on top (w = f(x, y, z), all moving with t) → three terms; the diagram never lies.

Worked example 2Full chain-rule workout: z = x2y, x = cos t, y = sin t — find dz/dt, evaluate at t = π/4

  1. Diagram: z on top; x, y below; t at the bottom. Two routes → two terms.
  2. Pieces: fx = 2xy, fy = x2; dx/dt = −sin t, dy/dt = cos t.
  3. Assemble: dz/dt = (2xy)(−sin t) + x2 cos t = −2 cos t sin2t + cos3t (after substituting x = cos t, y = sin t).
  4. Check by substituting first: z = cos2t sin t; product + chain gives −2 cos t sin2t + cos3t — same ✓.
  5. At t = π/4 (cos = sin = √2/2): −2·(√2/2)·(1/2) + (√2/2)3 = −√2/2 + √2/4 = −√2/4 ≈ −0.354.

6 · Implicit differentiation via partials §14.4

Curve given as F(x, y) = 0, need dy/dx: wherever Fy ≠ 0,

dydx = − FxFy

(Derivation: chain rule on F(x, y(x)) = 0 — in the lesson.) Routine: move everything to one side to make F → compute the two partials → ratio with the minus sign → substitute the point after checking it lies on the curve.

Worked example 3Slope of the folium x3 + y3 = 6xy at (3, 3)

  1. On the curve? 27 + 27 = 54 = 6·3·3 ✓.
  2. F = x3 + y3 − 6xy: Fx = 3x2 − 6y, Fy = 3y2 − 6x.
  3. dy/dx = −(3x2 − 6y)/(3y2 − 6x) = −(x2 − 2y)/(y2 − 2x).
  4. At (3, 3): −(9 − 6)/(9 − 6) = −1. Geometry check: the folium is symmetric about y = x, so at a point on that mirror line the tangent must be perpendicular to it — slope −1 ✓.
Classic traps · the module's five mark-losers

1) d for ∂ (or the reverse) — symbols are graded. 2) The frozen letter thaws: in the chain rule every moving input gets a term; count routes first. 3) Substituting the point before differentiating — differentiate first, evaluate last. 4) Forgetting the minus sign in −Fx/Fy (and mixing up which partial goes on top: x on top, y below — the opposite of what dy/dx's letters suggest, which is exactly why it's a trap). 5) Mixed partials that disagree: by Clairaut they must match for these functions — a mismatch means a computational slip, find it.

Your minimal prerequisite kit for this module

What to practise in Thomas

Ranges are approximate for the 15th edition — check against your copy. Prefer odd numbers (answers in the back).

SkillWhereHow many
First partials, two and three variables§14.3 exercises ~1–4010–12 odd, until fast
Second partials + verifying fxy = fyx§14.3 exercises ~41–564–5 odd
Chain rule, one independent variable§14.4 exercises ~1–124–6 odd, always double-checking by substitution
Chain rule, two independent variables / diagrams§14.4 exercises ~13–243–4 odd
Implicit differentiation via −Fx/Fy§14.4 exercises ~25–343–4 odd