Difference between revisions of "Chain Rule"
Kayla Murray (talk | contribs) |
Kayla Murray (talk | contribs) |
||
| Line 32: | Line 32: | ||
!Solution: | !Solution: | ||
|- | |- | ||
| − | |Let <math>f(x)=\sin (x)</math> and <math>g(x)=3x.</math> | + | |Let <math style="vertical-align: -5px">f(x)=\sin (x)</math> and <math style="vertical-align: -5px">g(x)=3x.</math> |
|- | |- | ||
| − | |Then, <math>f'(x)=\cos(x)</math> and <math>g'(x)=3.</math> | + | |Then, <math style="vertical-align: -5px">f'(x)=\cos(x)</math> and <math style="vertical-align: -5px">g'(x)=3.</math> |
|- | |- | ||
| − | |Now, <math>h(x)=f(g(x)).</math> | + | |Now, <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: | !Solution: | ||
|- | |- | ||
| − | |Let <math>f(x)=x^8</math> and <math>g(x)=x+1.</math> | + | |Let <math style="vertical-align: -5px">f(x)=x^8</math> and <math style="vertical-align: -5px">g(x)=x+1.</math> |
|- | |- | ||
| − | |Then, <math>f'(x)=8x^7</math> and <math>g'(x)=1.</math> | + | |Then, <math style="vertical-align: -5px">f'(x)=8x^7</math> and <math style="vertical-align: -5px">g'(x)=1.</math> |
|- | |- | ||
| − | |Now, <math>h(x)=f(g(x)).</math> | + | |Now, <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: | !Solution: | ||
|- | |- | ||
| − | |Let <math>f(x)=\ln (x)</math> and <math>g(x)=x^2.</math> | + | |Let <math style="vertical-align: -5px">f(x)=\ln (x)</math> and <math style="vertical-align: -5px">g(x)=x^2.</math> |
|- | |- | ||
| − | |Then, <math>f'(x)=\frac{1}{x}</math> and <math>g'(x)=2x.</math> | + | |Then, <math style="vertical-align: -13px">f'(x)=\frac{1}{x}</math> and <math style="vertical-align: -5px">g'(x)=2x.</math> |
|- | |- | ||
| − | |Now, <math>h(x)=f(g(x)).</math> | + | |Now, <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
- Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle f'(x)={\frac {-\csc x\cot x}{x^{2}}}+{\frac {-2(\csc x-4)}{x^{3}}}.}
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 Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle g(x)=(2x\sin x)\sec x.}
Using the Product Rule, we get
Now, we need to use the Product Rule again. So,
- Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\begin{array}{rcl}\displaystyle {g'(x)}&=&\displaystyle {2x\sin x\tan ^{2}x+(2x(\sin x)'+(2x)'\sin x)\sec x}\\&&\\&=&\displaystyle {2x\sin x\tan ^{2}x+(2x\cos x+2\sin x)\sec x.}\end{array}}}
So, we have
But, there is another way to do this problem. Notice
- Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\begin{array}{rcl}\displaystyle {g(x)}&=&\displaystyle {2x\sin x\sec x}\\&&\\&=&\displaystyle {2x\sin x{\frac {1}{\cos x}}}\\&&\\&=&\displaystyle {2x\tan x.}\end{array}}}
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
- Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle h'(x)={\frac {(x^{2}\cos x+3)(x^{2}\sin x+1)'-(x^{2}\sin x+1)(x^{2}\cos x+3)'}{(x^{2}\cos x+3)^{2}}}.}
Now, we need to use the Product Rule. So, we have
- Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\begin{array}{rcl}\displaystyle {h'(x)}&=&\displaystyle {\frac {(x^{2}\cos x+3)(x^{2}(\sin x)'+(x^{2})'\sin x)-(x^{2}\sin x+1)(x^{2}(\cos x)'+(x^{2})'\cos x)}{(x^{2}\cos x+3)^{2}}}\\&&\\&=&\displaystyle {{\frac {(x^{2}\cos x+3)(x^{2}\cos x+2x\sin x)-(x^{2}\sin x+1)(-x^{2}\sin x+2x\cos x)}{(x^{2}\cos x+3)^{2}}}.}\end{array}}}
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