To solve the equation \( \log(x^2 - 9) - \log(x + 3) = 0 \), we can use the properties of logarithms.
Combine the logarithms: \[ \log\left(\frac{x^2 - 9}{x + 3}\right) = 0 \]
Exponentiate both sides: Since \( \log(a) = 0 \) implies \( a = 1 \): \[ \frac{x^2 - 9}{x + 3} = 1 \]
Multiply both sides by \( x + 3 \) (assuming \( x + 3 \neq 0 \)): \[ x^2 - 9 = x + 3 \]
Rearrange the equation: \[ x^2 - x - 12 = 0 \]
Factor the quadratic equation: \[ (x - 4)(x + 3) = 0 \]
Set each factor to zero: \[ x - 4 = 0 \quad \Rightarrow \quad x = 4 \] \[ x + 3 = 0 \quad \Rightarrow \quad x = -3 \]
Check for extraneous solutions: We need to ensure that the arguments of the logarithms are positive:
- For \( x = 4\):
- \( x^2 - 9 = 4^2 - 9 = 16 - 9 = 7 > 0 \)
- \( x + 3 = 4 + 3 = 7 > 0 \)
- For \( x = -3\):
- \( x^2 - 9 = (-3)^2 - 9 = 9 - 9 = 0 \), which is not valid for logarithms (log of 0 is undefined).
- \( x + 3 = -3 + 3 = 0 \), which is also not valid.
- For \( x = 4\):
Therefore, the only valid solution is: \[ \boxed{4} \]
