“JUST THE MATHS” UNIT NUMBER 10.4 DIFFERENTIATION 4

advertisement
“JUST THE MATHS”
UNIT NUMBER
10.4
DIFFERENTIATION 4
(Products and quotients)
&
(Logarithmic differentiation)
by
A.J.Hobson
10.4.1
10.4.2
10.4.3
10.4.4
10.4.5
Products
Quotients
Logarithmic differentiation
Exercises
Answers to exercises
UNIT 10.4 - DIFFERENTIATION 4
PRODUCTS, QUOTIENTS AND LOGARITHMIC DIFFERENTIATION
10.4.1 PRODUCTS
Suppose
y = u(x)v(x),
where u(x) and v(x) are two functions of x.
Suppose, also, that a small increase of δx in x gives rise to increases (positive or negative)
of δu in u, δv in v and δy in y.
Then,
dy
(u + δu)(v + δv) − uv
= lim
dx δx→0
δx
uv + uδv + vδu + δuδv − uv
δx→0
δx
= lim
"
#
δv
δu
= lim u + v
.
δx→0
δx
δx
Hence,
d
dv
du
[u.v] = u
+v .
dx
dx
dx
Hint: Think of this as
(FIRST x DERIVATIVE OF SECOND) + (SECOND x DERIVATIVE OF FIRST)
EXAMPLES
1. Determine an expression for
dy
dx
in the case when
y = x7 cos 3x.
Solution
dy
= x7 . − 3 sin 3x + cos 3x.7x6 = x6 [7 cos 3x − 3x sin 3x].
dx
1
dy
dx
2. Evaluate
at x = −1 in the case when
y = (x2 − 8) ln(2x + 3).
Solution
dy
1
x2 − 8
= (x2 − 8).
.2 + ln(2x + 3).2x = 2
+ x ln(2x + 3) .
dx
2x + 3
2x + 3
"
#
When x = −1, this has value −14 since ln 1 = 0.
10.4.2 QUOTIENTS
Suppose, this time, that
y=
u(x)
.
v(x)
Then, we may write
y = u(x).[v(x)]−1
in order to use the rule already known for products.
We obtain
dv
du
dy
= u.(−1)[v]−2 .
+ v −1 . ,
dx
dx
dx
which can be rewritten as
v du − u dv
d u
= dx 2 dx .
v
dx v
EXAMPLES
1. Using the formula for the derivative of a quotient, show that the derivative with respect
to x of the function tan x is the function sec2 x.
Solution
d
d sin x
(cos x).(cos x) − (sin x).(− sin x)
[tan x] =
=
dx
dx cos x
cos2 x
=
cos2 x + sin2 x
1
=
= sec2 x.
cos2 x
cos2 x
2
2. Determine an expression for
dy
dx
in the case when
y=
2x + 1
.
(5x − 3)3
Solution
Using u(x) ≡ 2x + 1 and v(x) ≡ (5x − 3)3 , we have
dy
(5x − 3)3 .2 − (2x + 1).3(5x − 3)2 .5
=
.
dx
(5x − 3)6
The expression (5x − 3)2 may be cancelled as a common factor of both numerator and
denominator, leaving
dy
(5x − 3).2 − 15(2x + 1)
20x + 21
=
=−
.
4
dx
(5x − 3)
(5x − 3)4
Note:
The step in the second example above, where a common factor could be cancelled, may
be avoided if we use a modified version of the rule for quotients when the function can be
considered in the form
u
.
vn
It can be shown that, if
y=
u
,
vn
then,
v du − nu dv
dy
= dx n+1 dx .
dx
v
For instance, in Example 2 above, we could write
u ≡ 2x + 1 v ≡ 5x − 3 and n = 3
Hence,
dy
(5x − 3).2 − 3(2x + 1).5
=
,
dx
(5x − 3)4
as before.
3
10.4.3 LOGARITHMIC DIFFERENTIATION
The algebraic properties of natural logarithms (see Unit 1.4), together with the standard
derivative of ln x and the rules of differentiation, enable us to differentiate two specific kinds
of function as described below:
(a) Functions containing a variable index
The most familiar function with which to introduce this technique is the
“exponential function”, ex .
Suppose we let
y = ex ;
then, by properties of natural logarithms, we can write
ln y = x;
and, if we differentiate both sides with respect to x, we obtain
1 dy
= 1.
y dx
That is,
dy
= y = ex .
dx
Hence,
d x
[e ] = ex .
dx
Notes:
(i) After taking logarithms, we could have differentiated the statement x = ln y with respect
to y, obtaining
dx
1
= .
dy
y
But it can be shown that, for most functions,
dy
1
= dx
dx
dy
so that the same result is obtained as before.
4
(ii) The derivative of ex may easily be used to establish the standard derivatives of the
hyperbolic functions, sinh x, cosh x and tanh x as follows:
d
[sinh x] = cosh x,
dx
d
[cosh x] = sinh x,
dx
d
[tanh x] = sech2 x.
dx
The first two of these follow from the definitions
sinh x ≡
ex − e−x
ex + e−x
and cosh x ≡
,
2
2
while the third may be obtained using the definition
tanh x ≡
sinh x
,
cosh x
together with the Quotient Rule.
FURTHER EXAMPLES
1. Write down the derivative with respect to x of the function
esin x
Solution
All that is required in this example is the standard derivative of ex together with the
Function of a Function Rule. We obtain
d h sin x i
e
= esin x . cos x.
dx
2. Determine an expression for
dy
dx
in the case when
y = (3x + 2)x .
Solution
Taking natural logarithms of both sides,
ln y = x ln(3x + 2).
5
Differentiating both sides with respect to x and using the Product Rule gives
1 dy
3
= x.
+ ln(3x + 2).1.
y dx
3x + 2
Hence,
dy
3x
= (3x + 2)x
+ ln(3x + 2) .
dx
3x + 2
(b) Products or Quotients with more than two elements
We have already discussed the rules for differentiating products and quotients; but, in certain cases, it is easier to make use of logarithmic differentiation. Essentially, we use this
alternative method when a product or a quotient involves more than the two functions u(x)
and v(x) mentioned earlier.
We illustrate with examples:
EXAMPLES
1. Determine an expression for
dy
dx
in the case when
2
y = ex . cos x.(x + 1)5 .
Solution
Taking natural logarithms of both sides,
ln y = x2 + ln(cos x) + 5 ln(x + 1).
Differentiating both sides with respect to x,
1 dy
sin x
5
= 2x −
+
.
y dx
cos x x + 1
Hence,
dy
5
2
= ex . cos x.(x + 1)5 2x − tan x +
.
dx
x+1
2. Determine an expression for
dy
dx
in the case when
y=
ex . sin x
.
(7x + 1)4
6
Solution
Taking natural logarithms of both sides,
ln y = x + ln(sin x) − 4 ln(7x + 1).
Differentiating both sides with respect to x,
1 dy
cos x
7
=1+
− 4.
.
y dx
sin x
7x + 1
Hence,
dy
ex . sin x
28
=
1 + cot x −
.
4
dx
(7x + 1)
7x + 1
Note:
In all examples on logarithmic differentiation, the original function will appear as a factor
at the beginning of its derivative.
10.4.4 EXERCISES
1. Differentiate the following functions with respect to x:
(a)
sin x. cos x;
(b)
(x2 + 3). sin 2x;
(c)
1
x.(x2 + 1) 2 ;
(d)
x2 ln(1 − 2x).
2. Differentiate the following functions with respect to x:
(a)
cos x
(that is, cot x);
sin x
7
(b)
x2 − 2
;
(x + 1)2
(c)
cos x + sin x
;
cos x − sin x
(d)
x
1
(2x − x2 ) 2
.
3. Differentiate the following functions with respect to x:
(a)
ex
2 +1
;
(b)
2
e1−x−x ;
(c)
3
(2x + 1)e4−x ;
(d)
e1−7x
;
3x + 2
(e)
x. sinh(x2 + 1);
(f)
sech x.
4. Use logarithms to differentiate the following functions with respect to x:
(a)
ax (a constant);
8
(b)
(x2 + 1)3x ;
(c)
(sin x)x ;
(d)
x(x − 2)
;
(x + 1)(x + 3)
(e)
e2x . ln x
.
(x − 1)3
10.4.5 ANSWERS TO EXERCISES
1. (a)
cos2 x − sin2 x
(or
cos 2x);
(b)
2(x2 + 3) cos 2x + 2x sin 2x;
(c)
2x2 + 1
;
1
(x2 + 1) 2
(d)
2x ln(1 − 2x) −
2x2
.
1 − 2x
2. (a)
−cosec2 x;
(b)
4 + 2x
;
(x + 1)3
9
(c)
2
;
(cos x − sin x)2
(d)
x
3
(2x − x2 ) 2
.
3. (a)
2xex
2 +1
;
(b)
2
−(1 + 2x)e1−x−x ;
(c)
3
3
2.e4−x − 3x2 (2x + 1)e4−x ;
(d)
−
e1−7x .(21x + 17)
;
(3x + 2)2
(e)
sinh(x2 + 1) + 2x2 cosh(x2 + 1);
(f)
−cosech2 x.
4. (a)
ax . ln a;
(b)
"
(x2 + 1)3x
6x2
;
3 ln(x2 + 1) + 2
x +1
#
(c)
(sin x)x [ln sin x + x cot x] ;
(d)
x(x − 2)
1
1
1
1
+
−
−
;
(x + 1)(x + 3) x x − 2 x + 1 x + 3
(e)
e2x . ln x
1
3
2
+
−
.
(x − 1)3
x ln x x − 1
10
Download