Skip to content
Family Table Math
Auto

Solving Logarithmic Equations

A logarithmic equation has the unknown inside a logarithm, like log⁡4(3x−2)=2\log_4(3x - 2) = 2. The main move is simple: switch to exponential form, and the log disappears. The catch is that logs only accept positive inputs, so some answers that come out of the algebra don’t actually work. Checking every answer is part of the method, not an extra.

If one side is a single log and the other side is a number:

log⁡bA=c⟺A=bc\log_b A = c \quad\Longleftrightarrow\quad A = b^c

For example, log⁡2(x+1)=3\log_2(x + 1) = 3 means x+1=23=8x + 1 = 2^3 = 8, so x=7x = 7.

A logarithmic function never takes the same value twice (it’s always increasing or always decreasing), so if two logs with the same base are equal, their arguments are equal:

log⁡bA=log⁡bB⇒A=B\log_b A = \log_b B \quad\Rightarrow\quad A = B

If there are several logs on one side, use the laws of logarithms to write them as a single log, then use one of the two moves above.

Every log in the original equation needs a positive argument. An answer that makes any argument zero or negative is extraneous, and you reject it.

Why do extra answers appear? Combining logs can widen the domain. In log⁡2x+log⁡2(x−2)\log_2 x + \log_2(x - 2), both xx and x−2x - 2 must be positive, so x>2x \gt 2. But the combined expression log⁡2(x(x−2))\log_2\big(x(x - 2)\big) also works for negative xx, since then x(x−2)x(x - 2) is positive too. Solving the combined equation can pick up an answer that the original equation never had.

The blue graph of log2 x + log2(x - 2) meets y = 3 only at x = 4. The dashed graph of log2(x(x - 2)) also meets it at x = -2. −4 −2 2 4 6 −2 2 4 (4, 3) ✓ x = −2 ✗ y = 3 y = log₂ x + log₂(x − 2) dashed: log₂(x(x − 2))
log⁡2x+log⁡2(x−2)=3\log_2 x + \log_2(x - 2) = 3 has one solution, x=4x = 4. The combined form log⁡2(x(x−2))=3\log_2\big(x(x - 2)\big) = 3 also gives x=−2x = -2, which is extraneous.

A negative answer isn’t automatically wrong, though. For log⁡2(x+5)=1\log_2(x + 5) = 1, the answer is x=−3x = -3, and it’s fine: x+5=2>0x + 5 = 2 \gt 0. Check the arguments, not the sign of xx.

Solve.

  • (a) log⁡4(3x−2)=2\log_4(3x - 2) = 2
  • (b) log⁡(2x+4)=2\log(2x + 4) = 2

Solution.

(a)

3x−2=42=16⇒3x=18⇒x=63x - 2 = 4^2 = 16 \quad\Rightarrow\quad 3x = 18 \quad\Rightarrow\quad x = 6

Check: 3(6)−2=16>03(6) - 2 = 16 \gt 0, and log⁡416=2\log_4 16 = 2. ✓

(b) The base is 1010:

2x+4=102=100⇒2x=96⇒x=482x + 4 = 10^2 = 100 \quad\Rightarrow\quad 2x = 96 \quad\Rightarrow\quad x = 48

Check: log⁡(2(48)+4)=log⁡100=2\log(2(48) + 4) = \log 100 = 2. ✓

Solve.

  • (a) log⁡3(2x+1)=log⁡3(x+7)\log_3(2x + 1) = \log_3(x + 7)
  • (b) 2log⁡x=log⁡362\log x = \log 36

Solution.

(a) The logs have the same base, so the arguments are equal:

2x+1=x+7⇒x=62x + 1 = x + 7 \quad\Rightarrow\quad x = 6

Check: 2(6)+1=132(6) + 1 = 13 and 6+7=136 + 7 = 13, both positive. ✓

(b) Use the power law on the left: log⁡(x2)=log⁡36\log\left(x^2\right) = \log 36, so x2=36x^2 = 36 and x=6x = 6 or x=−6x = -6.

