Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Solve an Exponential Equation with Logarithms

When the two sides cannot be written with the same base, take a logarithm of both sides. The power rule brings the unknown exponent down to the ground floor, where ordinary algebra finishes the job.

Recognize the task

The unknown is in an exponent and the numbers are not powers of one base: 3x=203^x = 20, 5⋅2x=605\cdot 2^{x} = 60, e0.3t=4e^{0.3t} = 4, 7x+2=3x7^{x+2} = 3^{x}. Test: substitution of small integers does not land exactly, and the bases do not match.
The lesson calls this solving with logarithms; the log rules it uses are in expanding logarithmic expressions.

Two ways to do it

Take ln (or log) of both sidesusual choice
bu=c  ⇒  uln⁡b=ln⁡c  ⇒  u=ln⁡cln⁡bb^u = c \;\Rightarrow\; u\ln b = \ln c \;\Rightarrow\; u = \frac{\ln c}{\ln b}
Any base works; ln⁡\ln is standard. The power rule moves the exponent in front.
Rewrite as a logarithm directlysame thing, shorter
bu=c  ⇒  u=log⁡bc=ln⁡cln⁡bb^u = c \;\Rightarrow\; u = \log_b c = \frac{\ln c}{\ln b}
Read the equation as "uu is the exponent that turns bb into cc" and evaluate with the change of base formula.

Steps

StepOn 5⋅2x−3=575\cdot 2^{x} - 3 = 57
1Isolate the power. Undo the additions and multiplications around it first (preparing the equation). Logarithms must see a lone power on one side.5⋅2x=60  ⇒  2x=125\cdot 2^x = 60 \;\Rightarrow\; 2^x = 12
2Take ln of both sides. Both sides, the whole side.ln⁡(2x)=ln⁡12\ln(2^x) = \ln 12
3Bring the exponent down. Power rule: ln⁡(2x)=xln⁡2\ln(2^x) = x\ln 2. If the exponent is an expression, it comes down as a bracket.Power rule for logarithms ↗xln⁡2=ln⁡12x\ln 2 = \ln 12
4Solve for the unknown and evaluate. Divide by the log in front; give the exact form, then a decimal.x=ln⁡12ln⁡2≈3.585x = \frac{\ln 12}{\ln 2} \approx 3.585

Worked examples

Example 1 · a plain power equals a number

basic
3x=20  ⇒  xln⁡3=ln⁡203^x = 20 \;\Rightarrow\; x\ln 3 = \ln 20
ln both sides, power rule
x=ln⁡20ln⁡3≈2.727x = \frac{\ln 20}{\ln 3} \approx 2.727

Example 2 · base e with a rate

ln cancels e
e0.3t=4  ⇒  0.3t=ln⁡4e^{0.3t} = 4 \;\Rightarrow\; 0.3t = \ln 4
ln⁡eu=u\ln e^{u} = u
t=ln⁡40.3≈4.62t = \frac{\ln 4}{0.3} \approx 4.62

Example 3 · the unknown on both sides

collect the x terms
7x+2=3x  ⇒  (x+2)ln⁡7=xln⁡37^{x+2} = 3^{x} \;\Rightarrow\; (x + 2)\ln 7 = x\ln 3
ln both sides; brackets around the exponent
x(ln⁡7−ln⁡3)=−2ln⁡7x(\ln 7 - \ln 3) = -2\ln 7
collect xx on one side
x=−2ln⁡7ln⁡7−ln⁡3≈−4.59x = \frac{-2\ln 7}{\ln 7 - \ln 3} \approx -4.59

See it happen

A logarithm answers "which exponent?". Asking ln⁡\ln about 2x2^x returns xx times ln⁡2\ln 2, so the unknown drops out of the exponent and becomes a factor. Everything after that is a linear equation.

Common mistakes

Taking the log before isolating

✗ ln⁡(5⋅2x−3)=ln⁡57\ln(5\cdot 2^x - 3) = \ln 57, then stuck
✓ isolate first: 2x=122^x = 12, then take logs

Splitting a log over a sum

✗ ln⁡(2x+3)=xln⁡2+ln⁡3\ln(2^x + 3) = x\ln 2 + \ln 3
✓ no rule does that; isolate the power instead

Dropping the bracket on a compound exponent

✗ ln⁡7x+2=x+2ln⁡7\ln 7^{x+2} = x + 2\ln 7
✓ ln⁡7x+2=(x+2)ln⁡7\ln 7^{x+2} = (x + 2)\ln 7

Dividing the logs the wrong way

✗ x=ln⁡3ln⁡20x = \frac{\ln 3}{\ln 20} for 3x=203^x = 20
✓ x=ln⁡20ln⁡3x = \frac{\ln 20}{\ln 3}; the argument goes on top