4 Derivative of Function
4 Derivative of Function
𝒅𝒚 𝜟𝒚 𝒇(𝒙+𝜟𝒙 )− 𝒇(𝒙)
= lim = lim .
𝒅𝒙 𝜟𝒙→0 𝜟𝒙 𝜟𝒙→0 𝜟𝒙
Or
𝒅𝒚 ′( 𝒇(𝒙+𝒉 )− 𝒇(𝒙)
𝒐𝒓 𝒇 𝒙) = lim .
𝒅𝒙 𝒉→0 𝒉
Existence of Derivative at a point
𝒇(𝒙+𝒉 )− 𝒇(𝒙)
If lim exists, then it is
𝒉→0+ 𝒉
known as the left-hand derivative of
𝒇(𝒙) with respect to 𝒙 and is denoted by
L𝒇′ (𝒙),
′( 𝒇(𝒙+𝒉 )− 𝒇(𝒙)
i.e., L𝒇 𝒙) = lim
𝒉→0− 𝒉
Existence of Derivative:
Let 𝒇(𝒙) be defined in the interval 𝒂 ≤
𝒙 ≤ 𝒃, 𝒄 being a point in this interval
then 𝒇′ (𝒄) exists only when the two
derivatives
′( 𝒇(𝒄+𝒉 )− 𝒇(𝒄)
L𝒇 𝒄) = lim and
𝒉→0− 𝒉
′( 𝒇(𝒄+𝒉 )− 𝒇(𝒄)
R𝒇 𝒄) = lim both exists
𝒉→0+ 𝒉
and are equal.
5 − 3𝑥, 𝑥 ≤ 0
𝑓(𝑥 ) ={
5 + 3𝑥 𝑓𝑜𝑟 𝑥 > 0 .
Show that 𝑓 ′ (0) does not exist.
Solution:
We have
′( 𝒇(𝒄+𝒉 )− 𝒇(𝒄)
L𝒇 𝒄) = lim and
𝒉→0− 𝒉
′( 𝒇(𝒄+𝒉 )− 𝒇(𝒄)
R𝒇 𝒄) = lim
𝒉→0+ 𝒉
′( 𝒇(𝟎+𝒉 )− 𝒇(𝟎)
Here L𝒇 𝟎) = lim =-3
𝒉→0− 𝒉
′( 𝒇(𝟎+𝒉 )− 𝒇(𝟎)
and R𝒇 𝟎) = lim =3,
𝒉→0+ 𝒉
Solution:
𝒅𝒚 𝒅
(i) = (𝒙 + 𝟐) (𝒙 + 𝟏)𝟐 + (𝒙 +
𝒅𝒙 𝒅𝒙
𝒅
𝟏)𝟐 (𝒙 + 𝟐) = (𝒙 + 𝟐). 𝟐. (𝒙 + 𝟏) +
𝒅𝒙
(𝒙 + 𝟏)𝟐 . 𝟏 = 𝟐𝒙𝟐 + 𝟔𝒙 + 𝟒 + 𝒙𝟐 + 𝟐𝒙 +
𝟏 = 𝟑𝒙𝟐 + 𝟖𝒙 + 𝟓
𝒅𝒚 𝒅 𝒅
(ii) = 𝒙𝟐 . 𝐥𝐨𝐠 𝒙 + 𝐥𝐨𝐠 𝒙 . (𝒙𝟐 ) = 𝒙 +
𝒅𝒙 𝒅𝒙 𝒅𝒙
𝟐𝒙 𝐥𝐨𝐠 𝒙 = 𝒙(𝟏 + 𝟐 𝐥𝐨𝐠 𝒙)
Theorem 5:
𝒅 𝒅
𝒅 𝒇 (𝒙 ) { 𝒇(𝒙)}.𝒈(𝒙)−𝒇(𝒙).{ 𝒈(𝒙)}
𝒅𝒙 𝒅𝒙
{ }= {𝒈(𝒙)}𝟐
.
𝒅𝒙 𝒈(𝒙)
𝒅𝒚
Prob.(2) Find , when
𝒅𝒙
𝒙𝟐 +𝟏
(i) 𝒚= ,
𝒙−𝟏
𝒙
(ii) 𝒚 = ,
𝒆𝒙 −𝟏
𝟏−𝒙
(iii) 𝒚 = √
𝟏+𝒙
Solution:
𝒅 𝒅
𝒅𝒚 (𝒙−𝟏) (𝒙𝟐 +𝟏)−(𝒙𝟐 +𝟏). (𝒙−𝟏) (𝒙−𝟏).𝟐𝒙−(𝒙𝟐 +𝟏).𝟏
𝒅𝒙 𝒅𝒙
(i) = (𝒙−𝟏)𝟐
= (𝒙−𝟏)𝟐
=
𝒅𝒙
𝒙𝟐 −𝟐𝒙−𝟏
(𝒙−𝟏)𝟐
(ii)
𝒅 𝒅
𝒅𝒚 (𝒆𝒙 − 𝟏) (𝒙) − 𝒙. (𝒆𝒙 − 𝟏)
= 𝒅𝒙 𝒅𝒙
𝒅𝒙 (𝒆𝒙 − 𝟏)𝟐
(𝒆𝒙 − 𝟏). 𝟏 − 𝒙. 𝒆𝒙 𝒆𝒙 . (𝟏 − 𝒙) − 𝟏
= =
(𝒆𝒙 − 𝟏)𝟐 (𝒆𝒙 − 𝟏)𝟐
Logarithm Differentiation
𝒅𝒚
Prob.(3) Find , if
𝒅𝒙
𝒆𝒙
(v) 𝒚 = 𝒙
Solution:
(i) 𝒚 = 𝒙𝒙
⇒ 𝐥𝐨𝐠 𝒚 = 𝒙. 𝐥𝐨𝐠 𝒙
Differentiating both sides w.r.t. 𝒙, we get
𝒅 𝒅
𝐥𝐨𝐠 𝒚 = (𝒙. 𝐥𝐨𝐠 𝒙)
𝒅𝒙 𝒅𝒙
𝟏 𝒅𝒚 𝒅𝒙 𝒅
⇒ = 𝐥𝐨𝐠 𝒙 . + 𝒙. 𝐥𝐨𝐠 𝒙 =
𝒚 𝒅𝒙 𝒅𝒙 𝒅𝒙
𝟏
𝐥𝐨𝐠 𝒙 + 𝒙. = 𝟏 + 𝐥𝐨𝐠 𝒙
𝒙
𝒅𝒚
⇒ = 𝒚(𝟏 + 𝐥𝐨𝐠 𝒙) = 𝒙𝒙 . (𝟏 + 𝐥𝐨𝐠 𝒙).
𝒅𝒙
𝟏
(iii) 𝒚=𝒙 𝒙
𝟏
⇒ 𝐥𝐨𝐠 𝒚 = . 𝐥𝐨𝐠 𝒙
𝒙
Differentiating both sides w.r.t. 𝒙, we get
𝟏 𝒅𝒚 𝟏 𝒅 𝒅 𝟏 𝟏 𝟏
= . (𝐥𝐨𝐠 𝒙) + (𝐥𝐨𝐠 𝒙). ( ) = 𝟐 − 𝟐 . 𝐥𝐨𝐠 𝒙
𝒚 𝒅𝒙 𝒙 𝒅𝒙 𝒅𝒙 𝒙 𝒙 𝒙
𝟏
𝒅𝒚 𝟏 𝟏 𝒙𝒙 .(𝟏−𝐥𝐨𝐠 𝒙)
⇒𝒅𝒙 = 𝒚 (𝒙𝟐 − 𝒙𝟐 . 𝐥𝐨𝐠 𝒙) = 𝒙𝟐
(iv)
𝟐𝒙
𝒚 = (𝟏 + 𝒙)
Solution:
𝒅𝒚 𝒅 𝟏 𝒅 𝟏
= 𝒅𝒕 √𝟏 − 𝒕 = 𝟐√𝟏−𝒕 𝒅𝒕 (𝟏 − 𝒕) = − 𝟐√𝟏−𝒕
𝒅𝒕
𝒅𝒙 𝒅 𝟏 𝒅 𝟏
and = 𝒅𝒕 √𝟏 + 𝒕 = 𝟐√𝟏+𝒕 𝒅𝒕 (𝟏 + 𝒕) = 𝟐√𝟏+𝒕
𝒅𝒕
𝑑𝑦 1
−
𝑑𝑦 𝑑𝑡 2√1 − 𝑡 1+𝑡
= = = −√
𝑑𝑥 𝑑𝑥 1 1−𝑡
𝑑𝑡 2√1 + 𝑡
1
𝒅𝒚 𝟏+
2
Hence [𝒅𝒙] 1 = −√ 1 = −√𝟑
𝑡= 𝟏−
2 2
Prob.(5) Find 𝒅𝒚
𝒅𝒙
:
(i) 𝒙𝒚 𝒚𝒙 = 𝟏 ,
(ii) 𝒙𝟐 𝒚 + 𝒙𝒚𝟐 = 𝒙𝟐 + 𝒚𝟐
𝒙𝟐 𝒚𝟐
(iii) 𝒂 𝟐 + 𝒃𝟐
= 𝟏,
𝒚 𝒙
(iv) 𝒙 + 𝒚 = 𝟏𝟏,
Solution:
(i) 𝒙𝒚 𝒚𝒙 = 𝟏
⇒ 𝐥𝐨𝐠(𝒙𝒚 𝒚𝒙 ) = 𝐥𝐨𝐠 𝟏
⇒ 𝒚 𝐥𝐨𝐠 𝒙 + 𝒙 𝐥𝐨𝐠 𝒚 = 𝟎
Differentiating both sides w.r.t. 𝒙, we get
𝐝𝒚 𝟏 𝟏 𝐝𝒚
⇒ 𝐥𝐨𝐠 𝒙 𝐝𝒙 + 𝒚. 𝒙 + 𝒙. 𝐲 𝐝𝒙 + 𝐥𝐨𝐠 𝒚. 𝟏 = 𝟎
𝒙 𝐝𝒚 𝐲
⇒ ( 𝐥𝐨𝐠 𝒙 + 𝐲) 𝐝𝐱 = − (𝒙 + 𝐥𝐨𝐠 𝒚)
𝐲
𝐝𝒚 −( +𝐥𝐨𝐠 𝒚) 𝐲(𝐲+𝒙 𝐥𝐨𝐠 𝒚)
𝒙
⇒ 𝐝𝒙 = 𝒙 = − 𝒙(𝒙+𝐲 𝐥𝐨𝐠 𝒙)
( 𝐥𝐨𝐠 𝐱+ )
𝒚
(ii) 𝒙𝟐 𝒚 + 𝒙𝒚𝟐 = 𝒙𝟐 + 𝒚𝟐
Differentiating both sides w.r.t. 𝒙, we get
𝒅 𝟐 𝒅 𝟐
(𝒙 𝒚 + 𝒙𝒚𝟐 ) = (𝒙 + 𝒚𝟐 )
𝒅𝒙 𝒅𝒙
𝒅𝒚 𝒅𝒚 𝒅𝒚
⇒ 𝟐𝒙𝒚 + 𝒙𝟐 + 𝒙. 𝟐𝒚 + 𝒚𝟐 . 𝟏 = 𝟐𝒙 + 𝟐𝒚
𝒅𝒙 𝒅𝒙 𝒅𝒙
𝒅𝒚
⇒ . (𝒙𝟐 + 𝟐𝒙𝒚 − 𝟐𝒚) = 𝟐𝒙 − 𝟐𝒙𝒚 − 𝒚𝟐
𝒅𝒙
𝒅𝒚 𝟐𝒙 − 𝟐𝒙𝒚 − 𝒚𝟐
⇒ =
𝒅𝒙 𝒙𝟐 + 𝟐𝒙𝒚 − 𝟐𝒚
(v)
Application of Derivative
⇒ 𝟔(𝒙 − 𝟏)(𝒙 − 𝟐) = 𝟎
⇒ 𝒙 = 𝟏 and 𝒙 = 𝟐
At 𝒙 = 𝟏 and 𝒙 = 𝟐, 𝒚 has maximum or a
minimum value.
𝒅𝟐 𝒚
Now at = 𝟏, = 𝟏𝟐 × 𝟏 − 𝟏𝟖 = −𝟔 < 𝟎.
𝒅𝒙𝟐
⇒ 𝟔(𝟐𝒙 − 𝟏)(𝒙 − 𝟐) = 𝟎
𝟏
⇒ 𝒙 = and 𝒙 = 𝟐
𝟐
𝟏
At 𝒙 = and 𝒙 = 𝟐, 𝒚 has maximum or a
𝟐
minimum value.
𝟏 𝒅𝟐 𝒚 𝟏
Now at 𝒙 = , = 𝟐𝟒 × − 𝟑𝟎 = −𝟏𝟖 < 𝟎.
𝟐 𝒅𝒙𝟐 𝟐
𝟏
Hence at 𝒙 = , 𝒚 is maximum and its value is:
𝟐
𝟏 𝟑 𝟏 𝟐 𝟏 𝟑
𝒚 =4× ( ) − 𝟏𝟓 × ( ) + 𝟏𝟐 × − 𝟐 =
𝟐 𝟐 𝟐 𝟒
𝒅𝟐 𝒚
Again, at 𝑥 = 𝟐, = 𝟐𝟒 × 𝟐 − 𝟑𝟎 = 𝟏𝟖 > 𝟎.
𝒅𝒙𝟐
𝟏
e.g., 𝑪(𝒙) = 𝒙𝟑 -5𝒙𝟐 +𝟗𝟗𝒙 + 𝟑𝟓,
𝟑
𝑑𝑅
Marginal Revenue(MR)= .
𝑑𝑥
Supply Function:
If 𝑝 is the price of one unit commodity
and 𝑥 is the number of units supplied,
then 𝑥 = 𝑓(𝑝) is known as the supply
function.
Prob.(1). The total cost function 𝐶 (𝑥) of
producing 𝑥 items is given by
Profit function
𝑃(𝑥 ) = 𝑅(𝑥 ) − 𝐶 (𝑥 ) = 20𝑥 − .001𝑥 2 −
(5𝑥 + 2000) = 15𝑥 − .001𝑥 2 − 2000.
Hence
𝑃′ (𝑥 ) = 15 − .002𝑥,
𝑃′′ (𝑥 ) = −.002 < 0
Now
𝑃′ (𝑥 ) = 0
⇒ 15 − .002𝑥
15
⇒𝑥=
. 002
At 𝑥 = 7500
𝑃′′ (𝑥 ) = −.002 < 0
Hence profit is maximum when the production is 7500
items per week.
Prob.(3) A radio manufacturer finds that
he can sell 𝑥 radio per week at Rs. 𝑝
𝑥
each, where 𝑝 = 2 (100 − ).
4
Solution:
Profit function
𝑥 𝑥2
𝑃(𝑥 ) = 𝑅(𝑥 ) − 𝐶 (𝑥 ) = 2𝑥 (100 − 4) − (120𝑥 + ) = 80𝑥 −
2
𝑥 2.
Hence
𝑃′ (𝑥 ) = 80 − 2𝑥,
𝑃′′ (𝑥 ) = −2
Now
𝑃′ (𝑥 ) = 0
⇒ 80 − 2𝑥
⇒ 𝑥 = 40
At 𝑥 = 40
𝑃′′ (𝑥 ) = −2 < 0
Hence profit is maximum when the production is 40 radios per
week.
𝟏 𝟑 𝟐 + 𝟗𝟗𝒙 + 𝟑𝟓)
𝐶(𝑥) = (
𝟑
𝒙 − 𝟓𝒙
𝑑𝐶 𝑑 1
Marginal Cost (MC)= = ( 𝑥 3 − 5𝑥 2 + 99𝑥 +
𝑑𝑥 𝑑𝑥 3
35) = 𝑥 2 − 10𝑥 + 99
𝑑(MC)
Now = 2𝑥 − 10
𝑑𝑥
𝑑(MC)
Taking =0
𝑑𝑥
⇒ 2𝑥 − 10 = 0
⇒𝑥=5
𝑑 2 (MC)
Now =2>0
𝑑𝑥 2
𝟏
𝐶(𝑥) = (𝟑𝟎𝟎𝒙 − 𝟏𝟎𝒙𝟐 + 𝒙𝟑 )
𝟑
𝑑𝐶 𝑑 𝟏
Marginal Cost (MC)= = (𝟑00𝑥 − 𝟏𝟎𝒙𝟐 + 𝒙𝟑 ) =
𝑑𝑥 𝑑𝑥 𝟑
300 − 20𝑥 + 𝒙𝟐
𝑑(MC)
Now = −20 + 2𝑥
𝑑𝑥
𝑑(MC)
Taking =0
𝑑𝑥
⇒ −20 + 2𝑥 = 0
⇒ 𝑥 = 10
𝑑 2 (MC)
Now = 2 > 0.
𝑑𝑥 2
𝟏
300 − 10𝑥 + 𝒙𝟐 = 300 − 20𝑥 + 𝒙𝟐
𝟑
𝟐
𝟏 𝟐
⇒ 𝒙 − 𝒙 − 20𝑥 + 10𝑥 = 0
𝟑
𝟐 𝟐
⇒ 𝒙 − 10𝑥 = 0
𝟑
⇒ 2𝒙𝟐 − 30𝑥 = 0
⇒ 2𝑥 (𝑥 − 15) = 0
⇒ 𝑥 = 0 or 15.