Salam Academy
Logarithmic and exponential functions · Subtopic 4 of 5

Logarithmic Equations

Solving equations with the unknown inside a logarithm: combine with the log laws, remove the logs by raising to a power, and always check that the answers are in the domain.

Cambridge 9709 Paper 2Cambridge 9709 Paper 3Edexcel YMA01 WMA12Edexcel 9MA0 Paper 1Edexcel 9MA0 Paper 2AQA 7357 Paper 1≈ 35 minRevision 6 · updated 2026-10-27
Section 1 of 14

Learning objectives

  • Solve log⁡ax=b\log_ax=b by rewriting as x=abx=a^b.
  • Combine logs into a single log on each side, then remove them.
  • Solve the resulting linear or quadratic equation.
  • Reject any solution that would need the log of zero or a negative number.
Pause and think

lg⁡x=2\lg x=2. Without a calculator, what is xx?

Section 2 of 14

Core idea

Start hereUndoing a log

If log⁡2(something)=4\log_2(\text{something})=4, the something is 24=162^4=16. Log equations are solved by combining everything into one log, then "un-logging". The catch: logs only accept positive inputs, so some algebraic answers must be thrown away.

The big idea

Combine logs with the laws into a single log, convert to an exponential with log⁡ab=c  ⟺  b=ac\log_ab=c\iff b=a^c, solve, and check every log's argument is positive.

1. The domain restriction

Logs only exist for positive inputs
−22468−3−2−11230xyy = log₂ xasymptote x = 0no graph here
Nothing to the left of the yy-axis: log⁡2x\log_2x is undefined for x≤0x\le0. That is why some algebraic answers must be rejected.

2. Examples

Worked examplelog⁡2(x+3)+log⁡2(x−3)=4\log_2(x+3)+\log_2(x-3)=4

Solve.

Goal
Valid xx.
Strategy
Combine, un-log, solve, check.
  1. log⁡2[(x+3)(x−3)]=4\log_2[(x+3)(x-3)]=4
    Product law.
  2. x2−9=24=16x^2-9=2^4=16
    Un-log.
  3. x2=25⇒x=±5x^2=25\Rightarrow x=\pm5
    Solve.
  4. x=−5x=-5: log⁡2(−2)\log_2(-2) undefined. Reject.

Answerx=5x=5.
✓ Checklog⁡28+log⁡22=3+1=4\log_28+\log_22=3+1=4 ✓.
Worked example2log⁡3x−log⁡3(x+4)=12\log_3x-\log_3(x+4)=1

Solve.

Goal
xx.
Strategy
Power law, quotient law, un-log.
  1. log⁡3x2x+4=1\log_3\frac{x^2}{x+4}=1
    Combine.
  2. x2=3(x+4)⇒x2−3x−12=0x^2=3(x+4)\Rightarrow x^2-3x-12=0
    Un-log; rearrange.
  3. x=3±572x=\frac{3\pm\sqrt{57}}2
    Formula.
Answerx=3+572≈5.27x=\frac{3+\sqrt{57}}2\approx5.27 (the negative root fails x>0x>0).
✓ Checkx2=27.8x^2=27.8, x+4=9.27x+4=9.27, ratio 3.03.0 ✓.
Worked exampleDifferent bases: log⁡2x=log⁡4(x+6)\log_2x=\log_4(x+6)

Solve.

Goal
xx.
Strategy
Change base so both are base 2.
  1. log⁡4(x+6)=log⁡2(x+6)log⁡24=log⁡2(x+6)2\log_4(x+6)=\frac{\log_2(x+6)}{\log_24}=\frac{\log_2(x+6)}2
    Change of base.
  2. 2log⁡2x=log⁡2(x+6)⇒x2=x+62\log_2x=\log_2(x+6)\Rightarrow x^2=x+6
    Multiply by 2; power law; equate.
  3. (x−3)(x+2)=0(x-3)(x+2)=0
    Solve; reject −2-2.
Answerx=3x=3.
✓ Checklog⁡23=1.585\log_23=1.585; log⁡49=1.585\log_49=1.585 ✓.
Common misconceptionlog⁡(x+3)+log⁡(x−3)≠log⁡(2x)\log(x+3)+\log(x-3)\neq\log(2x) The product law gives log⁡[(x+3)(x−3)]\log[(x+3)(x-3)]: multiply the insides, don't add them.
Pause and think

Solve ln⁡x+ln⁡(x+2)=ln⁡8\ln x+\ln(x+2)=\ln8.

Summary

  • One log, then un-log.
  • Reject non-positive arguments.
Key words
Argument
The input of a log.
HistoryCommon logarithms. Henry Briggs visited John Napier in 1615 and suggested logarithms to base 1010. Base-10 ("common") logarithms, now written lg⁡\lg, were printed in tables used by scientists, navigators and engineers for over three centuries.
Keep reading for free

Create a free account to read the rest of this lesson: key formulae, worked examples, explore the graph, common mistakes, exam tip, guided practice and more. Your answers are checked and your progress is saved.