dy δy
,
dx δx
y / f ( x) Chord (AB)
((x+h), f(x+h)) = B
f(x+h)
Q
(x , f(x)) = A
f(x) Tangent (PQ)
P
0 x x+h x
point x .
f (x + h ) − f (x )
lim ⇒ (2 )
h→0 h
• Since the gradient of function f at x equals to the gradient of
dy f (x + h ) − f (x )
= f ( x ) = lim
′
dx h →0 h
Example 1:
Solution:
By using:
f ( x + h) − f ( x )
f ′( x) = lim ⇒ (a)
h→0 h
Step 1:
Given f ( x ) = 6 x + 2 , then f ( x + h ) = 6( x + h ) + 2
Step 2:
Substitute f ( x + h ) = 6( x + h ) + 2 in (a )
6( x + h) + 2 − f ( x)
f ′(x) = lim
h→0 h
6(x + h) + 2 − [6x + 2]
f ′(x) = lim
h→0 h
6 x + 6h + 2 − 6 x − 2
f ′( x ) = lim
h →0 h
6h
f ′( x ) = lim = lim 6
h→0 h h→0
Exercise:
dy
Find the first derivative ( f ′( x ) or ) of the following functions by
dx
using the first principle method:
a) f ( x ) = 3x − 1
b) y = x2 − 1
y = f (x ) = c
where c is a constant.
Thus the derivative of a constant function at x:
dy
= f ′( x ) = 0
dx
Example 2:
dy
Find f ′( x ) or for the functions below:
dx
a) f (x) = 2
f ′( x ) = 0
b) y = −5
dy
=0
dx
y = f ( x ) = ax n
dy
= f ′ ( x ) = nax n −1
dx
Example 3:
dy
Find f ′( x )@ of the following functions:
dx
dy
y = x2 answer⇒ = 2x2−1
a)
dx
= 2x
f (x) = 3x 2 [
answer⇒ f ′( x) = 3 2x 2−1 ]
b)
= 3[2x]
= 6x
y=
1 4
2
x answer ⇒
dy 1
dx 2
[
= 4 x 4 −1 ]
c)
1
= 4x3
2
[ ]
= 2x3
y=x answer⇒ y = x1
dy
= 1x1−1 = 1x0
d) dx
= 1(1) = 1
f (x) = 9x [ ] [ ]
answer⇒ f ′(x) = 91x1−1 = 91x0
e)
= 9(1) = 9
Example 4:
dy
Find f ′( x )@ of the following functions:
dx
a) f (x ) = x 2 + 5
Ans: f ′( x ) = 2 x 2 −1 + 0
= 2x
b) f (x ) = 3 x 2 − 4 x
Ans: [ ] [
f ′( x ) = 3 2 x 2 −1 − 4 1 x1 −1 ]
= 6x − 4
1 5
c) y = x − 2 x 3 + x − 11
5
Ans:
dy
dx
=
1
5
[ ] [ ]
5 x 5 −1 − 2 3 x 3 −1 + 1 x1−1 − 0
= x4 − 6x2 + 1
If (
y = f ( x ) = ax n ± b )k where a, b, n and k are constants,
⇒
dy
dx
(
= f ′( x ) = k ax n ± b
k −1 d
×
dx
)
ax n ± b ( )
Example 5:
dy
Find f ′( x )@ for the following functions:
dx
a) f ( x ) = ( x + 1)3
d
Ans: f ′( x ) = 3( x + 1)3−1 × ( x + 1)
dx
f ′( x ) = 3( x + 1)2 × (1 + 0 )
= 3( x + 1)2
b) (
f (x) = x2 + 7 4 )
Ans: f ′( x ) = 4 x + 7 ( 2 ) 4 −1
×
d 2
dx
(
x +7 )
( )3
f ′( x ) = 4 x 2 + 7 × (2 x + 0 )
= 4(2 x ) x + 7 ( 2 )
3
= 8x x2 + 7 (
3
)
c) (
y = x2 + x )3
Ans:
dy
dx
(
= 3 x2 + x
3−1 d 2
×
dx
x +x ) ( )
dy
dx
( 2
)
= 3 x 2 + x × (2 x + 1)
= 3(2 x + 1)(x + x )
2 2
= (6 x + 3)(x 2 + x )
2
Example 6:
dy
Find f ′( x )@ for the following functions:
dx
a) f ( x ) = ( x + 1)(3 x − 1)
Solution:
let
u = ( x + 1) , v = (3 x − 1)
du dv
=1+ 0 =1 , = 3 − 0 = 3
dx dx
du dv
Substitute u , v, , in the formula;
dx dx
dv du
f ′( x ) = u +v
dx dx
= ( x + 1)(3) + (3 x − 1)(1)
= 3x + 3 + 3x − 1
= 6x + 2
b) ( )
y = x3 − 1 ( x + 5)
Solution:
(
u = x3 − 1 ) , v = ( x + 5)
du dv
= 3x 2 − 0 = 3x 2 , = 1 + 0 = 1
dx dx
du dv
Substitute u , v, , in the formula;
dx dx
dy dv du
=u +v
dx dx dx
( ) ( )
= x3 − 1 (1) + ( x + 5) 3 x 2
= x3 − 1 + 3 x3 + 15 x 2
= 4 x3 + 15 x 2 − 1
c) y = ( x 2 + 3)( x − 2) 4
P[ x ]
If y = f (x ) = , then the derivative:
Q[ x ]
Example 7:
dy
Find f ′( x )@ for the following functions:
dx
a) y=
(2 x − 1)
( x + 1)
Solution:
u = 2x − 1 ,v = x +1
du dv
= 2−0= 2 , =1+ 0 =1
dx dx
du dv
Substitute u , v, , in the formula;
dx dx
du dv
v − u
dy dx dx
=
dx v2
=
( x + 1)(2) − [(2 x − 1)](1) =
2x + 2 − 2x + 1
( x + 1)2 ( x + 1)2
3
=
( x + 1)2
x
b) f (x) =
x2 + 7
Solution:
Let,
u=x , v = x2 + 7
du dv
=1 = 2x + 0 = 2x
,
dx dx
du dv
Substitute u , v, , in the formula;
dx dx
du dv
v − u
f ′( x ) =
dx dx
v2
=
(x 2 + 7 )(1 ) − [x (2 x )] x 2 + 7 − 2 x 2
=
(x + 7 )
2 2
(x 2 + 7 )2
7 − x2
=
(x 2 + 7 )2
x3
c) y=
( x + 1) 2
x+2
d) f (x) =
x
Example 8:
dy
Find f ′( x )@ for the following functions:
dx
a) y = 25 x
x2
b) f (x) = 3
Example 9:
dy
Find f ′( x )@ for the following functions:
dx
a) f ( x ) = e2 x
b) y = 7e − 4 x
dy 1 du
= f ′( x ) = . . log a e
dx u dx
Example 10:
dy
Find f ′( x )@ for the following functions:
dx
a) f ( x ) = log 2 3 x
b) y = log5 x
dy 1 du
= f ( x ) = .
′
dx u dx
Example 11:
dy
Find f ′( x )@ for the following functions:
dx
a) y = ln 5 x
b) y = ln(9 x + 4 )
c) f ( x ) = ln x 2
dy
The derivative of a function f ( x ) written as f ′( x )@ .
dx
Furthermore, if f ′( x ) is derived one more time and written as
d2y
f ′′( x )@ , called the second derivative of f (x ) .
2
dx
therefore:
d2y d
⇒
2
= f ′′( x ) = [ f ′( x )] (Second derivative)
dx dx
d3y d
⇒
3
= f ′′′( x ) = [ f ′′( x )] (Third Derivative)
dx dx
.
.
.
⇒
dny
dx n
= f n (x ) =
d n −1
dx
f (x) [ ] (nth derivative)
Example 12:
a) Find f ′′( x ) if f ( x ) = x5 :
Solution:
f ′( x ) = 5 x5−1 = 5 x 4
f ′′ ( x )= d
dx
5 x[ 4
]
(
= 5 4 x 4 −1 )
= 20 x 3
b) Find f ′′′( x ) if f ( x ) = 4 x3 − 10 x 2
Solution:
f ′( x ) = 12 x 2 − 20 x
f ′′( x ) =
d
dx
[
12 x 2 − 20 x ]
= 12(2 x ) − 20(1)
= 24 x − 20
d
f ′′′( x ) = [24 x − 20 ]
dx
= 24 (1) − 0
= 24 ( Answer )
Step 1
dy
Find f ′( x )@ from the equation given then let:
dx
f ′( x ) = 0
Step 2:
Example 13:
a) f (x) = x2 + 2 x + 1
Solution:
Step 1:
Step 2:
2x + 2 = 0 When x = −1,
f (x) = y = x2 + 2x +1 = (−1) + 2(−1) +1
2
2 x = −2
=0
∴ x = −1
Then, the critical point (x, y ) = (− 1,0)
b) f ( x ) = 32 x − x 4
Solution:
Step 1:
Step 2:
When f ′( x ) = 0 , find x .
32 − 4 x3 = 0
3 When x = 2,
32 = 4 x
f (x ) = y = 32(2) − (2)
4
8 = x3 = 64 − 16
81 / 3 = x = 48
∴x = 2
Therefore, the critical point (x, y ) = (2,48)
Step 1:
Let the critical point (x , y ) = (k , m )
Step 2:
Find f ′′( x ) . If :
i) f ′′( x ) > 0( positive) at x = k , then the critical point
is ⇒ (MINIMUM )
Example 14:
Step 1:
Find the critical point, ie:
Step 2:
Find f ′′( x )
d
f ′′ ( x ) = [2 x + 2 ] = 2
dx
Solution:
Step 1:
Find the critical point, ie :
Critical point (x , y ) = (2 , 48 )
Step 2:
Find f ′′( x )
f ′′( x ) =
d
dx
[ ]
32 − 4 x 3 = − 12 x 2
point ( x , y ) = (2 , 48 ) is maximum.
Notes:
Example 15:
Determine weather the curve f ( x ) = ( x − 1)3 has
MINIMUM/MAXIMUM/inflection point.
Solution:
Step 1:
Find the critical point, ie :
3( x − 1)2 = 0 If x = 1,
f ( x ) = ( x − 1)
3
( x − 1)2 = 0 = 0
f (1) = (1 − 1)
3
3
( x − 1) = ± 0 = 0 =0
∴x =1
Critical point (x , y ) = (1, 0 )
Step 2:
Find f ′′( x ) .
f ′′ ( x ) =
d
dx
[ ]
3 (x − 1 ) = 6 (x − 1 )
2
at x = 1, f ′′ ( x ) = 6 (1 − 1 )
= 0
• Profit function, ∏
The functions above will be used again in this chapter. Besides
that, several new functions will be introduced such as:
TC = VCx + FC
• Total cost function,
@ VCq + FC
TC TC
• Average cost function, C = @
x q
dC dC
• Marginal average cost function, C′ = @
dx dq
Example 16:
vi) Verify the answer in (d) and (e) by using the vertex formula.
Example 17:
Assuming the demand function of a product given by,
p = 200 − 2q
where q is the number of unit of the product. Find,
iv) What is the maximum value for this total revenue function?
• Profit function, ∏ = TR − TC
∏ ∏
• Average profit function, ∏= @
x q
• Marginal average profit function,
d∏ d∏
∏′ = @
dx dq
d∏ d∏
• Marginal profit function, ∏′ = @
dx dq
Example 18: