Difference between revisions of "Chain Rule"

From Grad Wiki
Jump to navigation Jump to search
Line 32: Line 32:
 
!Solution:  
 
!Solution:  
 
|-
 
|-
|Let &nbsp;<math>f(x)=\sin (x)</math>&nbsp; and &nbsp;<math>g(x)=3x.</math>
+
|Let &nbsp;<math style="vertical-align: -5px">f(x)=\sin (x)</math>&nbsp; and &nbsp;<math style="vertical-align: -5px">g(x)=3x.</math>
 
|-
 
|-
|Then, &nbsp;<math>f'(x)=\cos(x)</math>&nbsp; and &nbsp;<math>g'(x)=3.</math>
+
|Then, &nbsp;<math style="vertical-align: -5px">f'(x)=\cos(x)</math>&nbsp; and &nbsp;<math style="vertical-align: -5px">g'(x)=3.</math>
 
|-
 
|-
|Now, &nbsp;<math>h(x)=f(g(x)).</math>
+
|Now, &nbsp;<math style="vertical-align: -6px">h(x)=f(g(x)).</math>
 
|-
 
|-
 
|Using the Chain Rule, we have
 
|Using the Chain Rule, we have
Line 61: Line 61:
 
!Solution: &nbsp;
 
!Solution: &nbsp;
 
|-
 
|-
|Let &nbsp;<math>f(x)=x^8</math>&nbsp; and &nbsp;<math>g(x)=x+1.</math>
+
|Let &nbsp;<math style="vertical-align: -5px">f(x)=x^8</math>&nbsp; and &nbsp;<math style="vertical-align: -5px">g(x)=x+1.</math>
 
|-
 
|-
|Then, &nbsp;<math>f'(x)=8x^7</math>&nbsp; and &nbsp;<math>g'(x)=1.</math>
+
|Then, &nbsp;<math style="vertical-align: -5px">f'(x)=8x^7</math>&nbsp; and &nbsp;<math style="vertical-align: -5px">g'(x)=1.</math>
 
|-
 
|-
|Now, &nbsp;<math>h(x)=f(g(x)).</math>
+
|Now, &nbsp;<math style="vertical-align: -6px">h(x)=f(g(x)).</math>
 
|-
 
|-
 
|Using the Chain Rule, we have
 
|Using the Chain Rule, we have
Line 90: Line 90:
 
!Solution: &nbsp;
 
!Solution: &nbsp;
 
|-
 
|-
|Let &nbsp;<math>f(x)=\ln (x)</math>&nbsp; and &nbsp;<math>g(x)=x^2.</math>
+
|Let &nbsp;<math style="vertical-align: -5px">f(x)=\ln (x)</math>&nbsp; and &nbsp;<math style="vertical-align: -5px">g(x)=x^2.</math>
 
|-
 
|-
|Then, &nbsp;<math>f'(x)=\frac{1}{x}</math>&nbsp; and &nbsp;<math>g'(x)=2x.</math>
+
|Then, &nbsp;<math style="vertical-align: -13px">f'(x)=\frac{1}{x}</math>&nbsp; and &nbsp;<math style="vertical-align: -5px">g'(x)=2x.</math>
 
|-
 
|-
|Now, &nbsp;<math>h(x)=f(g(x)).</math>
+
|Now, &nbsp;<math style="vertical-align: -6px">h(x)=f(g(x)).</math>
 
|-
 
|-
 
|Using the Chain Rule, we have
 
|Using the Chain Rule, we have

Revision as of 10:02, 9 October 2017

Introduction

It is relatively easy to calculate the derivatives of simple functions, like polynomials or trigonometric functions.

But, what about more complicated functions?

For example,    or  

Well, the key to calculating the derivatives of these functions is to recognize that these functions are compositions.

For    it is the composition of the function    with  

Similarly, for    it is the composition of    and  

So, how do we take the derivative of compositions?

The answer to this question is exactly the Chain Rule.

Chain Rule

Let    be a differentiable function of    and let    be a differentiable function of   

Then,    is a differentiable function of    and

Warm-Up

Calculate  

1)  

Solution:  
Let    and  
Then,    and  
Now,  
Using the Chain Rule, we have
Final Answer:  
       

2)  

Solution:  
Let    and  
Then,    and  
Now,  
Using the Chain Rule, we have
Final Answer:  
       

3)  

Solution:  
Let    and  
Then,    and  
Now,  
Using the Chain Rule, we have
Final Answer:  
       

Exercise 1

Calculate the derivative of  

First, we need to know the derivative of    Recall

Now, using the Quotient Rule, we have

Using the Product Rule and Power Rule, we have

So, we have

Exercise 2

Calculate the derivative of  

Notice that the function    is the product of three functions.

We start by grouping two of the functions together. So, we have  

Using the Product Rule, we get

Now, we need to use the Product Rule again. So,

So, we have

But, there is another way to do this problem. Notice

Now, you would only need to use the Product Rule once instead of twice.

Exercise 3

Calculate the derivative of  

Using the Quotient Rule, we have

Now, we need to use the Product Rule. So, we have

So, we get

Exercise 4

Calculate the derivative of  

First, using the Quotient Rule, we have

Now, we need to use the Product Rule. So, we have

So, we have