Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Solve a Logarithmic Equation

Get the equation into one of two shapes: a single log equal to a number, or a single log on each side with the same base. The first becomes an exponential equation, the second an equation between the arguments. Then throw away any answer that makes a log of a non-positive number.

Recognize the task

The unknown is inside a logarithm: log⁡2(x−1)=3\log_2(x - 1) = 3, ln⁡x+ln⁡(x−3)=ln⁡4\ln x + \ln(x - 3) = \ln 4, log⁡(x+3)−log⁡x=1\log(x + 3) - \log x = 1, log⁡3x=log⁡3(2x−5)\log_3 x = \log_3(2x - 5). Test: is there a log sign with xx in its argument?
The lesson covers the basic form, logs on both sides and why extraneous solutions appear.

Two ways to do it

One log = number: exponential formusual choice
log⁡bu=k  ⇒  u=bk\log_b u = k \;\Rightarrow\; u = b^k
The definition of the logarithm read backwards.
Log = log: equate argumentssame base both sides
log⁡bu=log⁡bv  ⇒  u=v\log_b u = \log_b v \;\Rightarrow\; u = v
Logarithms are one-to-one. Both sides must be a single log with the same base first.

Steps

StepOn ln⁡x+ln⁡(x−3)=ln⁡4\ln x + \ln(x - 3) = \ln 4
1Note the domain. Every argument must be positive (domain restrictions). Write the conditions down now; you will need them in step 5.x>0x > 0 and x−3>0x - 3 > 0: need x>3x > 3
2Condense each side to a single logarithm. Expand and condense logarithms: coefficients become exponents, sums become products.Product rule for logarithms ↗ln⁡(x(x−3))=ln⁡4\ln\big(x(x - 3)\big) = \ln 4
3Remove the logs. Log = number: rewrite as a power of the base. Log = log (same base): set the arguments equal.x(x−3)=4x(x - 3) = 4
4Solve the resulting equation. Often a quadratic.x2−3x−4=0  ⇒  (x−4)(x+1)=0  ⇒  x=4,−1x^2 - 3x - 4 = 0 \;\Rightarrow\; (x - 4)(x + 1) = 0 \;\Rightarrow\; x = 4, -1
5Reject answers outside the domain. Compare with step 1. An answer that makes any original argument zero or negative is extraneous.x=−1<3x = -1 < 3 rejected; solution x=4x = 4

Worked examples

Example 1 · one log equals a number

exponential form
log⁡2(x−1)=3  ⇒  x−1=23\log_2(x - 1) = 3 \;\Rightarrow\; x - 1 = 2^3
definition
x=9x = 9
check: log⁡28=3\log_2 8 = 3 ✓

Example 2 · sum of logs

condense first
ln⁡x+ln⁡(x−3)=ln⁡4  ⇒  x(x−3)=4\ln x + \ln(x - 3) = \ln 4 \;\Rightarrow\; x(x - 3) = 4
product rule, equate arguments
x=4x = 4 (and x=−1x = -1 rejected)
domain x>3x > 3

Example 3 · difference of logs equals a number

quotient rule, then base 10
log⁡(x+3)−log⁡x=1  ⇒  log⁡x+3x=1\log(x + 3) - \log x = 1 \;\Rightarrow\; \log\frac{x + 3}{x} = 1
quotient rule
x+3x=10  ⇒  x+3=10x  ⇒  x=13\frac{x + 3}{x} = 10 \;\Rightarrow\; x + 3 = 10x \;\Rightarrow\; x = \tfrac{1}{3}
in the domain x>0x > 0

See it happen

The graph of y=ln⁡xy = \ln x lives entirely to the right of the yy-axis. Solving the squared-out equation can produce a point on the left, like x=−1x = -1, where the graph does not exist. The domain check is just looking at the picture.

Common mistakes

Removing logs term by term

✗ ln⁡x+ln⁡(x−3)=ln⁡4⇒x+(x−3)=4\ln x + \ln(x - 3) = \ln 4 \Rightarrow x + (x - 3) = 4
✓ condense to one log first: x(x−3)=4x(x - 3) = 4

Skipping the domain check

✗ reporting x=−1x = -1 as a solution
✓ ln⁡(−1)\ln(-1) does not exist; reject it

Treating a coefficient as part of the argument

✗ 2log⁡x=log⁡9⇒2x=92\log x = \log 9 \Rightarrow 2x = 9
✓ 2log⁡x=log⁡x22\log x = \log x^2, so x2=9x^2 = 9, x=3x = 3 (not −3-3)