On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Advanced Functions · Grade 9-12

Solving Logarithmic Equations

Solving a logarithmic equation means releasing a variable trapped inside a log, by converting to exponential form or combining logs first.

log⁡b(expression)=c  ⟹  bc=expression

Quick Answer

Solving a logarithmic equation means releasing a variable trapped inside a log, by converting to exponential form or combining logs first. The key move rewrites log⁡b(stuff)=c as stuff=bc: from log⁡3(2x+1)=2 you get 2x+1=9, so x=4. When there are several logs, merge them into one with the log properties before converting. Finish by substituting each answer back into the original logs, because a log accepts only positive inputs, and correct algebra can still produce a root that fails.

Why This Matters

Log equations appear whenever a measurement is reported on a log scale and you need the original quantity: the hydrogen-ion concentration behind a pH, the sound intensity behind a decibel reading, the energy behind an earthquake magnitude. The method also builds a habit used throughout algebra: an answer produced by correct steps can still be invalid, and only the original equation can tell you.

Intuitive Explanation

A log equation is an exponent statement in disguise. log⁡2x=5 says "the power of 2 that gives x is 5", which means x=25=32. Rewriting in exponential form states the same fact the other way round, and once the log is gone the equation is ordinary algebra: log⁡2(x+3)=5 becomes x+3=32, so x=29.

With two logs, combine first. log⁡2x+log⁡2(x−2)=3 becomes log⁡2(x(x−2))=3, then x2−2x=8, which factors as (x−4)(x+2)=0. The algebra offers x=4 and x=−2, but log⁡2(−2) does not exist, since no power of 2 is negative. Only x=4 survives, and it checks: log⁡24+log⁡22=2+1=3. The extra root slipped in when the two logs merged, because the product x(x−2) is positive at x=−2 even though both factors are negative.

Compare 2x=10. Both kinds of equation mix logs and powers, but there the unknown is the exponent, so you take a log of both sides to bring it down. Here the unknown is inside the log, so you do the opposite and exponentiate. The deciding detail is where x lives: up in an exponent calls for a log; inside a log's parentheses calls for exponential form.

Think of it like this. A log is a locked box holding the answer to "which power of b?". The key is the base itself: raising b to both sides opens the box, since blog⁡b(stuff)=stuff. Whatever comes out must be positive, though, because the box could only ever have held a positive number.

Core idea. Rewrite log⁡b(stuff)=c as bc=stuff to free the variable from the logarithm.


When to Use

Use this method when the unknown appears inside a logarithm, as in log⁡5(x−1)=2 or ln⁡x+ln⁡(x+1)=ln⁡6, or when you must recover the original quantity from a log-scale reading such as pH or decibels. With two or more logs, combine them first. If the unknown is in an exponent instead, as in 5x=12, take a log; that is an exponential equation. Every candidate needs a domain check at the end.

Tip. Ask: Is the unknown the argument of a log, so I rewrite as bc=argument to release it?

How to Recognize It

Before converting a log equation, count how many logs hold the unknown and check what sits on the other side of the equals sign.

  1. Is there exactly one log, with a plain number on the other side, as in log⁡2(x−1)=3?

    If yes, rewrite in exponential form at once: x−1=23=8, so x=9. When two or more logs hold the unknown, combine them into one first.

  2. Are there two logs on the same side, such as log⁡x+log⁡(x−3)=1?

    If yes, merge them with the product rule: log⁡(x(x−3))=1, so x2−3x=10 and x=5 or x=−2. Then check: −2 makes log⁡x undefined, so only x=5 survives.

  3. Is there a single log on each side with the same base, as in ln⁡(2x+1)=ln⁡(x+4)?

    If yes, set the insides equal, since a log takes each value only once: 2x+1=x+4 gives x=3, and both insides equal 7, which is positive. No exponentiating is needed.

  4. Is the unknown up in an exponent rather than inside a log, as in 6x=40?

    If yes, the work runs the other way: take a log of both sides to bring x down, which is solving an exponential equation. Exponentiate to free an unknown from inside a log; take a log to free one from an exponent.

Solving Logarithmic Equations compared with Solving exponential equations, Logarithm properties, and Extraneous-root check (no method per se)

All four rows can appear in a single solution, which is why they are hard to separate. Ask whether you are freeing an unknown from a log, freeing one from an exponent, merging logs as one step, or testing an answer you already have.

Solving Logarithmic Equations

