Sub topic 10
Combining Logarithms and Equating Arguments
Prerequisites and the main idea
Assume you can solve linear and quadratic equations, use exponent rules, and apply the product, quotient, and power rules for logarithms. A logarithm is defined only when its argument is positive.
The key property is that logarithms with the same base are one-to-one:
\[ \logb(M)=\logb(N) \quad \Longrightarrow \quad M=N \]
This works when \(b>0\), \(b\ne1\), and both \(M\) and \(N\) are positive. Therefore, after combining several logarithms into one logarithm on each side, you can equate the arguments.
Combining logarithms
The product rule combines a sum:
\[ \logb(M)+\logb(N)=\log_b(MN) \]
The quotient rule combines a difference:
\[ \logb(M)-\logb(N)=\log_b\left(\frac{M}{N}\right) \]
For example,
\[ \log3(x+1)+\log3(x-2) =\log_3((x+1)(x-2)) \]
If the equation is
\[ \log3(x+1)+\log3(x-2)=\log_3(8), \]
combine the left side:
\[ \log3((x+1)(x-2))=\log3(8). \]
The bases match, so equate the arguments:
\[ (x+1)(x-2)=8. \]
Expand and solve:
\[ x^2-x-2=8 \]
\[ x^2-x-10=0. \]
The quadratic formula gives
\[ x=\frac{1\pm\sqrt{41}}{2}. \]
Domain restrictions and checking
Before combining logarithms, record the restrictions from the original equation. In the example,
\[ x+1>0 \quad \text{and} \quad x-2>0. \]
Together, these require \(x>2\). Of the two quadratic roots, only
\[ \frac{1+\sqrt{41}}{2} \]
is greater than 2. The other root cannot be used because \(\log_3(x-2)\) would not be defined.
This check is essential. Algebraic steps can create candidates outside the original logarithm domains.
import math
# Solve log2(x) + log2(x - 2) = 3
# Combining logs gives x * (x - 2) = 8.
candidates = [4, -2]
valid = [
x for x in candidates
if x > 0 and x - 2 > 0
and math.isclose(math.log2(x) + math.log2(x - 2), 3)
]
print(valid) # [4]A complete procedure
- State the domain restrictions for every logarithm argument.
- Use the product, quotient, or power rule to combine logarithms.
- Make sure both sides have the same logarithm base.
- Equate the arguments.
- Solve the resulting equation.
- Check every candidate in the original equation and reject invalid values.
The structure can be summarized as follows.
A common error is to use
\[ \logb(M)+\logb(N)=\log_b(M+N). \]
This is false. The correct result is \(\log_b(MN)\). Logarithms turn multiplication into addition, not addition into addition.
Exercise
Solve \(\log5(x)+\log5(x-4)=1\), and state why any rejected root is invalid.
Show answer
The restrictions are \(x>4\). Combine the logs: \(\log_5(x(x-4))=1\), so \(x(x-4)=5\). Thus \(x^2-4x-5=0\), giving \(x=5\) or \(x=-1\). Only \(x=5\) satisfies \(x>4\), so the solution is \(x=5\). The root \(x=-1\) makes the logarithm arguments invalid.