## Solve Exponentials for Time: Logarithms

Earlier, we found that since Olympia, WA had a population of 245 thousand in 2008 and had been growing at 3% per year, the population could be modeled by the equation

P­n = (1+0.03)n (245,000), or equivalently, P­n = 245,000(1.03)n.

Using this equation, we were able to predict the population in the future.

Suppose we wanted to know when the population of Olympia would reach 400 thousand.   Since we are looking for the year n when the population will be 400 thousand, we would need to solve the equation

400,000 = 245,000(1.03)n                   dividing both sides by 245,000 gives

1.6327 = 1.03n

One approach to this problem would be to create a table of values, or to use technology to draw a graph to estimate the solution.

From the graph, we can estimate that the solution will be around 16 to 17 years after 2008 (2024 to 2025). This is pretty good, but we’d really like to have an algebraic tool to answer this question. To do that, we need to introduce a new function that will undo exponentials, similar to how a square root undoes a square. For exponentials, the function we need is called a logarithm. It is the inverse of the exponential, meaning it undoes the exponential. While there is a whole family of logarithms with different bases, we will focus on the common log, which is based on the exponential 10x.

Common Logarithm

The common logarithm, written log(x), undoes the exponential 10x

This means that log(10x) = x, and likewise 10log(x) = x

This also means the statement 10a = b is equivalent to the statement log(b) = a

log(x) is read as “log of x”, and means “the logarithm of the value x”. It is important to note that this is not multiplication – the log doesn’t mean anything by itself, just like √ doesn’t mean anything by itself; it has to be applied to a number.

### Example 9

Evaluate each of the following

a) log(100)          b) log(1000)            c) log(10000)          d) log(1/100)                 e) log(1)

a) log(100) can be written as log(102). Since the log undoes the exponential, log(102) = 2

b) log(1000) = log(103) = 3

c) log(10000) = log(104) = 4

d) Recall that ${{x}^{-n}}=\frac{1}{{{x}^{n}}}$.   $\log\left(\frac{1}{100}\right)=\log\left({{10}^{-2}}\right)=-2$

e) Recall that x0 = 1.   log(1) = log(100) = 0

It is helpful to note that from the first three parts of the previous example that the number we’re taking the log of has to get 10 times bigger for the log to increase in value by 1.

Of course, most numbers cannot be written as a nice simple power of 10. For those numbers, we can evaluate the log using a scientific calculator with a log button.

### Example 10

Evaluate log(300)

Using a calculator, log(300) is approximately 2.477121

With an equation, just like we can add a number to both sides, multiply both sides by a number, or square both sides, we can also take the logarithm of both sides of the equation and end up with an equivalent equation. This will allow us to solve some simple equations.

### Example 11

a) Solve 10x = 1000                 b) Solve 10x = 3                      c) Solve 2(10x) = 8

a) Taking the log of both sides gives log(10x) = log(1000)

Since the log undoes the exponential, log(10x) = x. Similarly log(1000) = log(103) = 3.

The equation simplifies then to x = 3.

b) Taking the log of both sides gives log(10x) = log(3).

On the left side, log(10x) = x, so x = log(3). We can approximate this value with a calculator. x ≈ 0.477

c) Here we would first want to isolate the exponential by dividing both sides of the equation by 2, giving

10x = 4.

Now we can take the log of both sides, giving log(10x) = log(4), which simplifies to

x = log(4) ≈ 0.602

This approach allows us to solve exponential equations with powers of 10, but what about problems like 2 = 1.03n from earlier, which have a base of 1.03? For that, we need the exponent property for logs.

Properties of Logs: Exponent Property

$\log\left({{A}^{r}}\right)=r\log\left(A\right)$

To show why this is true, we offer a proof.

Since the logarithm and exponential undo each other, ${{10}^{\logA}}=A$.

So ${{A}^{r}}={{\left({{10}^{\logA}}\right)}^{r}}$

Utilizing the exponential rule that states ${{\left({{x}^{a}}\right)}^{b}}={{x}^{ab}}$,

${{A}^{r}}={{\left({{10}^{\logA}}\right)}^{r}}={{10}^{r\logA}}$

So then $\log\left({{A}^{r}}\right)=\log\left({{10}^{r\logA}}\right)$

Again utilizing the property that the log undoes the exponential on the right side yields the result

$\log\left({{A}^{r}}\right)=r\logA$

### Example 12

Rewrite log(25) using the exponent property for logs

log(25) = log(52) = 2log(5)

This property will finally allow us to answer our original question.

Solving exponential equations with logarithms

1.     Isolate the exponential. In other words, get it by itself on one side of the equation. This usually involves dividing by a number multiplying it.

2.     Take the log of both sides of the equation.

3.     Use the exponent property of logs to rewrite the exponential with the variable exponent multiplying the logarithm.

4.     Divide as needed to solve for the variable.

### Example 13

If Olympia is growing according to the equation, P­n = 245(1.03)n, where n is years after 2008, and the population is measured in thousands. Find when the population will be 400 thousand.

We need to solve the equation

400 = 245(1.03)n                     Begin by dividing both sides by 245 to isolate the exponential

1.633 = 1.03n                          Now take the log of both sides

log(1.633) = log(1.03n)            Use the exponent property of logs on the right side

log(1.633)= n log(1.03)           Now we can divide by log(1.03)

$\frac{\log(1.633)}{\log(1.03)}=n$                       We can approximate this value on a calculator

n ≈ 16.591

Alternatively, after applying the exponent property of logs on the right side, we could have evaluated the logarithms to decimal approximations and completed our calculations using those approximations, as you’ll see in the next example. While the final answer may come out slightly differently, as long as we keep enough significant values during calculation, our answer will be close enough for most purposes.

### Example 14

Polluted water is passed through a series of filters. Each filter removes 90% of the remaining impurities from the water. If you have 10 million particles of pollutant per gallon originally, how many filters would the water need to be passed through to reduce the pollutant to 500 particles per gallon?

In this problem, our “population” is the number of particles of pollutant per gallon. The initial pollutant is 10 million particles per gallon, so P0 = 10,000,000. Instead of changing with time, the pollutant changes with the number of filters, so n will represent the number of filters the water passes through.

Also, since the amount of pollutant is decreasing with each filter instead of increasing, our “growth” rate will be negative, indicating that the population is decreasing instead of increasing, so r = -0.90.

We can then write the explicit equation for the pollutant:

Pn = 10,000,000(1 – 0.90)n = 10,000,000(0.10)n

To solve the question of how many filters are needed to lower the pollutant to 500 particles per gallon, we can set Pn equal to 500, and solve for n.

500 = 10,000,000(0.10)n                     Divide both sides by 10,000,000

0.00005 = 0.10n                                  Take the log of both sides

log(0.00005) = log(0.10n)                    Use the exponent property of logs on the right side

log(0.00005) = n log(0.10)                  Evaluate the logarithms to a decimal approximation

-4.301 = n (-1)                                    Divide by -1, the value multiplying n

4.301 = n

It would take about 4.301 filters. Of course, since we probably can’t install 0.3 filters, we would need to use 5 filters to bring the pollutant below the desired level.

### Try it Now 4

India had a population in 2008 of about 1.14 billion people. The population is growing by about 1.34% each year. If this trend continues, when will India’s population reach 1.2 billion?