document.write( "Question 113219: How do you solve this exactly?\r
\n" ); document.write( "\n" ); document.write( "log(x+20)-log(x+2)=log x
\n" ); document.write( "

Algebra.Com's Answer #82396 by bucky(2189)\"\" \"About 
You can put this solution on YOUR website!
Given:
\n" ); document.write( ".
\n" ); document.write( "\"log%28x%2B20%29-log%28x%2B2%29=log%28x%29\"
\n" ); document.write( ".
\n" ); document.write( "By the rules of logarithms, the difference of two logs is equal to the log of their quotient.
\n" ); document.write( "In other words:
\n" ); document.write( ".
\n" ); document.write( "\"log%28A%29+-+log%28B%29+=+log%28A%2FB%29\"
\n" ); document.write( ".
\n" ); document.write( "By applying this rule to the left side of the given problem, you convert the problem to:
\n" ); document.write( ".
\n" ); document.write( "\"log%28%28x%2B20%29%2F%28x%2B2%29%29+=+log%28x%29\"
\n" ); document.write( ".
\n" ); document.write( "Notice that this tells you that the log of a quantity on the left side equals the log of a
\n" ); document.write( "quantity on the right side. For this to be true, the two quantities must be equal because
\n" ); document.write( "their logs are equal. Therefore, you can say that:
\n" ); document.write( ".
\n" ); document.write( "\"%28x%2B20%29%2F%28x%2B2%29+=+x\"
\n" ); document.write( ".
\n" ); document.write( "Get rid of the denominator on the left side by multiplying both sides by (x + 2) to get:
\n" ); document.write( ".
\n" ); document.write( "\"cross%28x%2B2%29%2A%28x+%2B+20%29%2Fcross%28x%2B2%29+=+%28x%2B2%29%2Ax\"
\n" ); document.write( ".
\n" ); document.write( "Multiply out the right side and you are left with:
\n" ); document.write( ".
\n" ); document.write( "\"x+%2B+20+=+x%5E2+%2B+2x\"
\n" ); document.write( ".
\n" ); document.write( "Subtract x + 20 from both sides and you get a quadratic equation:
\n" ); document.write( ".
\n" ); document.write( "\"+0+=+x%5E2+%2B+2x++-+x+-20\"
\n" ); document.write( ".
\n" ); document.write( "combine the + 2x and the -x and you are left with:
\n" ); document.write( ".
\n" ); document.write( "\"0+=+x%5E2+%2Bx+-+20\"
\n" ); document.write( ".
\n" ); document.write( "Transpose (switch sides) this equation to get the more conventional quadratic form of:
\n" ); document.write( ".
\n" ); document.write( "\"x%5E2+%2B+x+-+20+=+0\"
\n" ); document.write( ".
\n" ); document.write( "Solve this equation by factoring the left side:
\n" ); document.write( ".
\n" ); document.write( "\"%28x+%2B+5%29%28x-4%29+=+0\"
\n" ); document.write( ".
\n" ); document.write( "This equation will be true if either or both of the factors on the left side is zero because
\n" ); document.write( "a multiplication by zero on the left side makes the entire left side zero and therefore
\n" ); document.write( "equal to the right side.
\n" ); document.write( ".
\n" ); document.write( "What value of x makes a factor equal to zero? Set the factor (x + 5) equal to zero and
\n" ); document.write( "when you solve the equation you get x = -5. Then set the factor (x - 4) equal to zero and
\n" ); document.write( "solve to get x = +4. So you have two possible answers to this problem ... x = -5 and
\n" ); document.write( "x = +4.
\n" ); document.write( ".
\n" ); document.write( "But x cannot be a negative number because the log of a negative number is not allowed. So
\n" ); document.write( "log(x) = log(-5) is not allowed in the problem. Therefore, this leaves you with the only
\n" ); document.write( "possible solution of x = +4, and that is the answer to this problem.
\n" ); document.write( ".
\n" ); document.write( "Check by returning to the original problem and substituting 4 for x to get:
\n" ); document.write( ".
\n" ); document.write( "\"log%28%284%2B20%29%29+-+log%28%284%2B2%29%29+=+log%284%29\"
\n" ); document.write( ".
\n" ); document.write( "which simplifies to:
\n" ); document.write( ".
\n" ); document.write( "\"log%2824%29+-+log%286%29+=+log%284%29\"
\n" ); document.write( ".
\n" ); document.write( "Use a calculator to find each of these three logs and substitute those values into the
\n" ); document.write( "equation. You will find that the left side of the equation does equal the right side, and
\n" ); document.write( "therefore, the answer of x = +4 checks.
\n" ); document.write( ".
\n" ); document.write( "Hope this helps you to see your way through the problem.
\n" ); document.write( ".
\n" ); document.write( "
\n" );