Equations containing logarithms require techniques that exploit the definition and properties of logarithmic functions. Converting to exponential form, applying the one-to-one property, and using logarithm rules to combine expressions — these methods reduce logarithmic equations to algebraic ones. Every solution must be verified against domain restrictions, as the solving process can introduce extraneous values.
Every argument of every logarithm in the original equation must be positive. Identify these restrictions before solving.
For loga(f(x)) to be defined, f(x)>0.
Example: In log3(x−5)+log3(x+1)=2, the restrictions are:
x−5>0⟹x>5
x+1>0⟹x>−1
The intersection is x>5. Any solution must satisfy x>5.
Solving:
log3((x−5)(x+1))=2
(x−5)(x+1)=9
x2−4x−5=9
x2−4x−14=0
x=24±16+56=24±72=2±32
Since 32≈4.24, we have x≈6.24 or x≈−2.24. Only x=2+32 satisfies x>5.
Extraneous Solutions
Extraneous solutions arise when algebraic manipulation produces values that violate the original equation's domain. Always substitute back into the original equation.
Example: Solve log(x)+log(x−3)=1.
log(x(x−3))=1
x(x−3)=10
x2−3x−10=0
(x−5)(x+2)=0
x=5 or x=−2
Check x=5: log(5)+log(2) — both defined, sum equals log(10)=1. Valid.
Check x=−2: log(−2) — undefined. Extraneous.
The squaring, factoring, or combining steps do not "create" these solutions — they were always algebraic solutions to the transformed equation. The domain restrictions eliminate them.
Equations Requiring Substitution
Some equations have a quadratic structure in the logarithm. Substitution simplifies the algebra.
Example: Solve (log2(x))2−5log2(x)+6=0.
Let u=log2(x):
u2−5u+6=0
(u−2)(u−3)=0
u=2 or u=3
Back-substitute:
log2(x)=2⟹x=4
log2(x)=3⟹x=8
Both satisfy x>0. Solutions: x=4 and x=8.
Example: Solve ln(x)+ln(x)6=5.
Let u=ln(x):
u+u6=5
u2+6=5u
u2−5u+6=0
(u−2)(u−3)=0
Back-substitute: x=e2 or x=e3.
Solving Exponential Equations via Logarithms
When an exponential equation cannot be solved by matching bases, take the logarithm of both sides.
Example: Solve 3x=7.
No integer power of 3 equals 7. Take logarithms:
log(3x)=log(7)
x⋅log(3)=log(7)
x=log(3)log(7)≈0.4770.845≈1.771
Either log or ln works — the ratio is identical.
Example: Solve 52x+1=12.
ln(52x+1)=ln(12)
(2x+1)ln(5)=ln(12)
2x+1=ln(5)ln(12)
2x=ln(5)ln(12)−1
x=21(ln(5)ln(12)−1)≈0.271
Exponentials on Both Sides
When exponential expressions with different bases appear on both sides, logarithms bring down both exponents.