Section 4.5 - Chain Rules

Section Objectives

  1. State and use the chain rules for any number of independent and intermediate variables.
  2. Use implicit differentiation.



Chain rule from Calculus I

The chain rule from Calculus I says

In this context, we think of as the independent variable and as an intermediate variable: depends on the independent variable through the action of . Using the new language that we will soon develop, we will say this is the chain rule for one independent and one intermediate variable (Chain Rule 1-1).



Chain rules

Suppose we have a function that depends on the single variable , but it does so through the action of two intermediate varibles, and . For example,

In such a case, we might want to substitute in order to write in terms of the single variable: . However, this is not always convenient or appropriate. The chain rule tells us how to differentiate through the intermediate variables.

Chain Rule 1-2:

Suppose is a differentiable function of and and and are differentiable functions of . Then is a differentiable function of and

where the ordinary derivatives are evaluated at and the partial derivatives are evaluated at .



Examples








What if we have two independent variables and two intermediate variables? Well, there's a chain rule for that.

Chain Rule 2-2:

Suppose is a differentiable function of and and and are differentiable functions of and . Then is a differentiable function of and and

and


Notice that all derivatives in Chain Rule 2-2 are partial derivatives. Does that make sense?



Examples





 

By now, you've probably figured out the chain rule patterns. The last version of the chain rule we will explicitly formulate is Chain Rule 2-3.


Chain Rule 2-3:

Suppose is a differentiable function of , and and , , and are differentiable functions of and . Then is a differentiable function of and and

and



Examples




Implicit differentiation

One very nice application of the chain rule provides a new approach to implicit differentiation. Suppose that the equation implicitly defines as a function of . Now let and think about as a function of the single independent variable through the action of the intermediate variables and . Notice that is taking the role of both the independent variable and an intermediate variable. Let's use Chain Rule 1-2 to determine .

Now, since , it follows that

or



Examples




Find and if .