The Power in Numbers
A Logarithms Refresher

UNH Mathematics Center

Spring 2001

Hello, Calculus students! It seems to us that for many of you, the topic of logarithms is hard to swallow for two big reasons:

It's not hard to see why the definition of a logarithm has this backwards-looking flavor: the log functions are, after all, inverses to important exponential functions. But this is the very reason they are still indispensable!

They are the functions we need, (in combination with their companion exponential functions) to describe exponential growth.

Every situation in which the growth-rate of a quantity is proportional to its present level is described by an exponential function.

Example: Although a country's birth rate is affected by other factors as well, it will be proportional to the country's present population. Every year, there are more babies born in New York City than in Durham, New Hampshire. This is true of other kinds of ''populations'' as well: dollars, or fish, or bugs, or radioactivity. The logarithm and exponential functions describe them all.

1  Why use two systems of logarithms?

When the first tables of logarithms were worked out (to help 17th-century sailors do the calculations that kept them from being lost on the seas) they were based on a decimal number system. Of course. Count your fingers and you'll see why.

The really odd thing is, that nature loves logarithms too (and Mother Nature isn't biased in favor of the number 10). When you get a bit further into calculus you will see that the definite integral
ó
õ
x

1 
1
t
 dt
(which is a function of its variable upper limit x) has all the properties a logarithm function ought to have. It is the logarithm function that Nature provides. Its corresponding exponential function is exp(x), or ex; and its base is the ''natural number'' e @ 2.718.

The 10-based ''common'' logarithms and the natural logarithms follow the same rules. Their values are even proportional to each other.

It would actually be possible to construct a system of logarithms based on any positive number. Most people figure, the two we have will do nicely.

2  Defining logarithms

We'll start with the common, 10-based logarithms. The idea is to think of each number as a power of 10:

the number rewritten as a power the number's logarithm
1 100 0
10 101 1
100 102 2
1000 103 3
10000 104 4
1,000,000 106 6
0.01 10-2 -2
0.00001 10-5 -5

When a number is rewritten as a power of 10,
its common logarithm is just the exponent.

Of course, we don't have many numbers in our table yet! But you can already see a few things:

The first tables of logarithms were constructed by John Napier, working in his castle at Merchiston in Scotland. It took him a good 20 years, and it's all the more remarkable because he didn't even have exponential notation to work with.

Nevertheless Napier's ''wonderful reckoning numbers'' are exponents. There are other ways of calculating logarithms now, and by the time you study power series you'll see how it can be done. For the time being, try out a few of them with your calculator. You should be aware the logarithms are real numbers, which we can only approximate using decimals or other fractions. So it's only to be expected that the decimal numbers you'll see require some rounding before you recognize them as the numbers they really are!

2.1  A note about notation

The logarithm function is sometimes but not always written with parentheses around its argument (the number the function acts on). It's always OK to enclose the argument to a log function in parentheses.

One time you must use parentheses is if the argument to a logarithm function is a sum. If you want the logarithm of the number 2x+5, you must write ''log(2x+5).'' If you omit the parentheses and write ''log 2x+5'' everyone who reads your work will think you meant ''(log 2x) + 5'' or '' 5 + log 2x.'' Unfortunately, this will include the person who reads your quiz papers!

2.2  The calculus-based logarithmic function

The logarithmic function that arises naturally out of calculus is called ''ln.'' Its name is pronounced ''natural log'' or sometimes just ''log'' or by sounding out its spelling: ''el-en.''

Its inverse exponential function is ''exp'' and its value-variable is called either ''exp(x)'' or ''ex.'' You can pronounce it either as ''exp'' or ''e-to-the-x.'' The first notation, exp(x), reminds us that the number x is an argument to the function: the second notation, ex, reminds us of the rules of exponents that the function's values follow.

The number e itself, which is exp(1) or e1, is an irrational number: 2.718 is only an approximation to its value. It is fine to use the name e instead of the approximate decimal value: e is, in fact, the correct name for this particular number.

Leonhard Euler (pronounced ''oiler'') was the key figure in 18th century mathematics, and you will guess correctly that the numerical base of the natural logarithms is still called e in his honor.

All the ''rules'' of logarithms are the same, whether we use 10 as a base (common logarithms) or e as a base (natural logarithms). The systems are even proportional!

3  Here are the Rules.

log(xy) = log(x) + log(y)        ln(xy) = ln(x) + ln(y)
log(x/y) = log(x) - log(y) ln(x/y) = ln(x) - ln(y)
log(xy) = y·log(x) ln(xy) = y·ln(x)
10x·10y = 10x+y ex·ey = ex+y
10x/10y = 10x-y ex/ey = ex-y
(10x)y = 10xy (ex)y = exy
log(1) = log(100) = 0 ln(1) = ln(e0) = 0
10logx = x = log(10x) elnx = x = ln(ex)

4  Using the logarithm and exponential functions

The key to using these functions is to remember how good they are at undoing each other:

10logx = x = log(10x) elnx = x = ln(ex)
which is to say, applying first one and then the other (in either order) to a number returns the original number!

Example: The equation
y = 6ln x + 1
gives y ''in terms of x'' - meaning that y is written as an expression whose only variable is x.

Suppose we want to revise it, so that x is given in terms of y. (That is, we want to solve the equation for x.) We begin by solving it for ln x:
ln x = y-1
6

Now we apply the natural exponential function (we choose the natural exponential function instead of the tens-power one, because it's the companion function to the natural logarithm):
exp(ln x ) = x = exp( y-1
6
)

Example: Using a log function is the way to get ''at'' a variable that's part of an exponent:
y = 50·102x.
Let's say we need to find the value of x when y = 450.

We would first solve for the exponential expression:
102x = y
50
= 450
50
= 9

Now we would use a logarithm function to undo the effect of the tens-power exponential function. Either the common or the natural log function will work, but here it seems in the spirit of things to use the common logarithm:
log(102x) = 2x = log(9)
We also know something about the logarithm of a square (it's on the third line of the section on The Rules); and because 9 is the square of 3 we know that log 9 = log 32 = 2log 3.


2x = log(9) = 2log(3) = 2(0.47712)

x = 0.47712

Example: Suppose that the quantity q(t) of some substance depends on the time, t, and that the dependence is observed to be
q(t) = 400 e0.15t
with the time measured in hours. This is a very typical ''model'' of exponential growth, so it's good to be familiar with it.

5  Some Problems

Working the problems is always the best way to learn mathematics!

  1. Use the (abbreviated) table of common logarithm values
    number common log
    2 0.30103
    3 0.47712
    5 0.69897
    7 0.84510
    9 0.95424
    11 1.04139
    to evaluate:

  2. Use the properties of the logarithm function to break apart the expression ln[(504x2)/((y+1)3)] into its simplest components. (That includes factoring 504! It's divisible by 8.)

  3. In our example of exponential growth, someone in some lab somewhere must have observed the substance carefully enough to come up with the model q(t) = 400e0.15t. How do you suppose it was done?

    Apply the natural log function to q(t) = 400ekt. You will get a linear expression for ln q(t). Explain how you could graph this linear expression to find k.

  4. A model for exponential decay (the opposite of exponential growth) might be
    q(t) = 650 e-0.07t
    where q(t) is measured in grams and t in hours. You can tell that this model describes decay rather than growth because of the negative coefficient -0.07 in the exponent. Radioactive decay is described by models like this.

    (In radioactive decay, the material at hand doesn't go away: rather, it becomes non-radioactive. A radioactive isotope of carbon might, for instance, be converting itself into a non-radioactive isotope. We'll let the chemists explain all that.)

    1. How much radioactive material was present at the start of the discussion?
    2. After 3 hours, how much material is still radioactive?
    3. What is the half-life of the substance?

  5. We have put $2500 in a bank account that pays 5 percent interest at the end of each year.
    1. What will the account balance be at the end of the first year? What is the balance, as a percent of the original $2500? (It will surely be over 100%.)
    2. The years go by, and we have almost forgotten the bank account, although it is still earning 5 percent interest at the end of each year. Suppose that at the beginning of the 10th year the balance in this account is N dollars. Write an expression for its value at the end of the 10th year.
    3. How much is in the account at the end of ten years?
    4. It occurs to us that the bank balance is growing exponentially. Can we rewrite 2500(1.05t) in the ''usual'' exponential form
      2500ekt
      for some number k?
    5. How long does it take for the money in this account to triple?

You can check your answers and then return to this page with your browser's back button.


File translated from TEX by TTH, version 2.72.
On 21 Mar 2001, 16:58.