Differentiation Part2
From StpmWiki
Contents |
Chain Rule
- Notice that
Composite Functions
Let say
, where
and
are basic functions which we know how to differentiate. Since the
is "applied" to
, it might be easier to us to rewrite it as
, where
So how would we differentiate it?
Now, we can differentiate
directly, but not
.
- For example
- In other words,
So let's look back at
- We know that we can differentiate
- But surely we CAN'T
- We need to
- Thus,
Once again,
[f(x)]^n
M)
- Remember :
Prove
- Analyze :
Examples
Find
for the following
- Note:
- Simplify by
Exercise 3
Find
for the following
- a)
- b)
- c)
- d)
- e)
- f)
- g)
- g)
- h)
e^[f(x)]
N)
- Remember :
- Note :
- Important :
You can try the prove yourself, but it is more important for us to remember and use the formula correctly for now.
Comparing with the basic formula
- Now, for
O)
Examples
Differentiate the following w.r.t.
ln[f(x)]
P)
- Remember :
- Note :
Comparing with the other composite formula, we see that the pattern is really the same:
Whereby we just
Using Index Laws
Note that
Take a good look at each law. Which side (right or left) would be easier to differentiate?
Thus, ALWAYS check whether we can simplify first when we differentiate ln functions.
Examples
sin[f(x)], cos[f(x)], tan[f(x)]
You should be able to guess the following formulas already
Q)
R)
S)
- If you still can't see why
- Remember :
Note :
Common Mistakes
Remember that, for sin something, for example, we need to
- change it to cos
- copy that something
- then only multiply the derivative
It is very easy to carelessly skip the second step, so take the time to learn the structure correctly. For example, when we do something such as
, if we do it too quickly, we might carelessly end up with
when it should have been
.
Examples
Exercise 4
Differentiate the following w.r.t.
- a)
- b)
- c)
- d)
- e)
- f)
- g)
- h)
- i)
- j)
- k)
- l)
- m)
- n)
- o)
- p)
- q)
- r)
- s)
.
can also be replaced by any other variables.
![=\frac{d\left[fg\left(x\right)\right]}{dx}](/images/math/f/c/5/fc57185720085dc6ff72d46ac3cbaa46.png)
![=\frac{d\left[f\left(u\right)\right]}{dx}](/images/math/1/f/5/1f5cca822a63c22fa71545753ca800ff.png)
but
, it will be 
, we can only differentiate it (directly) with respect to 
![\frac{d\left[f\left(u\right)\right]}{du}](/images/math/c/e/4/ce456e40ab5c4dfcf7a1fb08ccdef5b3.png)
![\frac{d\left[f\left(u\right)\right]}{{\color{Blue}dx}}=\frac{d\left[f\left(u\right)\right]}{{\color{Red}du}}](/images/math/1/d/c/1dc36796828431204adf214cf28048c6.png)
as well as move the
to somewhere else, thus we use the ![\frac{d\left[f\left(u\right)\right]}{{\color{Blue}dx}}=\frac{d\left[f\left(u\right)\right]}{{\color{Red}du}}\times](/images/math/6/b/c/6bc5a81aaf70755c76b4073d9dc09ce6.png)

