A log­a­rithm answers the ques­tion "to what power must I raise this base to get that num­ber?" Log­a­rithms turn mul­ti­pli­ca­tion into addi­tion and pow­ers into mul­ti­pli­ca­tion, which is why they mat­ter so much. In this chap­ter they appear as a new kind of func­tion, f(x)=log⁡axf(x) = \log_a x, and to work with that func­tion you need the def­i­n­i­tion, the rea­sons behind the con­di­tions on the base, and the stan­dard laws. This les­son col­lects all three.

Log­a­rithms from pow­ers

Look at these pow­ers of 22 and read each one back­wards.

Power Read back­wards
20=12^0 = 1 00 is the log­a­rithm of 11 to the base 22: log⁡21=0\log_2 1 = 0
21=22^1 = 2 log⁡22=1\log_2 2 = 1
22=42^2 = 4 log⁡24=2\log_2 4 = 2
2−1=12\displaystyle 2^{-1} = \frac{1}{2} log⁡212=−1\displaystyle \log_2 \frac{1}{2} = -1
2−2=14\displaystyle 2^{-2} = \frac{1}{4} log⁡214=−2\displaystyle \log_2 \frac{1}{4} = -2

The log­a­rithm is the expo­nent. "log⁡24=2\log_2 4 = 2" says exactly the same thing as "22=42^2 = 4".

The def­i­n­i­tion

ax=N  ⟺  x=log⁡aNa^x = N \iff x = \log_a N

where a>0a > 0, a≠1a \neq 1, N>0N > 0 and x∈Rx \in \mathbb{R}. Here aa is called the base.

So the base lies in (0,1)∪(1,∞)=(0,∞)−{1}(0, 1) \cup (1, \infty) = (0, \infty) - \{1\}, the num­ber NN lies in (0,∞)(0, \infty), and the log­a­rithm xx can be any real num­ber in (−∞,∞)(-\infty, \infty).

Why the base has these con­di­tions

Each for­bid­den base leads to non­sense.

The base can­not be 00. We have 02=00^2 = 0 and also 03=00^3 = 0. If log⁡00\log_0 0 existed, it would have to equal both 22 and 33 at once, which is impos­si­ble. So a≠0a \neq 0.

The base can­not be 11. We have 12=11^2 = 1 and 13=11^3 = 1. Then log⁡11\log_1 1 would have to be 22 and 33 at the same time. So a≠1a \neq 1.

The base can­not be neg­a­tive. We have (−1)2=1(-1)^2 = 1 and (−1)4=1(-1)^4 = 1, so log⁡−11\log_{-1} 1 would have to be both 22 and 44. Worse, (−1)1/2(-1)^{1/2} is not even a real num­ber. So aa is never neg­a­tive.

That leaves a∈(0,1)∪(1,∞)a \in (0, 1) \cup (1, \infty). And since a pos­i­tive base raised to any real power is pos­i­tive, N=axN = a^x is always pos­i­tive: log­a­rithms of 00 and of neg­a­tive num­bers do not exist.

Exam­ple 1

Change between the two forms.

(a) 24=162^4 = 16 in log form is log⁡216=4\log_2 16 = 4.

(b) If log⁡2x=5\log_2 x = 5, then x=25=32x = 2^5 = 32.

(c) If log⁡5(x−1)=−1\log_5 (x - 1) = -1, then x−1=5−1=15\displaystyle x - 1 = 5^{-1} = \frac{1}{5}, so x=65\displaystyle x = \frac{6}{5}.

Exam­ple 2

Eval­u­ate (a) log⁡232\log_2 32 (b) log⁡1/525\log_{1/5} 25 (c) log⁡1/33\log_{1/3} 3 (d) log⁡39\log_3 9.

(a) 25=322^5 = 32, so log⁡232=5\log_2 32 = 5.

(b) (15)−2=(5−1)−2=52=25\displaystyle \left(\frac{1}{5}\right)^{-2} = (5^{-1})^{-2} = 5^2 = 25, so log⁡1/525=−2\log_{1/5} 25 = -2.

