Exponential and Logarithmic Functions
Exponential and Logarithmic Functions
This unit defines and investigates exponential and logarithmic functions. We motivate ex-
ponential functions by their “similarity” to monomials as well as their wide variety of appli-
cation. We introduce logarithmic functions as the inverse functions of exponential functions
and exploit our previous knowledge of inverse functions to investigate these functions. In
particular, we use this inverse relationship for the purpose of solving exponential and loga-
rithmic equations
Objectives
Terms
• exponential function
• logarithmic function
163
164
Definition 8.1.1. The exponential function f with base a is f (x) = ax , where a > 0,
a 6= 1, x ∈ R. The domain of f is R, and the range is (0, ∞). (0 itself is not in the range of
f .)
Example 8.1.2. Consider f (x) = 2x . We will create a table of values for x and f (x), and then
sketch a graph of f.
x f (x)
1
−3 8
1
−2 4
1
−1 2
0 1
1 2
2 4
3 8
10
x
5 2
-10 -5 5 10
-5
-10
10
-x
2 5
-10 -5 5 10
-5
-10
1 x
is the reflection of the graph of y = ax across the y-axis.
3. The graph of g(x) = a
Naturally, a larger value of a will cause the graph to rise more rapidly. For purposes of
comparison, we show below the graphs of f (x) = 2x , 3x , and 10x .
10 x
10
x
3
5
x
2
-10 -5 5 10
-5
-10
We may also transform these graphs according to the same principles we use to transform
other graphs.
Example 8.1.4. f (x) = 3x+1 − 2 has the same graph as y = 3x , but is shifted one unit left
and two units down.
166
10
x
3
5
-10 -5 5 10
x+1
3 -2 -5
-10
Exponential functions are important because of their wide application in both business
and the sciences.
Example 8.1.5. Interest. Suppose you invest P dollars at an annual interest rate of r
(expressed as a decimal), and interest is compounded n times per year. Let A(t) denote your
account balance after t years have elapsed. Find a closed formula for A(t) in terms of P, r, n,
and t.
Solution. First, since r is an annual rate, the rate for a single compounding period is
r r
n
. (For example, if interest is compounded monthly, then your rate for a month is 12 .)
Initially, your account holds P dollars. After one compounding period, you add to this
interest in the amount of nr (P ), so that your balance is
1 r r
A = P + (P ) = P 1 + .
n n n
This is your beginning balance for the next period. (We use t = n1 since one period out of n
has elapsed.)
The amount of money at the beginning of the period is irrelevant to the above compu-
r
tation: if you begin the period with x dollars, you end the period with 1 + n x dollars.
Therefore, since you begin the second period with P 1 + nr dollars, you end it with
2 r r r 2
A =P 1+ 1+ =P 1+
n n n n
dollars.
This is what you begin the third compounding period with, so you end the third com-
pounding period with
3 r 2 r r 3
A =P 1+ 1+ =P 1+
n n n n
dollars.
Notice that in each case, theexponent on 1 + nr is n times the argument of A. For
Example 8.1.6. Suppose $1000 is invested at 8.2% for 5 years. Find the account balance if
it is compounded annually, quarterly,monthly, and daily.
r nt
Solution: Recall that A(t) = P 1 + , where P is the amount invested, r is the
n
interest rate (as a decimal), t is time elapsed in years, and n is the number of compounding
periods per year. Thus, we have P = 1000, r = 0.082 and t = 5 with n varying in each case.
Annual compounding means once per year, so we have n = 1, and we get
A(5) = 1000(1 + 0.082)5 = 1000(1.082)5 ≈ 1482.98 dollars.
Quarterly compounding means four times per year, and we get
4(5)
0.082
A(5) = 1000 1 + ≈ 1500.58 dollars.
4
Monthly compounding means 12 times per year, and we get
12(5)
0.082
A(5) = 1000 1 + ≈ 1504.72 dollars.
12
Finally, daily compounding means 365 times per year, so we get
365(5)
0.082
A(5) = 1000 1 + ≈ 1506.75 dollars.
365
It is reasonable that the interest grows more rapidly when the compounding is more
frequent. What is perhaps surprising is that compounding annually versus compounding
daily made less than $25 difference over the course of five years. Just to satisfy our curiosity,
let’s see how much difference it makes if we let interest accrue for 25 years.
Compounding annually: A(25) = 1000(1.082)25 ≈ 7172.68 dollars.
365(25)
0.082
Compounding daily: A(25) = 1000 1 + ≈ 7766.11 dollars.
365
Now the difference is nearly $600.
Example 8.1.7. Radioactive decay. Let A(t) be the amount in grams of a radioactive
substance. Let A0 be the initial amount (the amount at t = 0), so that A(0) = A0 . Let k be
the half-life (the time it takes for half of the substance to decay). After one half-life, we have
1 1 1 1
A(k) = 2 A0 . After two half-lives, we have A(2k) = 2 2 A0 = 4 A0 . Notice that it doesn’t
matter how much you start with, after a half-life elapses, you have exactly half that much
left. After t years have gone by, kt half-lives have gone by. For example, if the half-life is 4
years, then after three years, 34 of a half-life has elapsed. Thus we have
t/k
1
A(t) = A0 .
2
Example 8.1.8. Suppose that a certain material has a half life of 25 years, and there are
1
A(t) = 10( )t/25
2
grams remaining after t years. Find the initial amount and the amount after 80 years.
168
Solution: The initial amount is 10g, as we can read directly off of the formula for A(t).
Alternatively, “initial amount” means the amount when no time has gone by, at t = 0,
so we can simply compute A(0) = 10(1/2)0 = 10 grams. Thus, after 80 years, we have
80/25
1
A(80) = 10 ≈ 1.088 grams left.
2
Exercises
Use your calculator to approximate each of the following to the nearest ten-thousandth,
when possible.
√ √
2 − 2
1. (2.3)5 6. (−3) 2
11. 3
√
2. (1.4)−2 2
7. −3
√ 7
3. (3.18)2.35 8. 100 π
12. 5
2
√
4. ( 2)−3 9. −1003π
√ 3 1 −10
5. ( π)−4 10. (5000) 25 13. 9
Sketch the graph of each exponential function, and explicitly evaluate each function at least
four values of x.
x
14. f (x) = 31 18. f (x) = π x
22. Use the graphs of f (x) = 3x and g(x) = 4x to solve the inequality 3x < 4x .
x x x 1 x
23. Use the graphs f (x) = 31 and g(x) = 41 to solve the inequality 14 ≤
3
.
24. Compute the value of an account of $12,000 after four years if the interest rate is 7%
and is compounded
25. Compute the interest earned on a CD of $1500 after 18 months if the interest rate is
8% and is compounded monthly.
26. Compute the interest earned on an investment of $5000 after 18 months if the interest
rate is 8.25% and is compounded daily.
169
27. If you had $5,000 to invest for 4 years with the goal of greatest return on your invest-
ment, would you rather invest in an account paying
28. Many credit cards have interest rates of around 19%. Compute the interest on a
balance of $1000 after one year if the interest is compounded daily. (Assume that you
do not make any payments; if you paid enough in the previous month, some cards will
allow you to skip payments.)
29. A certain radioactive substance has a half-life of 1200 years. If a sample of the substance
is 1000 grams, how much of the substance will be left in 10,000 years?
Definition 8.2.1. The logarithmic function g with base a is the inverse of the function
f (x) = ax for a > 0, a 6= 1. We write g(x) = loga (x). That is,
The domain of loga is (0, ∞), and the range is (−∞, ∞).
One way to think about logarithms is to note that the number loga (x) answers the
question, “To what power must one raise a to get x?”
Example 8.2.2. Using the definition above, we see that
Note that the domain of the function loga (x) is the range of the function ax , and the range
of loga (x) is the domain of ax . We will sometimes write loga x for loga (x). Also, the symbol
loga represents a function, while loga (x) represents a number; they are two entirely different
kinds of objects. This is a somewhat subtle difference that may seem unimportant; however,
if you take the time to understand it, it will help you avoid some serious computational
errors. (See the unit on functions for more detail.)
Finally, since the functions ax and loga (x) are inverse functions, if we compose them, we
get the identity function. Thus,
This is just the definition of inverse functions, but these identities are extremely important
and will be essential when we begin solving equations.
Example 8.2.3. We have that
1. log2 (2x ) = x,
2. loga (a3 ) = 3,
The graph of loga (x) is not too hard to find since we already have graphs for exponential
functions ax ; we need only reflect the graph of ax across the line y = x. We may, as always,
manipulate the graphs according to principles we have discussed. Thus, below, the graph of
log10 (x − 1) is just the graph of log10 (x) shifted to the right 1 unit.
Example 8.2.4.
10 10 10
7.5 7.5 7.5
5 5 5
2.5 2.5 2.5
Proof. We are already familiar with the properties of exponential functions; our task is to
prove the properties of logarithmic functions.
1. To what power must we raise a to get 1? We raise a to the zero power: a0 = 1. Thus
loga (1) = 0.
2. To what power must we raise a to get a? We raise a to the first power: a1 = a. Thus
loga (a) = 1.
This is a template for the way these proofs go: we must rewrite our logarithm state-
ments in terms of exponentials.
1
Example 8.2.10. Condense the logarithmic expression 2
log10 (x) + 3 log10 (x + 1).
Solution:
1 1
log10 (x) + 3 log10 (x + 1) = log10 (x 2 ) + log10 (x + 1)3
2 √
= log10 ( x · (x + 1)3 ).
It is perhaps worth noting that there are no formulas for rewriting a logarithm of a sum
or difference.
Exercises
Compute each logarithm.
1
1. log8 (512) 3. log5 (625) 5. log6 36
2. log 1 (27)
3
4. log2 (165 ) 6. log10 (0.00001)
19. log2 21
14. log5 (2x)
20. log7 xy
15. log6 x3
2z
2
(x−4)3
16. log3 (5xy) 21. log3 2x(x+1) 4
1
17. log5 (x(x + 1)3 )
22. log2 x
174
24. log5 (z) − log5 (y) 29. log2 (3x) − log2 (x + 3) + log2 (x)
26. −4 log3 (2x) 31. 2 log10 (3x + 2y) − 2 log10 (6x + 4y)
3
32. log6 (x2 ) − log6 (2x) + log6 x2
27. 2
log7 (x − 5)
If loga (10) ≈ 2.3026 and loga (8) ≈ 2.0794, estimate the following:
34. loga 45
36. loga (1.25) 38. loga (6.4)
39. Use the graphs f (x) = log3 x and g(x) = log4 x to solve the inequality log3 x < log4 x.
40. Use the graphs f (x) = log 1 (x) and g(x) = log 1 (x) to solve the inequality log 1 (x) ≤
3 4 4
log 1 (x).
3
When you encounter e in your reading or in exercises, just remember that it is a symbol
we use to indicate a specific, very special number, in the same way we use π to represent a
specific, very special number.
You will need to use your calculatorx to graph it or evaluate it. One interesting fact is
that as x grows infinitely large, 1 + x1 comes arbitrarily close to e. This is explored more
fully in an exercise.
10
7.5
5
2.5
-10 -5 5 10
-2.5
-5
-7.5
-10
f (x) = ex
1. e3 ≈ 20.08553692
1 √
2. e 2 = e ≈ 1.648721271
3
3. 2
(eπ ) ≈ 34.71103895
4. e−2 ≈ .1353352832
Definition 8.3.4. The natural logarithm function is defined by f (x) = loge x for x > 0.
It is usually written ln x. Its graph is given below.
176
10
7.5
5
2.5
-10 -5 5 10
-2.5
-5
-7.5
-10
f (x) = ln x
Of course, the natural logarithm obeys the same laws as the other logarithm functions.
We have merely singled out a special base.
Example 8.3.5. Evaluate each of the following.
1 1
1. ln e
= loge e
= −1
Definition 8.3.6. The common logarithm function is given by f (x) = log10 x for x > 0.
It is usually written simply as log x.
2. log 100 = 2.
1
3. log 1000 = −3
Your calculator is probably only set up to do logarithms to the bases 10 and e. What do
we do if we need to compute a logarithm to another base? Somehow, we must express our
logarithms in either base e or base 10. The theorem below tells us how to do this.
Theorem 8.3.8 (Change of Base Formula). Let a, b, x be positive real numbers with
logb x
a, b 6= 1. Then loga x = .
logb a
177
logb x = logb ay
= y logb a
= (loga x)(logb a).
logb x
Therefore, since logb x = (loga x)(logb a), we have loga x = .
logb a
Example 8.3.9. Approximate log5 12.
Solution: We have a = 5 and x = 12. We will use b = 10; that is, we will convert this
log 12
to a base 10 logarithm: log5 12 = ≈ 1.5440.
log 5
We could have chosen to convert this to base e, in which case we would have found
ln 12
log5 12 = ≈ 1.5440, as before.
ln 5
Note that the natural logarithm is not the same as the common logarithm, but either
may be used in the change of base formula given above.
Exercises
Evaluate each logarithm. (Use your calculator as necessary to approximate the values.)
3. ln 13 7. log1/3 42
17. ln 1e
12. ln x3
ex
13. log(5x2 y) 18. ln 2x
2
(x−4)3
14. ln(12x4 ) 19. log 2x(x+1) 4
1
15. log(x(x + 1)3 )
20. ln x
178
1. log3 (4x − 7) = 2
2. 2 log5 x = log5 9
3. 3x+1 = 81
4. 4x − 2x − 12 = 0
5. 5x−2 = 33x+2
Solution:
1.
log3 (4x − 7) = 2 Given
3log3 (4x−7) = 32 Apply f (x) = 3x to both sides
4x − 7 = 9 Inverse Functions
4x = 16 Add 7 to both sides
x = 4 Divide by 4 on both sides
Check that x = 4 is a solution.
2.
2 log5 x = log5 9 Given
log5 x2 = log5 9 Property of Logarithms
2
5log5 x = 5log5 9 Apply f (x) = 5x to both sides
x2 = 9 Inverse Functions
x = ±3
However, a solution must solve the original equation, and x = −3 does not. Remember
that the domain of any logarithm is (0, ∞), so loga (−3) does not make sense for any
a. You should check that x = 3 is a solution.
3.
log3 (3x+1 ) = log3 (81) 26187(l)0.972873(u)1.94942(t)-0.644498(i)0.972873(o)-2Td
180
4. This one looks very difficult at first, but if we rewrite it cleverly as (2x )2 − 2x − 12 = 0,
then we can recognize it as a disguised quadratic.
4x − 2x − 12 = 0 Given
(2 ) − 2x − 12
x 2
= 0 4x = (22 )x = 22x = 2x2 = (2x )2
z 2 − z − 12 = 0 Substitute z = 2x
(z − 4)(z + 3) = 0 Factor
z−4=0 or z+3=0 Zero Product Theorem
z=4 or z = −3 Add equals to equals
2x = 4 or 2x = −3 Substitute z = 2x
x=2 Inspection
Note that since the range of ax is (0, ∞) for any a, 2x = −3 is not possible. Check
that x = 2 is a solution.
5. Up until now, we chose the base for the logarithm to use by seeing what the base on
the exponentials was; this time, however, we have two different bases! Should we apply
log5 to both sides, or log3 ? Actually, it doesn’t matter what base we decide to use.
(Why?) For convenience, we will take the natural logarithm of both sides.
ln 52 + ln 32
x = Divide on both sides
ln 5 − 3 ln 3
ln(25 · 9)
x = Properties of Logarithms
ln 5 − ln 27
ln 225
x = 5
Properties of Logarithms
ln 27
x ≈ −3.2116 Calculator approximation
2. Exponentiate both sides. (That is, raise both sides to the power which is the base of
the logarithms you’re dealing with, or a convenient base if the problem involves more
than one base.)
7x = e2 Inverse Functions
e2
x = 7
Divide by 7
2. log2 (x + 5) − log2 (x − 2) = 3
Solution:
Check this.
3. ln x + ln(2 − x) = 0.
182
Solution:
ln x + ln(2 − x) = 0 Given
ln(x(2 − x)) = 0 Property of Logarithms
2x − x2 = e0 Exponentiate both sides
2x − x2 = 1 e0 = 1
2
−x + 2x − 1 = 0 Subtract 1, Summand Permutation
x2 − 2x + 1 = 0 Symmetry of equality
(x − 1)2 = 0 Factor
(x − 1) = 0 Zero Product Theorem
x = 1 Add 1 to both sides
Example 8.4.3. Carbon 14 is a radioactive isotope of carbon 12, with a half-life of about 5700
years. When an organism dies, its carbon 14 is at the same level as that of the environment,
but then it begins to decay. We can determine an object’s age by knowing the percentage
of carbon-14 that remains. (This actually involves some big, not necessarily very good,
assumptions that we will not go into here.) We know from section 8.1 that
t/5700
1
A(t) = A0 ,
2
where A(t) is the amount of carbon 14 remaining after t years, and A(0) is the amount of
carbon 14 present at time 0 (when the organism died).
Example 8.4.4. Charcoal from an ancient tree that was burned during a volcanic eruption
has only 45% of the standard amount of carbon 14. When did the volcano erupt?
t/5700
We know that A(t) = A0 12 . We also know that A(t) = 0.45A0 , although we don’t
know what t is. (Note that 0.45A0 is 45% of A0 .) Thus
1 t/5700
A(t) = A0 2
Given
Exercises
Solve each exponential equation. After finding an exact solution, give an approximation to
the nearest thousandths.
12x
1. 3x+2 = 27
.08
7. 1 + =2
12
2. 23x+1 = 17
3. 5−x/2 = 125 1000 1
8. =
1 + ex 2
4. 1 + ex = 13
9. 36x − 3 · 6x = −2
5. e3x+2 = 5
6. 3ex+2 = 75 10. 42x+1 = 5x−4
Solve each logarithmic equation. After finding an exact solution, give an approximation to
the nearest thousandth.
11. ln x = 7.2 16. log2 (x) + log2 (x + 2) = 4
21. An amateur archeologist claims to have discovered a dinosaur fossil that is only 3000
years old. It contains very little carbon-14; the best you can tell, it has less than
0.01% of the normal amount. (Your instruments are very crude.) What do you tell
the archeologist, and why?
22. A skin coat has only 39% of the normal amount of carbon-14. How long ago was the
animal killed to make the coat?
23. How long will it take to produce $10,000 from a $7,000 investment at 8% compounded
monthly?
24. What interest rate, compounded monthly, will produce $10,000 from a $7,000 invest-
ment in 5 years?
184