Differentiation Part2

From StpmWiki
Jump to: navigation, search

Contents

Chain Rule

\frac{dy}{dx}=\frac{dy}{du}\times\frac{du}{dx}

Composite Functions

Let say y=fg\left(x\right), where f\, and g\, are basic functions which we know how to differentiate. Since the f\, is "applied" to g\left(x\right), it might be easier to us to rewrite it as f\left(u\right), where u=g\left(x\right).

So how would we differentiate it?

Now, we can differentiate \frac{d\left[f\left({\color{Blue}x}\right)\right]}{d{\color{Blue}x}} directly, but not \frac{d\left[f\left({\color{Red}u}\right)\right]}{d{\color{Blue}x}}.

So let's look back at \frac{d\left[f\left(u\right)\right]}{dx}

Once again, \frac{d\left[fg\left(x\right)\right]}{dx} =\frac{d\left[f\left({\color{Red}u}\right)\right]}{dx} =\frac{d\left[f\left({\color{Red}u}\right)\right]}{{\color{Red}du}}\times\frac{{\color{Red}du}}{dx}

[f(x)]^n

M) \frac{d}{dx}{\left[f\left(x\right)\right]}^{n} =n{\left[f\left(x\right)\right]}^{n-1}\cdot f'\left(x\right)

Prove

Examples

Find f'\left(x\right) for the following

Exercise 3

Find f'\left(x\right) for the following

a) f\left(x\right)={\left(1-5x\right)}^{7}-{\left({x}^{2}-1\right)}^{-3}

b) f\left(x\right)=\frac{5}{7x-1}+\frac{3}{{\left(x+1\right)}^{5}}

c) f\left(x\right)={\left({x}^{2}-2\sqrt{x}+3 \right)}^{4}

d) f\left(x\right)=\sqrt{{x}^{2}-4}+\frac{2}{\sqrt{x+3}}

e) f\left(x\right)=\frac{1}{{x}^{2}+2x+8}

f) f\left(x\right)={\left(2x+5\right)}^{6}{\left(3x+2\right)}^{3}

g) f\left(x\right)={\left(x+1\right)}^{4}{\left({x}^{2}-7\right)}^{2}

h) f\left(x\right)=\frac{{\left(2x-5\right)}^{2}}{{\left(1-x\right)}^{3}}

e^[f(x)]

N) \frac{d}{dx}{e}^{f\left(x\right)} ={e}^{f\left(x\right)}\cdot f'\left(x\right) =f'\left(x\right){e}^{f\left(x\right)}


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


O) \frac{d}{dx}{a}^{f\left(x\right)} =f'\left(x\right){a}^{f\left(x\right)}\ln a

Examples

Differentiate the following w.r.t. x\,

ln[f(x)]

P) \frac{d}{dx}\ln\left[f\left(x \right)\right] =\frac{1}{f\left(x\right)}\cdot f'\left(x\right) =\frac{f'\left(x\right)}{f\left(x\right)}

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? The right hand side, of course.

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) \frac{d}{dx}\sin\left[f\left(x\right)\right] =f'\left(x\right)\cos\left[f\left(x\right)\right]

R) \frac{d}{dx}\cos\left[f\left(x\right)\right] =-f'\left(x\right)\sin\left[f\left(x\right)\right]

S) \frac{d}{dx}\tan\left[f\left(x\right)\right] =f'\left(x\right){\sec}^{2}\left[f\left(x\right)\right]

Note : As with \ln\,, it is easier to multiply the derivative directly in front so that we don't need to rewrite the answer.

Common Mistakes

Remember that, for sin something, for example, we need to

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 y=\sin \left(\ln x\right), if we do it too quickly, we might carelessly end up with \frac{dy}{dx}=\cos \left(\frac{1}{x}\right) when it should have been \frac{dy}{dx}=\frac{1}{x}\cos \left(\ln x\right).

Examples

Exercise 4

Differentiate the following w.r.t. x\,

a) y={e}^{3x}-4{e}^{-2x}+{e}^{{x}^{2}}+3\sqrt{{e}^{x}}+\frac{1}{\sqrt{{e}^{x}}}

b) y={e}^{\cos x}-2{e}^{\frac{3}{x}}+4{e}^{\sqrt{x}+1}+{e}^{\tan x+\ln x}

c) y=\frac{4{e}^{3x}-2{e}^{-3x}}{{e}^{2x}}

d) y=\ln\left(2x-1\right)-2\ln\left(7-3x \right) \frac{dy}{dx}= \frac{2}{2x-1}+\frac{6}{7-3x}

e) y=\ln\left(3{x}^{2}-4\right)

f) y=3\ln\left(\cos x\right)-2\ln\left(\sin x \right)

g) y=\ln\left({e}^{x}+4\right)+\ln\left(\sin x +\cos x \right)

h) y=3\ln\left(\frac{5}{{x}^{2}}\right)-\ln\sqrt{\frac{4}{{x}^{3}}}

i) y=\ln\sqrt{1-{x}^{2}}+\ln {\left(3{x}^{2}+4 \right)}^{3}

j) y=\ln\left(\frac{1+x}{1-x}\right)

k) y=\ln\left[{\left(2x+1\right)}^{3}{\left(x-2\right)}^{5}\right]

l) y=\ln\frac{{\left({x}^{2}-3\right)}^{4}}{\left(1-2x \right)}

m) y=\ln\sqrt{\frac{1+x}{1-x}}

n) y=\ln\sqrt[3]{\frac{{\left(3x-1\right)}^{4}}{{x}^{2}}}

o) y=\sin3x+3\cos\left(2x-1\right)+\tan\left(1-x\right)

p) y=\cos\left(\pi x\right)+\sin\left(\frac{\pi}{3}x\right)-\sin\left(\pi+x\right)

q) y=\tan\left({e}^{x}+2\right)+\cos\left(2\sqrt{x}\right)-\sin\left(\frac{3}{x}\right)

r) y=\sqrt{{e}^{x}}+{e}^{\sqrt{x}}+\frac{1}{{e}^{x}}+{e}^{\frac{1}{x}}

s) y=\sin\left({e}^{x}\right)+{e}^{\sin x}+\ln\left(\sin x\right)+\sin\left(\ln x\right)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox