College Algebra • Exponential & Logarithmic Functions

Change of Base

Convert any logarithm into a ratio of common or natural logs for computation and algebraic manipulation.

An algebraic variable with a radical and plotted line.
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

The concept of the logarithm did not arise as an abstract curiosity; it was born from a deeply practical need. In the early seventeenth century, astronomers, navigators, and engineers spent enormous amounts of time performing tedious multiplications and divisions with many-digit numbers. John Napier recognized that a function capable of converting multiplication into addition would revolutionize computation—and so the logarithm was conceived. His original definition, rooted in the motion of points along geometric and arithmetic scales, did not correspond to any single modern base; it was Henry Briggs who subsequently advocated for base-10 tables, producing the common logarithm (log₁₀) that dominated calculation for over three centuries.

As mathematics matured, other bases became indispensable. Euler formalized the natural logarithm (ln, base e ≈ 2.71828) because of its elegant behavior in calculus, while the binary logarithm (log₂) became central to information theory and computer science. The proliferation of useful bases created a straightforward problem: how does one evaluate log₅ 37, for instance, when only log₁₀ and ln keys appear on a standard calculator? The change-of-base formula is the elegant bridge that answers this question, linking logarithms across any pair of bases via a simple ratio.

1614 • Napier Publishes Mirifici Logarithmorum

John Napier introduces logarithms as a computational tool, defining them through kinematic analogies rather than a fixed base, enabling rapid multiplication via table lookup.

1624 • Briggs' Common Logarithm Tables

Henry Briggs publishes Arithmetica Logarithmica, standardizing base-10 logarithms and providing tables to 14 decimal places for integers 1 through 20,000.

1748 • Euler Formalizes the Natural Logarithm

In Introductio in Analysin Infinitorum, Leonhard Euler systematically treats the exponential function eˣ and its inverse ln x, establishing the natural base as foundational for analysis.

1948 • Shannon and the Binary Logarithm

Claude Shannon's information theory defines the 'bit' using log₂, elevating the base-2 logarithm to a central role in computing and telecommunications.

Today • Ubiquity of the Change-of-Base Formula

Modern calculators, computer algebra systems, and programming languages typically supply only ln and log₁₀; the change-of-base formula is the standard technique for evaluating or simplifying logarithms in any other base.

The central question that the change-of-base formula resolves is deceptively simple: given that logb a is defined for any positive base b ≠ 1 and positive argument a, how can we express this quantity exclusively in terms of logarithms we already know how to compute? The answer, as we shall see, is a single elegant identity that every algebra student should internalize.

SECTION 2

Core Principles & Definitions

Before deriving the change-of-base formula, it is essential to secure a clear understanding of what a logarithm is and the conventions that govern its notation. Recall that the expression logb a = c means precisely that bc = a. The base b must be positive and different from 1, and the argument a must be positive. With these constraints in place, the logarithmic and exponential functions serve as perfect inverses of one another. The following foundational ideas underpin the change-of-base technique.

1

Logarithm as Inverse Exponential

logb a = c ⟺ bc = a. The logarithm answers the question: 'To what power must I raise b to obtain a?'
2

Common & Natural Logarithms

log (no subscript) conventionally denotes log₁₀, while ln denotes loge. These are the two bases available on most calculators and are therefore the standard conversion targets.
3

Product, Quotient & Power Rules

logb(xy) = logb x + logb y, and logb(xn) = n · logb x. These algebraic properties are prerequisites for the derivation.
4

Base Restriction

The base b must satisfy b > 0 and b ≠ 1. If b = 1, then 1 raised to any power is 1, making the logarithm undefined for any argument other than 1. The formula inherits this restriction.
5

The Change-of-Base Idea

Any logarithm logb a can be re-expressed as a ratio of two logarithms in any other valid base k: logb a = logk a / logk b. This single identity is the heart of the lesson.
✦

KEY TAKEAWAY

Think of logarithmic bases like units of measurement. Just as you can convert inches to centimeters by dividing by a fixed ratio, you can convert a logarithm from one base to another by dividing by the logarithm of the old base expressed in the new base. The change-of-base formula is the 'conversion factor' between logarithmic scales.

SECTION 3

Visual Explanation

A powerful way to understand the change-of-base formula is to see how logarithmic curves in different bases relate to one another on the same coordinate axes. Every logarithmic function y = logb x passes through the point (1, 0) and increases without bound, but the rate of increase depends on b. A larger base produces a flatter curve because larger bases require less exponent growth to reach the same value. The change-of-base formula tells us that these curves are merely vertical scalar multiples of one another: logb x = (1 / ln b) × ln x.

