A log­a­rith­mic equa­tion has the unknown inside a log­a­rithm, or in the base of one. Solv­ing it uses two tools: the laws, to col­lect every­thing into a sin­gle log­a­rithm, and the def­i­n­i­tion, to remove the log­a­rithm alto­gether. There is one extra step that ordi­nary equa­tions do not need: every answer must be checked, because a log­a­rithm only exists for a pos­i­tive num­ber and an allowed base. Answers that fail the check are thrown away.

The tools

Remove the log­a­rithm using the def­i­n­i­tion:

log⁡aN=x  ⟹  N=ax\log_a N = x \implies N = a^x

Two spe­cial cases come up again and again: log⁡aN=0\log_a N = 0 means N=1N = 1, and log⁡aN=1\log_a N = 1 means N=aN = a.

Remove log­a­rithms from both sides (Law 12): log⁡am=log⁡an  ⟹  m=n\log_a m = \log_a n \implies m = n.

Col­lect log­a­rithms first: log⁡am+log⁡an=log⁡amn\log_a m + \log_a n = \log_a mn and log⁡am−log⁡an=log⁡amn\displaystyle \log_a m - \log_a n = \log_a \frac{m}{n}.

Check every answer in the orig­i­nal equa­tion. Each num­ber inside a log­a­rithm must be pos­i­tive, and each base must be pos­i­tive and not 1.

Exam­ple 1

If log⁡5(2x+3)=0\log_5(2x + 3) = 0, find xx.

A log­a­rithm is 0 only when the num­ber is 1, so 2x+3=12x + 3 = 1. Then 2x=−22x = -2 and x=−1x = -1. Check: 2(−1)+3=12(-1) + 3 = 1, which is pos­i­tive. So x=−1x = -1.

Exam­ple 2

If log⁡5(2x−3)=1\log_5(2x - 3) = 1, find xx.

A log­a­rithm is 1 only when the num­ber equals the base, so 2x−3=52x - 3 = 5. Then 2x=82x = 8 and x=4x = 4. Check: 2(4)−3=5>02(4) - 3 = 5 > 0.

Exam­ple 3

If log⁡2(x2+5x+8)=1\log_2(x^2 + 5x + 8) = 1, find xx.

The num­ber must equal the base: x2+5x+8=2x^2 + 5x + 8 = 2, so x2+5x+6=0x^2 + 5x + 6 = 0. Split the mid­dle term:

x2+2x+3x+6=0x(x+2)+3(x+2)=0(x+2)(x+3)=0\begin{aligned} x^2 + 2x + 3x + 6 &= 0 \\ x(x + 2) + 3(x + 2) &= 0 \\ (x + 2)(x + 3) &= 0 \end{aligned}

So x=−2x = -2 or x=−3x = -3. Check both: for x=−2x = -2, 4−10+8=24 - 10 + 8 = 2; for x=−3x = -3, 9−15+8=29 - 15 + 8 = 2. Both make the num­ber 2, which is pos­i­tive, so both answers stand. A neg­a­tive value of xx is per­fectly fine; it is the num­ber inside the log­a­rithm that must be pos­i­tive.

Exam­ple 4

If log⁡2x+log⁡2(x+1)=1\log_2 x + \log_2(x + 1) = 1, find xx.

Com­bine with the prod­uct law: log⁡2x(x+1)=1\log_2 x(x + 1) = 1, that is log⁡2(x2+x)=1\log_2(x^2 + x) = 1. So

x2+x=2x2+x−2=0x2+2x−x−2=0x(x+2)−1(x+2)=0(x−1)(x+2)=0\begin{aligned} x^2 + x &= 2 \\ x^2 + x - 2 &= 0 \\ x^2 + 2x - x - 2 &= 0 \\ x(x + 2) - 1(x + 2) &= 0 \\ (x - 1)(x + 2) &= 0 \end{aligned}

So x=1x = 1 or x=−2x = -2. Now check. If x=−2x = -2, the orig­i­nal equa­tion con­tains log⁡2(−2)\log_2(-2), which is not defined. So x=−2x = -2 is rejected. For x=1x = 1: log⁡21+log⁡22=0+1=1\log_2 1 + \log_2 2 = 0 + 1 = 1. The answer is x=1x = 1.

Exam­ple 5

If log⁡10(x−9)+log⁡10x=1\log_{10}(x - 9) + \log_{10} x = 1, find xx.

