· 5 min read
Most log questions on a problem set follow one pattern. You condense the logs into one, rewrite the equation as an exponent, solve the algebra, then throw out any answer that makes a log argument zero or negative. Learn that order and you can solve logarithmic equations on a midterm without guessing which rule to try next.
Find the domain before you touch anything
A log is only defined when its argument is positive. log_b(u) needs u > 0. Write down that condition for every log in the original equation before you start.
Take log_2(x) + log_2(x - 2) = 3. You need:
x > 0from the first logx - 2 > 0, sox > 2, from the second
Both conditions must hold, so the domain is x > 2. Box it in the margin. You will use it at the end.
Do this step on the original equation. After you condense, the domain can look bigger than it really is. That is how wrong answers sneak through.
Condense with the three log rules
You want one log on one side, or one log on each side. Three rules get you there. They only work when the logs share a base.
- Product rule:
log_b(M) + log_b(N) = log_b(MN) - Quotient rule:
log_b(M) - log_b(N) = log_b(M/N) - Power rule:
k * log_b(M) = log_b(M^k)
Apply the power rule first. Move every coefficient up into an exponent. Then combine sums into products and differences into quotients.
For example, 2 log_3(x) - log_3(x + 6) = 1 becomes log_3(x^2) - log_3(x + 6) = 1. That becomes log_3(x^2 / (x + 6)) = 1.
If a plain number sits on the same side as the logs, move it across first. If the bases differ, use the change-of-base formula log_b(M) = ln(M) / ln(b), or rewrite one base as a power of the other. Most course problems keep the bases the same.
Rewrite as an exponent
Once you have a single log equal to a number, use the definition of a log:
log_b(u) = cmeansb^c = u.
The log disappears and you get an ordinary algebra equation.
log_2(x(x - 2)) = 3becomesx(x - 2) = 2^3 = 8ln(5x) = 2becomes5x = e^2log(x) = 4becomesx = 10^4, sincelogwith no base means base 10
If you end up with a log on each side with the same base, skip the exponent. Set the arguments equal. log_b(A) = log_b(B) means A = B, because a log function is one-to-one.
Solve, then throw out bad answers
Now solve the algebra. It is usually linear or quadratic. Then test each answer against the domain you wrote down at the start.
Example 1: a sum of logs
Solve log_2(x) + log_2(x - 2) = 3.
- Domain:
x > 2. - Condense:
log_2(x(x - 2)) = 3. - Rewrite:
x^2 - 2x = 8. - Solve:
x^2 - 2x - 8 = 0, so(x - 4)(x + 2) = 0. That givesx = 4orx = -2. - Check the domain:
4 > 2, so it stays.-2fails, so throw it out.
Answer: x = 4.
Example 2: base 10 with a bigger quadratic
Solve log(x) + log(x - 21) = 2.
- Domain:
x > 0andx > 21, sox > 21. - Condense:
log(x(x - 21)) = 2. - Rewrite:
x^2 - 21x = 100. - Solve:
x^2 - 21x - 100 = 0, so(x - 25)(x + 4) = 0. That givesx = 25orx = -4. - Check: keep
25, reject-4.
Answer: x = 25.
Example 3: a log on each side
Solve ln(x + 1) - ln(x - 1) = ln(3).
- Domain:
x > -1andx > 1, sox > 1. - Condense:
ln((x + 1)/(x - 1)) = ln(3). - Set the arguments equal:
(x + 1)/(x - 1) = 3. - Solve:
x + 1 = 3x - 3, so4 = 2xandx = 2. - Check:
2 > 1, so it stays.
Answer: x = 2.
Example 4: where the domain trap bites
Solve 2 log_3(x) = log_3(2x + 3).
- Domain:
x > 0and2x + 3 > 0. Together that meansx > 0. - Condense:
log_3(x^2) = log_3(2x + 3). - Set the arguments equal:
x^2 = 2x + 3. - Solve:
x^2 - 2x - 3 = 0, so(x - 3)(x + 1) = 0. That givesx = 3orx = -1. - Check:
x = -1works inlog_3(x^2), since(-1)^2 = 1. It fails in the originallog_3(x), so reject it.
Answer: x = 3.
This example shows why you take the domain from the original equation. The power rule hid the sign of x inside a square.
Mistakes that cost points
- Splitting a log of a sum.
log(x + 2)is notlog(x) + log(2). The product rule goes the other way: a sum of logs becomes the log of a product. - Dividing logs.
log(A) / log(B)is notlog(A/B). Only a difference of logs condenses to a quotient. - Mixing bases. You can't combine
log_2andlog_3until you apply change of base. - Forgetting the default base.
logusually means base 10 andlnmeans basee. Check your lecture notes, since some texts writelogfor the natural log. - Rejecting too much. A negative answer is not automatically wrong. Reject only answers that make an argument zero or negative. In
log(x + 5) = 0, the answerx = -4is fine because-4 + 5 = 1. - Skipping the domain on an exam. Graders often give the rejected root its own point. Write a short line such as
x = -2 rejected, outside domainso the grader sees the check.
Check your work
Plug each kept answer back into the original equation. For Example 1, log_2(4) + log_2(2) = 2 + 1 = 3. That matches.
When the numbers aren't clean, use a calculator with change of base. For Example 3, ln(3) - ln(1) = ln(3), which holds because ln(1) = 0.
Run this checklist on every problem:
- Did you write the domain from the original equation?
- Is everything condensed to one log per side, with matching bases?
- Did you rewrite with
b^c = u, or set the arguments equal? - Did you solve the algebra fully, including both roots of a quadratic?
- Did you test each root against the domain and reject the ones that fail?
- Does each kept answer satisfy the original equation when you plug it in?
For more practice, work through the log and exponent topics on the math help page. If a specific problem has you stuck, paste it into chat and go through the steps one at a time.
Try it on your own work.
Each one opens the chat with the question in the box. Change it to yours.
Questions.
Something else? Email hello@nerdly.us
Keep going
More guides on the same ground.
Stuck on a problem right now?
5 questions a day, free. No account, no card, nothing to install.
Ask a question