Logarithmic Functions in Different Basesxy0124816123y = log₂ xy = ln xy = log₁.₅ xy = log₁₀ xAll curves pass through (1, 0)Each curve is a constant multiple of any other — the change-of-base ratio.
All logarithmic curves pass through (1, 0). The curve for log₂ x is the steepest (smallest base > 1 among those shown), while log₁₀ x is the flattest. Any one curve can be obtained from another by multiplying by the constant 1 / logk b, which is precisely the change-of-base factor.

Notice in the diagram that y = log₂ x (solid cyan) rises more steeply than y = log₁₀ x (dashed amber). At any fixed x-value, the ratio of the two y-coordinates is the constant log₂ 10 ≈ 3.322. This geometric relationship is what the change-of-base formula encodes algebraically: log₂ x = ln x / ln 2 = log₁₀ x / log₁₀ 2. The curves are not independent; they are the same function scaled vertically.

SECTION 4

Mathematical Framework

The change-of-base formula admits a clean two-line derivation from the definition of logarithms. Let us establish it rigorously and then explore its most commonly used forms.

Derivation

Suppose we wish to evaluate logb a. Set y = logb a, which by definition means by = a. Now take the logarithm base k of both sides (where k > 0, k ≠ 1): logk(by) = logk a. By the power rule, the left side becomes y · logk b. Solving for y yields y = logk a / logk b, and since y = logb a, the formula is proved.

CHANGE-OF-BASE FORMULA (GENERAL)

logba=logka/logkblog_b a = log_k a / log_k b

where a > 0, b > 0, b ≠ 1, k > 0, k ≠ 1. The base k is any valid logarithmic base; the formula holds for every such choice.

USING COMMON LOGARITHMS

logba=log10a/log10b=loga/logblog_b a = log₁₀ a / log₁₀ b = log a / log b

Practical form: use the LOG key on a calculator. Most useful when the problem context involves powers of 10.

USING NATURAL LOGARITHMS

logba=lna/lnblog_b a = ln a / ln b

Practical form: use the LN key on a calculator. Preferred in calculus and sciences because of the derivative formula d/dx [ln x] = 1/x.

RECIPROCAL IDENTITY (COROLLARY)

logba=1/logablog_b a = 1 / log_a b

A useful corollary obtained by setting k = a in the general formula. It shows that switching the base and argument inverts the value.

ℹ

Why does the formula work?

The derivation hinges on a single logarithmic property — the power rule: logk(by) = y · logk b. Everything else is just solving a one-variable equation for y. The elegance lies in the fact that the choice of k is entirely arbitrary — the ratio logk a / logk b is invariant across all valid bases k.

SECTION 5

Applications & Detailed Breakdown

The change-of-base formula is not merely a computational trick for evaluating exotic logarithms on a calculator. It appears naturally in several algebraic and applied contexts, from solving exponential equations to analyzing algorithms. Below is a detailed visual flowchart illustrating the decision process for applying the formula, followed by a table of common use cases.

When and How to Apply Change of BaseEncounter log_b aIs b = 10 or b = e?YESNOEvaluate directly withLOG or LN keyApply change of baseChoose conversion base: k = 10 or k = eFor numeric answers:log_b a = log a / log bFor algebraic work:log_b a = ln a / ln bCalculator → decimalSimplify → exact form
A decision flowchart for applying the change-of-base formula. If the logarithm's base is already 10 or e, evaluate directly. Otherwise, convert using the formula, choosing k = 10 for numeric computation or k = e for algebraic and calculus-related work.

Common Use Cases

ContextTypical ConversionWhy It Helps
Calculator evaluationlog₅ 37 = log 37 / log 5Reduces an arbitrary base to a button on any scientific calculator.
Solving exponential equations3ˣ = 20 → x = ln 20 / ln 3Isolates the variable by converting from base 3 to natural logarithms.
Algorithm analysis (CS)log₂ n = ln n / ln 2Allows comparison of growth rates using any common log scale.
pH and decibelsConvert to base 10These scales are defined with log₁₀; the formula converts from other bases when modeling.
Graphing technologyy = ln x / ln bMany graphing utilities lack a general log⁡b\log_b function; rewriting in terms of ln circumvents this limitation.

Practical situations where the change-of-base formula is indispensable.

SECTION 6

Worked Example

Let us work through a comprehensive example that demonstrates both the numerical and algebraic power of the change-of-base formula.

