4.3 Multivariable Chain Rule and Implicit Differentiation
Key Takeaways
- The multivariable chain rule computes total rates of change by summing partial derivative products along every path in a dependency tree: ∂z/∂s = ∑_i (∂z/∂x_i)(∂x_i/∂s).
- For a curve defined implicitly by F(x, y) = 0 with F_y ≠ 0, the Implicit Function Theorem yields dy/dx = -F_x / F_y.
- For a surface defined implicitly by F(x, y, z) = 0 with F_z ≠ 0, the first partial derivatives are ∂z/∂x = -F_x / F_z and ∂z/∂y = -F_y / F_z.
- The Implicit Function Theorem guarantees the local existence and unique differentiability of implicit solutions provided the Jacobian determinant of dependent variables is non-zero.
- The Jacobian determinant J = ∂(x, y)/∂(u, v) measures the local area distortion factor under coordinate transformations and governs change of variables.
4.3 Multivariable Chain Rule and Implicit Differentiation
When variables depend on intermediate variables that in turn depend on independent parameters, computing rates of change requires the multivariable chain rule. Furthermore, because many geometric and physical relations are defined implicitly rather than explicitly, the Implicit Function Theorem provides the analytical engine for computing derivatives and understanding local invertibility.
The Multivariable Chain Rule
Case 1: One Independent Parameter (Curves)
Let $z = f(x, y)$ be differentiable, where $x = x(t)$ and $y = y(t)$ are differentiable curves. Then:
Case 2: Several Independent Parameters (Surfaces)
Let $z = f(x, y)$ where $x = g(u, v)$ and $y = h(u, v)$. Then:
Dependency Tree Algorithm
To differentiate dependent variable $z$ with respect to independent variable $s$:
- Construct a tree: root $z$ at top, intermediate variables in middle, leaves at bottom.
- Trace all distinct paths connecting root $z$ to leaf $s$.
- Multiply derivatives along each path.
- Sum products across all paths: $\frac{\partial z}{\partial s} = \sum_{i=1}^n \frac{\partial z}{\partial x_i} \frac{\partial x_i}{\partial s}$.
Matrix Formulation (Jacobians)
For composite map $h = f \circ g$, the derivative is the matrix product of Jacobians:
Implicit Differentiation via Gradients
Implicit Curves in $\mathbb{R}^2$
For $F(x, y) = 0$ defining $y = y(x)$, differentiating with respect to $x$ gives:
Implicit Surfaces in $\mathbb{R}^3$
For $F(x, y, z) = 0$ defining $z = z(x, y)$, differentiating with respect to $x$ and $y$ gives:
Higher-Order Implicit Differentiation
Differentiating $\frac{dy}{dx} = -\frac{F_x}{F_y}$ with respect to $x$ yields:
The Implicit Function Theorem (IFT)
Let $F: U \subset \mathbb{R}^{n+m} \to \mathbb{R}^m$ be $C^1$ with coordinates $(\mathbf{x}, \mathbf{y}) \in \mathbb{R}^n \times \mathbb{R}^m$. Suppose $(\mathbf{x}_0, \mathbf{y}_0) \in U$ satisfies:
- $F(\mathbf{x}_0, \mathbf{y}_0) = \mathbf{0}$.
- The $m \times m$ Jacobian matrix $D_{\mathbf{y}} F(\mathbf{x}_0, \mathbf{y}0) = \left[ \frac{\partial F_i}{\partial y_j} \right]$ is invertible: $\det(D{\mathbf{y}} F) \neq 0$.
Then there exists an open neighborhood $V \subset \mathbb{R}^n$ of $\mathbf{x}_0$ and a unique $C^1$ function $g: V \to \mathbb{R}^m$ such that $g(\mathbf{x}_0) = \mathbf{y}_0$ and $F(\mathbf{x}, g(\mathbf{x})) = \mathbf{0}$. Its derivative is:
Jacobians and Coordinate Transformations
For transformation $T: \mathbb{R}^2 \to \mathbb{R}^2$ given by $x = x(u, v), y = y(u, v)$:
| Coordinate System | Transformation Equations | Jacobian Determinant $J$ |
|---|---|---|
| Polar | $x = r \cos \theta, ; y = r \sin \theta$ | $\frac{\partial(x, y)}{\partial(r, \theta)} = r$ |
| Cylindrical | $x = r \cos \theta, ; y = r \sin \theta, ; z = z$ | $\frac{\partial(x, y, z)}{\partial(r, \theta, z)} = r$ |
| Spherical | $x = \rho \sin \phi \cos \theta, ; y = \rho \sin \phi \sin \theta, ; z = \rho \cos \phi$ | $\frac{\partial(x, y, z)}{\partial(\rho, \phi, \theta)} = \rho^2 \sin \phi$ |
Inverse Function Theorem
If $F: \mathbb{R}^n \to \mathbb{R}^n$ is $C^1$ and $\det(DF(\mathbf{x}_0)) \neq 0$, then $F$ is locally invertible near $\mathbf{x}0$, and $J{F^{-1}}(F(\mathbf{x}_0)) = \frac{1}{J_F(\mathbf{x}_0)}$.
Step-by-Step Worked Problems
Problem 1: Chain Rule with Two Intermediate Variables
Let $z = u^2 - v^3$, where $u = x^2 - y^2$ and $v = 2xy$. Compute $\frac{\partial z}{\partial x}$ at $(x, y) = (2, 1)$.
Solution:
- Intermediate values at $(2, 1)$: $u = 4 - 1 = 3$ and $v = 2(2)(1) = 4$.
- Outer partials: $\frac{\partial z}{\partial u} = 2u = 6$ and $\frac{\partial z}{\partial v} = -3v^2 = -3(16) = -48$.
- Inner partials: $\frac{\partial u}{\partial x} = 2x = 4$ and $\frac{\partial v}{\partial x} = 2y = 2$.
- Sum paths: $\frac{\partial z}{\partial x} = (6)(4) + (-48)(2) = 24 - 96 = -72$.
Problem 2: Implicit Surface Partial Derivative
Find $\frac{\partial z}{\partial x}$ for $x^2 y + y^2 z + z^3 x = 3$ at $(1, 1, 1)$.
Solution:
- Set $F(x, y, z) = x^2 y + y^2 z + z^3 x - 3$. Verify $F(1, 1, 1) = 0$.
- Compute $F_x = 2xy + z^3 \implies F_x(1, 1, 1) = 2(1) + 1 = 3$.
- Compute $F_z = y^2 + 3z^2 x \implies F_z(1, 1, 1) = 1 + 3 = 4$.
- Apply formula: $\frac{\partial z}{\partial x} = -\frac{F_x}{F_z} = -\frac{3}{4}$.
GRE Exam Traps & Pitfalls
Trap 1: Missing Minus Sign in Implicit Differentiation Always write $\frac{dy}{dx} = -\frac{F_x}{F_y}$ and $\frac{\partial z}{\partial x} = -\frac{F_x}{F_z}$. The negative sign originates from moving $F_x$ across the equals sign.
Trap 2: Omitting Paths in Chain Rule Trees When an independent variable appears in several intermediate functions, sum over every path connecting the root to the leaf.
Trap 3: Vanishing Denominators in IFT If $F_z(x_0, y_0, z_0) = 0$, the IFT cannot guarantee $z = g(x, y)$; the tangent plane is vertical.
Let z = f(x, y) be defined implicitly by the relation x^2 y + y^2 z + z^3 x = 3. What is the value of ∂z/∂x evaluated at the point (x, y, z) = (1, 1, 1)?
Let z = u^2 - v^3, where u = x^2 - y^2 and v = 2xy. What is the value of ∂z/∂x evaluated at (x, y) = (2, 1)?
What is the Jacobian determinant ∂(x, y)/∂(u, v) for the coordinate transformation defined by x = u^2 - v^2 and y = 2uv?