# The Chain Rule for Partial Derivatives

Coming up next: Using the Chain Rule to Differentiate Complex Functions

### You're on a roll. Keep up the good work!

Replay
Your next lesson will play in 10 seconds
• 0:03 Derivatives
• 0:32 Case 1
• 1:57 Partial Derivatives
• 3:01 Chain Rule of Partial…
• 3:44 Case 2
• 5:38 Lesson Summary

Want to watch this again later?

Timeline
Autoplay
Autoplay
Speed

#### Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Gerald Lemay

Gerald has taught engineering, math and science and has a doctorate in electrical engineering.

When evaluating the derivative of composite functions of several variables, the chain rule for partial derivatives is often used. In this lesson, we use examples to explore this method.

## Derivatives

The temperature outside depends on the time of day and the seasonal month, but the season depends on where we are on the planet. January is winter in the northern hemisphere but summer in the southern hemisphere.

When calculating the rate of change of a variable, we use the derivative. When the variable depends on other variables which depend on other variables, the derivative evaluation is best done using the chain rule for partial derivatives. In this lesson we use examples to explore two cases.

## Case 1

For case 1, we'll use:

z = z(x, y)

x = x(u), and

y = y(u)

Let's say z depends on both x and y. We could write z = z(x, y) using function notation. We interpret this as z depends on x and y. To be specific, let z = x2y.

This gets even more interesting when x and/or y also have a functional dependence. This function of a function is sometimes referred to as a composite function. Dependence on the variable u: x = x(u) and y = y(u). Let x = u2 and y = u.

As an application, z might be the temperature at (x, y) where both x and y move with time u.

### Dependency Graphs

In the diagram, under the z are x and y. There is a line joining z to x and z to y. Under both x and y a line connects to the variable u. This type of drawing is called a dependency graph.

What is the rate of change of z with respect to u? Consider the two paths from z to u. The blue path on the left passing through x expressed as:

and the green path on the right passing through y

expressed as:

Together these two paths add to give the total rate of change of z with respect to u:

## Partial Derivatives

Note the two formats for writing the derivative: the d and the âˆ‚. When the dependency is one variable, use the d, as with x and y which depend only on u. The âˆ‚ is a partial derivative, which is a derivative where the variable of differentiation is indicated and other variables are held constant. For z = x2y, the partial derivative of z with respect to x is 2xy (y is held constant). A short way to write partial derivatives is (partial z, partial x). Thus, (partial z, partial y) is x2. Why do we use a (dz, du) instead of (partial z, partial u)? At the level of u in the dependency graph, there are no other variables to hold constant.

Tabulating:

• (partial z, partial x) is 2xy
• (partial z, partial y) is x2
• (dx, du) is 2u
• (dy, du) is 1

Substitute into (dz, du):

## Chain Rule of Partial Derivatives

See how the x and y were replaced by u2 and u?

To unlock this lesson you must be a Study.com Member.

### Register to view this lesson

Are you a student or a teacher?

#### See for yourself why 30 million people use Study.com

##### Become a Study.com member and start learning now.
Back
What teachers are saying about Study.com

### Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.