Solving Logarithmic Equations
Basic Technique for Solving Logarithms
If an equation with logarithms can be solved using algebraic techniques, then those techniques will generally involve the product, quotient, and power rules of logarithms—applied in either direction—as well as examining the problem for common bases. If the equation can be manipulated into the form logbx=y (that is, involving just a single logarithm) then x=by.
Example: Solve log4x⋅log2x2=16
Solution: First, note that by the power rule log2x2=2 log2x, so the original equation reduces to log4x⋅log2x=8. Next, using the change of base rule, we have log4x=log2xlog24=log2x2. Substituting this into log4x⋅log2x=8 and cross-multiplying by 2, we get log2x⋅log2x=log2x2=16. Taking the square roots of both sides gives log2x=±4. So, there are two solutions: x=24=16 and x=2−4=116.
Caution: When solving equations involving logarithms, it is very important to keep in mind that the domain of a logarithm function is the positive numbers. As we will see in the examples below, algebraic manipulations of expressions involving logarithms can easily lead to "solutions" which are not valid because of this domain restriction. As a simple illustration, observe that the domain of the function y=log3x2 is x≠0, while the domain of y=2 log3x is x>0. The product rule for logarithms requires that all the logarithms appearing in the rule be properly defined.
Example
Suppose we want to find the solutions to this equation:
log16x+13+log16x−2=1
Use the (reverse of the) product rule for logarithms:
log16x+13⋅x−2=1
Expand the inner quadratic:
log16x2+11⁢x−26=1
Each side of the above equation is graphed to the right. The solution to the problem is their intersection. Note that since we can only take the logarithm of positive numbers, the domain of the left-hand side function is the set of all numbers satisfying both x+13>0 and x−2>0, or equivalently x>−13 and x>2. This means the domain of the function y=log16x+13+log16x−2 is the set of all numbers satisfying x>2.
Inverting the logarithm by raising 16 to both sides gives:
x2+11 x−26=161
Rewrite this as:
x2+11 x−42=0
This factors as:
x+14⋅x−3=0, so x=−14 or x=3
Graphed on the right is the function x2+11 x−42, with the two roots shown. However, due to the restrictions placed on the original equation, that is, x>2, only solutions found in the solid region are valid for the original problem. So the solution to the original problem is x=3.
Step by step Logarithmic Equation solver
Solve a logarithmic equation interactively using this step-by-step example.
More MathApps
MathApps/FunctionsAndRelations
Download Help Document