4.4.7 · D5Multivariable Calculus

Question bank — Chain rule for multivariable functions — all cases

1,515 words7 min readBack to topic

Before you start, keep three pictures in your head:

  • A dependency tree — output at the top, arrows pointing down to "what it depends on".
  • Paths add, links multiply — one product per path from output to the target variable.
  • vs when the end result depends on one variable, when several survive.

True or false — justify

Every statement below is either true or false. The reveal gives the reason, which matters more than the verdict.

For with , we have .
False. There are two doors to (through and through ), so we must add the second product . Forgetting a path is the single most common error.
The chain rule adds path-contributions because the total differential is linear.
True. Linear approximation means independent inputs contribute independently, so their effects superpose — that "+" in the differential becomes the "+" in the chain rule.
In Case 2 (, , ) every derivative must be written with .
True. The final output still depends on two surviving variables and , so nothing here is a single-variable derivative — even needs because also depends on .
The order of factors in the Jacobian form can be swapped since multiplication is chain-rule "just multiplying".
False. Matrix multiplication is not commutative, and the shapes only fit in the order (outer map's Jacobian on the left). Swapping usually gives a dimension mismatch or a wrong matrix.
If and also , then .
False. There is also a direct path from to , so the term must be added. reaches both explicitly and through .
The polar radial derivative is a directional derivative.
True. is the unit radial direction, so this is — the chain rule quietly computes the directional derivative in the outward direction.
Since uses , all the inner derivatives inside it must also use .
False. depends on both and , so keeps ; only the final dependence on the lone variable (as in , ) earns a .
If and do not actually depend on some variable , that path simply contributes zero.
True. A missing dependence gives , so that product vanishes automatically — the general formula still works, it just kills the dead paths.
The chain rule requires to be differentiable, not merely to have partial derivatives.
True. The derivation uses with ; that error-shrinking is differentiability. Mere existence of is not enough.

Spot the error

Each line states a (flawed) piece of work. The reveal names the mistake and repairs it.

", , , so ."
The -path is dropped. The full answer adds , giving .
"For with , I wrote ."
Wrong differential symbols. Because depends on two survivors , every derivative here is partial: .
", ; the answer is — that's all the paths."
The direct explicit path to is missing. Add ; the tree has three branches reaching , not two.
"To differentiate via chain rule I got ."
The pieces weren't combined correctly. It should be — each link must be multiplied by its own inner derivative before adding.
"Because chain rule 'multiplies', I wrote for the general case."
A sum is missing. Every is a separate path, so — you multiply along a path and add across paths.
"I substituted before differentiating, then used ."
Once you substitute, is already a pure function of ; you can no longer speak of from the reduced form. Either take partials first (chain rule) or substitute and differentiate as one variable — don't mix the two.

Why questions

Explain the reason, not just the rule.

Why do we ADD path contributions instead of multiplying them?
Because the total differential is a sum of independent linear effects; multiplying would wrongly couple contributions that act independently. We multiply only within a single path (link by link).
Why does the general formula have a over (the inner variables) and not over ?
labels the one target variable we differentiate against (fixed for each equation); the sum runs over because each inner variable is a distinct road from the output down to that target.
Why does dividing the total differential by and taking a limit "give the chain rule for free"?
The error terms vanish because while stays finite; what survives is exactly .
Why does the Jacobian view call the chain rule "just matrix multiplication"?
Each layer of a composition is locally a linear map (its Jacobian); composing maps composes their linear parts, and composing linear maps is matrix multiplication — so .
Why must and be continuous (not just differentiable) in the derivation?
The step " forces " is continuity. Without it, the inner changes might not shrink, and the error terms wouldn't vanish.
Why does Case 2 reduce to Case 1 when you differentiate with respect to ?
Holding fixed turns the map into a function of the single variable ; along that frozen slice it's literally the one-independent-variable chain rule applied twice (once per inner variable).

Edge cases

Where the rule meets zeros, degeneracies, and boundaries.

What is if but is constant (does not depend on )?
Then , killing that path; only survives. The formula self-corrects — you never delete a term by hand.
At the origin in polar coordinates (), is still meaningful?
The formula is fine, but is undefined at , so the radial direction is ambiguous; the value may depend on which you approach along, signalling a genuine geometric singularity of the coordinate map.
If a variable appears both explicitly and through an inner variable, and its two contributions cancel, what does that mean?
It means the output is locally insensitive to that variable — the explicit and indirect effects offset. The math is correct; the zero is a real feature, e.g. a quantity conserved along the motion.
Can the chain rule apply if has partials that exist but is not differentiable at the point?
No guarantee. Existence of partials is weaker than differentiability; the standard chain rule can fail there, so the differentiability hypothesis is not decorative.
What happens to when maps to a single number (a scalar field)?
becomes a single row (the gradient as a row vector), and the product returns a row of the composed partials — the scalar case is just the general matrix rule with one output row.
If two different inner variables happen to be equal functions, say , do we still write two path terms?
Yes. The tree structure, not the numerical coincidence, dictates the paths; you write and only then substitute the equal values — collapsing early risks losing a term.

Connections