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 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
For a fixed base with and , the logarithm base of a positive real number is the unique exponent satisfying:
Derivation hint: 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 .
Three bases are used so often they have their own shorthand:
Derivation hint: These are naming conventions. "Common log" is base 10; "natural log" is base ; "binary log" is base 2, used in computer science.
For , , positive , and any real :
Derivation hint: Write , ; then , so its log is .
Derivation hint: Same substitution; .
Derivation hint: , so its log is .
Derivation hint: From the definition: , , and inverse functions cancel.
For any valid bases and and any positive :
Derivation hint: Take of both sides of and apply law [5]. A useful special case: setting gives the reciprocal relation:
Derivation hint: Put in [7]; the numerator .
Why It Holds / Derivation
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.
∎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.
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
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. ✓
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
Historical Development
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