![\frac{d\left[fg\left(x\right)\right]}{dx}](/images/math/8/9/6/896e68660f1a41c4dfdae71dcee484de.png)
![=\frac{d\left[f\left({\color{Red}u}\right)\right]}{dx}](/images/math/7/0/0/700b3030a878cb4b6f7646fa11dc2a18.png)
![=\frac{d\left[f\left({\color{Red}u}\right)\right]}{{\color{Red}du}}\times\frac{{\color{Red}du}}{dx}](/images/math/2/7/5/275758121baf08a3024b8e497f08bb47.png)
![=n{\left[f\left(x\right)\right]}^{n-1}\cdot f'\left(x\right)](/images/math/f/0/6/f067bd6e966d56b269fac8bdfb4b74df.png)
, "bring" down the index, copy back exactly that something, minus one to the index, then multiply with the derivative of that something.
, we see 






and NOT 



, 















. In this case, the student had
and
is WRONG.
is also WRONG.

, we can actually do it directly



to represent times is just a way to avoid too many brackets but also gives a bit of structure to to the expression since here we use it to separate the first thing and the derivative of the second thing and so on.
is of course, not needed, but we can write it down to complete the structure of the derivative which makes is easier for us to check we haven't missed out any parts




![f'\left(x\right)={\left(x+1\right)}^{2}{\left(2x-1\right)}^{3}\left[\dots\right]](/images/math/9/c/7/9c7b8e5948f59af7a709e2af6e3af8f9.png)
![f'\left(x\right)={\left(x+1\right)}^{2}{\left(2x-1\right)}^{3}\left[{\color{Blue}8\left(x+1\right)}\dots\right]](/images/math/1/f/c/1fc85aeba17b075eb7d18135a2754c17.png)
![f'\left(x\right)={\left(x+1\right)}^{2}{\left(2x-1\right)}^{3}\left[8\left(x+1\right)+{\color{Blue}3\left(2x-1\right)}\right]](/images/math/3/f/1/3f1140b4cd3ddee45ca051e9c74f5a18.png)




![f'\left(x\right)=\frac{2\left(x+2 \right){\left(4x-1 \right)}^{2}{\color{Red}\left[6\left(x+2\right)-\left(4x-1\right)\right]}}{{\left(x+2 \right)}^{4}}](/images/math/6/b/f/6bf30631a9286463ff055a95c6d03b94.png)
, 











![\begin{align}
f\left(x\right)& ={\left(2x+5\right)}^{6}{\left(3x+2\right)}^{3}\\
f'\left(x\right)& ={\left(2x+5\right)}^{6}\cdot 3{\left(3x+2\right)}^{2}\left(3\right)+{\left(3x+2\right)}^{3}\cdot6{\left(2x+5\right)}^{5}\left(2\right)\\
&=3{\left(2x+5\right)}^{5}{\left(3x+2\right)}^{2}\left[3\left(2x+5\right)+4\left(3x+2\right)\right]\\
&=3{\left(2x+5\right)}^{5}{\left(3x+2\right)}^{2}\left(18x+23\right)
\end{align}](/images/math/d/3/9/d39a299bb29106d30e63ee75c9110f2f.png)

![\begin{align}
f\left(x\right)&={\left(x+1\right)}^{4}{\left({x}^{2}-7\right)}^{2}\\
f'\left(x\right)& ={\left(x+1\right)}^{4}\cdot2\left({x}^{2}-7\right)\left(2x\right)+{\left({x}^{2}-7\right)}^{2}\cdot4{\left(x+1\right)}^{3}\\
&=4{\left(x+1\right)}^{3}\left({x}^{2}-7\right)\left[x\left(x+1\right)+\left({x}^{2}-7\right)\right]\\
&=4{\left(x+1\right)}^{3}\left({x}^{2}-7\right)\left(2{x}^{2}+x-7\right)
\end{align}](/images/math/a/7/4/a74c49574533a76a457a6d6c54e67f66.png)

![\begin{align}
f\left(x\right)&=\frac{{\left(2x-5\right)}^{2}}{{\left(1-x\right)}^{3}}\\
f'\left(x\right)& =\frac{{\left(1-x\right)}^{3}\cdot2\left(2x-5\right)\left(2\right)-{\left(2x-5\right)}^{2}\cdot3{\left(1-x\right)}^{2}\left(-1 \right)}{{\left(1-x\right)}^{6}}\\
& =\frac{{\left(1-x\right)}^{2}\left(2x-5\right)\left[4\left(1-x\right)+3\left(2x-5\right)\right]}{{\left(1-x\right)}^{6}}\\
&=\frac{\left(2x-5\right)\left(2x-11\right)}{{\left(1-x\right)}^{4}}
\end{align}](/images/math/6/5/8/658dcb6f66d3466adee230ab7679ed11.png)


power something, copy back exactly
before differentiating 

, though again, we will normally write the derivative in front.







or 

or 




behind, else we would need to write it as
,since
is ambiguous.

but not
) and then simplify using index laws.



something, copy that something, put it below, then find derivative of that something, put it on top.
![\frac{d}{dx}{\left[{\color{Blue}f\left(x\right)}\right]}^{n} =n{\left[{\color{Blue}f\left(x\right)}\right]}^{n-1}\cdot {\color{Red}f'\left(x\right)}](/images/math/3/0/4/30425027454905a752df424ec3206adf.png)

![\frac{d}{dx}\ln\left[{\color{Blue}f\left(x\right)}\right]=\frac{{\color{Red}f'\left(x\right)}}{{\color{Blue}f\left(x\right)}}](/images/math/a/4/d/a4d65683e093d4c2a40037b338e3564c.png)
with 








,
and
, none of it which is easy.
and
, which is much easier.




or 







( Note that
is


![y=\ln\sqrt[3]{\frac{1-x}{{\left(1+x\right)}^{2}}}](/images/math/6/e/3/6e3689bfe21190ccc2fc9eb5c00626c3.png)






![=f'\left(x\right)\cos\left[f\left(x\right)\right]](/images/math/6/8/0/680f2ef1c4323238ba266442b565a8ad.png)
![=-f'\left(x\right)\sin\left[f\left(x\right)\right]](/images/math/1/e/9/1e91bd2fbadfa699583aba9f2704d242.png)
![=f'\left(x\right){\sec}^{2}\left[f\left(x\right)\right]](/images/math/c/9/b/c9b4e1790d052cfcd36a7d77854b1d33.png)
















directly or by side working. DO NOT try to do in the middle of everything, such as writting 


























![\begin{align}
y& =\ln\sqrt{\frac{1+x}{1-x}}\\
& =\frac{1}{2}\left[\ln\left(1+x\right)-\ln\left(1-x\right)\right] \\
\frac{dy}{dx} &=\frac{1}{2}\left[ \frac{1}{1+x}-\frac{\left(-1 \right)}{1-x}\right] \\
& =\frac{1}{2}\left[ \frac{1-x+1+x}{\left(1+x\right)\left(1-x\right)}\right]\\
& =\frac{1}{\left(1+x\right)\left(1-x\right)}
\end{align}](/images/math/6/8/8/6882578a3a6670bb6439bab7ba83d22b.png)

![\begin{align}
y& =\ln\sqrt[3]{\frac{{\left(3x-1\right)}^{4}}{{x}^{2}}}\\
& =\frac{4}{3}\ln \left(3x-1\right)-\frac{2}{3}\ln x \\
\frac{dy}{dx} &=\frac{4\left(3\right)}{3\left(3x-1\right)}-\frac{2}{3x} \\
& =\frac{4}{3x-1}-\frac{2}{3x}
\end{align}](/images/math/9/3/a/93ab1501adf0c8ba92af3ba2c5eda593.png)








