Sub topic 12
Change of Base, Reciprocal, and Chain Identities
This chapter assumes you know the definition of a logarithm and the product, quotient, and power laws. Recall that \(\log_b x\) means the exponent applied to \(b\) to produce \(x\):
\[ \log_b x = y \quad \Longleftrightarrow \quad b^y=x \]
The base must be positive and different from \(1\), and the argument \(x\) must be positive.
The change-of-base formula
A calculator may provide buttons for \(\log_{10}\) and \(\ln\), but not for every base. The change-of-base formula rewrites a logarithm using any convenient base \(k\):
\[ \logb x=\frac{\logk x}{\log_k b} \]
Common choices are \(k=10\) or \(k=e\), where \(\ln x=\log_e x\). Therefore,
\[ \log_b x=\frac{\ln x}{\ln b} \]
For example,
\[ \log_5 7=\frac{\ln 7}{\ln 5} \]
The formula follows by setting \(y=\logb x\). Then \(b^y=x\). Taking \(\logk\) of both sides gives \(y\logk b=\logk x\), so \(y=\frac{\logk x}{\logk b}\).
import math
b, x = 5.0, 7.0
direct = math.log(x, b)
changed = math.log(x) / math.log(b)
assert math.isclose(direct, changed)
print(changed)Reciprocal identity
Swapping the base and argument produces a reciprocal:
\[ \logb x=\frac{1}{\logx b} \]
For instance,
\[ \log2 8=3 \quad\text{and}\quad \log8 2=\frac13 \]
Using change of base explains this directly:
\[ \logx b=\frac{\ln b}{\ln x} =\frac{1}{\frac{\ln x}{\ln b}} =\frac{1}{\logb x} \]
This identity is useful when the reversed logarithm is easier to combine with another expression.
Chain identity
A sequence of logarithms can collapse when adjacent bases match:
\[ \loga b \cdot \logb c=\log_a c \]
For example,
\[ \log2 3\cdot\log3 16=\log_2 16=4 \]
The middle terms cancel under change of base:
\[ \frac{\ln 3}{\ln 2}\cdot\frac{\ln 16}{\ln 3} =\frac{\ln 16}{\ln 2} \]
More generally,
\[ \loga b\cdot\logb c\cdot\logc d=\loga d \]
The chain works only when the argument of one logarithm is the base of the next.
Choosing an efficient method
| Expression | Useful identity | Result |
|---|---|---|
| \(\log_7 12\) | Change of base | \(\frac{\ln 12}{\ln 7}\) |
| \(\log_3 5\) and \(\log_5 9\) | Chain identity | \(\log_3 9=2\) |
| \(\log_4 11\) reversed | Reciprocal identity | \(\log_{11}4=\frac{1}{\log_4 11}\) |
Check that every base is valid and every argument is positive before applying an identity.
Exercise
Simplify log2(5) × log5(7) × log_7(32).
Show answer
Apply the chain identity: log_2(32) = 5.