Topic 10 / 17intermediate
Partial Derivatives & Chain Rule
Compute partial derivatives, mixed partials, and use the chain rule to handle compositions involving several variables.
A partial derivative measures how changes when one variable changes and the others are held fixed. The geometric meaning is the slope of the surface in a chosen direction. Mixed partials and the chain rule extend single-variable calculus to functions of several variables.
Computing partial derivatives
: differentiate with respect to , treating as a constant. Likewise . The same rules from one-variable calculus apply (power, product, quotient, chain).
Key takeaways
- Hold all other variables constant when differentiating.
- Notation: .
Limit definition (when forced)
. Use this only when explicitly required (e.g., proofs, non-elementary functions).
Higher-order and mixed partials
, , , . **Clairaut/Schwarz Theorem**: if and are continuous, . Mixed partials usually agree.
Chain rule — single intermediate variable
If and , then .
Chain rule — multiple parameters
If with , then
A **tree diagram** of dependencies prevents missing terms.
Strategy tips
- Always draw a dependency tree when chain-ruling beyond two levels.
- Each path from to a base variable contributes a product of partials.
Implicit differentiation
If defines implicitly as a function of , then and similarly for .
Worked examples
Example 1
Find and for .
- 1: product rule, treating constant.
- 2: is constant; chain through the log.
Answer
, .Example 2
Compute all second partials of , where are independent.
- 1First partials.
- 2Pure second partials.
- 3Mixed (verify Clairaut).
Answer
, , , with mixed partials matching by Clairaut.Example 3
If where , , , find at .
- 1Partial derivatives of .
- 2Derivatives of w.r.t. .
- 3Evaluate at (so ).
- 4Chain rule.
Answer
.Interactive visualizations
Loading visualization…
f(x, y) = x² − y²/2
Drag the red point: blue line is the slope (along ), orange is (along ). The green and blue traces show as a function of one variable with the other fixed.
Formulas in this topic
Partial derivative (limit definition)
Definition of partial derivative.
Chain rule (one parameter)
z = f(x,y), x and y depend on t.
Chain rule (two parameters)
z = f(x,y), x and y depend on s, t.
Implicit differentiation
When F(x,y,z) = 0 defines z implicitly.
Equality of mixed partials
If both are continuous (Clairaut).