4.4.7 · D4Multivariable Calculus

Exercises — Chain rule for multivariable functions — all cases

1,775 words8 min readBack to topic

The one rule behind every problem below:

Figure — Chain rule for multivariable functions — all cases

Level 1 — Recognition

Goal: read a setup and write the correct chain-rule skeleton — no arithmetic yet.

Exercise 1.1

and . Write the formula for and state why the left side uses , not .

Recall Solution 1.1

There are two paths to : one through , one through . Multiply along each, add: We write on the left because after substituting , the output depends on the single ultimate variable . The two inside pieces stay because genuinely has two inputs .

Exercise 1.2

, with . Write .

Recall Solution 1.2

Three inner functions three paths from down to : All symbols are : the output survives depending on two ultimate variables and .

Exercise 1.3

where , and also appears directly in . Write .

Recall Solution 1.3

Now has three roads: through , through , and the direct explicit slot in : The final term means "hold fixed, wiggle only the explicit ." Missing it is the classic slip.


Level 2 — Application

Goal: plug into the rule and simplify to a clean expression.

Exercise 2.1

, with and . Find and evaluate at .

Recall Solution 2.1

Link derivatives. , . Then , . Assemble (two paths, add): Substitute : At : , so

Exercise 2.2

, , . Find .

Recall Solution 2.2

, . And , . Since , substitute : Geometry: depends only on distance , not on the angle — rotating around the origin doesn't change , so its -rate is zero. The rule "discovers" this fact.

Exercise 2.3

, , , . Find at .

Recall Solution 2.3

. Inner rates: . At : . (Check: , so . ✓)


Level 3 — Analysis

Goal: setups where paths overlap, terms cancel, or the explicit variable hides.

Exercise 3.1

, with , . Find . Interpret the answer.

Recall Solution 3.1

This is the "implicit reappearance" case — has three paths. . Inner: . Substitute : Interpretation: the point runs around the unit circle, so never changes — those two paths cancel. Only the explicit term survives, giving rate . Drop and you'd get the wrong answer .

Exercise 3.2

with , . Show for any differentiable .

Recall Solution 3.2

, and . Add: . Why: , so really depends on one combination ; moving and by equal amounts keeps fixed, hence no change.

Exercise 3.3

Let be any differentiable function, , . Express in terms of and .

Recall Solution 3.3

Inner rates: , , , . Square and add: Expand: . Since :


Level 4 — Synthesis

Goal: assemble the rule inside a bigger structure — second derivatives, tables, unknown .

Exercise 4.1

Given the value table at a point : ; and where . Find at for .

Recall Solution 4.1

Pure bookkeeping — no formula for needed:

Exercise 4.2

, , . Show that

Recall Solution 4.2

Inner rates: . Multiply — difference of squares:

Exercise 4.3

, , . Find in terms of .

Recall Solution 4.3

First derivative (from the parent note): . Differentiate again w.r.t. , holding fixed. The trig factors are constants in ; but and are still functions of , hence of . Apply the chain rule to each: So using (equality of mixed partials). Collect:


Level 5 — Mastery

Goal: general proofs and the Jacobian viewpoint.

Exercise 5.1 (Euler's homogeneous theorem)

A function is homogeneous of degree if for all . Prove

Recall Solution 5.1

Let , , and define . Differentiate both sides in . Left side by the chain rule (two paths, through and ): Right side: These are equal for every . Set , so : The trick: introduce the scalar knob , differentiate through it, then freeze it at .

Exercise 5.2 (Jacobian composition)

Let , and . Show the Jacobian matrices multiply:

Recall Solution 5.2

Apply the scalar chain rule to each of the four outputs: Now read the right-hand product entry-by-entry. Row 1 of dotted with column 1 of gives ; column 2 gives ; row 2 gives . Every entry matches, so This is why the parent note calls the general chain rule just matrix multiplication of Jacobians — see Gradient and Jacobian.

Exercise 5.3 (numeric Jacobian check)

With , , , , compute at two ways: direct substitution and the Jacobian product. Confirm they agree.

Recall Solution 5.3

At : . Jacobians. . Product top-left entry (): . Direct: , so . ✓


Connections