Logarithmic Functions and Change of Base

A logarithm answers the question "to what power must a base be raised to produce a given number?" — means . The change-of-base formula, , lets you rewrite any logarithm in terms of any other base, making all logarithms computable with a standard calculator. Logarithms appear everywhere exponential growth and decay occur: finance, acoustics (decibels), chemistry (pH), seismology (Richter scale), and information theory. The modern logarithm dates to John Napier (1614) and was refined by Henry Briggs into base-10 form.

A logarithmic function is the inverse of the exponential function , where the base is positive and not equal to 1. It "undoes" exponentiation: it recovers the exponent from a power. Logarithms matter because they convert multiplicative relationships into additive ones — turning multiplication into addition, division into subtraction, and powers into multiplication — which is why they powered centuries of hand calculation and now underpin how we measure quantities spanning many orders of magnitude. A surprising fact: even though there are infinitely many possible bases, all logarithmic functions are vertically scaled copies of one another, differing only by a constant multiplier — which is exactly what the change-of-base formula reveals.

The Core Insight

A logarithm is an exponent in disguise. Every statement about logarithms can be translated back into a statement about exponents, and vice versa. The change-of-base formula exists because all exponential functions are related by a constant scaling of their exponents, so all logarithms are related by a constant scaling of their outputs.

Formal Statement

The Logarithmic Function

For a fixed base with and , the logarithm base of a positive real number is the unique exponent satisfying:

1
⟳This is a definition, not a derivation — it simply names as the inverse operation of raising to a power.

Here:

  • is the base (, ),
  • is the argument (),
  • is the logarithm (any real number).

The domain of is and its range is all real numbers .

Special Bases and Notations

Three bases are used so often they have their own shorthand:

2
⟳These are naming conventions. "Common log" is base 10; "natural log" is base ; "binary log" is base 2, used in computer science.

Fundamental Logarithm Laws

For , , positive , and any real :

3
⟳Write , ; then , so its log is .
4
⟳Same substitution; .
5
⟳, so its log is .
6
⟳From the definition: , , and inverse functions cancel.

Change-of-Base Formula

For any valid bases and and any positive :

7
⟳Take of both sides of and apply law [5].

A useful special case: setting gives the reciprocal relation:

8
⟳Put in [7]; the numerator .

Why It Holds / Derivation

Deriving the Change-of-Base Formula

We prove equation [7].

Step 1. Let . By definition [1], this means
Step 2. Apply the logarithm base to both sides. Because is a function, equal inputs give equal outputs:
Step 3. Use the power law [5] on the left side, bringing the exponent out front:
Step 4. Since , we have , so we may divide both sides by it:
Step 5. Recall . Substituting back gives exactly equation [7]:

Notice the proof uses only the definition and the power law — no special properties of any particular base are needed.

John Napier | 1550–1617

A Scottish landowner, theologian, and mathematician, John Napier spent roughly twenty years developing logarithms, publishing Mirifici Logarithmorum Canonis Descriptio in 1614. His goal was profoundly practical: to ease the brutal labor of multiplying long numbers in astronomy and navigation by converting multiplication into addition. Napier's original logarithms were not quite base or base 10 — they were defined through a clever kinematic analogy of two moving points — but they captured the essential additive magic. The astronomer Johannes Kepler used Napier's tables to speed his planetary calculations, famously saying logarithms had effectively doubled the life of the astronomer by halving their labor.

Building Intuition

Think of as asking: "How many times do I multiply by itself to reach ?" For base 10, because . For non-integer answers, the log smoothly interpolates: , sitting between and .

The deepest intuition is that logarithms measure orders of magnitude, not raw size. Going from 10 to 100 and from 100 to 1000 each adds exactly 1 to the log, even though the second jump covers nine times more numerical distance. This is why logarithmic scales compress enormous ranges — a logarithmic axis treats "tenfold bigger" as a fixed, equal step.

For the change-of-base formula, picture this: and both grow as grows, just at different rates. The formula says one is always a fixed multiple of the other — . They are the same curve, vertically stretched.

Logarithmic curves for bases 2, e, and 10 — all passing through (1, 0)

0 0 (1,0) log₂x ln x log₁₀x x → y = logₓ All three curves cross the x-axis at (since for every base) and pass through . Smaller bases give steeper curves; they are constant multiples of one another.

Worked Examples

Computing a Base-2 Logarithm with a Standard Calculator

Given: Find using a calculator that has only (base 10) and buttons. Step 1. Apply the change-of-base formula [7] with , , choosing base :
Step 2. Evaluate each piece:
Step 3. Divide:
Step 4. Check with for confirmation: — identical, as the formula guarantees. Sanity check: and , so must lie between 5 and 6. ✓

