Docsity

Differentiation Rules in Mathematics, Slides of Mathematics

Toggle sidebar
bg1
The University of New South Wales
School of Mathematics and Statistics
Mathematics Drop–in Centre
DIFFERENTIATION RULES
Once you know how to differentiate basic functions (see sepa-
rate worksheet if necessary) you need to be able to combine them
into more complicated examples. The fundamental rules are as
follows.
sums and differences d
dx(u±v) = du
dx ±dv
dx
constant multiple d
dx(cu) = cdu
dx
product rule d
dx(uv) = udv
dx +vdu
dx
quotient rule d
dxu
v=
vdu
dx −udv
dx
v2
chain rule dy
dx =dy
du
du
dx
Hopefully the first four of these are easy to understand. Here is
an example which uses all four:
d
dxx23 sin x−4 cos x
x5
=x23 cos x+ 23x22 sin x−x5(−4 sin x)−(4 cos x)5x4
x10 .
In writing out the quotient rule we recommend that you write
the denominator v2first, then begin the numerator with v. This
should ensure that you do not get the terms in the numerator the
wrong way around.
In the chain rule we are assuming that yis given in terms of
u, and uin terms of x. You could find a definite formula for y
in terms of xby substitution, then differentiate in the usual way;
however it is often easier to use the chain rule. It may be useful
to actually define a function uin terms of x. For example, to
differentiate y= cos(x2) you could write
y= cos u , u =x2
and so
dy
dx =dy
du
du
dx = (−sin u)(2x) = −2xsin(x2).
Sometimes we need a longer chain: if y=√1 + esin xwe can write
y=√u , u = 1 + ev, v = si n x ,
and so we have
dy
dx =dy
du
du
dv
dv
dx =1
2√uevcos x=esin xcos x
2√1 + esin x.
Here is an example which uses both the product rule and the chain
rule:
d
dx(ln x) cos(x2)= (ln x)d
dxcos(x2)+ cos(x2)d
dx(ln x)
=−2x(ln x) sin(x2) + cos(x2)
x.
For the derivative of cos(x2) we could work it out separately as
above; with practice you should be able to write it down in one
go, perhaps making the substitution u=x2mentally.
pf2

Partial preview of the text

Download Differentiation Rules in Mathematics and more Slides Mathematics in PDF only on Docsity!

School of Mathematics and StatisticsThe University of New South Wales DIFFERENTIATION RULES Mathematics Drop–in Centre

Once you know how to differentiate basic functions (see sepa-

into more complicated examples.rate worksheet if necessary) you need to be able to combine them

The fundamental rules are as

follows.

sums and differences

dxd

(^) ( u (^) ±

(^) v ) =

dxdu

dxdv

constant multiple

d

dx

(^) ( cu

) =

(^) c

dxdu

product rule

dxd

(^) ( uv

) =

(^) u

dxdv

(^) v

dxdu

quotient rule

d

dx

v u^ ) =

v dxdu

(^) u

dxdv

v 2

chain rule

dxdy

dudy

dxdu

an example which uses all four: Hopefully the first four of these are easy to understand. Here is

d

dx

x 23

sin^

(^) x (^) −

4 cos

(^) x

x 5

x 23

cos^

(^) x (^) + 23

x 22

sin^

(^) x (^) −

x 5 ( − 4 sin

(^) x ) (^) −

(^) (4 cos

(^) x ) x 4

x 10

the denominator In writing out the quotient rule we recommend that you write

v 2 first, then begin the numerator with

v

. This

wrong way around.should ensure that you do not get the terms in the numerator the

In the chain rule we are assuming that

y is given in terms of

u , and

u

in terms of

x .

You could find a definite formula for

y

in terms of

(^) x

by substitution, then differentiate in the usual way;

to actually define a functionhowever it is often easier to use the chain rule. It may be useful

u

in terms of

x .

For example, to

differentiate

y = cos(

x 2 y ) you could write = cos

(^) u ,

u (^) =

(^) x 2

and so

dx dy

dudy

dxdu

(^) sin

(^) u )(

x ) =

x (^) sin(

x 2 ) .

Sometimes we need a longer chain: if

(^) y

