Admin 13 Jun 2026 11:42

 

Chain Rule for Functions of Two and Three Variables

Introduction

The chain rule is a fundamental concept in calculus that allows us to compute derivatives of composite functions. While most students are familiar with the chain rule for single-variable functions, its extension to multivariable functions is essential in fields such as physics, engineering, and economics. This page explores the chain rule for functions of two and three variables, providing formulas, examples, and applications.

The chain rule for multivariable functions enables us to find how a function changes when its inputs change along some path in the input space. This is particularly useful when the inputs themselves are functions of another variable.

Chain Rule for Functions of Two Variables

Consider a function $z = f(x,y)$ where both $x$ and $y$ depend on a single parameter $t$: $x = x(t)$ and $y = y(t)$. To find the rate of change of $z$ with respect to $t$, we use the chain rule for functions of two variables:

$$\frac{dz}{dt} = \frac{\partial f}{\partial x} \cdot \frac{dx}{dt} + \frac{\partial f}{\partial y} \cdot \frac{dy}{dt}$$

This formula tells us that the total derivative of $z$ with respect to $t$ is the sum of the partial derivatives of $f$ with respect to each variable, multiplied by the derivative of that variable with respect to $t$.

Example 1: Finding the derivative

Let $z = x^2y + 3xy^2$, where $x = t^2 + 1$ and $y = t^3 - t$. Find $dz/dt$ at $t = 1$.

Calculate partial derivatives: $\frac{\partial z}{\partial x} = 2xy + 3y^2$ and $\frac{\partial z}{\partial y} = x^2 + 6xy$
Calculate derivatives of $x$ and $y$: $\frac{dx}{dt} = 2t$ and $\frac{dy}{dt} = 3t^2 - 1$
Apply the chain rule: $\frac{dz}{dt} = (2xy + 3y^2) \cdot (2t) + (x^2 + 6xy) \cdot (3t^2 - 1)$
Evaluate at $t = 1$: $x = 2, y = 0$, so $\frac{dz}{dt}|_{t=1} = (0 + 0) \cdot (2) + (4 + 0) \cdot (2) = 8$
z x y t z/x z/y dx/dt dy/dt

Tree diagram representing the chain rule for functions of two variables

Chain Rule for Functions of Three Variables

Naturally, the chain rule extends to functions of three variables. Consider a function $w = f(x,y,z)$ where $x = x(t)$, $y = y(t)$, and $z = z(t)$. The chain rule in this case is:

$$\frac{dw}{dt} = \frac{\partial f}{\partial x} \cdot \frac{dx}{dt} + \frac{\partial f}{\partial y} \cdot \frac{dy}{dt} + \frac{\partial f}{\partial z} \cdot \frac{dz}{dt}$$

This more complex formula accounts for the additional path through which $t$ influences $w$ via $z$.

Example 2: Three-variable chain rule

Let $w = xyz + x^2 + y^2$, where $x = t$, $y = t^2$, and $z = t^3$. Find $dw/dt$ at $t = 2$.

Calculate partial derivatives: $\frac{\partial w}{\partial x} = yz + 2x$, $\frac{\partial w}{\partial y} = xz + 2y$, and $\frac{\partial w}{\partial z} = xy$
Calculate derivatives: $\frac{dx}{dt} = 1$, $\frac{dy}{dt} = 2t$, and $\frac{dz}{dt} = 3t^2$
Apply the chain rule: $\frac{dw}{dt} = (yz + 2x) \cdot 1 + (xz + 2y) \cdot 2t + (xy) \cdot 3t^2$
Evaluate at $t = 2$: $x = 2, y = 4, z = 8$, so $\frac{dw}{dt}|_{t=2} = (32 + 4) \cdot 1 + (16 + 8) \cdot 4 + 8 \cdot 12 = 36 + 96 + 96 = 228$
w x y z t

Tree diagram representing the chain rule for functions of three variables

Applications

The chain rule for multivariable functions has numerous applications across various scientific disciplines:

Thermodynamics

In thermodynamics, we often need to find how state functions (like entropy or internal energy) change with respect to temperature or pressure. These state functions depend on multiple variables, making the multivariable chain rule essential for calculations.

Physics

In mechanics, the position or velocity of an object might depend on multiple parameters that themselves vary with time. The chain rule helps calculate how these quantities change over time.

Economics

In economics, profit or utility functions often depend on multiple variables which are themselves functions of time or policy parameters. The chain rule helps economists analyze how changing one variable affects overall outcomes.

Generalized Chain Rule

The chain rule can be generalized further. If $w$ is a function of $n$ variables, $x_1, x_2, \ldots, x_n$, and each $x_i$ is a function of a single variable $t$, then:

$$\frac{dw}{dt} = \sum_{i=1}^{n} \frac{\partial w}{\partial x_i} \cdot \frac{dx_i}{dt}$$

This compact notation expresses the fundamental idea that the total derivative is the sum of the contributions from each path connecting $w$ to $t$.

Special Cases

Several special cases of the multivariable chain rule are worth noting:

  • Implicit Differentiation: When $F(x,y)=0$ defines y implicitly as a function of x, we can find $\frac{dy}{dx}$ using $\frac{dy}{dx} = -\frac{F_x}{F_y}$ where $F_x$ and $F_y$ are partial derivatives.
  • Directional Derivatives: The chain rule helps compute how a function changes in a particular direction in its input space.
  • Gradient Descent: In optimization algorithms, the chain rule is used to compute gradients for functions with multiple inputs.

Practice Problems

Problem 1: Let $z = \sin(x) + \cos(y)$, where $x = t^2$ and $y = 3t$. Find $\frac{dz}{dt}$ at $t = \pi$.

Problem 2: Given $w = x^2y - yz^2 + zx$, where $x = \cos(t)$, $y = \sin(t)$, and $z = t$, evaluate $\frac{dw}{dt}$ at $t = 0$.

Problem 3: A company's profit $P$ depends on the prices of two products: $P(x,y) = 100x + 150y - x^2 - 2xy - y^2$. If $x = 10 + t$ and $y = 20 + 2t$, find the rate at which profit is changing with respect to time when $t = 1$.

Conclusion

The chain rule for functions of two and three variables extends the powerful concept of differentiation to multivariable contexts. By understanding how functions change along different paths in their input space, we can analyze complex systems where variables are interdependent. This mathematical tool is indispensable in fields as diverse as physics, engineering, economics, and computer science, where understanding the relationships between changing quantities is crucial for modeling and solving real-world problems.

The chain rule connects rates of change across different dimensions, providing a systematic approach to analyzing complex systems with interdependent variables. Mastering this concept opens the door to deeper understanding in multivariable calculus and its applications.

Reference Files For **Chain Rule For Functions Of Two And Three Variables**
Screenshoot
File Name
l16_234.pdf

File Size
0.10 MB

File Type
PDF

File Site
Description
This file is just a reference file for **Chain Rule For Functions Of Two And Three Variables**. Does not guarantee that the specific things you want are included in it.
Direct download (wait 10 seconds)

**Chain Rule For Functions Of Two And Three Variables** and Reference File Download Link


admin
Admin
2026-06-13 11:42:23

Limits And Continuity Of Functions Of Two Or Three Variables and Reference File Download L...


admin
Admin
2026-06-13 06:48:07

Chain Rule Product Rule Quotient Rule and Reference File Download Link


admin
Admin
2026-06-13 02:52:15

Chain Rules With Two Variables and Reference File Download Link


admin
Admin
2026-06-13 03:10:18

Numerical Differentiation Of Functions Of Two Variables and Reference File Download Link


admin
Admin
2026-06-12 13:28:11