Solving Exponential and Logarithmic Equations
Solve equations with unknown exponents using logarithms, solve log equations by rewriting them, and answer doubling-time and half-life questions.
Welcome back!
Step 1 of 12Learn
When the unknown is in the exponent
You invest $5,000 at 7% interest compounded yearly. When will it reach $10,000?
The model is 5000(1.07)t = 10000. The unknown t sits in the exponent, so ordinary algebra can't reach it. Logarithms can, because the power rule brings exponents down.
- Isolate the exponential: (1.07)t = 2.
- Take the log of both sides: log(1.07t) = log 2.
- Use the power rule: t·log 1.07 = log 2.
- Divide: t = log 2 / log 1.07 ≈ 0.30103 / 0.02938 ≈ 10.24 years.
That's the general strategy: isolate the power, take logs, bring the exponent down, solve. Use ln or log, whichever is handy; both give the same answer. When the base is e, ln is natural: e^(2x) = 9 gives 2x = ln 9, so x = ln 9 / 2 ≈ 1.10.
Sometimes you don't need logs at all. If both sides can be written with the same base, set the exponents equal. For 4^(x + 1) = 8x, write 4 = 22 and 8 = 23: 2^(2x + 2) = 2^(3x), so 2x + 2 = 3x and x = 2.
The classic error is skipping step 1. In 5000(1.07)t = 10000, you can't take logs while the 5000 is still multiplied in front, or you'd need log(5000·1.07t) and the product rule, which is more work and easy to botch.
Step 2 of 12Practice · Put in order
Order the steps to solve 3·2x = 48.
Drag the items, or use the arrow buttons, to put them in order.
- Apply the power rule: x·log 2 = log 16
- Divide: x = log 16 / log 2 = 4
- Divide both sides by 3: 2x = 16
- Take the log of both sides: log(2x) = log 16
Step 3 of 12Practice · Work it out
Solve 5x = 200. Give x to two decimal places.
Step 4 of 12Practice · Chart
$5,000 growing at 7% a year
Tap the first year shown with a balance above $10,000.
Tap the point that answers the question, then press Check.
| Years | Balance |
|---|---|
| 0 | $5,000 |
| 2 | $5,725 |
| 4 | $6,554 |
| 6 | $7,504 |
| 8 | $8,591 |
| 10 | $9,836 |
| 12 | $11,261 |
Step 5 of 12Learn
Doubling time and half-life
Two special questions come up so often that they have names.
Doubling time is how long an exponentially growing quantity takes to double. For growth factor b per period, solve bt = 2: t = log 2 / log b. For continuous growth at rate r, solve e^(rt) = 2: t = ln 2 / r ≈ 0.693 / r.
That last formula is the source of the Rule of 70 (or 72): divide 70 by the percentage growth rate to estimate the doubling time. At 7% growth, money doubles in about 70/7 = 10 years, matching the 10.24 years we computed exactly.
Half-life is the time for a decaying quantity to fall to half. After one half-life, 50% remains; after two, 25%; after three, 12.5%. A quantity with half-life h follows:
A = A0 (1/2)^(t/h)
Example: carbon-14 has a half-life of about 5,730 years. A bone with 20% of its original carbon-14 satisfies (1/2)^(t/5730) = 0.20. Taking logs: t = 5730 × log 0.20 / log 0.5 ≈ 5730 × 2.32 ≈ 13,300 years. This is how radiocarbon dating works.
Medicine uses half-lives too: if a drug has a 6-hour half-life, about 1/16 of a dose remains after 24 hours (four half-lives).
Step 6 of 12Practice · Work it out
A sample of a medicine has a half-life of 4 hours. What percent of the original amount remains after 12 hours?
Step 7 of 12Chart
A 4-hour half-life
Step 8 of 12Learn
Solving logarithmic equations
When the unknown is inside a logarithm, rewrite the equation in exponential form.
Example 1. log_3(x − 1) = 4. Exponential form: x − 1 = 34 = 81, so x = 82.
Example 2. log x + log(x − 3) = 1. First combine with the product rule: log(x(x − 3)) = 1. Then rewrite: x(x − 3) = 101 = 10. That gives x2 − 3x − 10 = 0, so (x − 5)(x + 2) = 0 and x = 5 or x = −2.
Now check both in the original equation. x = −2 would require log(−2), which is undefined. So x = −2 is an extraneous solution and must be rejected. The only solution is x = 5. Check: log 5 + log 2 = log 10 = 1.
Extraneous solutions are common with logs because combining logs can widen the domain: log(x(x − 3)) accepts x = −2, since (−2)(−5) = 10 is positive, but the original log x does not.
Example 3. ln(2x) = ln(x + 7). When two logs with the same base are equal, their insides are equal: 2x = x + 7, so x = 7. Both logs are defined at x = 7, so it's valid.
The rule of thumb: every solution of a log equation must make every log in the original equation defined.
Step 9 of 12Diagram
Checking a candidate solution of a log equation
Tap a shape with to see more.
- Candidate x from algebra
- Plug into every log
Use the original equation, before combining logs.
- All arguments > 0: keep
- Any argument ≤ 0: reject
The log of zero or a negative number is undefined, so the value is extraneous.
Step 10 of 12Note
Step 11 of 12Practice · What would you do?
What would you do?
Solving log_2(x) + log_2(x + 6) = 4, a student gets x2 + 6x − 16 = 0, so x = 2 or x = −8. What should the final answer be?
Step 12 of 12Practice · Choose one
Using the Rule of 70, about how long does it take a city growing at 2% per year to double its population?
Lesson complete!