Differentiation of Exp, Log and Trig Functions
Differentiation of Exp, Log and Trig Functions
Proof:
Using the definition of derivative we have:
f (x + h) − f (x)
f ′ (x) = lim
h→0 h
ax+h − ax
= lim
h→0 h
ax ah − ax
= lim
h→0 h
(ah − 1)
= ax lim
h→0 h
= f ′ (0) · ax
Recall from a previous lecture that the motivation for the definition of e ≈ 2.771828 · · · stems
from the fact that the slope of the tangent line of e x at x = 0 is equal to 1. That is:
Slope of e x at x = 0
If f (x) = e x , then f ′ (0) = 1.
Derivative of e x Rule: (e x )′ = e x
Derivatives of logarithms
1
Logarithmic Functions: If f (x) = loga x, then f ′ (x) = .
x ln a
Proof:
Rather than using the definition of derivative as before (it gets complicated if you do), we
will use implicit differentiation along with other derivative rules that we previously proved.
Let y = loga x so that
ay = x.
Then differentiating implicitly and using the derivative of an exponential formula, we have:
dy
ay (ln a) = 1.
dx
dy
Solving for dx
gives:
dy 1
=
dx ay ln a
1
=
x ln a
Example
Find the derivative of y = ln(cos x).
= − tan x
Example
Use the chain rule and definition of absolute value to prove:
d 1 d f ′ (x)
ln |x| = and ln |f (x)| = .
dx x dx f (x)
1
Therefore, f ′ (x) = x
for all x ̸= 0.
The second formula is a direct application of the chain rule.
sin(x + h) − sin x
= lim
h→0 h
= sin x · 0 + cos x · 1
= cos x
sin x cos x − 1
Recall: lim = 1 and lim =0
x→0 x x→0 x