Skip to main content

Thomas’ Calculus · Chapter 14 · Section 14.4

By Muhammad Abdullah Athar · SymPy Verified

The Chain Rule

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 14.4: The Chain Rule

The multivariable Chain Rule computes rates of change along composite functions and parameterized paths.


1. Case 1: One Independent Parameter (tt)

For z=f(x,y)z = f(x, y) where x=x(t)x = x(t) and y=y(t)y = y(t): dzdt=∂z∂xdxdt+∂z∂ydydt=∇f⋅r′(t)\frac{dz}{dt} = \frac{\partial z}{\partial x} \frac{dx}{dt} + \frac{\partial z}{\partial y} \frac{dy}{dt} = \nabla f \cdot \mathbf{r}'(t)


2. Case 2: Several Independent Parameters (u,vu, v)

For z=f(x,y)z = f(x, y) where x=g(u,v)x = g(u, v) and y=h(u,v)y = h(u, v): ∂z∂u=∂z∂x∂x∂u+∂z∂y∂y∂u\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} ∂z∂v=∂z∂x∂x∂v+∂z∂y∂y∂v\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}

Part Two

Key Ideas to Remember

2 essential statements for this section, each with a plain-words explanation.

Theorem #1Sec 14.4

Multivariable Chain Rule

dzdt=∂z∂xdxdt+∂z∂ydydt\frac{dz}{dt} = \frac{\partial z}{\partial x} \frac{dx}{dt} + \frac{\partial z}{\partial y} \frac{dy}{dt}

If z = f(x, y) is differentiable and x = g(t), y = h(t) are differentiable functions of t, then z is a differentiable function of t, and its total derivative equals the sum of the partial rates along each path variable.

Conditions: f is differentiable; x(t) and y(t) are differentiable

In plain words: Can be visualized as a tree diagram with branches from z to intermediate variables x and y, and then to independent variable t.

Remember — Sums contributions to change from all intermediate coordinate paths.

Theorem #2Sec 14.4

Chain Rule for Two Independent Variables

∂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}

When intermediate variables x = g(u, v) and y = h(u, v) depend on multiple parameters u and v, partial derivatives with respect to each independent variable follow separate branch summations.

Conditions: All functions possess continuous first partials

In plain words: Essential for converting differential equations between Cartesian, polar, cylindrical, and spherical coordinates.

Remember — Extends coordinate transformation calculus to partial differential equations.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 14.4, Exercise 1)

Warm-up

Problem. For z = x^2 y + 3xy^4 with x = sin(2t) and y = cos(t), find dz/dt at t = 0.

Step-by-Step Derivation (3 steps)

1

Evaluate Intermediate Variables and Derivatives at t = 0

t=0  ⟹  x=sin⁡0=0,  y=cos⁡0=1;dxdt=2cos⁡(2t)  ⟹  2,  dydt=−sin⁡(t)  ⟹  0t = 0 \implies x = \sin 0 = 0, \; y = \cos 0 = 1; \quad \frac{dx}{dt} = 2\cos(2t) \implies 2, \; \frac{dy}{dt} = -\sin(t) \implies 0

Compute coordinates and rates at t = 0.

Why this works: Finding branch inputs at evaluation time.
2

Compute Partial Derivatives of z

∂z∂x=2xy+3y4  ⟹  2(0)(1)+3(1)4=3;∂z∂y=x2+12xy3  ⟹  0\frac{\partial z}{\partial x} = 2xy + 3y^4 \implies 2(0)(1) + 3(1)^4 = 3; \quad \frac{\partial z}{\partial y} = x^2 + 12xy^3 \implies 0

Evaluate z_x and z_y at (x, y) = (0, 1).

Why this works: Finding partial sensitivities.
3

Apply Chain Rule Formula

dzdt=∂z∂xdxdt+∂z∂ydydt=(3)(2)+(0)(0)=6\frac{dz}{dt} = \frac{\partial z}{\partial x}\frac{dx}{dt} + \frac{\partial z}{\partial y}\frac{dy}{dt} = (3)(2) + (0)(0) = 6

Multiply along tree branches and sum.

Why this works: Computing total time derivative.

Answer: dzdt=6\frac{dz}{dt} = 6

✓ Verified by SymPy CAS

Example 02(Section 14.4, Exercise 2)

Core practice

Problem. For z = exp(x) sin(y) with x = u^2 - v^2 and y = 2uv, find dz/du at (u, v) = (1, 1).

Step-by-Step Derivation (3 steps)

1

Evaluate Intermediate Variables and Derivatives at (1, 1)

x(1,1)=1−1=0,  y(1,1)=2(1)(1)=2;∂x∂u=2u=2,  ∂y∂u=2v=2x(1, 1) = 1 - 1 = 0, \; y(1, 1) = 2(1)(1) = 2; \quad \frac{\partial x}{\partial u} = 2u = 2, \; \frac{\partial y}{\partial u} = 2v = 2

Evaluate coordinates and u-derivatives at (1, 1).

Why this works: Finding values for chain rule tree.
2

Compute Partial Derivatives of z

∂z∂x=exsin⁡y  ⟹  e0sin⁡2=sin⁡2;∂z∂y=excos⁡y  ⟹  e0cos⁡2=cos⁡2\frac{\partial z}{\partial x} = e^x \sin y \implies e^0 \sin 2 = \sin 2; \quad \frac{\partial z}{\partial y} = e^x \cos y \implies e^0 \cos 2 = \cos 2

