QRCicon.gif (2722 bytes)

Mathematical and Technological Literacy I
Worksheet 2b:  Solving with Logarithms

Remember that exponential equations are in the form:

y = P(1+r)x

P is the initial value
r is the rate (and it can be either positive or negative)
x is time (years, minutes, hours, etc…)
 

Solving for time (using logarithms)

To solve for time, you can get an approximation by using Excel.  If you want to calculate an exact answer, you must use logarithms. 

There are many properties associated with logarithms.  We will focus on the following property:

 log ax = x * log a                     for a>0

This property is used to solve for the variable x, where x is the exponent. 

Problem 1

A Petri dish contains 100 bacteria cells.  The number of cells increases 5% every minute.  How long will it take for the number of cells in the dish to reach 3000? 

Solving without logarithms:

One way to solve this problem is to use excel.

 

Minutes

Number of Cells

0

100

1

 

2

 

3

 

4

 

5

 

If you continue the chart, you will find that after 69 minutes, there were 2898 cells and at 70 minutes, there were 3043 cells.  Obviously somewhere between minute 69 and 70, the number of cells reached 3000.  However, using logarithms we can get an exact answer.

Solving with logarithms:

Start with :                                                                  Y= P * (1 + r)X.

Fill the variables that you know.  To use logarithms, x must be your “unknown” quantity.

The equation for this situation is:                             3000 = 100 * (1+.05)X

We need to solve for x:

  Step 1:  divide both sides by 100               30 = (1+.05)X

Step 2:  take the log of both sides              log 30 = log (1+.05)X

Step 3:  bring the x down in front                 log 30 = x * log(1+.05)

Step 4:  divide by log (1+.05)                     

Enter the following into a cell in excel:                    =log(30)/log(1+.05)

to get 69.71

(Of course you may use a calculator.)

This tells us that at 69.71 minutes, there are 3000 cells. 

Problem 2

If you $100 deposited into a savings account grows at 3.4% compounded annually, how long will it take for your balance to double? 

Solving without logarithms:

One way to solve this problem is to use excel.

 

Years

Amount

0

100.00

1

 

2

 

3

 

4

 

5

 

If you continue the chart, you will find that after 20 years, there will be $195.17 in your account and after 21 years, there will be $201.80 in your account.  Obviously somewhere between years 20 and 21 the amount in your account will double from $100 to $200.  However, using logarithms we can get an exact answer.


Solving with logarithms:

Start with :                                                                  Y= P * (1 + r)X.

Fill the variables that you know.  To use logarithms, x must be your “unknown” quantity.

The equation for this situation is:                             200=100*(1+.034)X

We need to solve for x:

  Step 1:  divide both sides by 100               2 = (1+.034)X

Step 2:  take the log of both sides              log 2 = log(1+.034)X

Step 3:  bring the x down in front                 log 2 = x* log (1+.034)

Step 4:  divide by log (1+.034)                   

 

Enter the following into a cell in excel:                    =log(2)/log(1+.034)

to get 20.731 years

(Of course you may also use a calculator.)

This tells us that at there will be $200 in your account in 20.731 years or it means that will take 20.731 years for the money in your account to double. 

Problem 3 - Practice

Let’s revisit the bacteria situation above.  Assuming we allowed the bacteria population to reach 3000 then put in an antibiotic that killed the cells at a rate of 22.5% a minute, how long would it take for the population to decline to 60 cells?

Answer the problem using both Excel and Logarithms.  The exact answer (using logarithms) is 15.34775 minutes.