01 / 21
\(b\)
\(c\)

Change of Base

Learn how to rewrite any logarithm in terms of a more convenient base: unlock your calculator and simplify complex expressions.

College Algebra

What Is a Logarithm?

A logarithm answers the question: "To what power must I raise the base to get this number?" The expression \(\log_b(x) = y\) means exactly \(b^y = x\).

\(b\) : Base
The number being raised to a power. Must be positive and \(\neq 1\).
\(x\) : Argument
The number inside the log. Must be positive.
\(y\) : Result
The exponent that the base must be raised to.

The Common Bases

Most calculators only have two logarithm buttons. These correspond to the two most widely used bases in mathematics and science.

\(\log(x)\)
Common logarithm: base 10. Used in pH, decibels, and Richter scale.
\(\ln(x)\)
Natural logarithm: base \(e \approx 2.718\). Used in calculus, growth, and finance.

Why Change the Base?

1
Calculator evaluation: Convert any log to base 10 or base \(e\) so you can compute a decimal value.
2
Simplification: Rewrite expressions with mixed bases into a single, unified base for easier algebra.
3
Graphing: Plot \(y = \log_b(x)\) on technology that only understands \(\ln\) or \(\log\).
4
Solving equations: Isolate a variable trapped inside a logarithm of an unusual base.

The Change of Base Formula

You can choose any new base \(c\). The two most practical choices are \(c = 10\) (common log) and \(c = e\) (natural log):

Using \(\log\)
\(\displaystyle \log_b(a) = \frac{\log(a)}{\log(b)}\)
Using \(\ln\)
\(\displaystyle \log_b(a) = \frac{\ln(a)}{\ln(b)}\)

Why Does It Work?

1
Let \(y = \log_b(a)\). By definition, this means \(b^y = a\).
2
Take \(\log_c\) of both sides: \(\log_c(b^y) = \log_c(a)\).
3
Apply the power rule: \(y \cdot \log_c(b) = \log_c(a)\).
4
Solve for \(y\): \(\displaystyle y = \frac{\log_c(a)}{\log_c(b)}\). Done!

Change of Base vs Log Properties

Change of Base Log Properties
Purpose Convert between different bases Expand or condense same-base expressions
Formula \(\dfrac{\log_c(a)}{\log_c(b)}\) Product, quotient, power rules
When to use Calculator evaluation, mixed bases Simplifying, solving within one base
Example \(\log_5(17) = \dfrac{\ln 17}{\ln 5}\) \(\log(2 \cdot 5) = \log 2 + \log 5\)

Step-by-Step Approach

1
Identify the logarithm \(\log_b(a)\). Note the base \(b\) and the argument \(a\).
2
Choose a new base \(c\). Use \(c = 10\) for \(\log\) or \(c = e\) for \(\ln\): whichever your calculator or problem requires.
3
Apply the formula: Write \(\displaystyle \frac{\log_c(a)}{\log_c(b)}\). The argument goes in the numerator, the base in the denominator.
4
Evaluate or simplify. Punch into a calculator for a decimal, or simplify algebraically.

Example 1: Evaluate \(\log_5(17)\)

Find the decimal value of \(\log_5(17)\) using a calculator.

1
Apply change of base with \(c = 10\): \(\displaystyle \log_5(17) = \frac{\log(17)}{\log(5)}\)
2
Compute: \(\log(17) \approx 1.2304\) and \(\log(5) \approx 0.6990\)
3
Divide: \(\displaystyle \frac{1.2304}{0.6990} \approx\) 1.7604

Example 2: Exact Value of \(\log_4(32)\)

Find exact value without a calculator by choosing a clever base.

1
Both 4 and 32 are powers of 2, so choose \(c = 2\): \(\displaystyle \log_4(32) = \frac{\log_2(32)}{\log_2(4)}\)
2
Evaluate: \(\log_2(32) = 5\) because \(2^5 = 32\), and \(\log_2(4) = 2\) because \(2^2 = 4\).
3
Divide: \(\displaystyle \frac{5}{2} =\) \(\frac{5}{2}\)

Example 3: Solve \(3^x = 20\)

Use the change of base formula to isolate \(x\).

1
Rewrite in logarithmic form: \(x = \log_3(20)\)
2
Apply change of base with \(\ln\): \(\displaystyle x = \frac{\ln(20)}{\ln(3)}\)
3
Compute: \(\ln(20) \approx 2.9957\) and \(\ln(3) \approx 1.0986\)
4
Divide: \(\displaystyle x \approx \frac{2.9957}{1.0986} \approx\) 2.7268

Visualizing the Conversion

Original
\(\log_b(a)\)
Change of Base
\(\log_c(a)\)
\(\log_c(b)\)
Result
\(y\)
Any base b Pick c = 10 or c = e Decimal or exact

Special Cases to Know

\(\log_b(b) = 1\)
Via change of base: \(\frac{\log(b)}{\log(b)} = 1\). Any base logged to itself is 1.
\(\log_b(1) = 0\)
Via change of base: \(\frac{\log(1)}{\log(b)} = \frac{0}{\log(b)} = 0\).
Reciprocal
\(\log_b(a) = \dfrac{1}{\log_a(b)}\). Swap argument and base: you get the reciprocal.

Graphing \(y = \log_b(x)\) with \(\ln\)

To graph \(y = \log_3(x)\) on a calculator, enter \(\displaystyle y = \frac{\ln(x)}{\ln(3)}\). The shape is the same: a standard logarithmic curve.

\(x\)
\(y\)
0 2 4 6 8 10 -2 -1 0 1 2 (1, 0) (3, 1) (9, 2)
\(x = 0\)
\(y = \log_3(x)\)

Common Mistakes

✕ Flipping the Fraction
Writing \(\frac{\log(b)}{\log(a)}\) instead of \(\frac{\log(a)}{\log(b)}\). Remember: argument on top, base on bottom.
✕ Mixing Up Rules
Confusing change of base with the quotient rule. \(\log_b(a) \neq \log(a) - \log(b)\). It's a quotient of logs, not a difference.
✕ Mismatched Bases
Using different bases in the numerator and denominator: \(\frac{\ln(a)}{\log(b)}\). Both logs must use the same new base.

Summary Reference

Expression Change of Base Form Value
\(\log_2(10)\) \(\dfrac{\ln 10}{\ln 2}\) \(\approx 3.322\)
\(\log_5(17)\) \(\dfrac{\log 17}{\log 5}\) \(\approx 1.760\)
\(\log_4(32)\) \(\dfrac{\log_2 32}{\log_2 4} = \dfrac{5}{2}\) \(2.5\)
\(\log_9(27)\) \(\dfrac{\log_3 27}{\log_3 9} = \dfrac{3}{2}\) \(1.5\)
\(\log_b(a)\) \(\dfrac{\log_c(a)}{\log_c(b)}\) General formula

Question 1 of 5

Which expression correctly rewrites \(\log_7(50)\) using the natural logarithm?

Question 2 of 5

What is the exact value of \(\log_9(27)\)?

Question 3 of 5

To solve \(5^x = 40\), a student writes \(x = \dfrac{\log 40}{\log 5}\). Approximately what is \(x\)?

Question 4 of 5

What is the value of \(\log_2(3) \cdot \log_3(2)\)?

Question 5 of 5

A student rewrites \(\log_6(11)\) as \(\dfrac{\ln 11}{\log 6}\). What error did they make?