Guides / Logarithms
Solving exponential equations: same base, or take a log
Short answer
First get the exponential term alone on one side. Then: if both sides can be written as powers of the same base, set the exponents equal (2x = 16 = 24, so x = 4). If they can't, take log or ln of both sides and use the power rule to bring the exponent down: 3x = 5 becomes x ln 3 = ln 5, so x = ln 5 / ln 3 ≈ 1.465. Round only at the very end.
Why it works
Two facts do all the work.
- Same base, same exponent. For a base b > 0 with b ≠ 1, every exponent gives a different output: 23 = 8, and no other power of 2 equals 8. So if bu = bv, then u = v.
- Logs turn exponents into multipliers. If two positive numbers are equal, their logs are equal. And the power rule, log(Mp) = p · log M, takes an exponent and moves it out front, where ordinary algebra can reach it.
The power rule applies to log(Mp) and nothing else. That's why isolating comes first: the log has to land on a bare power, not on a sum or a product that contains one.
Example 1: rewrite with a common base
Solve 9x + 1 = 27x.
- (32)x + 1 = (33)x9 and 27 are both powers of 3. Write them that way.
- 32x + 2 = 33xPower of a power: multiply exponents. The 2 multiplies the whole x + 1.
- 2x + 2 = 3xSame base on both sides, so the exponents must be equal.
- x = 2Check: 9³ = 729 and 27² = 729. ✓
Example 2: isolate first
Solve 3 · 2x = 48.
- 2x = 16Divide both sides by 3. The 3 multiplies the power; it is not part of the base.
- 2x = 24Now 16 is visibly a power of 2.
- x = 4Check: 3 · 2⁴ = 3 · 16 = 48. ✓
If you skip line 1 and try to make 3 · 2x into a single power, you'll be tempted to write 6x. That's wrong: the exponent belongs to the 2 only.
Example 3: bases that don't match, so take a log
Solve 4 · 3x − 7 = 13.
- 4 · 3x = 20Add 7 to both sides.
- 3x = 5Divide by 4. The power is now alone.
- ln(3x) = ln 55 isn't a whole-number power of 3, so take ln of both sides. (log base 10 works just as well.)
- x · ln 3 = ln 5Power rule: the exponent x comes down in front.
- x = ln 5ln 3ln 3 is just a number (about 1.0986), so divide by it like any coefficient.
- x ≈ 1.465Round only now. Check: 31.465 ≈ 5.00, and 4 · 5 − 7 = 13. ✓
ln 5 / ln 3 is the exact answer. It's also log3 5, by the change-of-base formula, which is a good way to read it: "the power of 3 that gives 5."
Example 4: x in both exponents
Solve 2x + 1 = 5x.
- ln(2x + 1) = ln(5x)2 and 5 have no common base. Take ln of both sides.
- (x + 1) ln 2 = x ln 5Power rule on each side. Keep x + 1 in parentheses: the whole exponent comes down.
- x ln 2 + ln 2 = x ln 5Distribute ln 2.
- ln 2 = x ln 5 − x ln 2Collect the x terms on one side, like any linear equation.
- ln 2 = x(ln 5 − ln 2)Factor out x.
- x = ln 2ln 5 − ln 2 ≈ 0.756Divide. Check: 21.756 ≈ 3.38 and 50.756 ≈ 3.38. ✓
Once the logs are taken, ln 2 and ln 5 are constants, and this is a linear equation in x. The denominator can also be written ln(5/2), using the quotient rule.
Example 5: a quadratic in disguise
Solve 4x − 3 · 2x − 4 = 0.
- (2x)2 − 3 · 2x − 4 = 04x = (2²)x = (2x)². Now every term is about 2x.
- u2 − 3u − 4 = 0Let u = 2x. It's an ordinary quadratic.
- (u − 4)(u + 1) = 0−4 and 1 multiply to −4 and add to −3.
- 2x = 4 or 2x = −1Put 2x back in for u. These are values of u, not of x.
- x = 22x = 4 gives x = 2. 2x = −1 has no solution: a positive base to any power is positive. Check: 16 − 12 − 4 = 0. ✓
Common mistakes, and the exact line they happen on
1. Taking the log before isolating
- 2x + 5 = 21Solve.
- log(2x) + log 5 = log 21This is the mistake. The log of a sum is not the sum of the logs. Following this line through gives x = log 4.2 / log 2 ≈ 2.07, and 22.07 + 5 ≈ 9.2, not 21.
Subtract 5 first: 2x = 16, so x = 4. No log needed at all.
2. Treating the coefficient as part of the power
- log(3 · 2x) = log 48Logging 3 · 2x = 48 without dividing first.
- 3 · x log 2 = log 48This is the mistake. The power rule works on log(2x), not log(3 · 2x). The 3 is a separate factor: the product rule gives log 3 + x log 2. The wrong line leads to x ≈ 1.86, and 3 · 21.86 ≈ 10.9, not 48.
Done correctly, log 3 + x log 2 = log 48 gives x = (log 48 − log 3)/log 2 = log 16 / log 2 = 4. Dividing by 3 before taking any log gets there with less work.
3. Turning a quotient of logs into a log of a quotient
- x = ln 5ln 3Correct so far, from Example 3.
- x = ln 53 ≈ 0.511This is the mistake. The quotient rule is about a fraction inside one log. ln 5 / ln 3 is one log divided by another, and it equals about 1.465. Check the wrong value: 30.511 ≈ 1.75, not 5.
Type it into a calculator as ln(5) ÷ ln(3), with each log closed off before the division.
4. Rounding the logs too early
- 1.1x = 2How many years for money to double at 10% growth.
- x = ln 2ln 1.1Take ln of both sides and divide. Exact so far.
- x ≈ 0.690.1 = 6.9This is the mistake. ln 1.1 is 0.0953..., and rounding it to 0.1 changes it by about 5%. That error goes straight into the answer. The real value is ln 2 / ln 1.1 ≈ 7.27, and 1.16.9 ≈ 1.93, short of 2.
Keep the exact form ln 2 / ln 1.1 until the last line, then do the whole division on the calculator in one go.
5. Reporting the values of u as the values of x
- (u − 4)(u + 1) = 0From Example 5, with u = 2x.
- x = 4 or x = −1This is the mistake. Those are values of u = 2x, not x. Neither works: x = 4 gives 256 − 48 − 4 = 204, and x = −1 gives 1/4 − 3/2 − 4 = −5.25. Substitute back: 2x = 4 gives x = 2, and 2x = −1 is impossible, so it's rejected.
Practice
Solve 8x = 14.
Show answer
Write both sides as powers of 2: 23x = 2−2, so 3x = −2 and x = −2/3.
Solve 52x − 1 = 125.
Show answer
125 = 53, so 2x − 1 = 3 and x = 2.
Solve 2 · 7x = 30. Give the exact answer and a decimal to three places.
Show answer
Isolate: 7x = 15. Take ln: x ln 7 = ln 15, so x = ln 15 / ln 7 ≈ 1.392.
Solve 3x − 1 = 2x.
Show answer
(x − 1) ln 3 = x ln 2, so x ln 3 − x ln 2 = ln 3 and x = ln 3 / (ln 3 − ln 2) ≈ 2.710.
Solve e2x − ex − 6 = 0.
Show answer
Let u = ex: u2 − u − 6 = 0, (u − 3)(u + 2) = 0. ex = −2 is impossible, so ex = 3 and x = ln 3 ≈ 1.099.