NebulaNumerica

What a logarithm is

When an earthquake strikes, the news gives its strength as a number on the Richter scale, such as 5 or 7. Those numbers are logarithms. Each whole step up the scale means the ground shakes ten times as much, so a quake of magnitude 7 shakes a hundred times as much as one of magnitude 5. The scale doesn't count the shaking itself. It counts how many tens it takes to make it.

(The Richter scale is real-world background, and the app doesn't use it. For the strongest quakes, seismologists now use a newer scale, the moment magnitude, built in the same way.)

A logarithm is an exponent

The logarithm of a number is the exponent that gives the number. With base 10, it is written lg. Since 10 cubed equals 1000,

lg of 1000 equals 3

In the same way, lg of 10 equals 1 and lg of 100 equals 2. On the Richter scale, a quake that shakes 1000 times as much as the scale's reference quake, of magnitude 0, has magnitude 3.

A logarithm needn't be a whole number. lg 50 lies between 1 and 2, since 50 lies between 10 and 100. A calculator gives about 1.7. And a number below 1 has a negative logarithm, since 10 to the power minus 2 is 1 over 100:

lg of 1 over 100 equals minus 2

lg a is the exponent you put on 10 to get a.

Other bases

Any positive number other than 1 can be the base. The base is written low after log:

log base 2 of 8 equals 3

since 2 cubed equals 8. And log base 5 of 25 equals 2, since 5 squared equals 25. In general, a power of the base has its exponent as its logarithm:

log base b of b to the power k equals k

The most important base after 10 is the number e from e, and powers of e. Its logarithm is called the natural logarithm, written ln. Since e to the power 1 equals e,

ln of e equals 1

The values to know

Any number to the power 0 is 1. So 10 to the power 0 and e to the power 0 are both 1:

e to the power 0 equals 1

and, read the other way, the logarithm of 1 is always 0:

lg of 1 equals 0
ln of 1 equals 0

A useful habit is to check whether a logarithm in an exercise is of a power of its base: lg of 10000 is 4, and log base 3 of 9 is 2.

Only positive numbers

A power of 10 is always positive, however large or negative the exponent: 10 to the power minus 5 is a tiny positive number, not a negative one. So no exponent can give 0 or a negative number, and those have no logarithm. lg 0 and lg(−3) don't exist. That matters when solving equations, as in Undoing a power with a logarithm.

A logarithm is an exponent: lg 1000 = 3 because 10³ = 1000. The logarithm with base e is written ln, and only positive numbers have a logarithm.

Practise Exponentials and logarithms

How was this article?

0 of 2000