Learn
Lesson · Exponential and Logarithmic Functions · Logarithms

Change of Base

A calculator offers two bases and there are infinitely many. One identity closes the gap: log_b(x) = log_c(x) / log_c(b) for any base c you can actually compute. It follows in two lines from the definition and the power law, and the derivation is what keeps the argument and the base the right way up.

log_b(x) = log_c(x) / log_c(b) for any c > 0, c ≠ 1 log_2(10) = ln 10 / ln 2 = log 10 / log 2 ≈ 3.321928 log_b(x) = 1 / log_x(b) the case c = x NOT log_c(x/b) and NOT log_c(x) − log_c(b)
The identity, one corollary, and the trap

Core ideas

What this lesson establishes

One theorem, proved from the definition, plus a clear view of the two expressions it is constantly confused with.

1

The identity is a division, not a subtraction

log_c(x) / log_c(b) is a quotient of two logarithms. “The Laws of Logarithms” has no law for such a quotient: it is not log_c(x/b), and it is not log_c(x) − log_c(b). Writing the division deliberately, with the base of the answer underneath, is most of the work of this lesson.

2

Every logarithm is a constant multiple of every other

Take c = e and the identity reads log_b(x) = (1 / ln b) · ln x. So the graph of any logarithm is the graph of ln stretched vertically by a fixed factor — and reflected as well when 0 < b < 1, since ln b is then negative. The bases differ by a scale, never by a shape.

3

The helper base is free, so it is also a check

The identity holds for every legal c. Three different helper bases give three quotients that look nothing alike and must agree to every digit. When a numeric answer looks wrong, that is the cheapest test available.

The material

Changing the base of a logarithm

The statement, its two-line proof, the corollaries, and what it is not.

log_2(10) is a perfectly definite number: the exponent that turns 2 into 10. It is between 3 and 4, since 2^3 = 8 and 2^4 = 16. No calculator has a base-2 logarithm key, and no table was ever printed for base 2. The identity below is how the number is obtained anyway.

Theorem · Change of base

Let b and c be positive with b ≠ 1 and c ≠ 1, and let x > 0. Then log_b(x) = log_c(x) / log_c(b).

Let y = log_b(x). By the definition in “What a Logarithm Is”, that says exactly b^y = x.

Equal numbers have equal logarithms, so apply log_c to both sides: log_c(b^y) = log_c(x). The power law of “The Laws of Logarithms” turns the left side into y · log_c(b).

Divide both sides by log_c(b). That step is legal because log_c(b) = 0 happens only when b = 1, and the hypothesis excluded it. What is left is y = log_c(x) / log_c(b), which is the claim.

□

Read the result once more for placement. The argument goes on top and the base of the answer goes underneath. log_2(10) is ln 10 / ln 2, not ln 2 / ln 10. Both quotients are real numbers and neither looks broken: the first is about 3.3219 and the second about 0.3010.

log_2(10) = log 10 / log 2 = 1.000000 / 0.301030 ≈ 3.321928 = ln 10 / ln 2 = 2.302585 / 0.693147 ≈ 3.321928 check: 2^3 = 8 < 10 < 16 = 2^4 so the answer lies between 3 and 4 the reversed quotient: ln 2 / ln 10 ≈ 0.301030 = log_10(2)

Two corollaries

Put c = x. Then log_x(x) = 1, and the identity collapses to log_b(x) = 1 / log_x(b). The pair log_2(8) = 3 and log_8(2) = 1/3 is that statement with numbers in it, and it is a useful sanity check whenever a logarithm and its mirror image both appear in a problem.

Put c = e. Then log_b(x) = ln x / ln b = (1 / ln b) · ln x, so each logarithm function is a fixed multiple of the natural one. For base 2 that multiple is 1 / ln 2 ≈ 1.442695; for base 10 it is 1 / ln 10 ≈ 0.434294. “Common and Natural Logarithms”'s ln x ≈ 2.302585 · log x is the same statement with the two bases swapped.

Example · An exact answer stays exact

log_8(32) is not a decimal problem. Both numbers are powers of 2, so change to base 2: log_8(32) = log_2(32) / log_2(8) = 5/3. Check it against the definition: 8^(5/3) = (2^3)^(5/3) = 2^5 = 32. Changing base does not force an approximation; choosing a helper base in which both numbers are recognisable powers avoids one.

