Why Logarithms Undo Exponentials
A worked explanation of why logarithms undo exponentials, including the key limitation and a checkable example.
Why Logarithms Undo Exponentials
The inverse-function relationship between exponentials and logarithms is why you can move an exponent out in front of a log. The single fact that justifies the power rule is this: if f(x) = bx, then its inverse is f⁻¹(y) = logb(y), for b > 0, b ≠ 1. That means applying a logarithm to an exponential expression returns the original exponent. It is the reason why logarithms undo exponentials, and it is the only justification for moving an exponent into a logarithm. The power rule, logb(Mp) = p * logb(M), is a direct consequence of this inversion, not a separate algebraic trick.
How the Inverse-Function Relationship Justifies Moving an Exponent Into a Logarithm
Start with the definition: logb(x) = y if and only if by = x. This is the fundamental relationship. The inverse property states that blog_b(x) = x and logb(bx) = x, for x > 0. To justify the power rule, let y = logb(M). Then by = M. Raise both sides to the p power: Mp = (by)p = byp. Now apply the inverse: logb(Mp) = logb(byp) = yp. Since y = logb(M), you get logb(Mp) = p * logb(M). The inverse function does the work: it strips away the base, leaving the exponent multiplied by p. No other log rule is needed for this derivation.
A Worked Example
Take log2(83). First, compute 83 = 512. Using the power rule: log2(83) = 3 * log2(8). Since 23 = 8, log2(8) = 3. So 3 * 3 = 9. The result is 9. Verify by checking the inverse: 29 = 512. It matches. The exponent 3 moved out of the argument and multiplied the log. The inverse-function relationship made this possible because log2(by) = y, and here by = 8, y = 3. If you need to compute log2(512) directly and do not have a calculator with a log2 key, use the change of base formula or an inverse function calculator. The conversion log2(512) = log(512) / log(2) gives the same 9.
What This Looks Like With a Negative Characteristic
Consider log10(0.012). 0.01 = 10-2, so 0.012 = 10-4. By the inverse property, log10(10-4) = -4. Using the power rule directly: log10(0.012) = 2 * log10(0.01). log10(0.01) = -2 because the characteristic is -2 (the number is between 0.01 and 0.1). So 2 * (-2) = -4. The exponent moved out and the calculation works the same way.
Limits and Failure Cases
The power rule logb(Mp) = p * logb(M) requires M > 0. If M is negative, the rule fails because logb(M) is undefined in real numbers. Take M = -2, p = 2. Compute log10((-2)2) = log10(4) ≈ 0.6021. But 2 * log10(-2) is not a real number because log10(-2) is undefined. The inverse-function relationship cannot justify moving the exponent here because the logarithm's domain excludes non-positive arguments. The power rule is exact only when M is positive and b > 0, b ≠ 1. Applying it outside this domain produces an error that multiplication alone cannot fix.
What to Do When the Argument Is Negative or Zero
If you encounter logb(Mp) with M ≤ 0, you must evaluate Mp first, then take the log of that positive result if it exists. For M = -2, p = 2, (-2)2 = 4, so log(4) is valid. But if p = 3, (-2)3 = -8, and log(-8) is undefined. The inverse-function relationship does not rescue you from a negative argument. This is the single most common mistake when using the power rule: assuming it applies to any real M.
Calculation Steps
In practice, the inverse-function relationship underpins every application where you move an exponent. For pH, defined as pH = -log10([H+]), the inverse relationship justifies converting between hydrogen ion concentration and pH. If [H+] = 1.0 × 10-4 mol/L, then pH = -log10(10-4) = -(-4) = 4. The exponent -4 moves out because log10(10-4) = -4, a direct application of the inverse property. For the Richter scale, magnitude M = log10(A/A0). If an earthquake has amplitude 100 times the reference, M = log10(102) = 2. The exponent 2 is the magnitude. Both examples show that the inverse relationship, not a separate rule, does the work.
Using the related calculator for Checking
When verifying hand calculations, an related calculator can confirm that blog_b(x) returns x. For log2(8) = 3, computing 23 on the same tool gives 8. This check directly tests the inverse relationship and catches errors in the exponent movement.
| Input Type | Example | Power Rule Result | Direct Log Result | Valid? |
|---|---|---|---|---|
| Positive M, integer p | log₂(8³) | 3 * log₂(8) = 9 | log₂(512) = 9 | Yes |
| Positive M, fractional p | log₁₀(100^0.5) | 0.5 * log₁₀(100) = 1 | log₁₀(10) = 1 | Yes |
| Negative M, even p | log₁₀((-2)²) | 2 * log₁₀(-2) undefined | log₁₀(4) ≈ 0.6021 | No: power rule breaks |
| Negative M, odd p | log₁₀((-2)³) | 3 * log₁₀(-2) undefined | log₁₀(-8) undefined | No: both undefined |
| Zero M | log₁₀(0²) | 2 * log₁₀(0) undefined | log₁₀(0) undefined | No |
Who This Inverse Relationship Suits and Who Should Skip
The inverse-function relationship between exponentials and logarithms suits Algebra II and precalculus students solving exponential equations, chemistry students calculating pH from hydrogen ion concentration, and computer science students analyzing algorithm complexity using log₂. Adults using Excel with LOG, LOG10, or LN for financial modeling or data analysis will rely on this inversion daily. Skip this if you need the history of logarithms, biography of Napier or Briggs, or the physical construction of a slide rule. Those belong on a history-of-mathematics site. Also skip if you need advanced calculus involving natural log integrals or series expansions, which require a calculus textbook. The most common mistake here is applying the power rule to a negative argument and accepting an undefined result.
Common Questions
Does the power rule work for any real exponent p?
Yes. The exponent p can be any real number, including fractions and negatives, as long as the argument M is positive. The inverse-function derivation does not restrict p.
Why can't I use the power rule when M is negative?
Because log<sub>b</sub>(M) is undefined for M ≤ 0 in real numbers. The inverse-function relationship requires a valid log input. Evaluate M<sup>p</sup> first; if the result is positive, take its log.
How does the inverse relationship justify the change of base formula?
The change of base formula log<sub>b</sub>(x) = log<sub>a</sub>(x) / log<sub>a</sub>(b) relies on the inverse property to rewrite the exponent. It is a separate consequence of the same inverse relationship.
Does the power rule work for log<sub>10</sub>(0)?
No. log<sub>10</sub>(0) is undefined because 10<sup>y</sup> = 0 has no real solution. The inverse property requires x > 0, so any application to zero or negative numbers fails.