M1 Chapter 9
M1 Chapter 9
Differentiation by Rule
Differentiation facts
d df
• (cf ) = c . That is, (cf )0 = cf 0 .
dx dx
d df dg
• (f + g) = + .
dx dx dx
That is, (f + g)0 = f 0 + g 0 .
1
2 CHAPTER 9. DIFFERENTIATION BY RULE
d df dg
• (f − g) = − .
dx dx dx
That is, (f − g)0 = f 0 − g 0 .
d f f0
It is not true, however, that (f ×g)0 = f 0 ×g 0 or that ( )
dx g
= g0
. For
products and quotients you need to use the appropriate rules below.
That is,
d r
(x ) = rxr−1
dx
Example 1. Using the Power Rule, find the derivative of the function
f (x) = x4 .
f 0 (x) = 4x4−1
= 4x3 .
Combined with the facts listed above, the power rule is all we
need to differentiate polynomials and simple rational functions.
3
Example 2. Find the derivative of f (x) = 3x3 − 5x2 + 2 + .
x
3
Solution:
√
(a) f (x) = x
Solution:
√ 1
f (x) = x = x2
1 1
⇒ f 0 (x) = x 2 −1
2
1 1
= x− 2
2
1
(b) f (x) =
x2
Solution:
1
f (x) = = x−2
x2
⇒ f 0 (x) = −2x−3
2
= − 3
x
1
(c) f (x) = √
3
x2
4 CHAPTER 9. DIFFERENTIATION BY RULE
Solution:
1 2
Since f (x) = √3
= x− 3
x 2
2 2
then f 0 (x) = − x− 3 −1
3
2 5
= − x− 3
3
This rule is often written without the variable x, and the functions
involved are often called u and v, hence:
(uv)0 = u0 v + uv 0
Then
F (x + h) − F (x)
F 0 (x) = lim
h→0 h
f (x + h)g(x + h) − f (x)g(x)
= lim
h→0 h
f (x + h)g(x + h) − f (x)g(x + h) + f (x)g(x + h) − f (x)g(x)
= lim
h→0
h
f (x + h) − f (x) g(x + h) − g(x)
= lim g(x + h) + f (x)
h→0 h h
f (x + h) − f (x) g(x + h) − g(x)
= lim × lim g(x + h) + lim f (x) × lim
h→0 h h→0 h→0 h→0 h
0 0
= f (x)g(x) + f (x)g (x)
u = x3 + 2x − 1
x2
= x3 + 2x − x−2 and v = 3x5 + x2 − 8.
f 0 (x) = u0 v + uv 0
2 2 5 2 3 1
15x4 + 2x .
= 3x + 2 + 3 3x + x − 8 + x + 2x − 2
x x
0
f f 0 (x)g(x) − f (x)g 0 (x)
(x) =
g [g(x)]2
6 CHAPTER 9. DIFFERENTIATION BY RULE
u 0 u0 v − uv 0
=
v v2
4x2 + 7
Example 5. Find the derivative of y = .
x5 − 2x + 6
Solution: Let u = 4x2 + 7 and v = x5 − 2x + 6.
Then u0 = 8x and v 0 = 5x4 − 2.
So
dy u0 v − uv 0
= (by the quotient rule)
dx v2
8x(x5 − 2x + 6) − (4x2 + 7)(5x4 − 2)
=
(x5 − 2x + 6)2
8x6 − 16x2 + 48x − 20x6 + 8x2 − 35x4 + 14
=
(x5 − 2x + 6)2
−12x − 35x − 8x2 + 48x + 14
6 4
=
(x5 − 2x + 6)2
dy dy du
=
dx du dx
Example 6. Differentiate y = (2x − 1)4 .
7
Solution: We need to use the chain rule for this, but how we choose
to present it could vary.
Presentation 1:
dy du
Let u = 2x − 1, so that y = u4 . Then du
= 4u3 and dx
= 2.
Hence
dy dy du
=
dx du dx
= 4u3 × 2
= 8u3
= 8(2x − 1)3
Presentation 2:
dy d
= (2x − 1)4
dx dx
d
= 4 (2x − 1)3 × (2x − 1)
dx
= 4 (2x − 1)3 × 2
= 8 (2x − 1)3
dy du
Solution: Let u = x3 + 2x so that y = u3 . Then du
= 3u2 and dx
=
3x2 + 2. Then
dy dy du
=
dx du dx
= 3u2 × (3x2 + 2)
9
x−2
Example 8. Differentiate y = .
2x + 1
Solution: We have
8
dy x−2 d x−2
= 9 ×
dx 2x + 1 dx 2x + 1
8 0
u v − uv 0
x−2
= 9 ×
2x + 1 v2
where u = x − 2 and v = 2x + 1
8
dy x−2 (1)(2x + 1) − (x − 2)(2)
∴ = 9 ×
dx 2x + 1 (2x + 1)2
8
x−2 2x + 1 − 2x + 4
= 9 ×
2x + 1 (2x + 1)2
8
x−2 5
= 9 ×
2x + 1 (2x + 1)2
45(x − 2)8
= .
(2x + 1)10
√
Example 9. Differentiate f (x) = x2 2x + 5.
√ 1
Solution: Let u = x2 and v = 2x + 5 = (2x + 5) 2 .
1
Then u0 = 2x and v 0 = 12 (2x + 5)− 2 × 2 = √ 1
2x+5
.
By the product rule,
f 0 (x) = u0 v + uv 0
√ x2
= 2x 2x + 5 + √
2x + 5
9
f (x) = sin x
⇒ f 0 (x) = cos x
− sin2 h
= lim
h→0 h(cos h + 1)
sin h − sin h
= lim × lim
h→0 h h→0 cos h + 1
0
= 1×
1+1
= 0.
Hence
sin(x + h) − sin x
(sin(x))0 = lim
h→0 h
sin x cos h + cos x sin h − sin x
= lim
h→0 h
cos x sin h sin x(cos h − 1)
= lim + lim
h→0 h h→0 h
sin h cos h − 1
= cos x lim + sin x lim
h→0 h h→0 h
= cos x × 1 + sin x × 0 (using the results from above)
= cos x.
10 CHAPTER 9. DIFFERENTIATION BY RULE
f (x) = cos x
⇒ f 0 (x) = − sin x
dy
= u0 v + uv 0
dx
= 2x sin x + x2 cos x
Solution:
Example 12. By applying the quotient rule, together with the differentiation
rules for sin x and cos x, show that the derivative of tan x is sec2 x
11
sin x
Solution: We have f (x) = .
cos x
Let u = sin x and v = cos x.
Then u0 = cos x and v 0 = − sin x.
By the Quotient Rule,
u0 v − uv 0
f 0 (x) =
v2
cos x × cos x − sin x × − sin x
=
(cos x)2
cos2 x + sin2 x
=
cos2 x
1
=
cos2 x
2
1
=
cos x
= (sec x)2
= sec2 x.
Solution:
d d
sin (2x) = cos (2x) × (2x)
dx dx
= 2 cos (2x) .
Then
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
x+h
a − ax
= lim
h→0 h
ax ah − ax
= lim
h→0 h
x h
a (a − 1)
= lim
h→0 h
h
a −1
= ax lim .
h→0 h
2h − 1
• It can be shown that lim ≈ 0.693
h→0 h
h
2 −1
(obtained by finding on a calculator when h = ±0.00001).
h
Thus, if f (x) = 2x then
2h − 1
f 0 (x) = 2x × lim
h→0 h
x
≈ 2 × 0.693
3h − 1
• Similarly, it can be shown that lim ≈ 1.0986
h→0 h
3h − 1
(obtained by finding on a calculator when h = ±0.00001).
h
Thus, if f (x) = 3x then
3h − 1
f 0 (x) = 3x × lim
h→0 h
x
≈ 3 × 1.0986
f (x) = ax ⇒ f 0 (x) = ax × 1 = ax .
13
d x
e = ex
dx
Solution:
dy d 2x
= e
dx dx
d
= e2x × (2x)
dx
= e2x × 2
= 2e2x
2
Example 15. Find the derivative of y = e−x .
dy dy du
=
dx du dx
= eu × −2x
2
= −2xe−x
14 CHAPTER 9. DIFFERENTIATION BY RULE
dy
= u0 v + uv 0
dx
= ex + xex
= (1 + x)ex
and in particular,
eln(x) = x
d ln(x)
e =1
dx
Solution:
dy 1
= 2 × (2x + 1)
dx x +x
2x + 1
= .
x2 + x
y = ln 3 + ln x
dy 1
=⇒ = 0+
dx x
1
= .
x
16 CHAPTER 9. DIFFERENTIATION BY RULE
x2 + 1
Example 19. Find the derivative of y = ln .
x6 + 5
Solution: Method 1:
x2 + 1
dy 1 d
= x2 +1
×
dx x6 +5
dx x6 + 5
x + 5 2x(x6 + 5) − 6x(x2 + 1)
6
= ×
x2 + 1 (x6 + 5)2
2x(x6 + 5) − 6x(x2 + 1)
=
(x2 + 1)(x6 + 5)
2x(x6 + 5) 6x(x2 + 1)
= −
(x2 + 1)(x6 + 5) (x2 + 1)(x6 + 5)
2x 6x5
= 2 − 6
x +1 x +5