In previous Sections we have examined the process of differentiating functions. We found
how to obtain the derivative of many commonly occurring functions. These are recorded in
the following table (remember, arguments of trigonometric functions are assumed to be in
radians
).
Table 2
y
d
y
d
x
x
n
n
x
n
−
1
sin
a
x
a
cos
a
x
cos
a
x
−
a
sin
a
x
tan
a
x
a
sec
2
a
x
sec
a
x
a
sec
x
tan
x
ln
a
x
1
x
e
a
x
a
e
a
x
cosh
a
x
a
sinh
a
x
sinh
a
x
a
cosh
a
x
In this Section we consider how to differentiate non-standard functions - in particular those
which can be written as the
product
of standard functions. Being able to differentiate such
functions depends upon the following Key Point.
Product Rule
If
y
=
f
(
x
)
g
(
x
)
then
d
y
d
x
=
d
f
d
x
g
(
x
)
+
f
(
x
)
d
g
d
x
(
or
y
′
=
f
′
g
+
f
g
′
)
If
y
=
u
.
v
then
d
y
d
x
=
u
d
v
d
x
+
v
d
u
d
x
(
or
y
′
=
u
v
′
+
v
u
′
)
These versions are equivalent, and called the
product rule
.
We shall not prove this result, instead we shall concentrate on its use.
Differentiate
y
=
x
2
sin
x
y
=
x
ln
x
Here
f
(
x
)
=
x
2
,
g
(
x
)
=
sin
x
∴
d
f
d
x
=
2
x
,
d
g
d
x
=
cos
x
and so
d
y
d
x
=
2
x
(
sin
x
)
+
x
2
(
cos
x
)
=
x
(
2
sin
x
+
x
cos
x
)
Here
f
(
x
)
=
x
,
g
(
x
)
=
ln
x
∴
d
f
d
x
=
1
,
d
g
d
x
=
1
x
and so
d
y
d
x
=
1
.
(
ln
x
)
+
x
.
1
x
=
ln
x
+
1
Determine the derivatives of the following functions
y
=
e
x
ln
x
,
y
=
e
2
x
x
2
Use the product rule:
Answer
d
y
d
x
=
e
x
ln
x
+
e
x
x
Write
y
=
(
x
−
2
)
e
2
x
and then differentiate:
Answer
d
y
d
x
=
(
−
2
x
−
3
)
e
2
x
+
x
−
2
(
2
e
2
x
)
=
2
e
2
x
x
3
(
−
1
+
x
)
The rule for differentiating a product can be extended to any number of products. If, for example,
y
=
f
(
x
)
g
(
x
)
h
(
x
)
then
d
y
d
x
=
d
f
d
x
[
g
(
x
)
h
(
x
)
]
+
f
(
x
)
d
d
x
[
g
(
x
)
h
(
x
)
]
=
d
f
d
x
g
(
x
)
h
(
x
)
+
f
(
x
)
d
g
d
x
h
(
x
)
+
g
(
x
)
d
h
d
x
=
d
f
d
x
g
(
x
)
h
(
x
)
+
f
(
x
)
d
g
d
x
h
(
x
)
+
f
(
x
)
g
(
x
)
d
h
d
x
That is, each function in the product is differentiated in turn and the three results added
together.
If
y
=
x
e
2
x
sin
x
then
find
d
y
d
x
.
Here
f
(
x
)
=
x
,
g
(
x
)
=
e
2
x
,
h
(
x
)
=
sin
x
d
f
d
x
=
1
,
d
g
d
x
=
2
e
2
x
,
d
h
d
x
=
cos
x
∴
d
y
d
x
=
1
(
e
2
x
sin
x
)
+
x
(
2
e
2
x
)
sin
x
+
x
e
2
x
(
cos
x
)
=
e
2
x
(
sin
x
+
2
x
sin
x
+
x
cos
x
)
Obtain the first derivative of
y
=
x
2
(
ln
x
)
sinh
x
.
Firstly identify the three functions:
Answer
f
(
x
)
=
x
2
,
g
(
x
)
=
ln
x
,
h
(
x
)
=
sinh
x
Now find the derivative of each of these functions:
Answer
d
f
d
x
=
2
x
,
d
g
d
x
=
1
x
,
d
h
d
x
=
cosh
x
Finally obtain
d
y
d
x
:
Answer
d
y
d
x
=
2
x
(
ln
x
)
sinh
x
+
x
2
1
x
sinh
x
+
x
2
ln
x
(
cosh
x
)
=
2
x
ln
x
sinh
x
+
x
sinh
x
+
x
2
ln
x
cosh
x
Find the second derivative of
y
=
x
2
(
ln
x
)
sinh
x
by differentiating each of the three terms making up
d
y
d
x
found in the
previous Task (
2
x
ln
x
sinh
x
,
x
sinh
x
,
x
2
ln
x
cosh
x
), and
finally, simplify your answer by collecting like terms together:
Answer
d
2
y
d
x
2
=
(
2
+
x
2
)
ln
x
sinh
x
+
3
sinh
x
+
2
x
cosh
x
+
4
x
ln
x
cosh
x
In each case find the derivative of the function
y
=
x
tan
x
y
=
x
4
ln
(
2
x
)
y
=
sin
2
x
y
=
e
2
x
cos
3
x
Find the derivatives of:
y
=
x
cos
x
y
=
e
x
sin
x
Obtain the derivative of
y
=
x
e
x
tan
x
using the results of parts (a) and (b).
Answer
d
y
d
x
=
tan
x
+
x
sec
2
x
d
y
d
x
=
4
x
3
ln
(
2
x
)
+
x
4
x
=
x
3
(
4
ln
(
2
x
)
+
1
)
y
=
sin
x
.
sin
x
∴
d
y
d
x
=
cos
x
sin
x
+
sin
x
cos
x
=
2
sin
x
cos
x
=
sin
2
x
d
y
d
x
=
(
2
e
2
x
)
cos
3
x
+
e
2
x
(
−
3
sin
3
x
)
=
e
2
x
(
2
cos
3
x
−
3
sin
3
x
)
y
=
x
sec
x
∴
d
y
d
x
=
sec
x
+
x
sec
x
tan
x
d
y
d
x
=
e
x
sin
x
+
e
x
cos
x
=
e
x
(
sin
x
+
cos
x
)
The derivative of
y
=
x
e
x
tan
x
=
(
x
sec
x
)
(
e
x
sin
x
)
is found by applying the product rule to the results of (a) and (b):
d
y
d
x
=
d
d
x
(
x
sec
x
)
.
e
x
sin
x
+
(
x
sec
x
)
d
d
x
(
e
x
sin
x
)
=
(
sec
x
+
x
sec
x
tan
x
)
e
x
sin
x
+
x
sec
x
(
e
x
)
(
sin
x
+
cos
x
)
=
e
x
(
x
+
tan
x
+
x
tan
x
+
x
tan
2
x
)