Virtual University Lecture 20
Virtual University Lecture 20
Lecture # 20
Derivatives of Logarithmic and Exponential Functions and Inverse functions and their
derivatives
• Derivative of the logarithmic function f ( x) = log b ( x)
• Derivative of the Natural log functions f ( x) = ln( x)
• Logarithmic Differentiation
• Derivatives of Irrational powers of x
• Derivatives of Exponential functions f ( x) = a x
• Inverse functions
• Derivatives of Inverse Functions
=y f=
( x) log b ( x)
Recall the Logarithm of a real number. Let x, b be real, and an unknown real number y.
What should y be so that if you raise y to b, you get x.
That is b y = x
This is denoted as= y f=( x) log b ( x)
b is called the base.
The equation above is read as “log base b of x is y .We want to find the derivative of the log function.
Before we do that, here are some formulas we will need that follow from the properties of log
functions. You can refer to them in section 7.1 of your text.
Theorem 7.1.1
Let's apply the derivative on both sides and use its definition to get
1
=
e lim(1 + x) x ∴ e ≈ 2.71
x →0
dy d log b ( x + h) − log b ( x)
= = [log b ( x)] lim
dx dx h →0 h
1 x+h
= lim log b
h →0 h
x
1 h
= lim log b 1 +
h →0 h
x
1
= lim log b (1 + v)
v → 0 vx
Example
d
Find ln( x 2 + 1)
dx
d 1 d
ln( x 2 + 1)
= ⋅ [ x 2 + 1]
dx ( x + 1) dx
2
1 2x
= ⋅=
2x
( x + 1)
2
( x + 1)
2
Example
d x 2 sin( x)
ln
dx 1 + x
d d 1
= 1 + x
ln[ x 2 sin( x)] − ln = 2 ln( x) + ln(sin x) − ln(1 + x)
dx dx 2
2 cos( x) 1
= + −
x sin( x) 2(1 + x)
Example
x 2 . 3 7 x − 14
y=
(1 + x 2 ) 4
Apply ln to both sides and simplify the right side using ln
properties
x 2 . 3 7 x − 14 1
ln y= ln = 2 ln x + ln(7 x − 14) − 4 ln(1 + x )
2
(1 + x )
2 4
3
Differentiating both sides w. r. t. x gives
7
1 dy 2 8x
= + 3 −
y dx x 7 x − 14 1 + x 2
7
dy 2 8x
⇒ = + 3 − ⋅ y
dx x 7 x − 14 1 + x 2
7
dy 2 3 8 x x 2 . 3 7 x − 14
=+ − ⋅
dx x 7 x − 14 1 + x 2 (1 + x 2 ) 4
Derivatives of Irrational powers of x
Remember that we proved the power rule for positive integers, then for all integers, then for rational
numbers?
Now we prove it for all REAL numbers by proving it for the remaining type of real numbers,
namely the irrationals.
Power Rule
d r
x = r ⋅ x r −1
dx
We will use ln to prove that the power rule holds for any real number r
Let y = x r , r any real number
Proceed by differentiating this function using ln
=
ln y ln= x r r ln x
d d
[ln y ] = [r ln x]
dx dx
1 dy r
=
y dx x
dy r r
= ⋅ y = ⋅ x r = r ⋅ x r −1
dx x x
Derivatives of Exponential functions f ( x) = b x
=
Now we want to find the derivative of the function y f=
( x) b x
To do so, we will use logarithmic differentiation on y = b x
=
ln y ln= b x x ln b
d d
[ln y ] = [ x ln b]
dx dx
1 dy
= ln b
y dx
dy
=⋅ y ln b = b x ⋅ ln b
dx
d x
So b= b x ⋅ ln b
dx
In general
d u du
[b ] =bu ⋅ ln b ⋅
dx dx
If b = e
d x
e =e x ⋅ ln e =e x
dx
In general
d u du du
[e ] =eu ⋅ ln e ⋅ =eu ⋅
dx dx dx
Inverse Functions
We have talked about functions.
One way of thinking about functions was to think of a function as a process that does something to
an input and then throws out an output.
So this way, when we put in a real number x, it comes out as some new number y, after some
ACTION has taken place.
Now that question is, that is there another ACTION, that undoes the first action?
If f is a function that performs a certain action on x, is there a function g that undoes what f does?
Sometimes there is and sometime not. When there is a function g undoes what f does, then we say
that g is an inverse function of f.
Here is how to determine if two given function are inverses of each other or not.
Definition 7.4.1
Example
1
=f ( x) 2=
x and g ( x) x
2
are inverse functions. This is obvious, but we can use def 7.4.1
1
f (= =
g ( x)) 2( x) x
2
1
g(= f ( x)) = (2 x) x
2
Inverses don’t always exists for a given function.
There are conditions for it.
Most important one is that a function must be ONE to ONE to have an inverse.
Do you recall what One to One is??
Its when a function does not have two values for the same x value in the domain. Review this.
The inverse function to a function f is usually denoted as f −1 read as “f inverse” and
=y f −1 ( x) ⇒ =x f ( y)
dy dx
Then =( f −1 ) '( x) ⇒ = f '( y ) = f '( f −1 ( x))
dx dy
Plugging these values into the theorem we get a simpler formula
dy 1
=
dx dx
dy