Logarithmic Functions
The logarithm is the inverse of exponentiation: answers "to what power must be raised to get ?" Logarithmic functions turn multiplication into addition, taming exponential growth and powering scales from decibels to pH. Used across science, finance, and computing; formalized by John Napier (1614) and reframed as an inverse function by Euler in the 1700s.
A logarithm is an exponent in disguise. The statement is just another way of writing . Everything about logarithms flows from this single equivalence. Because exponents add when you multiply powers (), logarithms convert products into sums. This is the structural reason logarithms exist and the reason they are useful.
Formal Statement
For a fixed base with and , the logarithm base is defined by the equivalence:
Derivation hint: This is a definition by inverse — read it as "the logarithm is the exponent." Both directions are the same statement. Here is the base, is the argument (or antilogarithm), and is the logarithm (the resulting exponent). The domain is and the range is . Three special bases have dedicated notation:
- Common logarithm , written (engineering, scales).
- Natural logarithm , written , where (calculus, growth).
- Binary logarithm , written (computer science).
For , , and positive arguments , and any real :
Derivation hint: Let , , so , ; then .
Derivation hint: Same substitution; , so the logarithm is .
Derivation hint: , so the exponent is .
Derivation hint: From , take of both sides and apply law [4].
The definitional equivalence forces several identities directly:
Derivation hint: Set , ; the last two are the inverse-composition statements and .
Why It Holds / Derivation
We prove equation [2], . Every other law follows by the same technique. 1. Name the logarithms. Let and . By the definition [1], this means and . 2. Multiply the arguments. Form the product:
3. Apply the exponent addition law. Powers of the same base multiply by adding exponents, so:
4. Convert back using the definition. The equation says, by [1], that . 5. Substitute the names back. Replacing and :
The entire content of the proof is that logarithms inherit the additive structure of exponents. The quotient law [3] uses ; the power law [4] uses .
∎A Scottish landowner, theologian, and mathematician, Napier spent twenty years computing his tables of logarithms, published in 1614 as Mirifici Logarithmorum Canonis Descriptio. His motivation was purely practical: astronomers and navigators drowned in multiplying long strings of trigonometric values. Napier's insight was to relate two points moving along lines — one at constant speed, one at speed proportional to its remaining distance — producing a correspondence that turned multiplication into addition. His "logarithms" (from Greek logos, ratio, + arithmos, number) were not yet tied to a clean base, but they launched the modern computational era. Henry Briggs later collaborated with him to rebase the tables on 10.
Building Intuition
Think of a logarithm as counting digits, or counting orders of magnitude. The common log of a number tells you roughly how many digits it has: , and has three zeros. More precisely, answers "how many times must I multiply by to reach ?" — and it allows fractional answers for the in-between values. The second intuition is compression of scale. Multiplying by 10 only adds 1 to the logarithm. So a logarithmic axis squeezes a vast range — from 1 to 1,000,000 — into a tidy span from 0 to 6. This is why "log scales" appear whenever quantities span enormous ranges (earthquakes, sound, acidity, star brightness). The third intuition is growth that slows. As increases, keeps rising but ever more sluggishly, because each new unit of logarithm requires multiplying by another whole factor of . The curve flattens but never stops, and never turns back down.
Worked Examples
Given: A bacterial colony doubles every 3 hours, starting at 500 cells. After how many hours does it reach 32,000 cells?
Model: . Set .
Steps: 1. Divide: , so . 2. Recognize , so gives . 3. (General method, if the factor weren't a clean power) take logs:
4. Solve: .
Given: The Richter magnitude is , where is the measured amplitude and a reference. How many times stronger (in amplitude) is a magnitude 7.2 quake than a magnitude 5.4 quake?
Steps: 1. Write each: and . 2. Subtract using the quotient law [3]:
3. Undo the log: . 4. Evaluate: .
Common Misconceptions
The logarithm of a sum is NOT the sum of logarithms. A very common error is to write . This is false. The product law [2] applies only to products: . There is no simplification for . Other frequent mistakes:
- . The quotient law gives , a subtraction, not a division of logs.
- . The power law [4] requires the exponent to be inside the argument: .
- and are undefined in the reals — no real exponent of a positive base yields zero or a negative number.
Test the false "sum rule" with numbers. Take , , :
but
Since , the sum rule is conclusively wrong. (The correct product law: . ✓)
Connections
Logarithmic functions sit at the center of a web of related ideas. They are the inverse of Exponential Functions, so every property of one mirrors a property of the other — reflection across . The base ties logarithms to The Number e and makes the natural choice in Calculus, where and . The change-of-base formula [5] connects logarithms in any base, and the laws [2]–[4] are a concrete instance of a Group Isomorphism between multiplication of positive reals and addition of all reals. Logarithms also underlie Inverse Functions generally and feed directly into the study of Exponential Growth and Decay.
Real-World Applications
Historical Development
Subtleties & Limits
The clean real-valued logarithm hides genuine subtleties once the domain widens. Extending to negative and complex numbers forces a choice: , but is determined only up to multiples of , so the complex logarithm is multi-valued. Selecting a "principal branch" introduces a discontinuity (a branch cut), and there is no single global continuous logarithm on the punctured plane — a fact tied to deep ideas in Complex Analysis and topology. Even on the reals, the question "what is the simplest base?" has a non-obvious answer: wins because it makes the derivative cleanest, yet itself is transcendental and was not isolated until long after logarithms were in use. Finally, whether certain logarithms of integers are rational or transcendental (e.g., is irrational? — yes, provably) opens into number theory, where many related values resist full classification.
See Also
Exponential Functions · The Number e · Inverse Functions · Laws of Exponents · Logarithmic Scales · Exponential Growth and Decay · Complex Analysis · Calculus