(c) (13)−1=3\displaystyle \left(\frac{1}{3}\right)^{-1} = 3, so log⁡1/33=−1\log_{1/3} 3 = -1.

(d) 32=93^2 = 9, so log⁡39=2\log_3 9 = 2.

The laws of log­a­rithms

In each law below, every base is pos­i­tive and not 11, and every num­ber whose log­a­rithm is taken is pos­i­tive.

1. log⁡a1=0\log_a 1 = 0, because a0=1a^0 = 1. For exam­ple, log⁡31=0\log_3 1 = 0. But log⁡11\log_1 1 and log⁡−11\log_{-1} 1 are unde­fined, because 11 and −1-1 are not allowed as bases.

2. log⁡aa=1\log_a a = 1, because a1=aa^1 = a. For exam­ple, log⁡22=1\log_2 2 = 1 and log⁡1/515=1\displaystyle \log_{1/5} \frac{1}{5} = 1.

3. Prod­uct law. log⁡a(mn)=log⁡am+log⁡an\log_a (mn) = \log_a m + \log_a n.

Proof. Let log⁡am=x\log_a m = x and log⁡an=y\log_a n = y. Then m=axm = a^x and n=ayn = a^y, so

mn=ax⋅ay=ax+ymn = a^x \cdot a^y = a^{x + y}

Read­ing this in log form, log⁡a(mn)=x+y=log⁡am+log⁡an\log_a (mn) = x + y = \log_a m + \log_a n.

4. Quo­tient law. log⁡amn=log⁡am−log⁡an\displaystyle \log_a \frac{m}{n} = \log_a m - \log_a n. Com­bin­ing laws 3 and 4,

log⁡amnpq=log⁡am+log⁡an−log⁡ap−log⁡aq\displaystyle \log_a \frac{mn}{pq} = \log_a m + \log_a n - \log_a p - \log_a q

5. Power law. log⁡bnam=mnlog⁡ba\displaystyle \log_{b^n} a^m = \frac{m}{n} \log_b a. Two spe­cial cases are used most:

log⁡bam=mlog⁡ba,log⁡bna=1nlog⁡ba\displaystyle \log_b a^m = m \log_b a, \qquad \log_{b^n} a = \frac{1}{n} \log_b a

6. log⁡ba=1log⁡ab\displaystyle \log_b a = \frac{1}{\log_a b}.

7. log⁡ba⋅log⁡ab=1\log_b a \cdot \log_a b = 1.

8. Chain law. log⁡ba⋅log⁡cb=log⁡ca\log_b a \cdot \log_c b = \log_c a. It extends to longer chains:

log⁡ba⋅log⁡cb⋅log⁡dc=log⁡da\log_b a \cdot \log_c b \cdot \log_d c = \log_d a

9. Change of base. log⁡ba=log⁡alog⁡b=log⁡xalog⁡xb\displaystyle \log_b a = \frac{\log a}{\log b} = \frac{\log_x a}{\log_x b}, for any allowed base xx.

Do not con­fuse this with the quo­tient law: log⁡alog⁡b\displaystyle \frac{\log a}{\log b} is not equal to log⁡ab\displaystyle \log \frac{a}{b}.

10. alog⁡aN=Na^{\log_a N} = N. For exam­ple, 2log⁡23=32^{\log_2 3} = 3. This is just the def­i­n­i­tion read in one line: log⁡aN\log_a N is the power that turns aa into NN.

11. alog⁡cb=blog⁡caa^{\log_c b} = b^{\log_c a}. For exam­ple, 2log⁡35=5log⁡322^{\log_3 5} = 5^{\log_3 2}. The base and the num­ber can swap places.

12. If log⁡am=log⁡an\log_a m = \log_a n, then m=nm = n.

When no base is writ­ten, as in log⁡a\log a, any fixed allowed base may be used (com­monly 1010); laws 9 and 11 hold whichever base it is.