Now the trap, on numbers. Take log_5(40). The identity gives log 40 / log 5 = 1.602060 / 0.698970 ≈ 2.292030. The two expressions it is confused with are log(40/5) = log 8 ≈ 0.903090 and log 40 − log 5, which is the same log 8. Neither is close to the answer, and neither is a law.

There is one more reason to know the identity even on a calculator that accepts any base. It is what proves that two people computing the same logarithm in different bases must agree, and in “Solving Exponential Equations” it is what turns x = log_5(17) from a name for the answer into a number.

Interactive

Change of base

Derived, then checked through three different bases

Logarithm
y = log_b(x)the helper basesyour x

Method

Evaluating a logarithm in an unfamiliar base

Four steps, and the first one often ends the problem with an exact fraction.

1

Ask whether the answer is exact

Write x and b as powers of one common base. log_8(32) becomes log_2(2^5) / log_2(2^3) = 5/3, with no decimal anywhere.

2

Otherwise pick a helper base you can compute

On a calculator that means 10 or e; either is fine and both give the same value. By hand it means whichever base makes the two numbers recognisable.

3

Put the argument on top and the base underneath

log_b(x) = log_c(x) / log_c(b). Say it in that order before writing it. The reversed quotient is a real number and the calculator will not object, so nothing downstream will look wrong.

4

Bracket the answer between two integer powers

Find k with b^k < x < b^(k+1); the logarithm lies between k and k + 1. This catches a reversed quotient immediately, since the reciprocal is almost never in the same interval.

Changing base

Score 0 / 0

log_5(40), computed three ways

40 is not a power of 5, so no exact answer exists and a decimal is the honest output. Three helper bases must still produce the same one.

bracket first: 5^2 = 25 < 40 < 125 = 5^3 so log_5(40) lies between 2 and 3 base 10: log 40 / log 5 = 1.602060 / 0.698970 ≈ 2.292030 base e: ln 40 / ln 5 = 3.688879 / 1.609438 ≈ 2.292030 base 2: log_2(40)/ log_2(5)= 5.321928 / 2.321928 ≈ 2.292030 the reversed quotient: log 5 / log 40 ≈ 0.436295 = log_40(5) the invented law: log(40/5) = log 8 ≈ 0.903090

The three quotients agree to every digit shown, which is what the theorem promises: the helper base cancels out of the answer. All six logarithms on those three lines are irrational, and every decimal here is rounded to six places.

The last two lines are not near-misses, they are answers to different questions. log_40(5) is the reciprocal — the exponent that turns 40 into 5 — and log 8 is the logarithm of a quotient rather than a quotient of logarithms. The bracket at the top rejects both without any arithmetic: neither lies between 2 and 3.

For a faded change of base, take log_9(50). The supplied first move is the bracket 9^1 < 50 < 9², so the result must lie between 1 and 2. Complete ln 50 / ___, round only the final quotient, and use the bracket to reject the reversed fraction. Then state why changing the helper from ln to log cannot change the answer.

Common mistakes

1
Putting the base on toplog_b(x) = log x / log b. Reversed, you get log_x(b), the reciprocal. It is a real number, the calculator returns it without complaint, and only a bracket check or the derivation will tell you it is the wrong one.
2
Turning the quotient into a differencelog_c(x) / log_c(b) is not log_c(x) − log_c(b). For x = 40 and b = 5 in base e the two are 2.2920 and 2.0794: near enough to look right, far enough to be wrong. There is a law for the logarithm of a quotient and none for a quotient of logarithms.
3
Producing a decimal where a fraction was availableA calculator returns 1.6666667 for log_8(32). The answer is 5/3, and every later step that uses it stays exact if you keep the fraction. Look for a common base before reaching for the keys.

Check your understanding

✓
Finish when you can state the identity with the argument and base in the right places, and prove it in two lines.

The proof is the protection. If you can get there from b^y = x and the power law, you cannot put log b on top by accident, because the derivation shows where the denominator came from. Memorising the fraction alone leaves a fifty-fifty guess.

Note: This identity is what makes “Solving Exponential Equations” finish. Solving 5^x = 17 gives x = log_5(17) straight from the definition, which names the answer without evaluating it; change of base turns that name into ln 17 / ln 5 ≈ 1.760374.

Kept in this browser only, for you. Nothing is sent anywhere and nothing checks it. Carry it to another device.

Feedback and recommendations

Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.

No recommendations yet for this lesson.