Solving Logarithmic Equations With Worked Examples

A logarithmic equation is solved by getting the variable out of the logarithm: isolate a single log, convert it to exponential form, solve the ordinary equation that remains, and check every answer. The check is not optional — condensing logs can create extraneous solutions that look right and are wrong.

What Is the 4-Step Method for Solving Log Equations?

Every logarithmic equation yields to the same four steps:

  1. Isolate. Get one logarithm alone on one side of the equation. If several log terms appear, use the logarithm rules to condense them into a single log first.
  2. Convert. Rewrite logb(S) = c as b^c = S. The log disappears and an ordinary equation remains.
  3. Solve. Solve the resulting equation with normal algebra.
  4. Check. Substitute each answer back into the original equation. Any value that makes a log argument zero or negative is extraneous — discard it.

Shortcut: if both sides are logs with the same base, logb(A) = logb(B), then A = B directly — the one-to-one property.

How Do You Solve a One-Line Log Equation?

Example 1: solve log2(x) = 3.

  1. The log is already isolated, so convert straight to exponential form: 2^3 = x.
  2. 2^3 = 8, so x = 8.
  3. Check: log2(8) = 3, because 2^3 = 8. The argument 8 is positive, so the solution is valid. x = 8.

Example 2: solve log2(3x + 1) = 4.

  1. Convert to exponential form: 3x + 1 = 2^4.
  2. 2^4 = 16, so 3x + 1 = 16.
  3. Subtract 1: 3x = 15. Divide by 3: x = 5.
  4. Check: 3(5) + 1 = 16, and log2(16) = 4 because 2^4 = 16. The argument is positive, so x = 5 is valid.

Example 3: solve log5(x – 3) + 2 = 4.

  1. Isolate the log first: subtract 2 from both sides to get log5(x – 3) = 2.
  2. Convert to exponential form: x – 3 = 5^2 = 25.
  3. Add 3: x = 28.
  4. Check: 28 – 3 = 25, and log5(25) = 2 because 5^2 = 25. Then 2 + 2 = 4, which matches the original equation. x = 28 is valid.

The pattern is the same in all three: isolate, convert, solve, check. Harder examples only add a condensing step first.

How Do You Solve a Log Equation With a Natural Log?

Natural-log equations work exactly the same way, with e as the base. The conversion is ln(S) = c becomes e^c = S.

Example 4: solve 2 ln(x) + 3 = 7.

  1. Isolate the log: subtract 3 from both sides to get 2 ln(x) = 4, then divide by 2: ln(x) = 2.
  2. Convert to exponential form: x = e^2.
  3. e^2 is about 7.389, so x is about 7.389.
  4. Check: ln(7.389) = 2, so 2 x 2 + 3 = 7. Valid.

Example 5: solve ln(x – 1) = 2.

  1. The log is isolated, so convert: x – 1 = e^2.
  2. e^2 is about 7.389, so x = e^2 + 1, which is about 8.389.
  3. Check: x – 1 = e^2, which is positive, and ln(e^2) = 2. Valid.

Leave answers as e^2 or e^2 + 1 unless a decimal is asked for — exact form is what exam mark schemes expect. The free Logarithm Calculator gives the decimal when you need it.

How Do You Solve a Log Equation by Condensing First?

When two or more log terms appear, condense them into one log with the product and quotient rules before converting.

Example 6: solve log(x) + log(x – 3) = 1.

  1. Condense with the product rule: log(x) + log(x – 3) = log(x(x – 3)).
  2. The equation is now log(x(x – 3)) = 1. Convert to exponential form: x(x – 3) = 10^1 = 10.
  3. Expand: x^2 – 3x = 10, so x^2 – 3x – 10 = 0.
  4. Factor: (x – 5)(x + 2) = 0, so x = 5 or x = -2.
  5. Check both: at x = 5, the arguments are 5 and 2, both positive, and log(5) + log(2) = log(10) = 1. Valid. At x = -2, the argument x is -2 — negative, so log(-2) is undefined. x = -2 is extraneous and must be discarded.
  6. The only solution is x = 5.

This is why step 4 exists: the algebra produced x = -2, and only the domain check catches it.

What Is the Classic Extraneous-Solution Trap?

The most famous trap in this topic is a sum of two logs that produces two candidates, one of which breaks both arguments at once.