Exam­ple 3

Eval­u­ate (a) log⁡381\log_3 81 (b) log⁡48\log_4 8 (c) log⁡23⋅log⁡38\log_2 3 \cdot \log_3 8.

(a) 34=813^4 = 81, so log⁡381=4\log_3 81 = 4.

(b) Write both num­bers as pow­ers of 22 and use law 5:

log⁡48=log⁡2223=32log⁡22=32\displaystyle \log_4 8 = \log_{2^2} 2^3 = \frac{3}{2} \log_2 2 = \frac{3}{2}

(c) By the chain law, log⁡23⋅log⁡38=log⁡28=3\log_2 3 \cdot \log_3 8 = \log_2 8 = 3.

Exam­ple 4

Sim­plify log⁡1050+log⁡102\log_{10} 50 + \log_{10} 2 and log⁡248−log⁡23\log_2 48 - \log_2 3.

By the prod­uct law, log⁡1050+log⁡102=log⁡10100=2\log_{10} 50 + \log_{10} 2 = \log_{10} 100 = 2.

By the quo­tient law, log⁡248−log⁡23=log⁡216=4\log_2 48 - \log_2 3 = \log_2 16 = 4.

Exam­ple 5

Show that 1log⁡26+1log⁡36=1\displaystyle \frac{1}{\log_2 6} + \frac{1}{\log_3 6} = 1.

By law 6, 1log⁡26=log⁡62\displaystyle \frac{1}{\log_2 6} = \log_6 2 and 1log⁡36=log⁡63\displaystyle \frac{1}{\log_3 6} = \log_6 3. Adding with the prod­uct law,

log⁡62+log⁡63=log⁡66=1\log_6 2 + \log_6 3 = \log_6 6 = 1

Prac­tice

  1. Write 35=2433^5 = 243 in log­a­rith­mic form.
  2. Write log⁡749=2\log_7 49 = 2 in expo­nen­tial form.
  3. Eval­u­ate log⁡264\log_2 64.
  4. Eval­u­ate log⁡1/28\log_{1/2} 8.
  5. Eval­u­ate log⁡927\log_9 27.
  6. If log⁡3(x+2)=2\log_3 (x + 2) = 2, find xx.
  7. Sim­plify log⁡64+log⁡69\log_6 4 + \log_6 9.
  8. Sim­plify log⁡575−log⁡53\log_5 75 - \log_5 3.
  9. Eval­u­ate log⁡35⋅log⁡59\log_3 5 \cdot \log_5 9.
  10. Eval­u­ate 5log⁡5125^{\log_5 12}.
  11. Eval­u­ate 1log⁡412+1log⁡312\displaystyle \frac{1}{\log_4 12} + \frac{1}{\log_3 12}.
  12. Explain why log⁡−24\log_{-2} 4 is not defined.

Answers

Show answers
  1. log⁡3243=5\log_3 243 = 5.
  2. 72=497^2 = 49.
  3. 26=642^6 = 64, so log⁡264=6\log_2 64 = 6.
  4. (12)−3=8\displaystyle \left(\frac{1}{2}\right)^{-3} = 8, so log⁡1/28=−3\log_{1/2} 8 = -3.
  5. log⁡3233=32log⁡33=32\displaystyle \log_{3^2} 3^3 = \frac{3}{2} \log_3 3 = \frac{3}{2}.
  6. x+2=32=9x + 2 = 3^2 = 9, so x=7x = 7.
  7. log⁡636=2\log_6 36 = 2.
  8. log⁡525=2\log_5 25 = 2.
  9. By the chain law, log⁡39=2\log_3 9 = 2.
  10. 1212, by law 10.
  11. log⁡124+log⁡123=log⁡1212=1\log_{12} 4 + \log_{12} 3 = \log_{12} 12 = 1.
  12. The base of a log­a­rithm must be pos­i­tive and not equal to 11; −2-2 is neg­a­tive.