Question 378300
log(x-2) + log(x+1) = 2
You are correct with
log((x-2)(x+1)) = 2
But I am confused with the "b=1 p=2 and x=(x-2)(x+1)"<br>
The next step is to rewrite the equation in exponential form. In general {{{log(a, (p)) = q}}} is equivalent to {{{p = a^q}}}. Using this on our equation we get:
{{{(x-2)(x+1) = 10^2}}} (Since the base of log is 10.)
Simplifying each side we get:
{{{x^2 -x -2 = 100}}}
This is a quadratic equation so we want one side to be zero. Subtracting 100 from each side we get:
{{{x^2 -x - 102 = 0}}}
This will not factor but we can use the Quadratic Formula:
{{{x = (-(-1) +- sqrt((-1)^2 - 4(1)(-102)))/2(1)}}}
which simplifies as follows:
{{{x = (-(-1) +- sqrt(1 - 4(1)(-102)))/2(1)}}}
{{{x = (-(-1) +- sqrt(1 + 408))/2(1)}}}
{{{x = (-(-1) +- sqrt(409))/2(1)}}}
{{{x = (1 +- sqrt(409))/2}}}
In long form this is:
{{{x = (1 + sqrt(409))/2}}} or {{{x = (1 - sqrt(409))/2}}}<br>
When solving equations where the variable is in the argument (or base) of a logarithm, you must check you answers. You must make sure that all arguments (and bases) of logarithms are positive. If a "solution" makes an argument (or base) negative or zero then that "solution" must be rejected. This can happen <i>even if no mistakes were made while finding the solution!</i> This is why we must check out answers in problems like this.<br>
When checking answers use the original equation:
log(x-2) + log(x+1) = 2
Checking {{{x = (1 + sqrt(409))/2}}}:
{{{log((((1 + sqrt(409))/2) - 2)) + log((((1 + sqrt(409))/2)+1)) = 2}}}
Since the {{{sqrt(409) > 20}}} we should be able to see that both arguments will be positive. So there is no reason to reject this solution. The rest of the check is optional. It will determine if we made a mistake. I'll leave that up to you.<br>
Checking {{{x = (1 - sqrt(409))/2}}}:
{{{log((((1 - sqrt(409))/2) - 2)) + log((((1 - sqrt(409))/2)+1) = 2))}}}
Since the {{{sqrt(409) > 20}}} we should be able to see that both arguments will be negative! So we must reject this "solution".<br>
So the only solution to your equation is:
{{{x = (1 + sqrt(409))/2}}}