← All articles
mathlogarithmsexponentshistory of mathematicsSeptember 14, 20265 min read

What Is a Logarithm? The Scale That Turns Multiplication Into Addition

By the BrainSnail editorial team. How these articles are written and checked, and how to tell us when one is wrong.

Before calculators, a navigator who had to multiply two seven-digit numbers to fix a ship's position faced an hour of arithmetic and a real chance of error, and the invention that cut it to a minute was a table. Logarithms, published by a Scottish laird in 1614, replace multiplication with addition by recording, for every number, the power to which a fixed base must be raised to produce it. Laplace said they doubled the life of the astronomer. They are built into the scales for sound, earthquakes, acidity and the brightness of stars, and into the way the human senses work, and they are the inverse of the most important growth process in nature.

The definition

Ten to the power three is a thousand, so the logarithm of a thousand, to base ten, is three. That is the whole idea: the logarithm of a number is the exponent that the base needs to reach it. The log of a hundred is two, of ten is one, of one is zero, and of a tenth is minus one; the logs of the numbers in between are fractions, and log of 2 is about 0.301 because ten to the power 0.301 is 2. Any base works. Base two is used in computing, where the log of a number is roughly the number of bits needed to write it; base ten is used for scales of measurement; and the mathematicians' base is the number e, 2.71828, whose logarithm is called natural because it arises on its own in the calculus of growth.

Why multiplication becomes addition

Multiplying powers of the same base means adding the exponents: ten squared times ten cubed is ten to the fifth. Since every positive number is ten to some power, the same rule holds for any two numbers: the log of a product is the sum of the logs. To multiply 347 by 29, look up their logarithms, 2.540 and 1.462, add them to get 4.002, and look up which number has that logarithm, which is 10,050, near enough. Division becomes subtraction, and raising to a power becomes multiplying by the exponent, so a square root is half a logarithm. The slide rule, invented within a decade of the tables, is two rulers marked in logarithmic scale that add lengths, and engineers designed bridges, aircraft and the Saturn V with them until the pocket calculator arrived in the 1970s. The rules in brief:

  • log of a times b equals log a plus log b
  • log of a divided by b equals log a minus log b
  • log of a to the power n equals n times log a
  • log of the base itself is 1, and log of 1 is 0
  • Logs of numbers less than 1 are negative, and the log of zero does not exist

Napier and Briggs

John Napier, laird of Merchiston near Edinburgh, spent twenty years computing his tables by hand and published them in 1614 under a title that promised a wonderful canon of logarithms. His version used an awkward base, and Henry Briggs, professor of geometry in London, travelled to Scotland the following year, was so struck by the idea that he stood in silent admiration for a quarter of an hour by his own account, and proposed base ten. Briggs then calculated the logarithms of the numbers from 1 to 20,000 and 90,000 to 100,000 to fourteen decimal places, a labour that took years, and the gap was filled by a Dutch publisher. Kepler used the tables for his laws of planetary motion; navigators used them for three centuries; and the word itself is Napier's, from the Greek for ratio and number.

The scales

Many things people measure vary over such enormous ranges that a linear scale is useless, and a logarithmic one compresses them: each step on the scale is a multiplication rather than an addition. The decibel scale for sound rises by ten for every tenfold increase in intensity, so a 100-decibel concert is ten thousand million times the faintest audible sound. The Richter and moment magnitude scales for earthquakes step by a factor of about 32 in energy per unit. The pH scale steps by a factor of ten in hydrogen ion concentration, so lemon juice at pH 2 is a hundred thousand times as acidic as water at pH 7. Stellar magnitudes, the loudness of music, the sizes of computer files and the growth of an epidemic on a chart with a log axis, where a straight line means steady exponential growth, all use the same trick. The human senses are logarithmic too: perceived brightness and loudness rise with the log of the physical stimulus, which is why the scales feel natural.

The natural logarithm

The base that mathematics prefers has nothing to do with fingers. When a quantity grows at a rate proportional to its size, money at compound interest, bacteria in a dish, a population without limits, it follows the exponential function, e to the power of the growth rate times time, and the natural logarithm is what undoes it: it gives the time needed to reach a given size. Doubling time is the log of 2 over the rate, which is where the rule of 70 in finance comes from, since log 2 is about 0.69. In calculus the natural log is the function whose slope at every point is one over the point, which no other function manages, and it turns up in the entropy of physics, the information of a message, and the distribution of prime numbers, whose density near a large number n is about one over the natural log of n. A tool invented to save navigators arithmetic turned out to describe how growth itself is shaped.

The takeaway

A logarithm is the exponent to which a base must be raised to give a number, so that the log of a product is the sum of the logs, and multiplication, division and roots become addition, subtraction and division of tabulated values, which is what Napier and Briggs gave navigators and astronomers in the 1610s. Logarithmic scales compress vast ranges into manageable steps in decibels, earthquake magnitudes and pH, the senses work the same way, and the natural logarithm, to base e, is the inverse of exponential growth.

Practise this

Questions from Precalculus

Reading about something is not the same as being able to recall it. These are real questions from the Precalculus unit in our Math track, answers and explanations included. The unit has 120 in total across 21 steps.

  • Multiple choiceLevel 4

    1. What does sin^2(x) + cos^2(x) equal for any angle x?

    • 1correct
    • 0
    • 2
    • sin(2x)

    This is the Pythagorean identity, and it always equals 1.

  • Fact or fibLevel 4

    2. The natural logarithm, written ln, uses base e.

    Answer: True

    True, ln is the logarithm with base e, about 2.718.

  • Odd one outLevel 4

    3. Which expression is the odd one out because it is not a polynomial?

    • x^(1/2) + 3correct
    • 4x^3 - x
    • x^2 + 2x + 1
    • 7

    x^(1/2) + 3 has a fractional exponent, so it is not a polynomial; the others are.