Different at I On
Different at I On
Differentiation.
Lecturer: Nelson M
Phone: 0726854017, 0101854017, 0775854017
Email: [email protected]
2 y
So for y = x , lim = 2x
x 0 x
Differentiating y = x3 from first principles
For the curve y = x3, we can consider the general point A (x, x3)
and the point B (x + δx, (x + δx)3) a small distance away from A.
The gradient of chord AB is then:
y ( x x )3 x3
=
x ( x x) x
x3 3 x2 x 3 x( x )2 ( x )3 x3
=
x
3 x2 x 3 x( x )2 ( x)3
=
x
x(3 x2 3 x x ( x)2 )
=
x
= 3 x 3 x x ( x )2
2
3 y
So for y = x , lim = 3 x2
x 0 x
Using the notation dy
dx
d n
dx
x nx n 1
Rule 2: The Power Rule
Practice Examples:
d
If f(x) = x, then f ( x ) x 1 x11 x 0 1
dx
f ( x )
d
dx
x x
d 1/2
dx
1 1/2 1 1 1/2
x x
2 2
1
2 x
d 1 d 1/3
f ( x) x
dx x dx
3
1 1/31
x
3
1 1
x 4 / 3 4 / 3
3 3x
d d
cf ( x ) c f ( x )
dx dx
Rule 3: Derivative of a Constant
Multiple Function
Practice Examples: f ( x) 5x 3
Find the derivative of
f ( x )
d
dx
5x 3
5 x3
d
dx
5 3x 2
15 x 2
f ( x)
d
dx
3x 1/ 2
1 3/ 2
3 x
2
3
2 x3/ 2
Example 4, page 160
Rule 4: The Sum Rule
d d d
f ( x) g ( x) f ( x) g ( x)
dx dx dx
Rule 4: The Sum Rule
Practice Examples: f ( x ) 4 x 5 3x 4 8 x 2 x 3
Find the derivative of
f ( x ) 4 x 5 3x 4 8 x 2 x 3
d
dx
4 x 3 x 8 x x 3
d 5 d 4 d 2 d d
dx dx dx dx dx
4 5x 4 3 4 x 3 8 2 x 1 0
20 x 4 12 x 3 16 x 1
Example 5, page 161
Rule 4: The Sum Rule
Practice Examples: t2 5
g (t ) 3
5 t
Find the derivative of
d t2 5 d 1 2
g (t ) 3 t 5t 3
dt 5 t dt 5
t 5 t
1 d 2 d 3
5 dt dt
2t 5 3t 4
1
5
2t 15 2t 5 75
4
5 t 5t 4
Example 5, page 161
Rule 5: The Product Rule
d
f ( x ) g ( x ) f ( x ) g ( x ) g ( x ) f ( x )
dx
Rule 5: The Product Rule
Practice Examples:
f ( x) 2 x 2 1 x 3 3
Find the derivative of
f ( x ) 2 x 2 1 2 x 2 1
d 3 d
x 3 x 3
3
dx dx
2 x 2 1 3x 2 x 3 3 4 x
6 x 4 3x 2 4 x 4 12 x
x 10 x 3 3x 12
f ( x ) x 3
dx
d 1/2
x 1 x 1/2
1 d 3
dx
x
1 1/2
x x x1/2 1 3x 2
3
2
1 5/2
x 3x 5/2 3x 2
2
7 5/2
x 3x 2
2
Example 2, page 172
Rule 6: The Quotient Rule
d f ( x) g ( x) f ( x) f ( x) g ( x)
g x 0
g ( x)
2
dx g ( x)
Rule 6: The Quotient Rule
x
Practice Examples: f ( x)
2x 4
Find the derivative of
d d
2 x 4 ( x) x 2 x 4
f ( x ) dx dx
2 x 4
2
2 x 4 1 x 2
2
2 x 4
2x 4 2x 4
2 x 4 2 x 4
2 2
x 2 1 d 2
x 1 x 2
1 d 2
x 1
f ( x ) dx dx
x 1
2 2
x 2
1 2 x x 2 1 2 x
x 1
2 2
2 x3 2 x 2 x3 2 x 4x
x 1 x 1
2 2 2 2
Solution
G( x) x 1
2 1/2
G( x ) x 1 1
1 2 1/2 d 2
x
2 dx
x 1 2 x
1 2 1/2
2
x
x2 1
Example 2, page 184
Rule 7: The Chain Rule
Practice Examples:
f ( x) x 2 2 x 3
5
Solution
Apply the product rule and the chain rule:
d 5 d
f ( x ) x 2 x2
5
2 x 3 2 x 3
dx dx
x 5 2 x 3 2 2 x 3 2 x
2 4 5
10 x 2 x 3 2 x 2 x 3
2 4 5
2 x 2 x 3 5x 2 x 3
4
2 x 2 x 3 7 x 3
4
f ( x) 4 x 7
2
Solution
2
16 x
4x 7
2 3
f ( x)
Find the derivative of 3x 2
Solution
Apply the chain rule and the quotient rule:
2x 1 d 2x 1
2
f ( x) 3
3 x 2 dx 3 x 2
2 x 1 3x 2 2 2 x 1 3
2
3
3x 2 3x 2
2
2 x 1 6 x 4 6 x 3 3 2 x 1
2 2
3
3x 2 3x 2 3x 2
2 4
dy 1
If x = f(y) then dx dx
dy
Examples
i) x = 3y2 then
dx dy 1
dy
6y so dx 6 y
3 x5 + 4 x 2 8 x
Differentiate y = with respect to x.
2x
2
Differentiate y = with respect to x.
x
Tangent and normal to a curve
Using Gradient Functions
e.g. Find the gradient at the point where x = 1 on
the curve
y 3x 2x x 4
3 2
Solution:
Differentiating to find the gradient function:
dy
9x2 4x 1
dx
When x = 1, gradient m = 9(1) 2 4(1) 1
m 12
Tangents and normals to a curve at a given point
Tangent
The gradient of a curve, y = f (x), at a point P with
coordinates (x1, y1) is given by the derivative of y
(the gradient of the tangent) at the point:
dy
y y1 m( x x1 ) where m
dx
Finding equations of normals
Find the equation of the normal to the curve 𝑦 = 𝑥 2 when 𝑥 = 3.
The normal to a
curve is the line
perpendicular to
the tangent.
Equation of tangent is?
(3,9)
𝒅𝒚
= 𝟑𝒙𝟐 + 𝟏𝟎𝒙
𝒅𝒙
𝒎 = 𝟑 −𝟏 𝟐 + 𝟏𝟎 ?
−𝟏 = 𝟑 − 𝟏𝟎 = −𝟕
At 𝒙 = −𝟏, 𝒚 = −𝟏 𝟑 + 𝟓 −𝟏 𝟐 + 𝟏
= −𝟏 + 𝟓 + 𝟏 = 𝟓
Therefore:
?
𝒚 − 𝟓 = −𝟕 𝒙 + 𝟏
Self Assessment
1 A curve has equation 𝑦 = 𝑥 3 + 5𝑥 2 + 1 3 Show that the tangents to the curve 𝑦 =
3 2
(a) When 𝑥 = −1, show that the value of
𝑑𝑦 𝑥 + 3𝑥 + 3𝑥 + 1 at 𝑥 = 1 and 𝑥 = −3
𝑑𝑥 are parallel.
is -7. 𝒅𝒚
𝒅𝒚 = 𝟑𝒙𝟐 + 𝟔𝒙 + 𝟑
= 𝟑𝒙𝟐 + 𝟏𝟎𝒙 𝒅𝒙
𝒅𝒙 ? 𝒅𝒚
At 𝒙 = 𝟏, = 𝟑 + 𝟔 + 𝟑 = 𝟏𝟐
𝒎 = 𝟑 −𝟏 𝟐 + 𝟏𝟎 −𝟏 = −𝟕 𝒅𝒙
𝒅𝒚
?
(b) Work out the equation of the tangent to At 𝒙 = −𝟑, = 𝟐𝟕 − 𝟏𝟖 + 𝟑 = 𝟏𝟐
𝒅𝒙
the curve 𝑦 = 𝑥 3 + 5𝑥 2 + 1 at the point Same gradient therefore parallel.
where 𝑥 = −1.
𝒚 = −𝟏 𝟑 + 𝟓 −𝟏 𝟐 + 𝟏 = 𝟓
?
𝒚 − 𝟓 = −𝟕(𝒙 + 𝟏)
4 Work out the equation
3
of the normal to
2
the curve 𝑦 = 2𝑥 − 𝑥 + 1 at the point
(1, 2). Give your answer in the form 𝑦 =
2 A curve has equation 𝑦 = 𝑥 4 − 5𝑥 2 + 9 𝑚𝑥 + 𝑐.
(a) Work out .
𝑑𝑦 𝒅𝒚
𝑑𝑥 𝒅𝒙
?
= 𝟒𝒙𝟑 − 𝟏𝟎𝒙 𝒅𝒚
= 𝟔𝒙𝟐 − 𝟐𝒙
(b) Work out the equation of the tangent to 𝒅𝒙
the curve at the point where 𝑥 = 2 𝒎=𝟔−𝟐=𝟒
Give your answer in the form 𝑦 = 𝑚𝑥 + 𝑐 𝟏
𝒎𝑻 = −
𝒚 = 𝟐𝟒 − 𝟓 𝟐 𝟐 + 𝟗 = 𝟓 ? 𝟒
𝟏
𝒎 = 𝟒 𝟐 𝟑 − 𝟏𝟎 𝟐 = 𝟏𝟐 𝒚−𝟐=− 𝒙−𝟏
?
𝒚 − 𝟓 = 𝟏𝟐 𝒙 − 𝟐 𝟏
𝟒
𝟗
𝒚 = 𝟏𝟐𝒙 − 𝟏𝟗 𝒚=− 𝒙+
𝟒 𝟒
Stationary Points
Features you’ve previously
used to sketch graphs?
f’(x) = 0 Maximum point
f’(x) = 0
dy
a) = 3x 212x 15
dx
d2y
2
= 6x 12
dx
Using second order derivatives
dy
b) The stationary points occur when = 0.
dx
3 x2 12 x 15 = 0
x2 4 x 5 = 0
( x +1)( x 5) = 0
x = –1 or x = 5
When x = –1 y = (–1)3 – 6(–1)2 – 15(–1)
= –1 – 6 + 15
=8
d2y
2
= 6( 1) 12
dx
= 18
(–1, 8) is a maximum
Using second order derivatives
When x = 5 y = (5)3 – 6(5)2 – 15(5)
= 125 – 150 – 75
= –100
d2y
2
= 6(5) 12
dx
= 18
(5, –100) is a minimum
y
c) Sketching the curve:
(–1, 8)
0 x
(5, –100)
Self Assessment
47
4. Show that one of the stationary points of the curve with equation
𝑦 = 𝑥 3 + 3𝑥 2 − 45𝑥 is 3, −81 , and determine whether it is a
maximum, a minimum or a point of inflection.
𝒅𝒚
= 𝟑𝒙𝟐 − 𝟏𝟐 = 𝟎
𝒅𝒙 𝑦
𝒙 = 𝟐 → 𝒚 = −𝟏𝟔
𝒙 = −𝟐 → 𝒚 = 𝟏𝟔
−2,16
𝟐
Roots: When 𝒚 = 𝟎, 𝒙 𝒙 − 𝟏𝟐 = 𝟎
∴ 𝒙 = 𝟎 𝒐𝒓 𝒙 = + 𝟏𝟐 𝒐𝒓 𝒙 = − 𝟏𝟐
𝑥
2, −16