Leave lesson

Pure · Exponentials & logarithms

1 / 9

Solving exponential and logarithmic equations

Taking logs to solve a^x = b, equations with e^x and ln, hidden quadratics in e^x or a^x, and log equations solved with the laws — always checking which roots are valid.

Pure · Exponentials & logarithms

Solving exponential and logarithmic equations

Taking logs to solve a^x = b, equations with e^x and ln, hidden quadratics in e^x or a^x, and log equations solved with the laws — always checking which roots are valid.

Why it works

When the unknown is stuck in the exponent, take logs of both sides and use the power law to bring it down. To solve ax=ba^x = b:

ax=b    logax=logb    xloga=logb    x=logbloga.a^x = b \;\Rightarrow\; \log a^x = \log b \;\Rightarrow\; x\log a = \log b \;\Rightarrow\; x = \frac{\log b}{\log a}.

Any base works; for ex=be^x = b the natural choice is ln\ln, giving x=lnbx = \ln b directly.

Hidden quadratics. Equations like e2x5ex+6=0e^{2x} - 5e^{x} + 6 = 0 or 22x92x+8=02^{2x} - 9\cdot 2^{x} + 8 = 0 look exponential but become quadratics under a substitution: let u=exu = e^{x} (so e2x=u2e^{2x} = u^2) or u=2xu = 2^{x}. Solve for uu, then go back with logs — and discard any non-positive uu, because exe^x and 2x2^x are always positive.

Log equations. When the unknown is inside logs, use the laws to collapse each side to a single log, then either equate the arguments (if the bases and the "log=log\log =\log" form match) or rewrite in index form:

logaf(x)=c    f(x)=ac.\log_a f(x) = c \;\Rightarrow\; f(x) = a^{c}.

Always check your roots. A log is only defined for a positive argument, so any candidate that makes any log in the original equation take the log of zero or a negative number must be rejected — it is not a genuine solution even though it solves the quadratic.