Meaning
Use this when the unknown is inside a logarithm and must be freed by exponentiating or by combining logs first.
Key test
Is the unknown the argument of a log, so I rewrite as bc=argument to release it?
Formula
log⁡b(expression)=c  ⟹  bc=expression
Example
Solve log⁡2(x−1)=4.

Solving exponential equations

Meaning
The reverse: the unknown is the exponent, so you take a log.
Key test
Use when the variable is up in the power.
Formula
ax=b⇒x=log⁡ab
Example
3x=20

Logarithm properties

Meaning
Combine separate logs into one before converting; a step, not the whole solve.
Key test
Use to merge log⁡x+log⁡y into log⁡(xy) first.
Formula
log⁡bx+log⁡by=log⁡b(xy)
Example
Combine log⁡(x)+log⁡(x−3)

Extraneous-root check (no method per se)

Meaning
Verifying each candidate keeps all log arguments positive.
Key test
Use always at the end of a log solve.
Formula
argument >0
Example
Reject x=−2 in log⁡x

Formula & Notation

log⁡b(expression)=c  ⟹  bc=expression
log⁡b(expr)=c  ⟺  bc=expr, with domain restriction expr>0; solutions must satisfy all original log arguments >0

How to read it: Convert log⁡b(⋅)=c to bc=(⋅) to remove the logarithm.

Worked Examples

Example 1 — Solve a log equation

Easy

Solve log⁡2(x−1)=4.
Show the steps and the answer
  1. Rewrite in exponential form: log⁡2(x−1)=4 means 24=x−1.

    The log says 4 is the power of 2 that produces x−1.

  2. Evaluate and solve: x−1=16, so x=17.

    With the log gone, only a one-step linear equation is left.

  3. Check: log⁡2(17−1)=log⁡216=4, and the argument 16 is positive.

    The answer must reproduce the 4 and keep the log's input above 0.

Answer: x=17

Takeaway: One log equal to a number: convert to exponential form, solve, then confirm the argument is positive.

Example 2 — Hidden extraneous root

Standard

Solve log⁡(x)+log⁡(x−3)=1 (base 10).
Show the steps and the answer
  1. Combine with the product rule: log⁡(x(x−3))=1.

    Exponential form needs exactly one log, so merge the two first.

  2. Convert: x(x−3)=101, so x2−3x−10=0.

    The base is 10, so the right side becomes 101=10.

  3. Factor: (x−5)(x+2)=0, giving x=5 or x=−2.

    The quadratic offers two candidates, and each must face the original equation.

  4. Check x=−2: log⁡(−2) is undefined, so reject it. Check x=5: log⁡5+log⁡2=log⁡10=1.

    At x=−2 the merged form works, since (−2)(−5)=10, but each separate log has a negative input.

Answer: x=5 (reject x=−2, makes log⁡ undefined)

Takeaway: Merging logs can create an extra root; test every candidate in the original logs, not in the merged one.

Example 3 — Find the mistake: a sum of logs is not the log of a sum

Application

Solve log⁡3x+log⁡3(x+6)=3. Ana writes: "Exponentiate: x+(x+6)=33=27, so 2x=21 and x=10.5." Find the mistake and correct it.
Show the steps and the answer
  1. Test Ana's answer: log⁡310.5+log⁡316.5=log⁡3173.25≈4.69, not 3.

    Substituting shows her answer fails, so one of her steps is wrong.

  2. Find the error: she turned a sum of logs into the log of a sum.

    The product rule says log⁡3x+log⁡3(x+6)=log⁡3(x(x+6)): logs add when their arguments multiply.

  3. Combine correctly, then convert: x(x+6)=33=27, so x2+6x−27=0.

    Only once the logs are merged into one does exponentiating remove them.

  4. Factor: (x+9)(x−3)=0. Reject x=−9, since log⁡3(−9) is undefined.

    Check x=3: log⁡33+log⁡39=1+2=3.

Answer: x=3

Takeaway: Merge logs with the product rule before converting; exponentiating term by term changes the equation.

Where You'll See It

  • Acidity from a pH reading

    pH is defined by pH=−log⁡[H+]. Lemon juice at pH 2.3 has log⁡[H+]=−2.3, so [H+]=10−2.3≈0.0050 mol/L. Water at pH 7 has 10−7, so the lemon juice has about 104.7≈50,000 times more hydrogen ions.

  • Sound intensity behind a decibel reading

    Sound level is L=10log⁡I10−12, with I in watts per square metre. A reading of 85 dB gives log⁡I10−12=8.5, so I=10−12⋅108.5=10−3.5≈3.2×10−4 W/m². Hearing-safety limits are set from values like this.

  • Energy released by an earthquake

    Seismologists relate magnitude M to energy E in joules by log⁡E=4.8+1.5M. For a magnitude 6 quake, log⁡E=13.8, so E=1013.8≈6.3×1013 J. Each step up in magnitude multiplies the energy by 101.5≈32.

