A logarithm answers the question "to what power must I raise this base to get that number?" Logarithms turn multiplication into addition and powers into multiplication, which is why they matter so much. In this chapter they appear as a new kind of function, f(x)=logax, and to work with that function you need the definition, the reasons behind the conditions on the base, and the standard laws. This lesson collects all three.
Logarithms from powers#
Look at these powers of 2 and read each one backwards.
The logarithm is the exponent. "log24=2" says exactly the same thing as "22=4".
The definition#
ax=N⟺x=logaN
where a>0, a=1, N>0 and x∈R. Here a is called the base.
So the base lies in (0,1)∪(1,∞)=(0,∞)−{1}, the number N lies in (0,∞), and the logarithm x can be any real number in (−∞,∞).
Why the base has these conditions#
Each forbidden base leads to nonsense.
The base cannot be 0. We have 02=0 and also 03=0. If log00 existed, it would have to equal both 2 and 3 at once, which is impossible. So a=0.
The base cannot be 1. We have 12=1 and 13=1. Then log11 would have to be 2 and 3 at the same time. So a=1.
The base cannot be negative. We have (−1)2=1 and (−1)4=1, so log−11 would have to be both 2 and 4. Worse, (−1)1/2 is not even a real number. So a is never negative.
That leaves a∈(0,1)∪(1,∞). And since a positive base raised to any real power is positive, N=ax is always positive: logarithms of 0 and of negative numbers do not exist.
Example 1#
Change between the two forms.
(a) 24=16 in log form is log216=4.
(b) If log2x=5, then x=25=32.
(c) If log5(x−1)=−1, then x−1=5−1=51, so x=56.
Example 2#
Evaluate (a) log232 (b) log1/525 (c) log1/33 (d) log39.
(a) 25=32, so log232=5.
(b) (51)−2=(5−1)−2=52=25, so log1/525=−2.
(c) (31)−1=3, so log1/33=−1.
(d) 32=9, so log39=2.
The laws of logarithms#
In each law below, every base is positive and not 1, and every number whose logarithm is taken is positive.
1. loga1=0, because a0=1. For example, log31=0. But log11 and log−11 are undefined, because 1 and −1 are not allowed as bases.
2. logaa=1, because a1=a. For example, log22=1 and log1/551=1.
3. Product law. loga(mn)=logam+logan.
Proof. Let logam=x and logan=y. Then m=ax and n=ay, so
mn=ax⋅ay=ax+y
Reading this in log form, loga(mn)=x+y=logam+logan.
4. Quotient law. loganm=logam−logan. Combining laws 3 and 4,
logapqmn=logam+logan−logap−logaq
5. Power law. logbnam=nmlogba. Two special cases are used most:
logbam=mlogba,logbna=n1logba
6. logba=logab1.
7. logba⋅logab=1.
8. Chain law. logba⋅logcb=logca. It extends to longer chains:
logba⋅logcb⋅logdc=logda
9. Change of base. logba=logbloga=logxblogxa, for any allowed base x.
Do not confuse this with the quotient law: logbloga is not equal to logba.
10. alogaN=N. For example, 2log23=3. This is just the definition read in one line: logaN is the power that turns a into N.
11. alogcb=blogca. For example, 2log35=5log32. The base and the number can swap places.
12. If logam=logan, then m=n.
When no base is written, as in loga, any fixed allowed base may be used (commonly 10); laws 9 and 11 hold whichever base it is.
Example 3#
Evaluate (a) log381 (b) log48 (c) log23⋅log38.
(a) 34=81, so log381=4.
(b) Write both numbers as powers of 2 and use law 5:
log48=log2223=23log22=23
(c) By the chain law, log23⋅log38=log28=3.
Example 4#
Simplify log1050+log102 and log248−log23.
By the product law, log1050+log102=log10100=2.
By the quotient law, log248−log23=log216=4.
Example 5#
Show that log261+log361=1.
By law 6, log261=log62 and log361=log63. Adding with the product law,
log62+log63=log66=1
Practice#
- Write 35=243 in logarithmic form.
- Write log749=2 in exponential form.
- Evaluate log264.
- Evaluate log1/28.
- Evaluate log927.
- If log3(x+2)=2, find x.
- Simplify log64+log69.
- Simplify log575−log53.
- Evaluate log35⋅log59.
- Evaluate 5log512.
- Evaluate log4121+log3121.
- Explain why log−24 is not defined.
Answers#
Show answers
- log3243=5.
- 72=49.
- 26=64, so log264=6.
- (21)−3=8, so log1/28=−3.
- log3233=23log33=23.
- x+2=32=9, so x=7.
- log636=2.
- log525=2.
- By the chain law, log39=2.
- 12, by law 10.
- log124+log123=log1212=1.
- The base of a logarithm must be positive and not equal to 1; −2 is negative.