Exponentials and Logarithms
A logarithm undoes an exponent, so it is how you solve for the time in anything that grows or decays.
A spill leaves a lake at 800 ppb of a pollutant with a half-life of 6 days. When does it reach 50 ppb? You can do that on your fingers: 400, 200, 100, 50. Four halvings, 24 days.
Now make the target 37 ppb. The fifth halving overshoots to 25, so the answer is somewhere between 4 and 5 halvings, and no amount of finger counting will say where. The unknown is stuck up in an exponent, where ordinary algebra can't reach it. This Lesson gets it down.
Change that multiplies
Linear change adds the same amount in every step. Exponential change multiplies by the same factor in every step.
A gain of 3% per year is a factor of 1.03 each year, and a loss of 10% per year is a factor of 0.90. Call the fractional change per step , so 0.03 or −0.10 here. After steps from a start of , you've multiplied by the factor times:
A half-life is the same idea with the step chosen so the factor comes out to exactly , and a doubling time is the same idea with a factor of 2. The exponent simply counts halvings:
That picture is why a half-life never changes. The multiplier doesn't know how much is there. Falling from 800 to 400 takes the same 6 days as falling from 100 to 50, because both are a factor of .
One more form shows up everywhere, with a strange-looking base. Suppose something grows 100% over a period. In one step, it multiplies by 2. Split that into two 50% steps and you get , because the second step also grows the first step's gain. Twelve steps give 2.613. A million give 2.71828, and more steps barely move it. Growth smeared out continuously tops out at that number, called , so continuous change is written with as the base:
Here is the continuous rate: positive grows and negative decays. Many problems state a positive rate and write decay as , with the minus sign carrying the decay.
A logarithm asks: what exponent?
A logarithm answers one question. asks what power of 2 gives 8, and the answer is 3. That's the definition in the Handbook's Logarithms section:
Two bases get their own names. In the Handbook and on your calculator, means base 10, the common log, and means base , the natural log. So , , and .
A positive base raised to any power stays positive. No exponent turns 10 into 0 or into −2, so and don't exist: what's inside a log has to be positive. Hold on to that, because it decides which answers survive later.
Logs are exponents, so they obey the exponent rules. Multiply two powers of 10 and the exponents add, and that fact in log language is the product rule. The Handbook prints all three rules with a plain log, but they hold in any base, included.
| Rule | Exponent fact | Log rule |
|---|---|---|
| Product | ||
| Quotient | ||
| Power |
Log rules adapted from the FE Reference Handbook, Logarithms
Notice what's missing: there's no rule for the log of a sum. is , while is . A sum inside a log stays there.
The product rule also explains the base-10 log scale, which places each number at its log, so distance on the page measures multiplying instead of adding. Multiplying by 10 adds to a number's log, so every factor of 10 takes the same length, called one log cycle. The Handbook's soil consolidation curve has a pressure axis like this, though the Handbook doesn't print the term.
Bringing an exponent down
Here's the standard form to spot: an unknown up in an exponent. Take the log of both sides, and the power rule brings it down where algebra can reach it. For :
That checks out, since and bracket 50. Either log works, because is also 5.64. Just use the same one on top and bottom. The answer is a ratio of two logs and not the log of a ratio: misses the bracket entirely.
A growing or decaying quantity takes one step first: get the exponential alone by dividing out the starting value. Then take the log. When the base is , reach for , since . Setting gives the half-life that the Handbook prints in its Radiation section, , where 0.693 is .
Logarithmic equations: combine, undo, check
Now the unknown sits inside a log. Three moves handle it:
- Combine. Use the rules to get a single log on a side.
- Undo. Apply the definition: becomes , and becomes . If each side is a single log in the same base, their insides are equal.
- Check. Put every root back into the original equation, and throw out any that makes a log's inside zero or negative.
The check isn't a formality, because combining opens a door. needs both and to be positive. Its combined form, , only needs their product to be positive, and two negatives make a positive. That's how an impostor gets in.
Changing base
Your calculator has and , so what about ? Read what it asks: what power of 2 gives 50? You already solved that, and it came out as . Written in general, that's the change-of-base formula in the Handbook's Logarithms section:
Here is whichever base you have a button for. The case you'll use most connects the two buttons. The Handbook prints the factor as 2.302585, and 2.303 is plenty:
The picture is simple. Since is a smaller base than 10, it takes a bigger exponent to reach the same number, and always by the same ratio. To reach 10, it's or .
Exponentials convert the same way. Any positive base is to some power, namely , so:
That turns into and into . Going from back to base 10, divide the exponent by 2.303 instead.
The same conversion shows that the two growth forms are one curve, with , so . The Handbook's Population Projection Equations print both forms and call both rates , so watch which one you have.