Example 7: solve log3(x – 12) + log3(x – 6) = 3.

  1. Condense with the product rule: log3((x – 12)(x – 6)) = 3.
  2. Convert to exponential form: (x – 12)(x – 6) = 3^3 = 27.
  3. Expand: x^2 – 18x + 72 = 27, so x^2 – 18x + 45 = 0.
  4. Factor: (x – 15)(x – 3) = 0, so x = 15 or x = 3.
  5. Check x = 15: the arguments are 15 – 12 = 3 and 15 – 6 = 9, both positive. log3(3) + log3(9) = 1 + 2 = 3. Valid.
  6. Check x = 3: the arguments are 3 – 12 = -9 and 3 – 6 = -3. Both are negative, so both logs are undefined. x = 3 is extraneous.
  7. The only solution is x = 15.

The trap works because (x – 12)(x – 6) is positive at x = 3 — a negative times a negative — so the condensed equation cannot see it. Never trust a candidate you have not substituted into the original equation.

How Do You Solve a Log Equation With Logs on Both Sides?

When both sides are logs with the same base, equate the arguments directly.

Example 8: solve log2(x) = log2(5).

  1. Same base on both sides, so the one-to-one property gives x = 5.
  2. Check: log2(5) = log2(5), and the argument 5 is positive. Valid.

Example 9: solve log2(x + 3) = log2(6 – x) + 3.

  1. Gather the logs on one side: log2(x + 3) – log2(6 – x) = 3.
  2. Condense with the quotient rule: log2((x + 3) / (6 – x)) = 3.
  3. Convert to exponential form: (x + 3) / (6 – x) = 2^3 = 8.
  4. Multiply out: x + 3 = 8(6 – x) = 48 – 8x, so 9x = 45 and x = 5.
  5. Check: x + 3 = 8 and 6 – x = 1, both positive. log2(8) = 3 and log2(1) = 0, so 3 = 0 + 3. Valid. x = 5.

What Are the Common Mistakes When Solving Log Equations?

MistakeWhat goes wrongHow to avoid it
Skipping the domain checkExtraneous solutions survive (x = -2, x = 3 above)Substitute every candidate into the original equation
Taking the log of only one sidelog(2^x) = 5 does not become x log(2) = 5 unless you log both sidesApply the log to the whole equation, both sides
Splitting log(a + b)log(x + 3) is not log(x) + log(3)There is no rule for the log of a sum — leave it whole
Mixing baseslog2(x) + log10(x) cannot be condensedConvert one log first, or evaluate separately
Forgetting ln means base eln(x) = 2 becomes x = 10^2 by mistakeln converts with e: x = e^2, about 7.389

One more habit that saves marks: when a variable sits in an exponent rather than inside a log — 2^x = 40, for example — take the log of both sides and use the power rule to pull x down: x log(2) = log(40), so x = log(40) / log(2), about 5.322. That direction is covered in Calcrio’s Exponential Equation Solver, and the rules behind it are in the logarithm rules with examples guide.

Try the Free Logarithm Calculator

Every answer in this guide can be checked in seconds. Calcrio’s free Logarithm Calculator evaluates log base 10, natural log, and log with any base, so you can verify log2(16) = 4, ln(7.389) = 2, or log5(25) = 2 before you trust your working. If the exponent side needs a refresher, the Exponent Calculator is the companion tool. Browse the full collection in the Math Calculators hub.

Frequently Asked Questions

What is the first step in solving a logarithmic equation?

Isolate a single logarithm on one side of the equation. If several log terms appear, condense them into one log with the product and quotient rules first, then convert to exponential form.

How do you convert log2(x) = 3 to exponential form?

log2(x) = 3 becomes 2^3 = x, so x = 8. In general, logb(S) = c becomes b^c = S — the base stays the base, the log’s answer becomes the exponent.

What is an extraneous solution in a log equation?

A value the algebra produces that makes a log argument zero or negative in the original equation. For example, log3(x – 12) + log3(x – 6) = 3 gives x = 15 and x = 3, but x = 3 makes both arguments negative, so only x = 15 is a real solution.

How do you solve 2 ln(x) + 3 = 7?

Isolate the log: ln(x) = 2. Convert with base e: x = e^2, which is about 7.389. Check: ln(7.389) = 2, so 2 x 2 + 3 = 7.

Can both sides of a log equation be logs?

Yes. If logb(A) = logb(B) with the same base, then A = B directly — the one-to-one property of logarithms. If the bases differ, convert one side first with the change of base rule.

Why must the argument of a logarithm be positive?

Because a positive base raised to any real power is always positive, so it can never equal zero or a negative number. That is why every proposed solution must be checked against the original equation’s arguments.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top