Now check in the original equation. x=6x = 6 works: 2log⁡6=log⁡362\log 6 = \log 36. ✓ But x=−6x = -6 makes log⁡x=log⁡(−6)\log x = \log(-6), which is undefined. Reject it. The only solution is x=6x = 6.

Solve log⁡2x+log⁡2(x−2)=3\log_2 x + \log_2(x - 2) = 3.

Solution. Combine into a single log, then rewrite in exponential form:

log⁡2(x(x−2))=3product lawx(x−2)=23exponential formx2−2x−8=0(x−4)(x+2)=0\begin{aligned} \log_2\big(x(x - 2)\big) &= 3 && \text{product law} \\ x(x - 2) &= 2^3 && \text{exponential form} \\ x^2 - 2x - 8 &= 0 \\ (x - 4)(x + 2) &= 0 \end{aligned}

So x=4x = 4 or x=−2x = -2.

  • x=4x = 4: log⁡24+log⁡22=2+1=3\log_2 4 + \log_2 2 = 2 + 1 = 3. ✓
  • x=−2x = -2: log⁡2(−2)\log_2(-2) is undefined. Reject.

The solution is x=4x = 4. The graph above shows why only one answer survives.

Example 4: Combining with the quotient law

Section titled “Example 4: Combining with the quotient law”

Solve log⁡2(x+6)−log⁡2(x−1)=3\log_2(x + 6) - \log_2(x - 1) = 3.

Solution.

log⁡2x+6x−1=3quotient lawx+6x−1=8exponential formx+6=8(x−1)multiply by x−1x+6=8x−814=7xx=2\begin{aligned} \log_2 \frac{x + 6}{x - 1} &= 3 && \text{quotient law} \\ \frac{x + 6}{x - 1} &= 8 && \text{exponential form} \\ x + 6 &= 8(x - 1) && \text{multiply by } x - 1 \\ x + 6 &= 8x - 8 \\ 14 &= 7x \\ x &= 2 \end{aligned}

Check: x+6=8>0x + 6 = 8 \gt 0 and x−1=1>0x - 1 = 1 \gt 0, and log⁡28−log⁡21=3−0=3\log_2 8 - \log_2 1 = 3 - 0 = 3. ✓

Skipping the check. An answer can come out of perfectly correct algebra and still be extraneous. Substitute each answer into every log of the original equation, and make sure each argument is positive.

Rejecting an answer just because it’s negative. What matters is the arguments. In log⁡2(x+5)=1\log_2(x + 5) = 1, the answer x=−3x = -3 gives log⁡22=1\log_2 2 = 1, which is fine.

“Cancelling” the logs when the sides aren’t single logs. log⁡x+log⁡2=log⁡10\log x + \log 2 = \log 10 does not mean x+2=10x + 2 = 10. Combine first: log⁡(2x)=log⁡10\log(2x) = \log 10, so 2x=102x = 10 and x=5x = 5.

Rewriting in exponential form incorrectly. log⁡3A=2\log_3 A = 2 means A=32=9A = 3^2 = 9. It doesn’t mean A=23A = 2^3 or A=3×2A = 3 \times 2. The base of the log becomes the base of the power.

Combining logs with the wrong law. log⁡x+log⁡(x−2)\log x + \log(x - 2) is log⁡(x(x−2))\log\big(x(x - 2)\big), a product. It is not log⁡(2x−2)\log(2x - 2), which would mean adding the arguments.

1. (Warm-up) Solve.

  • (a) log⁡2x=6\log_2 x = 6
  • (b) log⁡5(x+3)=2\log_5(x + 3) = 2
Solution

(a) x=26=64x = 2^6 = 64

(b) x+3=52=25x + 3 = 5^2 = 25, so x=22x = 22.

2. (Warm-up) Solve log⁡(4x)=3\log(4x) = 3.

Solution

4x=103=10004x = 10^3 = 1000, so x=250x = 250.

3. (Warm-up) Solve log⁡7(3x−1)=log⁡7(x+9)\log_7(3x - 1) = \log_7(x + 9).

Solution

3x−1=x+93x - 1 = x + 9, so 2x=102x = 10 and x=5x = 5. Check: both arguments equal 14>014 \gt 0. ✓

