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.
Last updated: September 2026

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: dzdt=∂z∂xdxdt+∂z∂ydydt=∇f(r(t))⋅r′(t)\frac{dz}{dt} = \frac{\partial z}{\partial x} \frac{dx}{dt} + \frac{\partial z}{\partial y} \frac{dy}{dt} = \nabla f(\mathbf{r}(t)) \cdot \mathbf{r}'(t)

Case 2: Several Independent Parameters (Surfaces)

Let $z = f(x, y)$ where $x = g(u, v)$ and $y = h(u, v)$. Then: ∂z∂u=∂z∂x∂x∂u+∂z∂y∂y∂u,∂z∂v=∂z∂x∂x∂v+∂z∂y∂y∂v\frac{\partial z}{\partial u} = \frac{\partial z}{\partial x} \frac{\partial x}{\partial u} + \frac{\partial z}{\partial y} \frac{\partial y}{\partial u}, \quad \frac{\partial z}{\partial v} = \frac{\partial z}{\partial x} \frac{\partial x}{\partial v} + \frac{\partial z}{\partial y} \frac{\partial y}{\partial v}

Dependency Tree Algorithm

To differentiate dependent variable $z$ with respect to independent variable $s$:

  1. Construct a tree: root $z$ at top, intermediate variables in middle, leaves at bottom.
  2. Trace all distinct paths connecting root $z$ to leaf $s$.
  3. Multiply derivatives along each path.
  4. 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: Dh(x)=Df(g(x))⋅Dg(x)Dh(\mathbf{x}) = Df(g(\mathbf{x})) \cdot Dg(\mathbf{x})


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: Fx+Fydydx=0  ⟹  dydx=−FxFy(Fy≠0)F_x + F_y \frac{dy}{dx} = 0 \implies \frac{dy}{dx} = -\frac{F_x}{F_y} \quad (F_y \neq 0)

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: ∂z∂x=−FxFz,∂z∂y=−FyFz(Fz≠0)\frac{\partial z}{\partial x} = -\frac{F_x}{F_z}, \quad \frac{\partial z}{\partial y} = -\frac{F_y}{F_z} \quad (F_z \neq 0)

Higher-Order Implicit Differentiation

Differentiating $\frac{dy}{dx} = -\frac{F_x}{F_y}$ with respect to $x$ yields: d2ydx2=−FxxFy2−2FxyFxFy+FyyFx2Fy3\frac{d^2 y}{dx^2} = -\frac{F_{xx} F_y^2 - 2 F_{xy} F_x F_y + F_{yy} F_x^2}{F_y^3}


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:

  1. $F(\mathbf{x}_0, \mathbf{y}_0) = \mathbf{0}$.
  2. 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: Dg(x)=−[DyF(x,g(x))]−1⋅DxF(x,g(x))Dg(\mathbf{x}) = -\left[ D_{\mathbf{y}} F(\mathbf{x}, g(\mathbf{x})) \right]^{-1} \cdot D_{\mathbf{x}} F(\mathbf{x}, g(\mathbf{x}))


Jacobians and Coordinate Transformations

For transformation $T: \mathbb{R}^2 \to \mathbb{R}^2$ given by $x = x(u, v), y = y(u, v)$: J=∂(x,y)∂(u,v)=det⁡(xuxvyuyv)=xuyv−xvyuJ = \frac{\partial(x, y)}{\partial(u, v)} = \det \begin{pmatrix} x_u & x_v \\ y_u & y_v \end{pmatrix} = x_u y_v - x_v y_u

Coordinate SystemTransformation EquationsJacobian 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:

  1. Intermediate values at $(2, 1)$: $u = 4 - 1 = 3$ and $v = 2(2)(1) = 4$.
  2. Outer partials: $\frac{\partial z}{\partial u} = 2u = 6$ and $\frac{\partial z}{\partial v} = -3v^2 = -3(16) = -48$.
  3. Inner partials: $\frac{\partial u}{\partial x} = 2x = 4$ and $\frac{\partial v}{\partial x} = 2y = 2$.
  4. 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:

  1. Set $F(x, y, z) = x^2 y + y^2 z + z^3 x - 3$. Verify $F(1, 1, 1) = 0$.
  2. Compute $F_x = 2xy + z^3 \implies F_x(1, 1, 1) = 2(1) + 1 = 3$.
  3. Compute $F_z = y^2 + 3z^2 x \implies F_z(1, 1, 1) = 1 + 3 = 4$.
  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.

Loading diagram...
Dependency Architecture and the Implicit Function Workflow
Test Your Knowledge

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)?

A
B
C
D
Test Your Knowledge

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)?

A
B
C
D
Test Your Knowledge

What is the Jacobian determinant ∂(x, y)/∂(u, v) for the coordinate transformation defined by x = u^2 - v^2 and y = 2uv?

A
B
C
D