Algebra › Section J · Exponential and logarithmic functions › Topic J.5

Solving exponential and logarithmic equations

Exponential and logarithmic equations hide the variable in an exponent or inside a log. Each type is undone by the machinery of the other — and log equations carry one extra duty: checking that the answers you find are answers you may keep.

Two equations, one inverse pair

An exponential equation like \(2^{x+2} = 128\) has the unknown up in the exponent; a logarithmic equation like \(\log_3(x+5) = 4\) has it trapped inside a logarithm. Because exponentials and logarithms are inverse functions, each equation type is solved by applying the other: logarithms pull exponents down to ground level, and exponential form releases a variable from inside a log. The two families also fail differently — exponential equations just need algebra, while log equations can produce answers that violate their own domain and must be checked.

Same base: exponents equal

When both sides of an exponential equation can be written as powers of the same base, set the exponents equal — the one-to-one property of exponentials. For \(2^{x+2} = 128\): write \(128 = 2^7\), so \(x + 2 = 7\) and \(x = 5\). Sometimes the common base hides: \(25^x = 125\) becomes \(5^{2x} = 5^3\), so \(2x = 3\) and \(x = \tfrac{3}{2}\). Always check that the bases genuinely match before equating exponents — \(2^x\) and \(3^x\) are not the same family, and forcing them to be is the fastest way to a wrong answer.

Worked example: when the bases refuse to match

Solve \(7^x = 90\). No power of 7 lands cleanly on 90, so take natural logarithms of both sides: \(\ln 7^x = \ln 90\). The power rule pulls the exponent down as a factor: \(x \ln 7 = \ln 90\). Divide: \(x = \frac{\ln 90}{\ln 7} \approx \frac{4.500}{1.946} \approx 2.31\). Check: \(7^{2.31} \approx 90\). The logarithm did exactly one job — it converted an unreachable exponent into an ordinary coefficient — and the equation became linear.

Isolate the exponential first

The power rule needs a clean exponential, so isolate it before taking logs. For \(4e^{3x} - 7 = 25\): add 7 and divide by 4 to get \(e^{3x} = 8\), then take natural logs of both sides: \(3x = \ln 8\), so \(x = \frac{\ln 8}{3} \approx 0.693\). Check: \(4e^{3(0.693)} - 7 \approx 25\). Taking logs before isolating gives \(\ln(4e^{3x} - 7)\) — the log of a sum, which has no rule to unpack it. Isolate, then log; never the reverse.

Log equations: rewrite in exponential form

A logarithm is an exponent in disguise: \(\log_3(x+5) = 4\) says the power of 3 that equals \(x+5\) is 4 — that is, \(3^4 = x + 5\). Rewrite in exponential form and the log vanishes: \(x + 5 = 81\), so \(x = 76\). The general move is \(\log_b(u) = c \iff u = b^c\). When a single log sits on each side with the same base, the one-to-one property of logarithms drops the logs entirely: \(\log_2(3x) = \log_2(x+4)\) becomes \(3x = x+4\).

Worked example: condense, then solve

Solve \(\log x + \log(x + 3) = 1\). Two logs cannot be equated to 1 directly — condense first with the product rule: \(\log[x(x+3)] = 1\). Exponential form (base 10): \(x(x+3) = 10\), so \(x^2 + 3x - 10 = 0\), which factors as \((x+5)(x-2) = 0\). The candidates are \(x = 2\) and \(x = -5\). This is a common logarithm, so the base is 10 throughout — and the candidates are still only candidates until the domain has its say.

The domain tribunal: reject the impostors

Logarithms accept only positive inputs, so every solution of a log equation must face the original equation. Testing \(x = 2\) in \(\log x + \log(x+3) = 1\): \(\log 2 + \log 5 = \log 10 = 1\) — true, keep it. Testing \(x = -5\): \(\log(-5)\) does not exist — reject it as extraneous. Squaring steps and condensing products can manufacture candidates that never satisfied the original equation, and unlike the arithmetic slips these are not errors but genuine impostors. The check is part of the method, not a courtesy.

How long until it doubles?

Exponential equations answer time questions. How long does \(\$3{,}000\) take to double at \(5\%\) compounded annually? Solve \(3000(1.05)^t = 6000\): divide by 3000, then take logs — \(t = \frac{\ln 2}{\ln 1.05} \approx \frac{0.693}{0.0488} \approx 14.2\) years. The same shape dates the past: a bone with \(25\%\) of its original carbon-14 satisfies \(\left(\tfrac{1}{2}\right)^{t/5730} = 0.25\), and \(t/5730 = 2\) half-lives, so \(t = 11{,}460\) years. Time always lives in the exponent, so time always comes out of a logarithm.

Worked example: a growing city

A city of 8,000 people grows continuously at \(3\%\) a year, modelled by \(P = 8000e^{0.03t}\). When does it reach 16,000? Set \(8000e^{0.03t} = 16{,}000\), divide by 8000: \(e^{0.03t} = 2\). Natural logs give \(0.03t = \ln 2 \approx 0.693\), so \(t \approx 23.1\) years. With base \(e\) the natural logarithm is the matching key, and the isolation step — dividing off the 8,000 — is what made the logarithm legal to take.

Common mistakes to avoid

First, taking logs before isolating the exponential, producing the log of a sum — no rule can unpack it. Second, equating exponents when the bases do not match, or forgetting to convert bases like \(25^x\) and \(125\) to a common \(5\) first. Third, dropping logs from both sides of an equation without the same base on each. Fourth, skipping the domain check on log equations — a negative candidate can sail through the algebra and still be nonsense. Fifth, writing \(\log 90\) as \(\ln 9\) or otherwise mangling log notation: \(\log\) with no base means base 10, and sloppy notation becomes a wrong answer.

Key takeaways

Exponential equations fall to two moves: same base, set exponents equal; different bases, isolate the exponential and take logarithms, using the power rule to bring \(x\) down as a factor. Logarithmic equations fall to their inverse: condense multiple logs into one, rewrite in exponential form, and solve the resulting equation — which may be linear, quadratic, or worse. Every log-equation answer must survive the original equation, because candidates that put a non-positive number inside a log are extraneous and must be rejected. And the applications are everywhere: doubling times, continuous growth, and radiocarbon dating all ask 'when?', and logarithms are how mathematics answers.

Flashcards

Flashcard

Exponential equation

Unknown sits in the exponent

Undo it with logarithms.

Test your understanding

Question 1 of 5

Solve 3^(x + 1) = 81.

Question 2 of 5

Solve 5^x = 17. Give the exact answer.

Question 3 of 5

Solve log₂(x − 4) = 5.

Question 4 of 5

Solve log₂x + log₂(x − 2) = 3.

Question 5 of 5

An investment of $1,500 earns 6% interest compounded annually. How long until it doubles?

← Previous topicNext topic →