Try it with your numbers
Show every step
Every method below is a variation on two moves: rewrite in exponential form when a log equals a number, or drop the logs when two logs of the same base are equal. The check at the end is where most lost points hide. If the notation still feels shaky, what a logarithm actually is takes a few minutes and makes everything here easier.
How do you solve a logarithmic equation step by step?
The idea behind the formula is short. The statement is a question and answer: “what power of gives ?” The answer is . So the equation is the same fact as , written the other way round. Raising to both sides undoes the log, because .
- Write the domain: every argument must be greater than .
- Use the logarithm rules to turn the equation into one log equal to a number (or two single logs equal to each other).
- Isolate that log with a coefficient of .
- Rewrite in exponential form and solve.
- Test each answer against the domain from step 1.
Example 1. Solve . Divide by to isolate the log:
Rewrite in exponential form, then solve:
Check: , and . The domain needs , and passes.
Two notation notes. A log with no written base means base , so gives . The natural logarithm has base , so gives . The table shows which first move fits which shape.
| Shape of the equation | First move |
|---|---|
| One log equals a number | Rewrite in exponential form |
| Log of one thing equals log of another, same base | Set the arguments equal |
| Several logs on one side | Condense into one log first |
| Log squared, plus a log term | Substitute |
| Unknown in the base | Rewrite in exponential form, then restrict the base |
Quick check
Answer:
Why must you check the domain of a logarithmic equation first?
A positive base raised to any power never gives zero or a negative number. That single fact means exists only when . Writing the domain before any algebra turns the final check into a ten-second comparison instead of a re-substitution.
For , the conditions are and . Both must hold, so the domain is . Any answer at or below is dead on arrival, however clean the algebra looked.
This also explains the shape of the graph. The graph of a log function has a vertical asymptote where the argument hits zero, and nothing exists on the other side. Graphing logarithmic functions shows why the domain boundary is always the line where the argument equals zero.
For the domain is . With several logs in one equation, a solution must beat the largest boundary, because it has to satisfy every condition at once.
How do you solve logarithmic equations with logs on both sides?
When both sides are a single log with the same base, the logs can be dropped: implies . This works because a log function never repeats an output, so equal outputs force equal inputs. It mirrors the rule for exponential equations with the same base, where implies .
The rule needs every term to be a single log with coefficient and a matching base. A stray coefficient such as must first move inside as , and a sum of logs must be merged. Condensing logarithms covers the product, quotient and power moves in detail.
Example 2. Solve . The domain is . Merge the left side with the product rule:
Drop the logs and expand:
So or . Only is above . Check: , since . The value is rejected.
Why do logarithmic equations give extraneous solutions?

Condensing logs can quietly widen the domain. The expression requires . But only requires , which is also true for every . The merged equation accepts values that the original never allowed, and the algebra cannot tell the difference.
Example 3. Solve . Merge, then rewrite:
So or . The value makes appear in the original, so it is extraneous. Keep : .
The opposite trap is less known: expanding can lose solutions. Solve and you get , so , and both work. But if you first rewrite it as , you only find . The power rule is valid only for , which is why the proofs of the logarithm properties state that condition. When a squared expression sits inside a log, solve it as written, or use .
Quick check
Answer:
How do you solve logarithmic equations that look like quadratics?
Sometimes the log appears squared, next to a plain log term. Treat the log as a single unknown. Set , solve the quadratic in , then convert each value of back into . Stopping at is the common slip, because the question asks for .
Example 4. Solve . Let :
Convert back: gives , and gives . Numerically that is about and (see Euler’s number ). Both are positive. Check : .
If the quadratic does not factor, the quadratic formula handles it. Quadratic formula practice problems are worth a pass if that step is slow for you.
Keep and apart. The first squares the log value, the second squares the input and equals . They are different expressions, and mixing them up is one of the most common errors on this topic.
Try this: Solve . Hint: the right side equals , so substitute and look for two values. You should end up with and .
What if the variable is in the base or the bases differ?
When the unknown sits in the base, the exponential form still works. For , the base cubed gives , so and . Bases must be positive and not equal to , which rules out answers such as from (where gives and only survives).
When bases differ, convert everything to the smallest base that appears. Coefficients stay whole numbers, for example , and the algebra stays clean.
Different bases need the change of base formula, , to bring the logs onto a common footing.
Example 5. Solve . The domain is . Since , multiply both sides by :
Drop the logs: , so . The value fails the domain, so . Check: , and .
How can you check a logarithmic equation answer quickly?
Substituting into the original equation is the full check, and it is required whenever logs were merged. A faster filter comes first: compare each candidate with the domain you wrote in advance. That alone removes most extraneous answers.
A second filter is a size sanity check. These rules take seconds:
- If with and , then must be greater than .
- If with , then must lie between and .
- If , then , whatever the base.
Not every answer is a whole number. Take . Divide by to get , so . The sanity check: lies between and , so should sit between and , and it does. Leave the exact form unless the question asks for a decimal.
A graph gives a third check. Plot each side as its own function and read the intersection. Since a log graph is the mirror image of an exponential graph across the line , graphing exponential functions helps you see why is simply reading the exponential curve at height… or rather, at input .
Where are logarithmic equations used in real life?
Logarithmic scales squeeze huge ranges into small numbers, so reading a real value back out means solving a log equation. Chemists use . For a pH of , the equation gives moles per liter.
Sound level in decibels follows . A level of dB means , so the intensity is times the faintest audible sound. Earthquake magnitude works the same way: each whole number on the Richter scale is a tenfold jump in measured amplitude.
Finance and growth problems use the reverse direction. To find how long money takes to double at interest, solve by taking logs: years. That method is covered in solving exponential equations with logarithms, and together the two skills let you move freely between exponents and logs.
Quick check
Answer: 100000 (that is, 10^5)
Practice problems
0 of 5 solved
- Solve .
Answer:
Rewrite in exponential form: . Add 1 to get , so . Check: . - Solve .
Answer:
Subtract 4: . Divide by 3: . Rewrite: . - Solve .
Answer:
Domain: . Condense: , so . Factor . Only is in the domain. - Solve .
Answer:
Let . Then , so or . Convert back: or . Both are positive, so both work. - Solve .
Answer:
Domain: . Since , multiply by 2: . So , which gives and or . Only is in the domain.
Common questions
What is the first step in solving a logarithmic equation?
Write down the domain: every expression inside a log must be greater than zero. Then condense the logs into one and isolate it, so you can rewrite the equation in exponential form.
How do you solve a logarithmic equation with logs on both sides?
Make sure each side is a single log with the same base and a coefficient of 1. Then drop the logs and set the arguments equal, because means . Check the answers against the domain.
Why do you have to reject some answers?
Condensing logs can widen the domain, so the algebra may produce a value that makes an argument zero or negative in the original equation. Those values are extraneous and must be thrown out.
Can a logarithmic equation have no solution?
Yes. For example, leads to , which is impossible. Equations can also end with every candidate failing the domain check.
How do you solve a logarithmic equation with different bases?
Convert every log to one common base with the change of base formula, usually the smallest base present. Then combine the logs and solve as usual.
How do you solve a natural log equation?
Treat as a log with base . Isolate the term, then rewrite it: means .