Solving equations involving exponential and logarithmic functions
In Year 12 Mathematical Methods (Queensland, QCAA), you solve exponential equations by taking a logarithm of both sides (\(e^x=k\Rightarrow x=\ln k\)) and logarithmic equations by rewriting them in index form (\(\log_a x=k\Rightarrow x=a^k\)). The log laws combine several logs into one, and every log solution is checked against the domain — a log needs a positive argument, so out-of-range answers are rejected.
An exponential equation has the unknown in the exponent (like \(e^x=7\) or \(5^x=40\)); a logarithmic equation has the unknown inside a logarithm (like \(\ln x=3\) or \(\log_2 x=5\)). Because \(y=e^x\) and \(y=\ln x\) are inverses, and \(a^x=b\) is the same statement as \(x=\log_a b\), each type is undone by the other.
To solve an exponential equation, take a logarithm of both sides; the power law \(\log a^x=x\log a\) then brings the unknown down out of the exponent. To solve a logarithmic equation, rewrite in index form: \(\log_a x=k\) becomes \(x=a^k\). When several logs appear, first combine them with the log laws into a single logarithm.
Logarithms are only defined for a positive argument, so a log equation can produce answers that must be rejected. Always substitute each solution back: if it makes the argument of any log zero or negative, discard it. Some equations are quadratics in disguise — a substitution such as \(y=2^x\) or \(m=\ln x\) turns them into a quadratic you can factorise.
Solving an exponential equation (take a logarithm; \(r>0\), \(k>0\)):
Solving a logarithmic equation (rewrite in index form):
The logarithm laws used to combine logs before solving:
How to solve a logarithmic equation
- Combine the logs. Use the sum, difference and power laws to write one logarithm on each side (or a single \(\log = \text{number}\)).
- Undo the log. Rewrite \(\log_a(\text{expression})=k\) in index form \(\text{expression}=a^{k}\) (or, if both sides are logs to the same base, equate the arguments).
- Solve the resulting equation for \(x\) — often linear or quadratic.
- Check the domain. Substitute each solution back; reject any that make the argument of a log zero or negative.
Take \(\ln\) of both sides so the exponent comes down.
| \(e^{2x-1}\) | \(=\) | \(7\) |
| \(2x-1\) | \(=\) | \(\ln 7\) |
| \(x\) | \(=\) | \(\dfrac{1+\ln 7}{2}\approx 1.47\) |
Take \(\ln\); use \(\ln 5^{x}=x\ln 5\), then divide.
| \(x\ln 5\) | \(=\) | \(\ln 40\) |
| \(x\) | \(=\) | \(\dfrac{\ln 40}{\ln 5}=\log_{5}40\) |
| \(\approx\) | \(2.29\) |
(a) Rewrite in index form (base \(e\)).
| \(x+2\) | \(=\) | \(e^{1}\) |
| \(x\) | \(=\) | \(e-2\approx 0.72\) |
(b) \(\log_{2}x=5\Rightarrow x=2^{5}=32\).
Combine with the product law, then rewrite in index form.
| \(\log_{10}\!\big(x(x-3)\big)\) | \(=\) | \(1\) |
| \(x(x-3)\) | \(=\) | \(10\) |
| \(x^{2}-3x-10\) | \(=\) | \(0\) |
| \((x-5)(x+2)\) | \(=\) | \(0\) |
\(x=5\) or \(x=-2\); the domain needs \(x>3\), so reject \(x=-2\). \(x=5\).
Common pitfalls
Frequently asked questions
How do you solve an exponential equation like e^x = 7?
Take \(\ln\) of both sides (the inverse of \(e^x\)): \(e^x=7\) gives \(x=\ln 7\approx 1.95\).
How do you solve 5^x = 40 (a base other than e)?
Take \(\ln\) and use \(\ln 5^x=x\ln 5\): \(x=\dfrac{\ln 40}{\ln 5}=\log_5 40\approx 2.29\).
How do you solve a logarithmic equation like log_2 x = 5?
Rewrite in index form: \(\log_2 x=5\Rightarrow x=2^{5}=32\). Likewise \(\ln x=3\Rightarrow x=e^{3}\).
Why do you check the domain when solving log equations?
A log is defined only for a positive argument, so reject any solution that makes an argument \(\le 0\). \(\log x+\log(x-3)=1\Rightarrow x=5\) (rejecting \(x=-2\)).
How do you solve e^(2x-1) = 7 with a linear exponent?
Take \(\ln\) of the whole side: \(2x-1=\ln 7\), so \(x=\dfrac{1+\ln 7}{2}\approx 1.47\).
How do you solve a quadratic in disguise like 2^(2x) - 5(2^x) + 4 = 0?
Let \(y=2^x\); then \(y^2-5y+4=0\Rightarrow(y-1)(y-4)=0\), so \(2^x=1\Rightarrow x=0\) and \(2^x=4\Rightarrow x=2\).