Evaluate log₃ 50 using common logarithms, then verify with natural logarithms.

  1. 1

    Step 1 — Identify the Expression

    We need to find log₃ 50. Here b = 3 and a = 50. Since most calculators do not have a log base-3 key, we apply the change-of-base formula.
  2. 2

    Step 2 — Apply the Formula Using Common Logs

    log₃ 50 = log 50 / log 3. Using a calculator: log 50 ≈ 1.69897 and log 3 ≈ 0.47712.
    log₃ 50 ≈ 1.69897 / 0.47712 ≈ 3.5609
  3. 3

    Step 3 — Verify Using Natural Logs

    log₃ 50 = ln 50 / ln 3. Using a calculator: ln 50 ≈ 3.91202 and ln 3 ≈ 1.09861.
    log₃ 50 ≈ 3.91202 / 1.09861 ≈ 3.5609 ✓ (matches)
  4. 4

    Step 4 — Interpret the Result

    The result log₃ 50 ≈ 3.5609 means that 3 raised to the power 3.5609 is approximately 50. We can verify: 33.5609 ≈ 50.00, confirming the computation. Note that 3³ = 27 and 3⁴ = 81, so the answer between 3 and 4 is plausible.
  5. 5

    Step 5 — Exact Algebraic Form

    When an exact answer is required, we leave the result in the form log₃ 50 = ln 50 / ln 3 = log 50 / log 3. This is the exact value; the decimal 3.5609 is an approximation.
    Exact: log₃ 50 = ln 50 / ln 3 | Approximate: ≈ 3.5609
💡

Sanity Check Strategy

Always bracket your answer between consecutive integer powers of the base. Since 3³ = 27 < 50 < 81 = 3⁴, we know log₃ 50 must lie strictly between 3 and 4. If your calculator gives a value outside that interval, recheck your inputs.

SECTION 7

Strengths, Limitations & Common Errors

The change-of-base formula is straightforward, but students often encounter pitfalls when applying it. Understanding the strengths and limitations of the technique helps avoid common algebraic errors.

StrengthsLimitations / Common Errors
Converts any logarithm to a computable form using only log or ln.Students sometimes invert the fraction, writing log b / log a instead of log a / log b.
The choice of conversion base k is entirely free — use whichever is most convenient.Mixing bases within the numerator and denominator (e.g., ln a / log b) invalidates the formula.
Enables symbolic simplification: expressions like log₂ 8 / log₂ 4 can be rewritten and cancelled.Applying the formula to log of a negative number or zero is undefined; the domain restrictions still apply.
Yields the reciprocal identity log⁡b\log_b a = 1 / log⁡a\log_a b as a free corollary.Over-reliance on decimals can obscure exact values. Keep answers in log-ratio form when possible.
Works identically for logarithms of any valid base, including fractional and irrational bases.The formula does not simplify the argument; product/quotient rules must be applied separately when needed.

Strengths of the change-of-base formula alongside common student errors.

⚠️

AVOIDING THE FRACTION FLIP

A reliable mnemonic: the argument goes on top and the base goes on the bottom. Think of it as 'what you're looking for (a) over what you're working with (b).' If you accidentally flip the fraction, you compute the reciprocal 1 / logb a = loga b instead — a valid quantity, but not the one you wanted.

SECTION 8

Connections to Advanced Theory

The change-of-base formula is more than a computational convenience — it is the gateway to several deeper ideas in calculus, linear algebra, and information theory. Recognizing these connections will equip you for courses beyond college algebra.

College Algebra PerspectiveAdvanced Perspective
log⁡b\log_b a = ln a / ln b is a ratio of two numbers.In calculus, d/dx [log⁡b\log_b x] = 1 / (x ln b). The factor 1/ln b is precisely the change-of-base constant, confirming that all log derivatives are scaled versions of 1/x.
The formula converts between bases 2, e, and 10.In information theory, entropy can be measured in bits (log₂), nats (ln), or hartleys (log₁₀). The change-of-base factor is the unit conversion between these measures.
log⁡b\log_b a × log⁡a\log_a b = 1 (reciprocal identity).This reciprocal relationship generalizes to a chain rule: log⁡a\log_a b × log⁡b\log_b c × log⁡c\log_c a = 1, which has applications in combinatorics and number theory.
Curves y = log⁡b\log_b x are vertical stretches of y = ln x.In complex analysis, the complex logarithm Log z is multi-valued, and the change-of-base formula extends naturally, with branch cuts accounting for the 2πi ambiguity.

How the change-of-base formula connects to more advanced mathematical topics.

