4.3 Derivatives of Exp and Log Funs
4.3 Derivatives of Exp and Log Funs
Theorem 1:
1 1
(𝑓 −1 )′ (𝑥) = = −1 (𝑥)
𝑓 ′ (𝑓 −1 (𝑥)) 𝑒𝑓
1
= , 𝑥 > 0.
𝑒 ln 𝑥
1
=
𝑥
Theorem 2:
𝑑 1
(ln 𝑥) = .(2)
𝑑𝑥 𝑥
Theorem 3:
𝑑 1
(ln 𝑢) = 𝑢′ ,𝑢 > 0.(3)
𝑑𝑥 𝑢
𝑑𝑢
Where 𝑢′ =
𝑑𝑥
𝑑
Find [ln(𝑥 2 + 1)].
𝑑𝑥
Solution
𝑑 1 𝑑 2 1 2𝑥
[ln(𝑥 2 + 1)] = 2 ⋅ [𝑥 + 1] = 2 ⋅ 2𝑥 = 2
𝑑𝑥 𝑥 + 1 𝑑𝑥 𝑥 +1 𝑥 +1
When possible, the properties of logarithms (See Sec 1.5) should be used to convert
products, quotients, and exponents into sums, differences, and constant multiples
before differentiating a function involving logarithms.
Example 2
𝑑 𝑥 2 sin 𝑥
Find [ln ( )]
𝑑𝑥 √1+𝑥
Solution
𝑑 𝑥 2 sin 𝑥 𝑑
[ln ( )] = [ln(𝑥 2 sin 𝑥) − ln(√1 + 𝑥)]
𝑑𝑥 √1 + 𝑥 𝑑𝑥
𝑑 2
1
= [ln(𝑥 ) + ln(sin 𝑥) − ln(𝑥 + 1)2 ]
𝑑𝑥
𝑑 1
= [2 ln 𝑥 + ln(sin 𝑥) − ln(1 + 𝑥)]
𝑑𝑥 2
2 cos 𝑥 1
= + −
𝑥 sin 𝑥 2(1 + 𝑥)
2 1
= + cot 𝑥 −
𝑥 2 + 2𝑥
3𝑥 + 4
= cot 𝑥 −
2 + 2𝑥
(1) ln 𝑥𝑦 = ln 𝑥 + ln 𝑦
𝑥
(2) ln = ln 𝑥 − ln 𝑦
𝑦
(3) ln 𝑥 𝑟 = 𝑟ln 𝑥
Checkpoint 1
Solution
• The derivative of ln |𝑥| for 𝑥 ≠ 0 can be obtained by considering the cases
Case 𝑥 > 0.
𝑑 𝑑 1
[ln |𝑥|] = [ln 𝑥] =
𝑑𝑥 𝑑𝑥 𝑥
Case 𝑥 < 0.
𝑑 𝑑 1 𝑑 1 1
[ln|𝑥|] = [ln(−𝑥)] = ⋅ [−𝑥] = (−1) =
𝑑𝑥 𝑑𝑥 (−𝑥) 𝑑𝑥 (−𝑥) 𝑥
Since the same formula results in both cases, we have shown that
𝑑 1
[ln |𝑥|] = if 𝑥 ≠ 0
𝑑𝑥 𝑥
𝑑
Find (ln|sin 𝑥|).
𝑑𝑥
Solution
𝑑 1 𝑑 cos 𝑥
[ln |sin 𝑥|] = ⋅ [sin 𝑥] = = cot 𝑥
𝑑𝑥 sin 𝑥 𝑑𝑥 sin 𝑥
Checkpoint 2
Solution
Derivatives of 𝑎𝑢 :
𝑥)
We start with the equation 𝑎 𝑥 = 𝑒 ln(𝑎 = 𝑒 𝑥ln 𝑎 , 𝑎 > 0, which was seen in Section
1.6:
𝑑 𝑥 𝑑 𝑥ln 𝑎
(𝑎 ) = 𝑒
𝑑𝑥 𝑑𝑥
𝑑 𝑑 𝑑𝑢
= 𝑒 𝑥ln 𝑎 ⋅ (𝑥 ln 𝑎) ( 𝑒 𝑢 = 𝑒 𝑢 )
𝑑𝑥 𝑑𝑥 𝑑𝑥
= 𝑎 𝑥 ln 𝑎.
Theorem 4:
𝑑 𝑥
𝑎 = 𝑎 𝑥 ln 𝑎 (4)
𝑑𝑥
Note that
𝑑 𝑥
𝑒 = 𝑒 𝑥 ln 𝑒 = 𝑒 𝑥
𝑑𝑥
With the Chain Rule, we get a more general form for the derivative of a general
exponential function 𝑎𝑢 .
Theorem 5:
𝑑 𝑢 𝑑𝑢
(𝑎 ) = 𝑎𝑢 ln 𝑎 (5)
𝑑𝑥 𝑑𝑥
Find
𝑑 𝑑 𝑑
(a) 3𝑥 (b) 3−𝑥 (c) 3sin 𝑥
𝑑𝑥 𝑑𝑥 𝑑𝑥
Solution
𝑑
(a) 3𝑥 = 3𝑥 ln 3
𝑑𝑥
𝑑 𝑑
(b) 3−𝑥 = 3−𝑥 (ln 3) (−𝑥) = −3−𝑥 ln 3
𝑑𝑥 𝑑𝑥
𝑑 𝑑
(c) 3sin 𝑥 = 3sin 𝑥 (ln 3) (sin 𝑥) = 3sin 𝑥 (ln 3) cos 𝑥
𝑑𝑥 𝑑𝑥
Checkpoint 3
Solution
To find the derivative of log 𝑎 𝑢 for an arbitrary base (𝑎 > 0, 𝑎 ≠ 1), we start with the
change-of-base formula for logarithms (reviewed in Section 1.6) and express log 𝑎 𝑢
in terms of natural logarithms,
ln 𝑥
log 𝑎 𝑥 = .
ln 𝑎
𝑑 𝑑 ln 𝑥
log 𝑎 𝑥 = ( )
𝑑𝑥 𝑑𝑥 ln 𝑎
1 𝑑
= ⋅ ln 𝑥 (ln 𝑎 is a constant.)
ln 𝑎 𝑑𝑥
1 1
= ⋅
ln 𝑎 𝑥
1
=
𝑥ln 𝑎
If 𝑢 is a differentiable function of 𝑥 and 𝑢 > 0, the Chain Rule gives a more general
formula.
Theorem 6:
𝑑 1 1 𝑑𝑢
log 𝑎 𝑢 = ∙ ∙ (6)
𝑑𝑥 ln 𝑎 𝑢 𝑑𝑥
Example 5
Find 𝑦′.
𝑥 2 𝑥+1 ln 3
(a) 𝑦 = log 5 𝑒 (b) 𝑦 = log 4 𝑥 + log 4 𝑥 (c) 𝑦 = log 3 (( ) )
𝑥−1
Solution
1 1 𝑑 𝑥
𝑦′ = (𝑒 )
ln 5 𝑒 𝑥 𝑑𝑥
1 1 𝑥
= 𝑒
ln 5 𝑒 𝑥
1
=
ln 5
1 1 1 1 𝑑 2
𝑦′ = ∙ + ∙ ∙ (𝑥 )
ln 4 𝑥 ln 4 𝑥 2 𝑑𝑥
1 1 1
= + ∙ ∙ 2𝑥
𝑥 ln 4 ln 4 𝑥 2
1 2 3
= + =
𝑥 ln 4 𝑥 ln 4 𝑥 ln 4
(c)
𝑥 + 1 ln 3
𝑦 = log 3 (( ) )
𝑥−1
𝑥+1
= (ln 3) log 3 ( )
𝑥−1
1 1 𝑑 1 1 𝑑
𝑦 ′ = (ln 3) [ ∙ ∙ (𝑥 + 1) − ∙ ∙ (𝑥 − 1)]
ln 3 𝑥 + 1 𝑑𝑥 ln 3 𝑥 − 1 𝑑𝑥
1 1 1 1
= (ln 3) [ ∙ (1) − ∙ (1)]
ln 3 𝑥 + 1 ln 3 𝑥 − 1
1 1 2
= − =
𝑥 + 1 𝑥 − 1 1 − 𝑥2
Find 𝑦′
7𝑥 ln 5
(a) 𝑦 = 3log 8 (log 2 𝑡) (b) 𝑦 = 𝜃sin(log 7 𝜃) (c) 𝑦 = log 5 √( )
3𝑥+2
Answers:
1 cos(log7 𝜃) 1
(a) 𝑦 ′ = (b) 𝑦 ′ = sin(log 7 𝜃) + (c) 𝑦 ′ =
𝑡(ln 2)2 log2 𝑡 ln 7 3𝑥 2 +2𝑥
Solution
Example 6
Find 𝑦′ if
1
(𝑥 2 + 1)(𝑥 + 3)2
𝑦= , 𝑥 > 1
𝑥−1
Solution
We take the natural logarithm of both sides and simplify the result with the algebraic
1
(𝑥 2 + 1)(𝑥 + 3)2
ln 𝑦 = ln
𝑥−1
1
= ln ((𝑥 2 + 1)(𝑥 + 3)2 ) − ln(𝑥 − 1)
1
2
= ln(𝑥 + 1) + ln(𝑥 + 3)2 − ln(𝑥 − 1)
1
= ln(𝑥 2 + 1) + ln(𝑥 + 3) − ln(𝑥 − 1).
2
We then take derivatives of both sides with respect to 𝑥, using Equation (3) on the left
2𝑥 1 1
𝑦′ = 𝑦 ( + − ).
𝑥 2 + 1 2𝑥 + 6 𝑥 − 1
1
(𝑥 2 + 1)(𝑥 + 3)2 2𝑥 1 1
𝑦′ = ( 2 + − ).
𝑥−1 𝑥 + 1 2𝑥 + 6 𝑥 − 1
Checkpoint 5
The derivative of
3
𝑥 2 √7𝑥 − 14
𝑦= .
(1 + 𝑥 2 )4
Answer:
3
𝑑𝑦 𝑥 2 √7𝑥 − 14 2 1 8𝑥
= [ + − ]
𝑑𝑥 (1 + 𝑥 2 )4 𝑥 3𝑥 − 6 1 + 𝑥 2
Solution
Solution
𝑑 𝑥ln 𝑥
𝑓 ′ (𝑥) = (𝑒 )
𝑑𝑥
𝑑 𝑑
= 𝑒 𝑥ln 𝑥 (𝑥 ln 𝑥) ( 𝑒 𝑢 , 𝑢 = 𝑥 ln 𝑥)
𝑑𝑥 4𝑥
1
= 𝑒 xln 𝑥 (ln 𝑥 + 𝑥 ⋅ )
𝑥
𝑥 (ln
=𝑥 𝑥 + 1). 𝑥>0
Checkpoint 6
2
Use logarithmic differentiation to differentiate 𝑓(𝑥) = 𝑥 𝑥 , 𝑥 > 0.
Solution
In Section 1.5 we defined the number 𝑒 as the base value for which the exponential
function 𝑦 = 𝑎 𝑥 has slope 1 when it crosses the 𝑦-axis at (0,1). Thus 𝑒 is the constant
that satisfies the equation
𝑒ℎ − 1
lim = ln 𝑒 = 1.
ℎ→0 ℎ
Theorem 7:
Proof
1
If 𝑓(𝑥) = ln 𝑥, then 𝑓 ′ (𝑥) = , so 𝑓 ′ (1) = 1. But, by the definition of derivative,
𝑥
lim (1 + 𝑥)1/𝑥 = 𝑒
𝑥→0
Important limits
𝑎ℎ − 1
lim = ln 𝑎.
ℎ→0 ℎ
In particular, when 𝑎 = 𝑒 we obtain
𝑒ℎ − 1
lim = ln 𝑒 = 1.
ℎ→0 ℎ