Study and Productivity

Solving Exponential and Logarithmic Equations: Four Methods and Extraneous Roots

Solve exponential and log equations by matching bases, taking logs, substituting for hidden quadratics and combining logs, then reject extraneous roots.

Saizul Amin
Saizul Amin3 Nov 2026 · 4 min read
Solving Exponential and Logarithmic Equations: Four Methods and Extraneous Roots

Solving Exponential and Logarithmic Equations: Four Methods and Extraneous Roots

Exponential and logarithmic equations look varied, but almost all school questions fall into four types. Recognise the type and the method follows. The part that catches people is the final check, because combining logarithms can create answers that do not satisfy the original equation. This guide covers each type with a worked example and then shows how to test every answer.

Laws you need

  • Product law: log(A) + log(B) = log(AB).
  • Quotient law: log(A) - log(B) = log(A/B).
  • Power law: log(A^n) = n log(A).
  • Definition: log_b(y) = x means b^x = y.
  • Change of base: log_b(y) = ln(y)/ln(b).

All of these require A, B and y to be positive.

Type 1: rewrite with the same base

Solve 9^(x + 1) = 27^x.

Both 9 and 27 are powers of 3: 9 = 3^2 and 27 = 3^3. So the equation becomes 3^(2x + 2) = 3^(3x). Exponential functions are one-to-one, so the exponents must be equal: 2x + 2 = 3x, giving x = 2.

Check: 9^3 = 729 and 27^2 = 729.

Type 2: take logarithms of both sides

Solve 5^x = 40. There is no common base, so take natural logs: x ln 5 = ln 40, and x = ln 40 / ln 5 ≈ 2.2920.

The same idea handles different bases on each side. For 2^(x + 1) = 3^x, take logs to get (x + 1) ln 2 = x ln 3. Collect the x terms: x(ln 3 - ln 2) = ln 2, so x = ln 2 / (ln 3 - ln 2) ≈ 1.7095. Check: 2^2.7095 and 3^1.7095 are both about 6.541.

Type 3: a hidden quadratic

Solve 4^x - 6·2^x + 8 = 0.

Notice that 4^x = (2^x)^2. Let y = 2^x. Then y^2 - 6y + 8 = 0, which factorises as (y - 2)(y - 4) = 0, so y = 2 or y = 4.

Now go back to x: 2^x = 2 gives x = 1, and 2^x = 4 gives x = 2. If either value of y had been zero or negative, that branch would have no solution, because 2^x is always positive.

Type 4: equations with logarithms

Solve log_2(x) + log_2(x + 2) = 3.

First write down the domain: log_2(x) needs x > 0 and log_2(x + 2) needs x > -2, so together x > 0.

Combine with the product law: log_2(x(x + 2)) = 3.

Rewrite in exponential form: x(x + 2) = 2^3 = 8.

Solve the quadratic: x^2 + 2x - 8 = 0, so (x + 4)(x - 2) = 0 and x = -4 or x = 2.

Apply the domain: x = -4 is not positive, so log_2(-4) is undefined and that candidate is rejected. The only solution is x = 2. Check: log_2(2) + log_2(4) = 1 + 2 = 3.

The rejected value is called an extraneous root. It appeared because the combined equation x(x + 2) = 8 accepts negative x, while the original logs do not.

Common mistakes

  1. Writing log(A + B) = log A + log B. There is no law for the log of a sum.
  2. Dividing ln 40 by ln 5 correctly but then writing it as ln 8, as if the logs could be cancelled.
  3. Forgetting to reject negative values of y in a substitution question.
  4. Skipping the domain check in log equations and keeping an extraneous root.
  5. Using log on one side and ln on the other. Either base works, but use the same one throughout.

How to check your answer

Substitute every answer into the original equation, not into a rearranged version. A calculator check with decimals is enough to spot errors. You can also sketch both sides as separate graphs; each solution is an x-coordinate where they cross, so the number of crossings tells you how many answers to expect.

Doing it with the tool

Enter any of the examples above into the Exponential and Logarithmic Equation Solver, using ^ for powers, ln for natural logs and log_2(x) for base-2 logs. The tool identifies which of the four types it is, shows the working, and checks every candidate against the original equation, listing extraneous values with the reason they fail. Both sides are graphed so you can see where they meet. A separate tab summarises the log laws, and the practice section offers same-base, take-logs and log-law questions.

Limits

The solver looks for solutions in a fixed range and does not return complex solutions. Equations that do not match a standard type are solved numerically, so the answer is a decimal rather than an exact form like ln 40 / ln 5. It is a study aid for checking your steps and building confidence, not a way to skip writing out the method that examiners want to see.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages