The Multivariable Chain Rule: A Comprehensive Study Guide
The Chain Rule
The Multivariable Chain Rule: A Comprehensive Study Guide
This guide covers the extension of the single-variable Chain Rule to functions of several variables, focusing on intermediate and independent variables, the use of tree diagrams, and the generalized chain rule formula.
Learning Objectives
After studying this chapter, you should be able to:
- State the chain rules for one or two independent variables.
- Construct and interpret tree diagrams to visualize dependency paths.
- Differentiate between intermediate and independent variables in a composite function.
- Perform implicit differentiation of functions involving several variables.
- Apply the generalized chain rule to functions with independent variables and intermediate variables.
Key Terms & Glossary
- Independent Variable: The fundamental inputs at the "bottom" of the dependency chain (e.g., in or in ).
- Intermediate Variable: A variable that depends on others but is itself an input for a higher-level function (e.g., and in where and are functions of ).
- Composite Function: A function formed by substituting one function into another.
- Partial Derivative: The derivative of a multivariable function with respect to one variable while holding others constant.
- Total Derivative: The rate of change of a function with respect to an independent variable, accounting for all paths through intermediate variables.
The "Big Idea"
In single-variable calculus, the Chain Rule handles functions nested like Russian dolls: . In multivariable calculus, the nesting becomes a web. A change in an independent variable (like time ) might affect multiple intermediate variables (like coordinates and ), which in turn both affect the final output . The multivariable Chain Rule is essentially a way to sum the contributions of change from every possible path through that web.
Formula / Concept Box
| Case | Dependency | Formula |
|---|---|---|
| One Independent Variable | , where | |
| Two Independent Variables | , where | |
| Generalized Case | , |
[!IMPORTANT] Note the notation difference: If the final result depends on only one variable, we use (total derivative). If it depends on multiple variables, we use (partial derivative).
Hierarchical Outline
- I. Chain Rule for One Independent Variable
- Dependency Path:
- Summation Principle: Multiply derivatives along paths; add the paths together.
- II. Chain Rule for Two Independent Variables
- Independence: and are independent; changing does not change .
- Partial Differentiation: We calculate and separately.
- III. The Generalized Chain Rule
- Dimensionality: Works for variables and parameters.
- Matrix View: Can be represented as a product of Jacobian matrices.
- IV. Implicit Differentiation Revisited
- Using the Chain Rule to find for .
Visual Anchors
Dependency Tree for One Independent Variable
This diagram shows how influences through two different intermediate paths.
Dependency Tree for Two Independent Variables
When we have two independent variables (), we must follow paths to the specific variable of interest.
Definition-Example Pairs
1. Total Derivative via Chain Rule
- Definition: The derivative of a function with respect to an independent variable when all intermediate variables are also functions of that independent variable.
- Example: If (a paraboloid) and a particle moves along a path , the total derivative tells us how the height of the particle changes over time.
2. Generalized Chain Rule Summation
- Definition: For a function , the rate of change with respect to an input is the sum of the partials of with respect to each coordinate, each multiplied by how that coordinate changes with .
- Example: In a weather model where temperature depends on latitude, longitude, and altitude, and each of those depends on the time of day, the Chain Rule calculates the temperature change rate for a moving weather balloon.
Worked Examples
Example 1: One Independent Variable
Problem: Calculate given , where and .
Step 1: Find necessary partials.
Step 2: Apply the Chain Rule formula.
Step 3: Substitute and back to get a function of .
Example 2: Two Independent Variables
Problem: Calculate for , where and .
Step 1: Identify components.
Step 2: Calculate.
Checkpoint Questions
- Identify: In the dependency where , , and , which variables are independent and which are intermediate?
- Logic: Why do we add the terms in the Chain Rule formula rather than multiplying the entire expression?
- Visualization: Draw a tree diagram for where and . How many paths lead to ?
- Application: If is a function of and , and and are functions of , what is the difference between and ?
▶Click to view answers
- Independent: . Intermediate: .
- Because each intermediate variable provides an additive contribution to the total change of the output.
- Two paths lead to (one through , one through ).
- is the rate of change of as only changes; is the total rate of change of as flows through both and .