Common Mistakes

  1. The slip: Skipping the domain check

    Instead: reject any solution that makes a log's argument zero or negative.

  2. The slip: Converting before combining

    Instead: merge multiple logs into one with the properties, then exponentiate.

  3. The slip: Mixing up direction

    Instead: the variable is inside the log, so exponentiate; do not take another log.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Solve log⁡3(2x+1)=2.

    Hint: Rewrite in exponential form with base 3.

  2. Solve log⁡5x+log⁡54=2.

    Hint: Combine the logs into one first.

  3. Solve ln⁡(x−2)=3 to two decimal places.

    Hint: The base of ln⁡ is e.

  4. Solve log⁡2x+log⁡2(x+2)=3.

    Hint: After solving the quadratic, test each root in the original logs.

  5. One worksheet has 7x=30 and log⁡7x=30. For which do you exponentiate, and for which do you take a log?

    Hint: Look at where x sits in each equation.

  6. A student solves log⁡x+log⁡(x+21)=2 (base 10) and writes: "x=4 or x=−25." Correct the answer.

    Hint: Substitute each value into the original logs.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why do log equations produce fake solutions when many other equations do not?

Because combining logs widens what is allowed. In log⁡2x+log⁡2(x+2)=3\log_2 x + \log_2(x + 2) = 3, each log needs its own inside positive, so x>0x > 0. The merged log⁡2(x(x+2))=3\log_2(x(x + 2)) = 3 only needs the product positive, which two negatives also satisfy. Solving x2+2x−8=0x^2 + 2x - 8 = 0 gives 2 and −4-4, and −4-4 fits the merged equation but not the original. Squaring both sides of an equation creates fake roots the same way.

Is log⁡x=0 the same as x=0?

No, and it is a common slip. log⁡x=0\log x = 0 means 100=x10^0 = x, so x=1x = 1. In fact log⁡0\log 0 does not exist at all, since no power of 10 is zero. Likewise ln⁡x=1\ln x = 1 gives x=ex = e, not x=1x = 1, and log⁡x=−2\log x = -2 gives x=0.01x = 0.01. Translate to exponential form every time rather than guessing from the look of the equation.

How does a pH reading turn back into a concentration?

pH is defined as −log⁡[H+]-\log[\text{H}^+], so a reading of 3.5 is the equation −log⁡[H+]=3.5-\log[\text{H}^+] = 3.5. Multiply by −1-1 and rewrite: [H+]=10−3.5≈3.2×10−4[\text{H}^+] = 10^{-3.5} \approx 3.2 \times 10^{-4} moles per litre. Each drop of 1 in pH multiplies the concentration by 10, so lemon juice near pH 2 has about 100,000 times the hydrogen ions of pure water at pH 7.

What if the logs have different bases, like log⁡2x=log⁡4(x+6)?

Convert to one base first. Since 4=224 = 2^2, log⁡4(x+6)=log⁡2(x+6)2\log_4(x + 6) = \frac{\log_2(x + 6)}{2}, so the equation becomes 2log⁡2x=log⁡2(x+6)2\log_2 x = \log_2(x + 6), and then x2=x+6x^2 = x + 6. That gives x=3x = 3 or x=−2x = -2, and only x=3x = 3 keeps log⁡2x\log_2 x defined. Check: log⁡23≈1.585\log_2 3 \approx 1.585 and log⁡49≈1.585\log_4 9 \approx 1.585. The rejected root fails on one side only: log⁡4(−2+6)=1\log_4(-2 + 6) = 1 exists, but log⁡2(−2)\log_2(-2) does not.

Learning Path

Solving Logarithmic Equations

You are here

You need Logarithm (reading log⁡bx=c as bc=x) and Logarithm Properties (the product, quotient and power rules for merging logs). This topic adds the convert-and-check routine and the habit of rejecting roots that make an argument zero or negative. It feeds into Exponential Growth, where you solve for rates and starting amounts, and it exercises the rules of Exponents, since every conversion produces a power.

See Also