Solving an Exponential Equation — Doubling Time

Given: A bacterial population doubles every cycle and follows , where is in hours. How long until the population reaches 1000? Step 1. Set up the equation:
Step 2. Divide both sides by 200:
Step 3. Take the natural log of both sides and apply power law [5]:
Step 4. Solve for (this is change-of-base in action, ):
Sanity check: and , so between 11 and 12 is correct. ✓

Common Misconceptions

The single most common error is breaking up the logarithm of a sum or difference. There is NO law that simplifies . In particular:

The product law [3] applies to , not . Likewise does not simplify.

Other frequent traps:

  • — a ratio of logs is the change-of-base result, not a subtraction.
  • — the first squares the output; the second uses power law [5] to give .
  • The argument must be positive: and are undefined for real numbers.

Suppose a student claims . Test with :

  • Left side: .
  • Right side: .

Since , the claimed identity is false. (What is true is — the product law, not a sum law.)

Connections

Logarithms are inseparable from their inverse, Exponential Functions: every property of one mirrors a property of the other, and graphing is just reflecting across the line . The natural logarithm is the gateway to Calculus of Exponentials and Logarithms, where makes the most "natural" base. The product and quotient laws [3]–[4] are direct echoes of the Laws of Exponents, reflecting that logs convert multiplication to addition. Finally, the change-of-base formula connects to Inverse Functions, since it expresses how composing and inverting exponentials with different bases relate.

Real-World Applications

Logarithmic scales appear wherever quantities span many orders of magnitude:

  1. Acoustics (decibels): Loudness measures sound intensity relative to a reference . A 10 dB increase means 10× the intensity.
  2. Chemistry (pH): Acidity is , the negative log of hydrogen-ion concentration. Each pH unit is a tenfold change.
  3. Seismology (Richter/moment magnitude): Earthquake magnitude is logarithmic; a magnitude 7 quake releases about 32× the energy of a magnitude 6.
  4. Finance (compound interest): Solving for time in requires a logarithm: , the basis of the "Rule of 72" for doubling time.
  5. Astronomy (stellar magnitude): The apparent brightness of stars is measured on a logarithmic magnitude scale dating to ancient Greek classifications.
  6. Information theory (bits): The information content of an event of probability is bits; base-2 logs count yes/no questions.
  7. Signal processing & graphing: Log-log and semi-log plots straighten power-law and exponential data, revealing relationships hidden on linear axes.

Historical Development

  • ~1544 — Michael Stifel notes the correspondence between arithmetic and geometric progressions in Arithmetica Integra, foreshadowing logarithms.
  • 1614 — John Napier publishes Mirifici Logarithmorum Canonis Descriptio, introducing logarithms to ease astronomical computation.
  • 1617 — Henry Briggs visits Napier; together they conceive common (base-10) logarithms, far more convenient for decimal arithmetic.
  • 1617–1624 — Briggs computes and publishes extensive base-10 log tables (Arithmetica Logarithmica), tabulating logs to 14 decimal places.
  • 1620 — Edmund Gunter creates a logarithmic scale on a ruler; soon after, William Oughtred invents the slide rule, a logarithm-powered mechanical calculator used into the 1970s.
  • 1647–1668 — Grégoire de Saint-Vincent and Nicholas Mercator link the area under the hyperbola to logarithms, birthing the natural logarithm and the series for .
  • 1683 — Jacob Bernoulli studies compound interest and encounters the constant , later named for Euler.
  • 1748 — Leonhard Euler, in Introductio in analysin infinitorum, systematizes logarithms as inverses of exponentials, fixes the notation , and clarifies the role of the base.

Subtleties & Limits

While real logarithms are fully understood, subtleties emerge at the boundaries:

  • Complex logarithms are multivalued. Extending to complex numbers via yields infinitely many values, requiring a choice of "branch." This makes the simple law fail on its principal branch for some complex inputs — a genuine pitfall studied in complex analysis.
  • Irrationality and transcendence. Determining whether a given logarithm is rational, irrational, or transcendental can be hard. The Gelfond–Schneider theorem (1934) settled some cases (e.g. is irrational), but questions like whether or certain combinations are transcendental connect to deep, partly open problems in transcendental number theory.
  • Computational precision. Although change-of-base makes any log computable, repeatedly dividing tiny numbers (e.g. for very close to 1) can amplify floating-point error — a practical limit in numerical computing.

See Also

Exponential Functions · Laws of Exponents · The Number e · Inverse Functions · Logarithmic Scales and Graphing · Compound Interest · Calculus of Exponentials and Logarithms

Before this

Where this leads