Derivative Lec 2
Derivative Lec 2
DIFFERENTIATION
h.alhalabi@bau.edu.lb
Lecture 2-Chapter 2
• Logarithmic Differentiation
Derivative of Logarithm-Revision
𝐝 𝐔′
𝐋𝐧𝐔 =
𝐝𝐱 𝐔
1) Find the first derivative of 𝑦 = 𝐿𝑛(𝑠𝑖𝑛𝑥)
Let 𝑈 = 𝑠𝑖𝑛𝑥 , 𝑈 ′ = 𝑐𝑜𝑠𝑥
′
𝑐𝑜𝑠𝑥
𝑦 = = 𝑐𝑜𝑡𝑥
𝑠𝑖𝑛𝑥
𝟑ൗ 𝟒
𝒙 𝟒.𝒙𝟐 + 𝟏 𝐲 = 𝐱. 𝟏 + 𝒙𝟑 . 𝒔𝒊𝒏𝒙
𝐲=
(𝟑𝒙 + 𝟐)𝟓
𝐲 = (𝟓 + 𝐜𝐨𝐬𝐱)𝐥𝐧𝐱 𝐲 = (𝐬𝐢𝐧𝐱)𝐱
Laws of logarithms:
• ln 𝑎. 𝑏 = lna + lnb
𝑎
• ln = lna − lnb
𝑏
• ln(a)b = b. lna
STEPS IN LOGARITHMIC DIFFERENTIATION
′
3 1 1 2𝑥 3
𝑦 = 𝑦{ . + 2
−5 }
4 𝑥 2 𝑥 +1 3𝑥 + 2
dy x x 1 3
3/ 4 2
x 15
5
2
dx (3x 2) 4 x x 1 3x 2
4
Ex.2 Find the derivative of 𝑦 = 𝑥. 1 + 𝑥 3 .𝑠𝑖𝑛𝑥
Solution:
𝟒
𝐲 = 𝐱. 𝟏 + 𝒙𝟑 . 𝒔𝒊𝒏𝒙
Taking “Ln” both sides
4
lny = ln x. 1 + 𝑥 3 . 𝑠𝑖𝑛𝑥
3 1ൗ
lny = lnx + ln(1 + 𝑥 ) 4
+ ln(𝑠𝑖𝑛𝑥)
1
lny = lnx + ln 1 + 𝑥 3 + ln(𝑠𝑖𝑛𝑥) Differentiate both sides
4
𝑦, 1 1 3𝑥 2 𝑐𝑜𝑠𝑥
= + . 3 +
𝑦 𝑥 4 1+𝑥 𝑠𝑖𝑛𝑥
1 1 3𝑥 2
𝑦′ =y + . 3
+ 𝑐𝑜𝑡𝑥
𝑥 4 1+𝑥
4 1 1 3𝑥 2
𝑦′ = 𝑥. 1 + 𝑥3 . 𝑠𝑖𝑛𝑥 + . + 𝑐𝑜𝑡𝑥
𝑥 4 1 + 𝑥3
Case 2: Function with variable exponent
Find the derivative of 𝐲 = 𝟐𝐱 , 𝐲 = 𝐱 𝐱 , 𝐲 = (𝐬𝐢𝐧𝐱)𝐱 , 𝐚𝐧𝐝
𝐲 = (𝟓 + 𝐜𝐨𝐬𝐱)𝐥𝐧𝐱
a) 𝐲 = 𝟐𝐱
Taking “Ln” both sides
Lny = Ln2x
Lny = x. Ln2
U=x 𝑼′ = 𝟏
Differentiate both sides we get: V=Ln2 𝑽′ = 𝟎
(𝑼. 𝑽)′ = 𝑼′ 𝑽 + 𝑽′ 𝑼
y,
= 1. Ln2 + 0. x = Ln2
y
dy
therefore = y ′ = y. Ln2 = 2x . Ln2
dx
b) 𝐲 = 𝐱 𝐱
Taking “Ln” both sides
Lny = Lnx x
Lny = x. Lnx
U=x 𝑼′ = 𝟏
𝟏
V=Lnx 𝑽′ =
𝒙
(𝑼. 𝑽)′ = 𝑼′ 𝑽 + 𝑽′ 𝑼
Differentiate both sides we get:
y, 1
= 1. Lnx + . x = Lnx + 1 therefore
y x
dy
= y ′ = y. (Lnx + 1) = x x . (Lnx + 1)
dx
c) 𝐲 = (𝐬𝐢𝐧𝐱)𝐱
Lny = Ln(sinx)x
Lny = x. Ln(sinx)
U=x 𝑼′ = 𝟏
𝒄𝒐𝒔𝒙
V=Ln(sinx) 𝑽′ =
Differentiate both sides we get: 𝒔𝒊𝒏𝒙
(𝑼. 𝑽)′ = 𝑼′ 𝑽 + 𝑽′ 𝑼
y, cosx
= 1. Ln sinx + .x = Ln sinx + x. cotx therefore
y sinx
dy
= y ′ = y. Lnsinx + x. cotx
dx
y, 1 −sinx
= . Ln 5 + cosx + . lnx therefore
y x 5+cosx
dy 1 −sinx
= y ′ = y. . Ln 5 + cosx + . lnx
dx x 5+cosx
dy ′ 𝐥𝐧𝐱
1 −sinx
= y = (𝟓 + 𝐜𝐨𝐬𝐱) . . Ln 5 + cosx + . lnx
dx x 5 + cosx