log⁡10x(x−9)=1x2−9x=10x2−9x−10=0x2−10x+x−10=0(x−10)(x+1)=0\begin{aligned} \log_{10} x(x - 9) &= 1 \\ x^2 - 9x &= 10 \\ x^2 - 9x - 10 &= 0 \\ x^2 - 10x + x - 10 &= 0 \\ (x - 10)(x + 1) &= 0 \end{aligned}

So x=10x = 10 or x=−1x = -1. For x=−1x = -1, log⁡10(−1)\log_{10}(-1) is not defined, so it is rejected. The answer is x=10x = 10. Check: log⁡101+log⁡1010=0+1=1\log_{10} 1 + \log_{10} 10 = 0 + 1 = 1.

Exam­ple 6

If log⁡2x−log⁡2(x+1)=5\log_2 x - \log_2(x + 1) = 5, find xx.

Use the quo­tient law: log⁡2xx+1=5\displaystyle \log_2 \frac{x}{x + 1} = 5, so xx+1=25=32\displaystyle \frac{x}{x + 1} = 2^5 = 32. Then

x=32x+32  ⟹  −31x=32  ⟹  x=−3231\displaystyle x = 32x + 32 \implies -31x = 32 \implies x = -\frac{32}{31}

But for this value log⁡2x=log⁡2(−3231)\displaystyle \log_2 x = \log_2\left(-\frac{32}{31}\right) is not defined. So the equa­tion has no real solu­tion. This makes sense: for pos­i­tive xx, the frac­tion xx+1\displaystyle \frac{x}{x+1} is always less than 1, so its log­a­rithm to the base 2 is neg­a­tive and can never be 5.

Exam­ple 7

If log⁡2(x2+x+1)+log⁡2(x−1)=3\log_2(x^2 + x + 1) + \log_2(x - 1) = 3, find xx.

Com­bine: log⁡2(x2+x+1)(x−1)=3\log_2 (x^2 + x + 1)(x - 1) = 3. The iden­tity (a−b)(a2+ab+b2)=a3−b3(a - b)(a^2 + ab + b^2) = a^3 - b^3 gives (x−1)(x2+x+1)=x3−1(x - 1)(x^2 + x + 1) = x^3 - 1. So

x3−1=23=8  ⟹  x3=9  ⟹  x=93x^3 - 1 = 2^3 = 8 \implies x^3 = 9 \implies x = \sqrt[3]{9}

Check: 93\sqrt[3]{9} is about 2.08, so x−1>0x - 1 > 0 and x2+x+1>0x^2 + x + 1 > 0. The answer is x=93x = \sqrt[3]{9}.

Exam­ple 8

Solve log⁡2(3x−2)=log⁡1/2x\log_2(3x - 2) = \log_{1/2} x.

Make the bases the same. Since 12=2−1\displaystyle \frac{1}{2} = 2^{-1}, Law 5 gives log⁡2−1x=1−1log⁡2x=log⁡2x−1\displaystyle \log_{2^{-1}} x = \frac{1}{-1} \log_2 x = \log_2 x^{-1}. So

log⁡2(3x−2)=log⁡2x−13x−2=1x3x2−2x−1=03x2−3x+x−1=03x(x−1)+1(x−1)=0(3x+1)(x−1)=0\displaystyle \begin{aligned} \log_2(3x - 2) &= \log_2 x^{-1} \\ 3x - 2 &= \frac{1}{x} \\ 3x^2 - 2x - 1 &= 0 \\ 3x^2 - 3x + x - 1 &= 0 \\ 3x(x - 1) + 1(x - 1) &= 0 \\ (3x + 1)(x - 1) &= 0 \end{aligned}

So x=1x = 1 or x=−13\displaystyle x = -\frac{1}{3}. For x=−13\displaystyle x = -\frac{1}{3}, log⁡1/2x\log_{1/2} x is not defined. The answer is x=1x = 1. Check: log⁡21=0\log_2 1 = 0 and log⁡1/21=0\log_{1/2} 1 = 0.

Exam­ple 9

If log⁡2log⁡3log⁡5x=0\log_2 \log_3 \log_5 x = 0, find xx.

Peel off one log­a­rithm at a time. A log­a­rithm is 0 only when its num­ber is 1, so log⁡3log⁡5x=1\log_3 \log_5 x = 1. A log­a­rithm is 1 only when its num­ber equals the base, so log⁡5x=3\log_5 x = 3. Finally x=53=125x = 5^3 = 125.

Check from the inside: log⁡5125=3\log_5 125 = 3, log⁡33=1\log_3 3 = 1, log⁡21=0\log_2 1 = 0.

