Differentiation Notes
Differentiation Notes
1 Differentiation
Learning Outcome
On successful completion of the Unit, you will be able to:
• Define a derivative.
2 Differentiable Function
A function f (x) is said to be differentiable at x = a if its derivative exists at that point, and f (x)
is said to be differentiable on an interval if the derivative exists at at each point in that interval.
The process of finding the derivative is called differentiation. Let f be defined (and real-valued) on
[a, b]. For any x ∈ [a, b] form the quotient
f (t) − f (x)
φ(t) = (a < t < b, t 6= x)
t−x
and define
f 0 (x) = lim φ(t),
t→x
0 dy
f (x), , y0
dx
Example 2 .
Differentiate the following functions from the first principles
1. f (x) = 4x
2. f (x) = x2 + 1
3. f (x) = 2x2 + x
Solution
(a)
0 f (x + h) − f (x)
f (x) = lim
h→0 h
4(x + h) − 4(x)
= lim
h→0 h
4x + 4h − 4x
= lim
h→0 h
4h
= lim
h→0 h
= lim 4
h→0
=4
(b)
0 f (x + h) − f (x)
f (x) = lim
h→0 h
[(x + h)2 + 1] − [x2 + 1]
= lim
h→0 h
x2 + 2xh + h2 + 1 − x2 − 1
= lim
h→0 h
2xh + h2
= lim
h→0 h
h(2x + h)
= lim
h→0 h
= lim 2x + h
h→0
= 2x
(c)
0 f (x + h) − f (x)
f (x) = lim
h→0 h
[2(x + h)2 + x + h] − [2x2 + x]
= lim
h→0 h
2x + 4xh + 2h2 + x + h − 2x2 − x
2
= lim
h→0 h
2
4xh + 2h + h
= lim
h→0 h
h(4x + 2h + 1)
= lim
h→0 h
= lim (4x + 1 + 2h)
h→0
= 4x + 1
0 f (x + h) − f (x)
f (x) = lim
h→0 h
c−c
= lim
h→0 h
= lim 0
h→0
=0
0 f (x + h) − f (x)
f (x) = lim
h→0 h
g(x + h) + k(x + h) − (g(x) + k(x))
= lim
h→0 h
g(x + h) − g(x) + k(x + h) − k(x)
= lim
h→0 h
g(x + h) − g(x) k(x + h) − k(x)
= lim + lim
h→0 h h→0 h
0 0
= g (x) + k (x)
(b)
0 f (x + h) − f (x)
f (x) = lim
h→0 h
cg(x + h) − cg(x)
= lim
h→0 h
g(x + h) − g(x)
= c lim
h→0 h
0
= cg (x)
i. y = sin x [7 marks]
1
ii. y = x 2 [6 marks]
2
iii. y = x [7 marks]
1 5
Example 8 Differentiate the following with respect to x, given that the values of y are 3x2 , 5x4 , x 2 , x−4 , , x
x
5x2 − 3x + 7
Solution
2. 4x2
1
3. x− 2
4. 2x−3
2
5.
x2
6. 6x4 + 7x6 − 3x + 7/3
dy
Example 16 Find , if y = x3 (2x + 1)2
dx
Solution Let u = x3 , and v = (2x + 1)2 ,
Then y = uv, u0 = 3x2 , v 0 = 2(2x + 1)2 = 4(2x + 1).
dy
Hence, = 3x2 (2x + 1)2 + x3 · 4(2x + 1) = x2 (2x + 1)(10x + 3)
dx
Differentiation “Winners don’t do different things. They do things differently” 5
dy
Exercise 17 Find if
dx
1. y = x2 · 3x
2. y = x4 · x3
3. y = x3 (x2 + 1)
4. y = (x + 3)(x2 − 1)
5. (1 − x2 )3 (x2 + 1)
√
6. x2 1 + x2
2.9.1 Investigation
dg
Let g = f (x), find if y = (f (x))2 .
dx
dy df dg dg 1 dy
= 2f (x) = 2g ⇒ =
dx dx dx dx 2g dx
The table below is important summary needed for implicit
Solution When you implicitly differentiate x2 + y 2 = 25, you are differentiating with respect to a
particular variablein this case, x, so:
d 2 d
(x + y 2 ) = 25
dx dx
d 2 d
(x ) + (y 2 ) = 0
dx dx
dy
2x + 2y =0
dx
dy
2y = −2x
dx
dy x
=−
dx y
√
Example 22 Use implicit differentiation to find the derivative of y =arccos( x) as a function of
x and say where this derivative is defined.
Solution
√
y = arccos x
x = cos2 y
dx d
= (cos2 y)
dx dx
d dy
1= (cos2 y) ·
dy dx
dy
1 = (2)(cos y)(− sin y) ·
dx
dy 1 1
=− =± p
dx 2 cos y sin y 2 x(1 − x)
cos θ − 1
2. lim =0
θ→0 θ
3. lim sin θ = 0
θ→0
Solution
cos(x + h) − cos x cos x cos h − sin h sin x − cos x
lim = lim
h→0 h h→0 h
(cos h − 1) sin h
= lim cos x − sin x
h→0 h h
= − sin x
d tan x
Example 26 Show that = sec2 x
dx
Solution
d tan x d sin x
=
dx dx cos x
sin2 x + cos2 x 1
= 2
=
cos x cos2 x
2
= sec x
1. sin 2x
2. cos 3x
3. sin(x2 )
4. cos(x3 )
5. sin2 x
6. tan(2x + 1)
7. cos3 x
8. x3 sin 2x
9. 3x tan(2x + 1)
cos 3x
10.
x3
11. sin 3x · cos 4x
d x
a = ax ln a
dx
d 1
ln x =
dx x
We expect to use them in this subsection
dy 2
Example 29 Find if y = ex
dx
Solution
dy d x2 2 d 2
= e = ex x2 = 2xex
dy dx dx
dy
Exercise 30 Find , if
dx
1. y = ln(x2 + 1)
2. y = ln(x2 + 3x + 2)
2 +3x+2
3. y = ex
4. y = e3x+4
5. y = 23x+4
6. y = 43x+4
Function Derivative
dy
y
dx
dy
y2 2y
dx
2 dy
y3 3y
dx
n−1 dy
yn ny
dx