sciandu
Mathematics

Mathematics

Logarithms

The reverse question to the power: how many times must I multiply to get there?

What you need first

You know that 23=82^3 = 8. But what if the question runs the other way: with which does 22 turn into 88? This reversal of taking a power is the logarithm. It answers exactly the questions that are often the more interesting ones in everyday life: how many doublings lie between 11 and 10241024? Across how many are we talking here?

The reverse question

The logarithm logb(x)\log_b(x) asks: with which exponent does the base bb turn into the number xx? Because 23=82^3 = 8, we have log2(8)=3\log_2(8) = 3. The base bb sits small below, the number xx in the bracket, and out comes the exponent we seek. The base is always positive and never 11, and xx has to be greater than 00: a power of a positive base is never 00 and never negative. Taking a power and taking a logarithm are two sides of the same relation, they undo each other.

logb(x)=yby=x\log_b(x) = y \quad\Longleftrightarrow\quad b^{\,y} = x
Both sides say the same thing: on the left the exponent is what you ask for, on the right it already sits in the power.
Function machine
x4
4
· 2 + 1
9
f(4) = 9
Try it: the logarithm is the machine that returns the matching exponent for its input.

The laws of logarithms

Logarithms turn multiplication into addition, that was once their purpose in calculation. A product inside the bracket becomes the sum of two logarithms: logb(xy)=logb(x)+logb(y)\log_b(x \cdot y) = \log_b(x) + \log_b(y). A power inside the bracket becomes the factor in front: logb(xn)=nlogb(x)\log_b(x^n) = n \cdot \log_b(x). So a big multiplication shrinks to a comfortable addition.

logb(xy)=logb(x)+logb(y)logb(xn)=nlogb(x)\log_b(x \cdot y) = \log_b(x) + \log_b(y) \qquad \log_b(x^n) = n \cdot \log_b(x)
A special case worth remembering: logb(1)=0\log_b(1) = 0, because b0=1b^0 = 1.

The base ten logarithm

The base 1010, the common logarithm, is used especially often. For powers of ten it simply counts the zeros: log10(1000)=3\log_{10}(1000) = 3, because 10001000 has three zeros and 103=100010^3 = 1000. Scales like earthquake magnitude or the rest on exactly this: one step on the scale stands for a factor of 1010, for an earthquake ten times the deflection on the seismometer. The logarithm makes such huge spans manageable again.

Exercises

0 of 6 solved

Time to try it yourself. You can't break anything, every attempt counts.

What is log2(8)\log_2(8)?

Compute log10(1000)\log_{10}(1000).

Compute log2(16)\log_2(16).

The logarithm is the reverse of : it looks for the matching exponent.

Compute log5(25)\log_5(25).

Match each logarithm to its value.

log10(10)\log_{10}(10)
log2(4)\log_2(4)
log2(8)\log_2(8)
log10(10000)\log_{10}(10000)

Where this leads