4. (Core) Solve log⁡3(x+2)+log⁡34=2\log_3(x + 2) + \log_3 4 = 2.

Solutionlog⁡3(4(x+2))=2⇒4(x+2)=9⇒x+2=94⇒x=14\log_3\big(4(x + 2)\big) = 2 \quad\Rightarrow\quad 4(x + 2) = 9 \quad\Rightarrow\quad x + 2 = \tfrac{9}{4} \quad\Rightarrow\quad x = \tfrac{1}{4}

Check: x+2=94>0x + 2 = \tfrac{9}{4} \gt 0, and log⁡394+log⁡34=log⁡39=2\log_3 \tfrac{9}{4} + \log_3 4 = \log_3 9 = 2. ✓

5. (Core) Solve log⁡x+log⁡(x+21)=2\log x + \log(x + 21) = 2.

Solutionlog⁡(x(x+21))=2x2+21x=100x2+21x−100=0(x+25)(x−4)=0\begin{aligned} \log\big(x(x + 21)\big) &= 2 \\ x^2 + 21x &= 100 \\ x^2 + 21x - 100 &= 0 \\ (x + 25)(x - 4) &= 0 \end{aligned}

x=−25x = -25 makes log⁡x\log x undefined, so reject it. x=4x = 4: log⁡4+log⁡25=log⁡100=2\log 4 + \log 25 = \log 100 = 2. ✓

The solution is x=4x = 4.

6. (Core) Solve log⁡2(x+3)−log⁡2(x−4)=3\log_2(x + 3) - \log_2(x - 4) = 3.

Solutionx+3x−4=23=8⇒x+3=8x−32⇒35=7x⇒x=5\frac{x + 3}{x - 4} = 2^3 = 8 \quad\Rightarrow\quad x + 3 = 8x - 32 \quad\Rightarrow\quad 35 = 7x \quad\Rightarrow\quad x = 5

Check: x+3=8x + 3 = 8 and x−4=1x - 4 = 1, both positive, and log⁡28−log⁡21=3\log_2 8 - \log_2 1 = 3. ✓

7. (Core) Solve 2log⁡5x−log⁡54=22\log_5 x - \log_5 4 = 2.

Solutionlog⁡5x24=2⇒x24=25⇒x2=100⇒x=±10\log_5 \frac{x^2}{4} = 2 \quad\Rightarrow\quad \frac{x^2}{4} = 25 \quad\Rightarrow\quad x^2 = 100 \quad\Rightarrow\quad x = \pm 10

x=−10x = -10 makes log⁡5x\log_5 x undefined, so reject it. Check x=10x = 10: 2log⁡510−log⁡54=log⁡51004=log⁡525=22\log_5 10 - \log_5 4 = \log_5 \tfrac{100}{4} = \log_5 25 = 2. ✓

8. (Challenge) Solve (log⁡x)2−3log⁡x+2=0(\log x)^2 - 3\log x + 2 = 0.

Solution

This is a quadratic in log⁡x\log x. Let u=log⁡xu = \log x:

u2−3u+2=0⇒(u−1)(u−2)=0⇒u=1  or  u=2u^2 - 3u + 2 = 0 \quad\Rightarrow\quad (u - 1)(u - 2) = 0 \quad\Rightarrow\quad u = 1 \ \text{ or } \ u = 2

log⁡x=1\log x = 1 gives x=10x = 10, and log⁡x=2\log x = 2 gives x=100x = 100. Both are positive, so both work.

Check x=100x = 100: 22−3(2)+2=02^2 - 3(2) + 2 = 0. ✓

9. (Challenge) Solve log⁡2x+log⁡4x=6\log_2 x + \log_4 x = 6.

Solution

The bases are different, so first write log⁡4x\log_4 x in base 22. By change of base, log⁡4x=log⁡2xlog⁡24=12log⁡2x\log_4 x = \dfrac{\log_2 x}{\log_2 4} = \tfrac{1}{2}\log_2 x. Then:

log⁡2x+12log⁡2x=6⇒32log⁡2x=6⇒log⁡2x=4⇒x=16\log_2 x + \tfrac{1}{2}\log_2 x = 6 \quad\Rightarrow\quad \tfrac{3}{2}\log_2 x = 6 \quad\Rightarrow\quad \log_2 x = 4 \quad\Rightarrow\quad x = 16

