Unit 2 Topic 2.9

Logarithmic Expressions

see every function move

3 min readfreeNot practiced

Exponential functions answer the question "what is 252^5?". Often we need the reverse: "22 to what power is 3232?". The answer is a logarithm. This page defines logarithms, shows how to find exact values, introduces the common and natural logarithms, and explains logarithmic scales.

A logarithm is an exponent

For a base b>0b > 0 with b≠1b \ne 1 and a positive number cc:

logb⁡c=ameansba=c.\log_b c = a \quad \text{means} \quad b^a = c.

Read logb⁡c\log_b c as "log base bb of cc". It is the exponent that turns bb into cc. Because f(x)=bxf(x) = b^x is invertible, every positive cc comes from exactly one exponent, so this exponent is well defined.

Exponential formLogarithmic formIn words
25=322^5 = 32log2⁡32=5\log_2 32 = 522 needs the exponent 55 to make 3232
10−2=0.0110^{-2} = 0.01log⁡0.01=−2\log 0.01 = -2a number below 11 has a negative logarithm
70=17^0 = 1log7⁡1=0\log_7 1 = 0every base needs the exponent 00 to make 11
e1=ee^1 = eln⁡e=1\ln e = 1a base needs the exponent 11 to make itself

Finding exact values

Write the input as a power of the base. Then the logarithm is that power.

Worked example 1. Find log3⁡19\log_3 \frac{1}{9} and log4⁡8\log_4 8.

19=132=3−2\frac{1}{9} = \frac{1}{3^2} = 3^{-2}, so log3⁡19=−2\log_3 \frac{1}{9} = -2.

For log4⁡8\log_4 8, 88 is not a whole-number power of 44. Write both as powers of 22: 4=224 = 2^2 and 8=238 = 2^3. We need 4a=84^a = 8, that is 22a=232^{2a} = 2^3, so 2a=32a = 3 and log4⁡8=32\log_4 8 = \frac{3}{2}.

Worked example 2. Solve log2⁡x=7\log_2 x = 7.

Rewrite in exponential form: x=27=128x = 2^7 = 128.

Common and natural logarithms

Two bases are used so often that they have their own names and calculator keys.

  • The common logarithm has base 1010 and is written log⁡c\log c, with no base shown: log⁡1,000=3\log 1{,}000 = 3.
  • The natural logarithm has base e≈2.718e \approx 2.718 and is written ln⁡c\ln c: ln⁡e4=4\ln e^4 = 4 and ln⁡1=0\ln 1 = 0.

Mixing them up is a common calculator slip: log⁡50≈1.699\log 50 \approx 1.699 but ln⁡50≈3.912\ln 50 \approx 3.912.

Logarithms that are not whole numbers

Most logarithms are not whole numbers, but you can always say which two whole numbers they lie between.

Worked example 3. Between which consecutive integers is log3⁡50\log_3 50?

List powers of 33: 33=273^3 = 27 and 34=813^4 = 81. Since 27<50<8127 < 50 < 81, the exponent is between 33 and 44.

A calculator gives log3⁡50≈3.561\log_3 50 \approx 3.561, which agrees.

What a logarithm can and cannot take

With a positive base, every power bab^a is positive. So logb⁡c\log_b c exists only when c>0c > 0: log2⁡0\log_2 0 and log2⁡(−4)\log_2(-4) are undefined. The value of a logarithm, though, can be any real number, including 00 and negative numbers: log2⁡12=−1\log_2 \frac{1}{2} = -1.

Logarithmic scales

Some quantities span many powers of ten: sound intensity, the strength of ground shaking, the acidity of a solution, the number of users of an app. A logarithmic scale places each number at the distance given by its logarithm. Then 11, 1010, 100100 and 1,0001{,}000 are equally spaced, and each equal step multiplies by the same factor.

A number line on a logarithmic scale: 1, 10, 100, 1,000 and 10,000 equally spaced, with the values 50 and 2,000 marked.
Figure 1. On a logarithmic scale, 5050 sits at log⁡50≈1.7\log 50 \approx 1.7 steps from 11 and 2,0002{,}000 at log⁡2,000≈3.3\log 2{,}000 \approx 3.3 steps. LevlPrep original diagram.

Worked example 4. On a scale with reading M=log⁡AM = \log A, one reading is 66 and another is 44. Compare the amounts AA.

M=6M = 6 means A=106A = 10^6; M=4M = 4 means A=104A = 10^4.

The ratio is 106104=102=100\frac{10^6}{10^4} = 10^2 = 100. A difference of 22 on the scale is a factor of 100100, not of 22.

The rule to remember: on a logarithmic scale, differences in position stand for ratios of values.

Spot a mistake on this page?