MA1301 Chapter 2
MA1301 Chapter 2
MA1301 Chapter 2
Chapter 2
Derivatives
y = xn f (x) = xn
dy
= nxn−1 f 0 (x) = nxn−1
dx
d
dx (c) = 0, where c is any constant.
d n n−1 ,
dx (x ) = nx where n is any constant.
d 1 d x x
dx (ln x) = x dx (e ) = e
Trigonometry Functions
d d
dx (sin x) = cos x dx (cos x) = − sin x
d 2 d
dx (tan x) = sec x dx (cot x) = − csc2 x
d d
dx (sec x) = sec x tan x dx (csc x) = − csc x cot x
f (x) − f (a)
f 0 (a) = lim
x→a x−a
2. Derivative — (Geometrically) Gradient (Slope) of the tangent line
3. Derivative — instantaneous rate of change of the function
y2 − y1
gradient (slope) = m =
x2 − x1
f (x) − f (a)
f 0 (a) = lim
x→a x−a
f (x) − f (a)
f 0 (a) = lim
x→a x−a
provided the limit exists.
Product Rule
d du dv
(uv) = v+u
dx dx dx
Quotient Rule
d u v du − u dv
( ) = dx 2 dx
dx v v
Chain Rule
dy dy du
= ·
dx du dx
d u v du dv
−u dx
dx ( v ) = dx
v2
d
Show that dx tan x = sec2 x.
u = sin x
d
d d sin x (sin x) = cos x
tan x = dx
dx dx cos x
cos x · cos x − sin x(− sin x)
= v = cos x
cos2 x
1 d
= (cos x) = − sin x
cos2 x dx
= sec2 x
cos2 x + sin2 x = 1
d
Find dx sin(x3 ).
Fix a value for x
Let x = π
Step 1. π 3
d
sin(x3 ) Step 2. sin(π 3 )
dx
d 3
= cos(x3 ) · x
dx
=3x2 cos(x3 )
d
Find dx sin5 (ex ). Note: y = sin5 (ex ) = (sin(ex ))5 .
To find derivative, go Reverse order
dy
Let y = (x5 + cos(3x2 ))9 . Find dx .
dy d 5
= (x + cos(3x2 ))9
dx dx
d 5
= 9(x5 + cos(3x2 ))8 · (x + cos(3x2 ))
dx
= 9(x5 + cos(3x2 ))8 (5x4 − sin(3x2 ) · 6x)
= 9x(x5 + cos(3x2 ))8 (5x3 − 6 sin(3x2 ))
dy
Find dx if 2y = x2 + sin y.
Differentiate both sides with respect to x,
dy dy
2 = 2x + cos y ·
dx dx
So,
dy dy 2x
(2 − cos y) = 2x ⇒ =
dx dx 2 − cos y
(a) x3 + y 3 − 9xy = 0
(b) x3 ey + cos(xy) = 0
dy
Find dx if x3 ey + cos(xy) = 2021.
Differentiate both sides with respect to x,
Applying product rule to x3 ey
z }| {
3 y dy dy
2 y
3x e + x e − sin(xy) x + y = 0.
dx dx
dy dy 3x2 ey −y sin(xy)
Solving for dx , we get dx = x sin(xy)−x3 ey
d x
What is dx x , where x > 0?
Let y = xx .
Then ln y = ln xx
= x ln x. Note: ln ab = b ln a
d
To differentiate dx f (x)g(x)
g(x)
Let y = f (x) .
Consider ln y = ln f (x)g(x)
= g(x) ln f (x)
d dy d2 y
= = f 00 (x) = D2 f (x),
dx dx dx2
!
d d2 y d3 y
= = f 000 (x) = D3 f (x).
dx dx2 dx3
d dy d2 y
= = f 00 (x) = D2 f (x),
dx dx dx2
!
d d2 y d3 y
= = f 000 (x) = D3 f (x).
dx dx2 dx3
d4 y d5 y
= f 0000 (x) = f 00000 (x)
dx4 dx5
d2021 y
= f 00000 · · ·000 (x)
dx2021
Parametric equations
1. x = 2t and y = t2 + 1
2. x = sin θ + 2 and y = cos θ − 5
3. x = 1 + et and y = e2t
Parametric Differentiation
Given y = f (x), where (
y = u(t)
x = v(t),
we have
dy
dy dt u0 (t)
= = .
dx dx
dt
v 0 (t)
dy
Let x = a(t − sin t) and y = a(1 − cos t). Find dx .
dy a sin t
=
dx a(1 − cos t)
2 sin 2t cos 2t
=
2 sin2 2t
t
= cot
2
d2 y
d2 y dt2 u00 (t)
= =
dx2 d2 x v 00 (t)
dt2
Chain Rule
dy dy du
= ·
dx du dx
d d du
(y) = (y) ·
dx du dx
True or false??
d2 y d dy
= dy dy dt
dx 2 dx dx = ·
! dx dt dx
d dy dt
= · d d dt
dt dx dx (y) = (y) ·
dx dt dx
d dy dt
= ·
dt dx dx
dy a sin t
=
dx a(1 − cos t)
2 sin 2t cos 2t d2 y
= Find also .
2 sin2 2t dx2
t
= cot
2
y − b = m(x − a)
Result:
(gradient of tangent line) × (gradient of normal line) = −1
Result:
(gradient of tangent line) × (gradient of normal line) = −1
Recall that the straight line passing through point (a, b) with slope m is:
y−b
x−a = m; or equivalently, y = m(x − a) + b
Let y = f (x) be a function.
Tangent Line of y = f (x) at x = a:
It is the line passing through point (a, f (a)) with slope f 0 (a).
y = f 0 (a)(x − a) + f (a)
Normal Line of y = f (x) at x = a:
It is the line passing through point (a, f (a)) and Perpendicular to the
tangent line at x = a, i.e., of slope − f 01(a) .
1
y=− (x − a) + f (a)
f 0 (a)
dy dy
dx= 2x x = 1, dx =2
gradient of tangent = 2
gradient of normal = − 12
dy
Tangent // y-axis dx = ±∞
Approximate 1012 .
y = f (x) = x2 at x = 100.
1 dy
dx
= 2x ⇒ dy
dx
= f 0 (100) = 200.
x=100
2 Tangent line at x = 100 is given by y = 200 · (x − 100) + 1002 .
3 1012 ≈ 200 · (101 − 100) + 10000 = 10200.
√
Approximate 101.
√
y = f (x) = x at x = 100.
1 −1
1 dy
dx
= 2
x 2 ⇒ dy
dx
= f 0 (100) = 1
20
= 0.05.
x=100 √
2 Tangent
√ line at x = 100 is given by y = 0.05 · (x − 100) + 100.
3 101 ≈ 0.05 · (101 − 100) + 10 = 10.05.
√
Let y = f (x) = x.
dy 1 dy 1
1
dx = √
2 x
⇒ dx = √
2 a
.
x=a
1 √
2 Tangent line at x = a: y = 2√ a
(x − a) + a.
√ 1 √
3 x ≈ a ⇒ x ≈ 2√a (x − a) + a.
√
In order
√ to approximate x, we shall find a number a near x, such
that a can be easily evaluated.
√
2 : 2 ≈ 1.96 = 1.42 . Use a = 1.4.
√ 1
2≈ 2·1.4
(2 − 1.96) + 1.4 ≈ 1.414 · · ·
√
Let y = f (x) = x.
dy 1 dy 1
1
dx = √
2 x
⇒ dx = √
2 a
.
x=a
1 √
2 Tangent line at x = a: y = 2√ a
(x − a) + a.
√ 1 √
3 x ≈ a ⇒ x ≈ 2√a (x − a) + a.
√
In order
√ to approximate x, we shall find a number a near x, such
that a can be easily evaluated.
√
3 : 3 ≈ 2.89 = 1.72 . Use a = 1.7.
√ 1
3≈ 2·1.7
(3 − 2.89) + 1.7 ≈ 1.732 · · ·
√
Let y = f (x) = x.
dy 1 dy 1
1
dx = √
2 x
⇒ dx = √
2 a
.
x=a
1 √
2 Tangent line at x = a: y = 2√ a
(x − a) + a.
√ 1 √
3 x ≈ a ⇒ x ≈ 2√a (x − a) + a.
√
In order
√ to approximate x, we shall find a number a near x, such
that a can be easily evaluated.
√
23 : 23 ≈ 23.04 = 4.82 . Use a = 4.8.
√ 1
23 ≈ 2·4.8
(23 − 23.04) + 4.8 ≈ 4.796 · · ·
dy dy dx
= ·
dt dx dt
relates the rate of change of y to rate of change of x.
The surface area of a sphere is decreasing at 2 cm2 s−1 . Find the rate at
which the volume sphere is changing at the instant when the surface area
is 16π cm2 .
m>0 m<0
y increases as x increases y decreases as x increases
f (x) = 23 x3 + x2 + 2x + 1
Prove that f (x) is an increasing function.
f 0 (x) = 2x2 + 2x + 2
2 !
1 3
=2 x+ + (Completing square)
2 4
f (x) = x3 (x − 1)2 .
Determine the intervals on which f (x) is increasing/decreasing.
dy
f has a stationary point at x = c if dx = 0 at x = c.
(i) f 0 (x) > 0 for x ∈ (a, c) and f 0 (x) < 0 for x ∈ (c, b),
then f (c) is a local maximum.
(ii) f 0 (x) < 0 for x ∈ (a, c) and f 0 (x) > 0 for x ∈ (c, b),
then f (c) is a local minimum.
d2 y
At point of inflection, dx2
changes sign
TAN BAN PIN MA1301 Introductory Mathematics 96 / 104
Second Derivative Test for Local Extreme Values
The solid prism shown below has a total surface area of 450 cm3 .
Show that its volume V cm3 is given by
675
V = x − 18x3
2
Deduce the stationary value of V .
Determine whether this is a maximum or a minimum value.