The change-of-base formula: proof and denominator conditions
Prove and apply the change-of-base formula, simplify products of logarithms, and check valid bases and nonzero denominators.
Content updated: October 22, 2026
Changing the base expresses the same logarithm using a more convenient base. The denominator in the formula must be nonzero; excluding base 1 is precisely what makes this division possible.
Objectives: prove and use the change-of-base formula; simplify products of logarithms; recognize invalid bases and denominators.
Prerequisites: the logarithm definition, the logarithmic power rule, and real powers.
On this page: Idea · Method · Examples · Practice · Further learning
1. The formula with all conditions
Let $a>0$, $a\ne1$, $b>0$, $b\ne1$, and $x>0$. Then
The numerator and denominator logarithms both have base $b$. The denominator is not 0, since $\log_b a=0$ is equivalent to the excluded case $a=1$. The bases $a,b$ need not both exceed 1: the formula remains valid if one or both lie between 0 and 1.
If $x=1$, the numerator is 0 and the denominator is still nonzero, so the formula gives 0, as required by the definition. If $a=1$ or $b=1$, do not use the formula; the base is invalid, rather than a case to be handled by canceling 0/0.
2. Proof and consequences
Set $y=\log_a x$. By definition, $x=a^y$. Taking base-$b$ logarithms of both sides yields $\log_b x=y\log_b a$. Divide by the nonzero denominator to obtain the formula. Each step is valid because the arguments are positive and both bases are valid.
Choosing $b=e$ or $b=10$ gives two frequently used forms:
For $a,b>0$, $a,b\ne1$, take $x=b$ or interchange the two bases to obtain $\log_a b=1/\log_b a$. If also $c>0$, then $\log_a b\cdot\log_b c=\log_a c$. The condition $c\ne1$ is unnecessary for this product identity; when $c=1$, both sides equal 0.
To change to the base $a^r$, require $r\ne0$, since $a^0=1$ cannot be a logarithmic base. Under that condition, $\log_{a^r}x=(1/r)\log_a x$. Before simplifying an expression with several logarithms, identify every base and denominator separately, rather than merely noticing similar symbols.
3. Worked examples
Example 1. Changing a base-2 logarithm to base 3
For $x>0$, change the base of $\log_2 x$ to 3:
Both bases 2 and 3 are valid, and $\log_3 2\ne0$. For example, at $x=8=2^3$, the numerator is $3\log_3 2$, so the quotient is 3, in agreement with $\log_2 8=3$.
Example 2. Rewriting as powers of a common base
Calculate $\log_4 8$. Changing to base 2 yields $(\log_2 8)/(\log_2 4)=3/2$. Changing instead to base 10 also gives $\log8/\log4=(3\log2)/(2\log2)=3/2$, since $\log2\ne0$.
Example 3. A chain of logarithmic bases
Calculate $\log_2 3\cdot\log_3 8$. Changing to base 2 yields $\log_3 8=\log_2 8/\log_2 3$, so the product is 3. No approximate evaluation of the individual factors is needed. The cancellation uses $\log_2 3\ne0$, which follows because 3 differs from 1.
4. Practice exercises
- Calculate $\log_{1/2}8$ by changing to base 2.
- Simplify $\log_2 5\cdot\log_5 7\cdot\log_7 16$.
- Is $\ln x/\ln1$ defined for $x>0$? Can it be regarded as $\log_1 x$?
Show hints and answers
-
$$\frac{\log_2 8}{\log_2(1/2)}=\frac3{-1}=-3.$$
- The bases 2,5,7 are valid; the chained product is $\log_2 16=4$.
- No: the denominator is $\ln1=0$. Base 1 also fails to define a logarithmic function, even at $x=1$.
5. Common mistakes
Do not interchange numerator and denominator. The two logarithms in a change-of-base quotient must have the same base. Do not divide by a logarithm equal to 0. When the base is a power, check that its exponent is nonzero before applying the formula.
Leave a Reply