When the unknown is in the base

The same def­i­n­i­tion works. Remem­ber that the base must be pos­i­tive and not 1.

Exam­ple 10

If log⁡x4=−13\displaystyle \log_x 4 = -\frac{1}{3}, find xx.

In expo­nen­tial form, 4=x−1/34 = x^{-1/3}. Raise both sides to the power −3-3: 4−3=x4^{-3} = x, so x=143=164\displaystyle x = \frac{1}{4^3} = \frac{1}{64}. This is a pos­i­tive base other than 1, so it is accepted.

Exam­ple 11

If log⁡1/x4=−2\log_{1/x} 4 = -2, find xx.

In expo­nen­tial form, 4=(1x)−2=(x−1)−2=x2\displaystyle 4 = \left(\frac{1}{x}\right)^{-2} = (x^{-1})^{-2} = x^2. So x=2x = 2 or x=−2x = -2. If x=−2x = -2, the base 1x=−12\displaystyle \frac{1}{x} = -\frac{1}{2} is neg­a­tive, which is not allowed. So x=2x = 2.

Exam­ple 12

If log⁡5x3=log⁡527\log_5 \sqrt[3]{x} = \log_5 27, find xx.

By Law 12, x3=27\sqrt[3]{x} = 27. Cube both sides: x=273=(33)3=39=19683x = 27^3 = (3^3)^3 = 3^9 = 19683.

Prac­tice

  1. If log⁡3(4x−7)=0\log_3(4x - 7) = 0, find xx.
  2. If log⁡11(2x+1)=1\log_{11}(2x + 1) = 1, find xx.
  3. If log⁡6(x2−5x+12)=1\log_6(x^2 - 5x + 12) = 1, find xx.
  4. If log⁡5x=log⁡5(3−x)\log_5 x = \log_5(3 - x), find xx.
  5. If log⁡5x−1x−2=1\displaystyle \log_5 \frac{x - 1}{x - 2} = 1, find xx.
  6. If log⁡10x+log⁡10(x−3)=1\log_{10} x + \log_{10}(x - 3) = 1, find xx.
  7. If log⁡3x−log⁡3(x−2)=1\log_3 x - \log_3(x - 2) = 1, find xx.
  8. If log⁡x9=−23\displaystyle \log_x 9 = -\frac{2}{3}, find xx.
  9. If log⁡2log⁡4x=1\log_2 \log_4 x = 1, find xx.
  10. Solve log⁡3(x+6)=log⁡1/31x\displaystyle \log_3(x + 6) = \log_{1/3} \frac{1}{x}.

Answers

Show answers
  1. 4x−7=14x - 7 = 1, so x=2x = 2.
  2. 2x+1=112x + 1 = 11, so x=5x = 5.
  3. x2−5x+12=6x^2 - 5x + 12 = 6, so x2−5x+6=0x^2 - 5x + 6 = 0 and (x−2)(x−3)=0(x - 2)(x - 3) = 0. Both x=2x = 2 and x=3x = 3 make the num­ber 6, so both stand.
  4. x=3−xx = 3 - x, so x=32\displaystyle x = \frac{3}{2}. Both xx and 3−x3 - x are then pos­i­tive.
  5. x−1=5(x−2)x - 1 = 5(x - 2), so x−1=5x−10x - 1 = 5x - 10, 4x=94x = 9 and x=94\displaystyle x = \frac{9}{4}. Check: 9/4−19/4−2=5/41/4=5\displaystyle \frac{9/4 - 1}{9/4 - 2} = \frac{5/4}{1/4} = 5, which is pos­i­tive.
  6. x2−3x=10x^2 - 3x = 10, so (x−5)(x+2)=0(x - 5)(x + 2) = 0. Reject x=−2x = -2. Answer: x=5x = 5.
  7. xx−2=3\displaystyle \frac{x}{x - 2} = 3, so x=3x−6x = 3x - 6 and x=3x = 3. Check: log⁡33−log⁡31=1\log_3 3 - \log_3 1 = 1.
  8. 9=x−2/39 = x^{-2/3}, so x=9−3/2=127\displaystyle x = 9^{-3/2} = \frac{1}{27}.
  9. log⁡4x=2\log_4 x = 2, so x=16x = 16.
  10. log⁡1/31x=log⁡3x\displaystyle \log_{1/3} \frac{1}{x} = \log_3 x, so x+6=xx + 6 = x, which is impos­si­ble. There is no solu­tion.