Check: log⁡216+log⁡416=4+2=6\log_2 16 + \log_4 16 = 4 + 2 = 6. ✓

Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.

As on the rest of this page, log⁡\log with no base means base 1010. For every equation, state the domain restriction (which values of xx keep every argument positive) and check each answer in the original equation.

H1. (Foundations) Solve by rewriting in exponential form.

  • (a) log⁡3(2x+5)=4\log_3(2x + 5) = 4
  • (b) log⁡(5x−10)=1\log(5x - 10) = 1
  • (c) log⁡2(x+7)=−2\log_2(x + 7) = -2

H2. (Foundations) Solve.

  • (a) log⁡(x+4)=log⁡(2x−1)\log(x + 4) = \log(2x - 1)
  • (b) 3log⁡2x=log⁡21253\log_2 x = \log_2 125

H3. (Core) Solve log⁡3x+log⁡3(x−8)=2\log_3 x + \log_3(x - 8) = 2. Identify any extraneous root and explain why it fails.

H4. (Core) Solve log⁡4(5x+2)−log⁡4(x−1)=32\log_4(5x + 2) - \log_4(x - 1) = \tfrac{3}{2}.

H5. (Core) Solve log⁡2(x+1)+log⁡2(x+3)=log⁡2(x+13)\log_2(x + 1) + \log_2(x + 3) = \log_2(x + 13).

H6. (Core) The loudness of a sound, in decibels (dB), is L=10log⁡(I10−12)L = 10\log\left(\dfrac{I}{10^{-12}}\right), where II is the sound intensity in watts per square metre (W/m2\text{W/m}^2).

  • (a) A leaf blower in a Victoria driveway is measured at 9595 dB (a hypothetical reading). Solve for its intensity II. Give an exact power of 1010 and a decimal to three significant figures.
  • (b) A conversation is measured at 7575 dB. How many times as intense as the conversation is the leaf blower?

H7. (Challenge) Here is a student’s solution of log⁡x+log⁡(x−3)=1\log x + \log(x - 3) = 1:

log⁡(2x−3)=1⇒2x−3=10⇒x=6.5\log(2x - 3) = 1 \quad\Rightarrow\quad 2x - 3 = 10 \quad\Rightarrow\quad x = 6.5

Answer these:

  • (a) Explain the mistake in the first step.
  • (b) Show by substitution that x=6.5x = 6.5 does not satisfy the original equation.
  • (c) Solve the equation correctly, and deal with any extraneous root.

H8. (Challenge) Consider the equation log⁡x+log⁡(6−x)=k\log x + \log(6 - x) = k, where kk is a constant.

  • (a) State the domain restriction on xx.
  • (b) Solve the equation when k=log⁡8k = \log 8. How many solutions are there?
  • (c) Show that the equation has no solution when k=1k = 1.
  • (d) Find all values of kk for which the equation has no solution, and the value of kk for which it has exactly one solution. (Hint: what is the largest value of x(6−x)x(6 - x)?)

H9. (Challenge) Solve the system. Explain why one of the pairs you find must be rejected.

log⁡2x+log⁡2y=5x−y=4\begin{aligned} \log_2 x + \log_2 y &= 5 \\ x - y &= 4 \end{aligned}

H10. (Challenge) Two students solve 2log⁡(x−1)=log⁡(x+5)2\log(x - 1) = \log(x + 5).

  • Ana uses the power law to get log⁡((x−1)2)=log⁡(x+5)\log\big((x - 1)^2\big) = \log(x + 5) and finds two solutions.
  • Ben says the original equation has only one solution.

Answer these:

  • (a) Solve the equation and decide who is right about the original equation.
  • (b) Show that both of Ana’s answers really do satisfy log⁡((x−1)2)=log⁡(x+5)\log\big((x - 1)^2\big) = \log(x + 5).
  • (c) Explain why 2log⁡(x−1)2\log(x - 1) and log⁡((x−1)2)\log\big((x - 1)^2\big) are not the same expression for every xx, even though the power law connects them.