= (^) √

1 +

(^) e sin

(^) x

we can write

y

√ u ,

u (^) = 1 +

(^) e v ,

v = sin

(^) x ,

and so we have

dx dy

dudy

dvdu

dxdv

u e v cos^

(^) x

=

e sin

(^) x cos^

(^) x

(^) e sin

(^) x

.

rule: Here is an example which uses both the product rule and the chain

dx d

( (ln

(^) x ) cos(

x 2 ) ) = (ln^

(^) x ) d

dx

cos(

x 2 ) )

  • cos(^

x 2 ) dxd

(^) (ln

(^) x )

x (ln

(^) x ) sin(

x 2 ) +

cos(

x 2 )

x

For the derivative of cos(

x 2 ) we could work it out separately as

go, perhaps making the substitutionabove; with practice you should be able to write it down in one

u

= (^) x 2 mentally.

EXERCISES

Please try to complete the following exercises.

Remember that

you

(^) cannot

(^) expect to understand mathematics without doing lots

of practice!

Please do not look at the answers before trying the

please consult your tutor or the Mathematics Drop–in Centre.which you cannot find, or a question which you cannot even start,working carefully, find the mistake and fix it. If there is a mistakequestions. If you get a question wrong you should go through your

  1. Differentiate

(a)

x (^) sin 2

x (^) + 3

x 4 cos 5^

x ;

(b)

x 7

e 5 x (^) ;

(c)

e − 5 x cos 7^

x ;

(d) tan

3 x^ ;

(e)

ln (^) x

x 2

;

(f)

x − 2 ln^ (^) x ;

(g) ln(1 + cos

2 x^ );

(h) sec

(^) x ;

(i)

x 3 √ 1 +

(^) x 2 ;

(j) (cos

(^) x ) sin(

x 2 );

(k) cos(

x (^) sin(

x 2 )).

  1. Find a formula for the derivative of

uvw

by writing it as

u ( vw

) then using the product rule twice. Hence differentiate

x 5 (ln

(^) x )(sin

(^) x ).

  1. Differentiate

x m x n

by using the product rule. Then differen-

and check that you get the same answer.tiate the same function again by a different (easier!) method,

ANSWERS

(a) 2

x (^) cos 2

x (^) + sin 2

x (^) −

(^15)

x 4 sin 5^

x (^) + 12

x 3 cos 5^

x ;

(b)

e 5 x )(

x 6 ) (^) −

(^) (

e 5 x )( x 7 )

e 5 x ) 2

(c)

e − 5 x sin 7^

x (^) −

(^5) e − 5 x cos 7^

x ;

(d) 3 tan

2 x^ (^) sec

2 x^ ;

(e)

x (^) −

(^2) x (^) ln

(^) x

x 4

(f)

x − 3 −^ (^2) x − 3 ln^ (^) x ; note that this is really the same as (e);

(g)

(^) 2 cos

(^) x (^) sin

(^) x

1 + cos

2 x^

;

(h) (sin

(^) x ) / (cos

2 x^ ), or sec

(^) x (^) tan

(^) x ;

(i)

x 4

(^) x 2

  • 3

x 2 √ 1 +

(^) x 2 ;

(j) 2

x (cos

(^) x ) cos(

x 2 ) (^) −

(^) (sin

(^) x ) sin(

x 2 );

(k)

(^) sin(

x (^) sin(

x 2 ))[

x 2 cos(^

x 2 ) + sin(

x 2 )].

  1. We have

d

dx

(^) ( u ( vw

(^) u

d ( vw

dx

vw

dx^ du

(^) u ( v

dxdw

(^) w

dxdv

vw

dx^ du

(^) uv

dxdw

(^) uw

dxdv

(^) vw

dxdu

and so the derivative of

x 5 (ln

(^) x )(sin

(^) x ) is

x 5 (ln

(^) x )(cos

(^) x ) +

(^) x 4 (sin

(^) x ) + 5

x 4 (ln

(^) x )(sin

(^) x ) .

  1. The easy way is

d

dx

(^) ( x m x n ) =

dxd

(^) ( x m

n ) = (

m

(^) +

(^) n ) x m + n − 1.