Lecture08_Exponential and Logarithmic Functions
Lecture08_Exponential and Logarithmic Functions
Department of Mathematics
Contents
1 Exponential and Logarithmic Functions 3
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.1 Properties of Exponents . . . . . . . . . . . . . . . . . . . . . 3
1.2 Exponential Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2.2 Exponential Graphs . . . . . . . . . . . . . . . . . . . . . . . 5
1.2.5 Properties of f (x) = bx . . . . . . . . . . . . . . . . . . . . . . 7
1.2.6 Translations of Exponential Graphs . . . . . . . . . . . . . . . 8
1.2.8 Application of Exponential Functions . . . . . . . . . . . . . . 10
1.2.9 Simple Interest . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2.10 Compound Interest . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2.14 Natural Exponential Function . . . . . . . . . . . . . . . . . . 12
1.2.19 Exponential Decay Problems . . . . . . . . . . . . . . . . . . . 15
1.2.23 Law of Exponential Growth . . . . . . . . . . . . . . . . . . . 16
1.3 Logarithmic Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1
1.3.3 Changing from Logarithmic to Exponential Form and Vice Versa 18
1.3.7 Properties of Logarithms . . . . . . . . . . . . . . . . . . . . . 20
1.3.9 Special Properties of Logarithms . . . . . . . . . . . . . . . . 21
1.3.13 Change of Base Property . . . . . . . . . . . . . . . . . . . . . 23
1.3.16 Domain of Logarithmic Functions . . . . . . . . . . . . . . . . 24
1.3.19 Graphs of Logarithmic Functions . . . . . . . . . . . . . . . . 25
1.3.21 Natural Logarithm (Base e) . . . . . . . . . . . . . . . . . . . 28
1.3.24 Solving Exponential and Logarithmic Equations . . . . . . . . 29
Page 2 of 33
1 Exponential and Logarithmic Functions
1.1 Introduction
So far we have only encountered functions of the form f (x) = xn , where n ∈ Z+ . For
example the quadratic function f (x) = x2 .
an = a
|×a×
{z· · · × a}
n−times
For example
23 = 2 × 2 × 2 = 8
(−4)2 = −4 × (−4) = 16
−42 = −(4 × 4) = −16.
(i) bn × bm = bn+m
(iii) (ab)n = an bn
n
a an
(iv) = n
b b
bn
(v) bn ÷ bm = = bn−m .
bm
(2) If b > 0 but b 6= 1, and if m and n are real numbers, then bn = bm if and only
if n = m.
Page 3 of 33
Solution:
To solve for x, we need to make sure that we have the same bases so that we can apply
Property 1.1.1 (2) above.
(i) Since
2x = 32
⇒ 2x = 25
⇒ x = 5.
(ii) Similarly
1
23x =
64
⇒ 2 = 64−1
3x
⇒ 23x = 2−6
⇒ 3x = −6
⇒ x = −2.
(22 )x = 32
⇒ (2)2x = 25
⇒ 2x = 5
5
⇒x= .
2
Page 4 of 33
x−4
1 1
(v) Here = , can be written as;
5 125
Example 1.2.3 Graph the following exponential functions on the same xy−plane:
x
x 1
(i) f (x) = 2 (ii) f (x) =
2
Solution:
x −2 −1 0 1 2 3
f (x) 0.25 0.5 1 2 4 8
x
1
(ii) And the table of values for f (x) = is;
2
x −3 −2 −1 0 1 2
f (x) 8 4 2 1 0.5 0.25
Page 5 of 33
Figure 1:
Note 1.2.4 The following properties of the graph of the exponential function
f (x) = 2x .
Page 6 of 33
1.2.5 Properties of f (x) = bx
For positive real numbers b 6= 1, the exponential function defined by f (x) = bx has
the following properties;
(i) The functions f is a one-to-one function it has the set of real numbers as its
domain and the set of positive real numbers as its range.
(ii) The graph of f is smooth, continuous curve with a y-intercept of (0, 1) and the
graph passes through (1, b).
(iv) If 0 < b < 1, f is a decreasing function and the graph of f is asymptotic to the
positive x-axis. [As x → −∞, f (x) → ∞, and as x → ∞, f (x) → 0]
See Figure 3 below:
Page 7 of 33
Figure 3: f (x) = bx , 0 < b < 1
(ii) The graph of f (x) = bx − c is the graph of f (x) = bx moved downwards c units
in the y-axis.
(iii) The graph of f (x) = bx+c is the graph of f (x) = bx moved c units to the left in
the x-axis.
(iv) The graph of f (x) = bx−c is the graph of f (x) = bx moved c units to the right
in the x-axis.
(v) The graph of f (x) = −bx is the graph of f (x) = bx reflected across the x-axis.
3
(i) Since the base is less than 1, we know that the graph of f is a decreasing
4
function. Thus, the graph is given by;
Page 8 of 33
Figure 4:
(ii) Since the base 2 is greater than 1. Then, f (x) = 2x+3 − 2 has an increasing
graph. Thus,
Figure 5:
Page 9 of 33
(iii) To sketch f (x) = −2x , we first sketch f (x) = 2x , which is an increasing function
and then reflect it across the x-axis.
Figure 6:
Page 10 of 33
where;
Example 1.2.11 Find the total amount accumulated into a bank account if an initial
sum of K1, 000 is invested for 2 years at a rate of 5% per annum.
Solution:
Here, the principal value is P = K1000, rate of interest r = 0.05 and time t = 2
years. Thus,
A = P (1 + r)t
= 1000(1 + 0.05)2
= K1102.5.
Example 1.2.12 What rate of interest is needed for an investment of K1000 to yield
K2000 in two years if interest is compounded annually?
Solution:
Here we are given the principal value to be K1000, the compound interest K2000 and
time 2 years. Thus,
A = P (1 + r)t
⇒ 2000 = 1000(1 + r)2
⇒ 2 = (1 + r)2
√
⇒1+r = 2
√
⇒r = 2−1
⇒ r = 0.41 or 41%.
Page 11 of 33
In the case where the interest is compounded more than once in a year, we use the
following formula; nt
r
A=P 1+
n
where n is the number of compounding periods in a year.
Example 1.2.13 (i) The amount of K7, 00 is invested for 5 years at 6% per an-
num compounded semi annually, produces;
Solution:
nt
r
A=P 1+
n
2×5
0.06
A = 700 1 +
2
= 700(1 + 0.03)10
= K940.74.
(ii) The amount of K7, 00 is invested for 5 years at 6% per annum compounded
quarterly. Calculate the cumulative amount (A).
Solution:
Here
nt
r
A=P 1+
n
4×5
0.06
= 700 1 +
4
20
= 700(1.015)
= K942.8.
Page 12 of 33
for large values of n, as shown below
n
1
n 1+ n
1 2
10 2.59374246
100 2.704813829
1, 000 2.716923932
100, 000 2.718268237
1, 000, 000 2.718280469
The value of e accurate to eight decimal places is e ≈ 2.71828183. And the exponential
function with e as the base is known as the natural exponential function.
Definition 1.2.16 (Natural Exponential Function) For all real numbers x, the
function defined by
f (x) = ex
is called the natural exponential function.
The graph of f (x) = ex is the same as that of f (x) = bx for b > 1 since e > 1. That
is ;
x f (x) = ex
−2 0.1
−1 0.4
0 1
1 2.7
Figure 7:
Page 13 of 33
We can now derive the formula for interest compounded continuously and indefinitely.
Since; nt
r
A=P 1+ (1)
n
Then as n gets larger Equation (1) becomes;
nt
r
A = lim P 1 +
n→∞ n
nt
r
= P lim 1 +
n→∞ n
rt× nr
r
= P lim 1 +
n→∞ n
n rt
1 r
= P lim 1 + n (2)
n→∞
r
n
Let m = , then Equation (2) becomes;
r
m rt
1
A = P lim 1 +
n→∞ m
| {z }
e
rt
A = Pe .
Note 1.2.17 The formula for compound interest for n compounding per year is given
by nt
r
A=P 1+
n
And that of continuous compounding is given by
A = P ert
Example 1.2.18 What amount will an account have after 2 years if K5, 000 is in-
vested at an annual rate of 8%
Solution:
Given that the principal value P = K5, 000, rate per year r = 0.08 in t = 2 year.
Then
Page 14 of 33
(i) Since there are 365 days in a year, then n = 365. Thus, the compound interest
is;
nt
r
A=P 1+
n
365×2
0.08
A = 5000 1 +
365
∴ A ≈ K5, 865.45.
10 2
1 5 1 200
Q = 200 = 200 = = 50 substance remaining.
2 2 4
20 4
1 5 1
Q = 200 = 200 = 12.5 substance remaining.
2 2
Page 15 of 33
Example 1.2.22 Barium-140 has a half-life of 13 days. If there are 500 mg of Bar-
ium initially, how many milligrams after
will remain?
Solution:
Here we have Qo = 500 mg and h = 13 days. Therefore,
t 26 2
1 h 1 13 1 1
Q = Qo = 500 = 500 = 500 × = 125 mg.
2 2 2 4
t 52 4
1 h 1 13 1 1
Q = Qo = 500 = 500 = 500 × = 13.25 mg.
2 2 2 16
t 100
1 h 1 13
Q = Qo = 500 mg.
2 2
Qt = Qo ekt
where;
Note 1.2.24 .
Page 16 of 33
Example 1.2.25 Cholera is an intestinal disease caused by a cholera bacterium that
multiplies exponentially by cell division as given approximately by
Qt = Qo e1.366t .
Solution:
Given that Q0 = 10, then;
f (x) = bx
y = bx
⇒ x = by
And so none of the previous methods learnt so far can be used to solve the equation
x = by for the exponent y. Thus, we now look at the definition of logarithms.
The notation logb x is read as ”the logarithm (or log) of x base b”. The function
defined by f (x) = logb x is called a logarithmic function with base b.
Remark 1.3.2 The function f (x) = logb x is the inverse of an exponential function
g(x) = bx .
Page 17 of 33
1.3.3 Changing from Logarithmic to Exponential Form and Vice Versa
The exponential form of the logarithmic function;
y = logb x is x = by .
x = by is y = logb x.
It is important to remember that the function f (x) = logb x is the inverse of the
function g(x) = bx . Thus, the composition of logarithmic and exponential functions
holds true. That is,
Let g(x) = bx and f (x) = logb x for all x > 0, b > 0 and b 6= 1, then
And
(f ◦ g)(x) = f (g(x)) = logb g(x) = logb bx = x.
Example 1.3.4 .
(i) Changing from logarithm form to exponential form, we use the definition that,
y = logb x if and only if by = x. Thus,
(a) 3 = log2 8 ⇐⇒ 23 = 8.
(b) 2 = log10 (x + 5) ⇐⇒ 102 = x + 5.
(c) loge x = 4 ⇐⇒ e4 = x.
(d) logb b3 = 3 ⇐⇒ b3 = b3 .
(ii) Changing from exponential form to logarithmic form, we use the definition that
by = x if and only if y = logb x. Thus,
Page 18 of 33
5
(c) 4 2 = 32 ⇐⇒ 52 = log4 32.
−3
1
(d) = 125 ⇐⇒ −3 = log 1 125.
5 5
Note 1.3.5 If the base of a logarithm is 10, it is usually omitted because this is called
a common base. Thus,
log10 x ≡ log x.
Solution:
4m = 64
⇒ 4m = 43
⇒m=3
∴ log4 64 = 3.
Since we have the same bases.
3 = 9x
⇒ (32 )x = 3
⇒ 32x = 31
⇒ 2x = 1
1
⇒x=
2
1
∴ log9 3 = .
2
(iii) Let m = log9 9
⇔ 9m = 91
⇒m=1
∴ log9 9 = 1.
Page 19 of 33
(iv) Let p = log5 5
⇔ 5p = 51
⇒p=1
∴ log5 5 = 1.
(v) Let x = log 1000
⇔ 10x = 1000
⇒ 10x = 103
⇒x=3
∴ log 1000 = 3
(vi) Let x = log2 23
⇔ 2x = 23
⇒x=3
∴ log2 23 = 3.
Page 20 of 33
1.3.9 Special Properties of Logarithms
(i) For any positive numbers b 6= 1, r, and s,
Proof:
Let logb r = x and logb s = y, then by definition of logarithms, it follows that
bx = r and by = s respectively. Thus,
r · s = bx × by = bx+y (3)
logb r · s = x + y. (4)
as required.
Proof:
Let x = logb r and y = logb s, then by definition of logarithms, we have bx = r
and by = s respectively. Dividing through x by y we have;
r bx
= y = bx−y
s b
which is in exponential form. Thus, changing to logarithmic form, we have;
r
logb = x − y. (5)
s
But x = logb r and y = logb s. Thus, Equation (5) becomes,
r
logb = logb r − logb s
s
as required.
(i) The function defined by f (x) = log10 x is called the common logarithmic function and is
written as f (x) = log x.
(ii) The function defined by f (x) = loge x is called the natural logarithmic function and is written
as f (x) = ln x.
Page 21 of 33
(iii) If r and b are positive numbers, where b 6= 1 and if x is any real number, then
logb rx = x logb r
Proof:
Let logb rx = z, then by definition of logarithm, it follows that
r x = bz
z
⇒ r = bx . (6)
Equation (6) is in exponential form. And so converting Equation (6) into loga-
rithmic form we obtain;
z
logb r = (7)
x
Multiplying Equation (7) throgh by x we get;
x logb r = z (8)
But z = logb rz . Thus, Equation (8) becomes
logb rz = x logb r
As required.
Example 1.3.10 Given that log2 5 = 2.3219 and log2 3 = 1.5850. Evaluate log2 15
Solution:
Since
log2 15 = log2 3 × 5
= log2 3 + log2 5
= 1.5850 + 2.3219
= 3.9069
q
x
Example 1.3.11 Express logb yz in terms of x, y and z.
Solution:
Since
r 12
x x
logb = logb
yz yz
1 x
= logb
2 yz
1
= logb x − logb yz
2
1
= logb x − (logb y + logb z)
2
1
= logb x − logb y − logb z
2
1 1 1
= logb x − logb y − logb z.
2 2 2
Page 22 of 33
Example 1.3.12 Express 2 logb x + 3 logb y − 4 logb z as one logarithm.
Solution:
Here
logb x
loga x =
logb a
Proof:
Let loga x = m if and only if
am = x (9)
Then taking logb on both sides of Equation (9) we get;
logb am = logb x
⇒ m logb a = logb x
logb x
⇒m= (10)
logb a
logb x
loga x =
logb a
as required.
Solution:
logb x
Since loga x = then
logb a
log 41
log3 41 = .
log 3
Proposition 1.3.15
1
loga x =
logx a
Page 23 of 33
Proof;
Let b = x, then the equation
logb x
loga x =
logb a
can be written as
logx x 1
loga x = = .
logx a logx a
Hence,
1
loga x = .
logx a
Example 1.3.18 Find the domain of each of the following logarithmic functions.
(ii) The solution set of |x + 2| > 0 consists of all real numbers x except x = −2.
Thus, the domain of f consists of all real numbers x 6= −2. In interval notation,
Domain: = − ∞, −2 ∪ − 2, ∞ .
x
(iii) Solving > 0 yields the set of all real numbers x between 0 and 8. Thus,
8−x
domain of f in interval notation is (0, 8).
Page 24 of 33
1.3.19 Graphs of Logarithmic Functions
Since the function f (x) = logb x is the inverse function of g(x) = bx , then the graph
of f (x) = logb x is a reflection of the graph g(x) = bx across the line y = x.
Figure 8:
Solution:
Page 25 of 33
(i) Method 1:
To graph f (x) = log3 x, we consider the equivalent exponential equation x = 3y .
Since this equation is solved for x, we choose values of y and calculate the
corresponding values of x as shown in the table of values below.
1 1
x = 3y 9 3
1 3 9
y −2 −1 0 1 2
Figure 9:
Method 2:
Since the function f (x) = log3 x is the inverse of g(x) = 3x . Then finding the
inverse of g(x) = 3x . Let y = 3x . Then
log3 y = log3 3x
= x log3 3
| {z }
1
⇒ x = log3 y
Interchanging x and y we get;
g −1 (x) = f (x) = log3 x.
Page 26 of 33
Thus, we first sketch the function g(x) = 3x and reflect it across the line y = x
to get the required graph of f (x) = log3 x.
Figure 10:
(ii) To sketch the graph of f (x) = log 2 x. We first sketch the exponential function;
3
x
2
g(x) =
3
and the reflect it across the line y = x, to get the graph of f (x) = log 2 x as
3
follows;
Page 27 of 33
Figure 11:
Note 1.3.22 All properties of logarithms stated before apply to natural logarithms.
That is;
(iii) e ln(x) = x
(v) ln rx = x ln(r)
Page 28 of 33
Example 1.3.23 Show that the functions y = ln x and y = ex are inverses of each
other.
Solution:
Let f (x) = ln x and g(x) = ex . If f and g are inverses of each other, then
Similarly
(g ◦ f )(x) = g(f (x)) = x (12)
Consider (11), since
(f ◦ g)(x) = f (g(x))
= f (ex )
= ln ex
= x.
Solution:
(i) Here
3x = 5
⇒ log 3x = log 5
⇒ x log 3 = log 5
log 5
⇒x= .
log 3
Page 29 of 33
(ii) Here
ex+3 = 5
⇒ ln ex+3 = ln (5)
⇒ (x + 3) |{z}
ln e = ln(5)
1
⇒ x + 3 = ln(5)
⇒ x = ln(5) − 3.
(iii) Here
23x−2 = 32x+1
⇒ log 23x−2 = log 32x+1
⇒ (3x − 2) log 2 = (2x + 1) log 3
⇒ 3x log 2 − 2 log 2 = 2x log 3 + log 3
⇒ 3x log 2 − 2x log 3 = log 3 + 2 log 2
⇒ x(3 log 2 − 2 log 3) = log 3 + 2 log 2
log 3 + 2 log 2
⇒x= .
3 log 2 − 2 log 3
(iv) Here
22x + 3(2x ) − 4 = 0
⇒ (2x )2 + 3(2x ) − 4 = 0 (13)
t2 + 3t − 4 = 4
⇒ (t + 4)(t − 1) = 0
⇒ t = −4 or t = 1.
2x = 1
⇒ 2x = 20
⇒ x = 0.
Page 30 of 33
(iii) log2 (x + 2) + log2 (2x − 1) = log2 x
But we know that the values of x ∈ R+ . Thus, we only need x = 20, since
x = −5 < 0 is discarded. Therefore, the solution set is {20}.
D = 12 − 4(1)(−1)
⇒ D = 5.
Page 31 of 33
Therefore;
√
−b ± D
x=
2a√
−1 ± 5
=
2√ √
−1 − 5 −1 + 5
⇒x= or x = .
2 2
√ √
−1 − 5 −1 + 5
Thus, solution set is , .
2 2
(iv) To solve; log3 x − 4 logx 3 + 3 = 0. Since
1
logx 3 =
log3 x
⇒ t2 − 4 + 3t = 0
⇒ t2 + 3t − 4 = 0
⇒ (t + 4)(t − 1) = 0
⇒ t = −4 or t = 1.
log3 x = −4
⇒ x = 3−4
1
⇒x= .
81
When t = 1, we have;
log3 x = 1
⇒ x = 31
⇒ x = 3.
1
Hence, the solution set is ,3 .
81
Page 32 of 33
Example 1.3.27 How long will it take K500 to double if it is invested at 8% com-
pounded quarterly?
Solution:
Here we are given r = 0.08, P = K500, A = K1000, n = 4, but t is unknown. Thus,
using the formula below; nt
r
A=P 1+ ,
n
we have;
4t
0.08
1000 = 500 1 +
4
4t
⇒ 2 = (1.02)
⇒ log 2 = log(1.02)4t
⇒ log 2 = 4t log(1.02)
log 2 ln(2)
⇒t= or t = .
4 log(1.02) 4 ln(1.02)
2
2
The next lecture will be on Trigonometry. God Bless You All!!!
Page 33 of 33