Perhaps the most immediate connection you will encounter is in differential calculus. When you learn that the derivative of ln x is 1/x, the change-of-base formula immediately tells you the derivative of logb x: since logb x = (1/ln b) · ln x, its derivative is simply (1/ln b) · (1/x) = 1/(x ln b). The change-of-base constant 1/ln b factors out cleanly because it is a multiplicative constant, making the differentiation of arbitrary-base logarithms trivial once you know the derivative of ln x.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Explain why the change-of-base formula logb a = logk a / logk b produces the same numerical result regardless of the conversion base k. Why doesn't the choice of k matter?
Show answer
The formula is derived from the identity by = a by taking log base k of both sides. Since the power rule logk(by) = y · logk b is valid for every valid base k, solving for y always yields the same quantity y = logb a. In other words, logk a and logk b both scale linearly with the choice of k, and that common scaling factor cancels in the ratio. The result is invariant because it represents the unique exponent y satisfying by = a, which is a property of a and b alone, not of k.

Question 2: BASIC CALCULATION

Evaluate log₇ 200 using common logarithms. Round your answer to four decimal places.
Show answer
Applying the change-of-base formula: log₇ 200 = log 200 / log 7. We compute log 200 = log(2 × 10²) = log 2 + 2 ≈ 0.30103 + 2 = 2.30103, and log 7 ≈ 0.84510. Therefore log₇ 200 ≈ 2.30103 / 0.84510 ≈ 2.7227. As a sanity check, 7² = 49 and 7³ = 343, so the answer should lie between 2 and 3, which it does.

Question 3: INTERMEDIATE

Simplify the expression log₄ 9 × log₉ 16 into a single rational number without a calculator.
Show answer
Convert each factor using natural logs. log₄ 9 = ln 9 / ln 4 and log₉ 16 = ln 16 / ln 9. Multiplying: (ln 9 / ln 4)(ln 16 / ln 9) = ln 16 / ln 4. Since 16 = 4², we have ln 16 = 2 ln 4, so the expression equals 2 ln 4 / ln 4 = 2. This illustrates the telescoping property of the change-of-base formula: intermediate bases cancel in products of logarithms, analogous to a chain of unit conversions.

Question 4: APPLIED

A bacterial culture triples every 5 hours. How many hours will it take for the population to grow to 1000 times its initial size? Express your answer in exact form using the change-of-base formula, then approximate to two decimal places.
Show answer
Let the initial population be P₀. After t hours the population is P₀ · 3t/5. Setting this equal to 1000 P₀ gives 3t/5 = 1000. Taking log base 3: t/5 = log₃ 1000 = ln 1000 / ln 3, so t = 5 ln 1000 / ln 3. Numerically, ln 1000 ≈ 6.90776 and ln 3 ≈ 1.09861, giving t ≈ 5 × 6.28771 ≈ 31.44 hours. The exact answer is t = 5 log₃ 1000 = 5 ln 1000 / ln 3 = 15 ln 10 / ln 3.

Question 5: CRITICAL THINKING

Prove the chain identity: for positive reals a, b, c (all ≠ 1), loga b × logb c = loga c. Then deduce that loga b × logb c × logc a = 1.
Show answer
Apply the change-of-base formula with a common base k (say k = e). Then loga b × logb c = (ln b / ln a)(ln c / ln b) = ln c / ln a = loga c, since ln b cancels. This proves the chain identity. For the cyclic product, extend by one more factor: loga b × logb c × logc a = (ln b / ln a)(ln c / ln b)(ln a / ln c) = 1, as all three logarithms cancel cyclically. This elegant result generalizes: any cyclic product of logarithms around a closed 'chain' of bases equals 1.

SUMMARY

Summary

Summary

The change-of-base formula states that log⁡b\log_b a = log⁡k\log_k a / log⁡k\log_k b for any valid base k. This identity allows any logarithm to be rewritten as a ratio of common logarithms (log) or natural logarithms (ln), making it computable on any standard calculator. The derivation requires only the power rule of logarithms and one step of algebra: set y = log⁡b\log_b a, exponentiate to get byb^y = a, take log⁡k\log_k of both sides, and solve for y.

Key applications include evaluating non-standard-base logarithms, solving exponential equations (isolating the variable in expressions like bxb^x = N), and connecting to calculus where the derivative of log⁡b\log_b x is 1/(x ln b). The important corollary log⁡b\log_b a = 1 / log⁡a\log_a b (the reciprocal identity) follows immediately by choosing k = a. Remember: argument on top, base on the bottom, and always use the same conversion base in both numerator and denominator.

Varsity Tutors • College Algebra • Change of Base