### Multivariable Chain Rule (Example 1)

You use the multivariable chain rule when you have functions that are functions of other functions, basically it has equations that look like they could be substituted into each other. Please see the solved example:

Find $$\frac{{dz}}{{dt}}$$ using the chain rule, where $$z = {x^2} + {y^2} + xy$$, $$x = \sin (t)$$ and $$y = {e^t}$$.

See how you could technically substitute the equations into each other and then find dz/dt that way? But it's actually a lot easier to use the multivariable chain rule. The best way to do it is map out how the variables are related to each other. z is a function of x and y. x and y are functions of t. So,

$\frac{{dz}}{{dt}} = \frac{{dz}}{{dx}} \cdot \frac{{dx}}{{dt}} + \frac{{dz}}{{dy}} \cdot \frac{{dy}}{{dt}}$

So find all these partial derivatives and substitute them in.

$\frac{{dz}}{{dx}} = 2x + y$

$\frac{{dx}}{{dt}} = \cos (t)$

$\frac{{dz}}{{dy}} = 2y + x$

$\frac{{dx}}{{dt}} = {e^t}$

$\frac{{dz}}{{dt}} = (2x + y)\cos (t) + (2y + x){e^t}$

Please see our other examples on partial derivatives, including chain rule, product rule, quotient rule, and multivariable implicit differentiation:

Partial Derivatives Examples:

Partial Derivatives (Ex1)

Partial Derivatives (Ex2)

Partial Derivatives (Ex3)

Partial Derivatives (Ex4)

Multivariable Chain Rule Examples:

Multivariable Chain Rule (Ex2)

Implicit Multivariable Differentiation:

Multivariable Implicit Differentiation 