NebulaNumerica

The laws of logarithms

Logarithms were invented about 400 years ago for one practical reason: they turn multiplying, which is slow by hand, into adding, which is quick. For more than 300 years, engineers, navigators and students multiplied with a tool built on that idea.

The slide rule

A slide rule is a ruler with a second ruler that slides along it. (It is history, not something the app needs, but it shows the laws of logarithms at work.) Its numbers aren't evenly spaced. The distance from the 1 at the start to a number is that number's logarithm: 2 sits about 0.30 of the way along, since lg 2 is about 0.30; 3 sits at 0.48; and 10 at the very end, since lg 10 is 1.

To multiply 2 by 3, slide the upper rule until its 1 is right above the 2 on the lower rule. Then find 3 on the upper rule, and read the number below it on the lower rule: 6.

1 2 3 4 5 6 10 1 2 3 4 5 6 10 lg 2 lg 3 lg 6

The lengths lg 2 and lg 3 are laid end to end, so together they reach lg 6. Adding the logarithms multiplied the numbers. Slide rules were in every engineer's pocket until pocket calculators took over in the 1970s.

The three laws

Why does it work? Write two positive numbers as powers of 10: a equals 10 to the power m and b equals 10 to the power n, so that m equals lg of a and n equals lg of b. Multiplying adds the exponents, 10 to the power m times 10 to the power n equals 10 to the power the quantity m plus n, so the logarithm of the product is m plus n:

lg of a b equals lg of a plus lg of b

Dividing subtracts the exponents, so

lg of a over b equals lg of a minus lg of b

And a to the power k is 10 to the power m to the power k, which is 10 to the power k m, so a power comes down in front as a factor:

lg of a to the power k equals k times lg of a

The same three laws hold for ln and for any other base, since the argument only used the rules for powers.

The logarithm of a product is the sum of the logarithms, of a quotient their difference, and of a power the exponent times the logarithm.

Both ways

Read from left to right, the laws split a logarithm up. Read from right to left, they join logarithms with the same base into one, which often gives a value you know:

lg of 2 plus lg of 50 equals lg of 100

which is 2. And

log base 3 of 63 minus log base 3 of 7 equals log base 3 of 9

which is 2, since 3 squared equals 9. In the app, select one logarithm to split it, or two with the same base to join them.

With letters, splitting lets like terms meet. In 2 ln of x plus ln of x cubed, the power comes down to give 3 ln of x, and then

2 ln of x plus 3 ln of x equals 5 ln of x

A number in front can also go up as a power, the third law read backwards. That undoes an e to the power:

e to the power 3 ln of 4 equals e to the power ln of 4 cubed

which is 4 cubed, or 64, as in Undoing a power with a logarithm.

The common slips

  • There is no law for a sum. lg of the quantity a plus b can't be split. For example, lg of the quantity 10 plus 10 is lg 20, about 1.3, but lg of 10 plus lg of 10 is 2.
  • A product inside becomes a sum outside, not a product. lg of a b is lg of a plus lg of b, not lg of a times lg of b.
  • The power comes down as a factor. lg of a cubed is 3 lg of a, not lg of a cubed.
  • A number in front goes up as a power, not inside as a factor. 3 lg of a is lg of a cubed, not lg of 3 a.

Logarithms turn multiplying into adding, dividing into subtracting, and powers into factors. Sums inside a logarithm stay as they are.

Practise Exponentials and logarithms

How was this article?

0 of 2000