Evaluate z_x and z_y at (0, 2).

Why this works: Evaluating outer partial derivatives.
3

Apply Chain Rule

∂z∂u=(sin⁡2)(2)+(cos⁡2)(2)=2sin⁡2+2cos⁡2\frac{\partial z}{\partial u} = (\sin 2)(2) + (\cos 2)(2) = 2\sin 2 + 2\cos 2

Sum products of partials.

Why this works: Computing total partial rate dz/du.

Answer: ∂z∂u=2sin⁡(2)+2cos⁡(2)\frac{\partial z}{\partial u} = 2\sin(2) + 2\cos(2)

✓ Verified by SymPy CAS

Example 03(Section 14.4, Exercise 3)

Core practice

Problem. The radius of a cylinder increases at dr/dt = 2 cm/s while height decreases at dh/dt = -3 cm/s. Find the rate of volume change dV/dt when r = 10 cm and h = 20 cm.

Step-by-Step Derivation (3 steps)

1

State Volume Formula and Partial Derivatives

V=πr2h  ⟹  ∂V∂r=2πrh,∂V∂h=πr2V = \pi r^2 h \implies \frac{\partial V}{\partial r} = 2\pi r h, \quad \frac{\partial V}{\partial h} = \pi r^2

Differentiate cylindrical volume with respect to radius and height.

Why this works: Finding geometric partial rates.
2

Apply Chain Rule for Total Time Derivative

dVdt=∂V∂rdrdt+∂V∂hdhdt=(2πrh)(2)+(πr2)(−3)\frac{dV}{dt} = \frac{\partial V}{\partial r}\frac{dr}{dt} + \frac{\partial V}{\partial h}\frac{dh}{dt} = (2\pi r h)(2) + (\pi r^2)(-3)

Sum contributions from expanding radius and contracting height.

Why this works: Applying multivariable Chain Rule.
3

Substitute Given Dimensions

dVdt=2π(10)(20)(2)+π(100)(−3)=800π−300π=500π cm3/s\frac{dV}{dt} = 2\pi(10)(20)(2) + \pi(100)(-3) = 800\pi - 300\pi = 500\pi \text{ cm}^3/\text{s}

Evaluate with r = 10 and h = 20.

Why this works: Evaluating net volume change rate.

Answer: dVdt=500π cm3/s\frac{dV}{dt} = 500\pi \text{ cm}^3/\text{s}

✓ Verified by SymPy CAS

Example 04(Section 14.4, Exercise 4)

Core practice

Problem. For z = f(x, y) with x = r cos(theta) and y = r sin(theta), find dz/dr and evaluate it at theta = 0.

Step-by-Step Derivation (3 steps)

1

Compute Coordinate Derivatives with Respect to r

∂x∂r=cos⁡θ,∂y∂r=sin⁡θ\frac{\partial x}{\partial r} = \cos\theta, \quad \frac{\partial y}{\partial r} = \sin\theta

Differentiate Cartesian coordinates with respect to radial distance r.

Why this works: Finding coordinate derivatives.
2

Apply Chain Rule

∂z∂r=∂z∂x∂x∂r+∂z∂y∂y∂r=fxcos⁡θ+fysin⁡θ\frac{\partial z}{\partial r} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial r} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial r} = f_x \cos\theta + f_y \sin\theta

Combine via Chain Rule.

Why this works: Formulating radial derivative.
3

Evaluate at theta = 0

∂z∂r∣θ=0=fx(1)+fy(0)=fx\left.\frac{\partial z}{\partial r}\right|_{\theta=0} = f_x (1) + f_y (0) = f_x

Substitute cos(0) = 1 and sin(0) = 0.

Why this works: Evaluating along positive x-axis.

Answer: ∂z∂r=fxcos⁡θ+fysin⁡θ;∂z∂r∣θ=0=fx\frac{\partial z}{\partial r} = f_x \cos\theta + f_y \sin\theta; \quad \left.\frac{\partial z}{\partial r}\right|_{\theta=0} = f_x

✓ Verified by SymPy CAS

Example 05(Section 14.4, Exercise 5)

Core practice

Problem. Find the slope dy/dx of the Folium of Descartes x^3 + y^3 - 6xy = 0 at the symmetric point (3, 3).

Step-by-Step Derivation (2 steps)

1

Apply Implicit Derivative Formula

F(x,y)=x3+y3−6xy=0  ⟹  dydx=−FxFy=−3x2−6y3y2−6x=−x2−2yy2−2xF(x, y) = x^3 + y^3 - 6xy = 0 \implies \frac{dy}{dx} = -\frac{F_x}{F_y} = -\frac{3x^2 - 6y}{3y^2 - 6x} = -\frac{x^2 - 2y}{y^2 - 2x}

Differentiate implicitly using Chain Rule: F_x + F_y (dy/dx) = 0.

Why this works: Formulating implicit derivative formula.
2

Substitute Point Coordinates (3, 3)

dydx∣(3,3)=−32−2(3)32−2(3)=−9−69−6=−33=−1\left.\frac{dy}{dx}\right|_{(3,3)} = -\frac{3^2 - 2(3)}{3^2 - 2(3)} = -\frac{9 - 6}{9 - 6} = -\frac{3}{3} = -1

Substitute x = 3 and y = 3.

Why this works: Computing numerical slope at point.

Answer: dydx=−1\frac{dy}{dx} = -1

✓ Verified by SymPy CAS