document.write( "Question 72679: If (a) does not equal (b), solve for x in terms of (a) and (b):
\n" ); document.write( "x^2+ax=-b(a+x)
\n" ); document.write( "

Algebra.Com's Answer #52052 by ptaylor(2198)\"\" \"About 
You can put this solution on YOUR website!
If (a) does not equal (b), solve for x in terms of (a) and (b):
\n" ); document.write( "\"x%5E2%2Bax=-b%28a%2Bx%29\" get rid of parens\r
\n" ); document.write( "\n" ); document.write( "\"x%5E2%2Bax=-ab-bx\" add ab and bx to both sides\r
\n" ); document.write( "\n" ); document.write( "\"x%5E2%2Bax%2Bbx%2Bab=0\" rearrange into standard form for a quadratic eq.\r
\n" ); document.write( "\n" ); document.write( "\"x%5E2%2B%28a%2Bb%29x%2Bab=0\" This is a quadratic equation in standard form where\"
\n" ); document.write( "\"A=1\"
\n" ); document.write( "\"B=%28a%2Bb%29\"
\n" ); document.write( "\"C=ab\"\r
\n" ); document.write( "\n" ); document.write( "By inspection, we can see that the equation can be factored because the B coefficient is the sum of the product of the C coefficient. This is always the case, when A=1. So we have:\r
\n" ); document.write( "\n" ); document.write( "\"%28x%2Ba%29%28x%2Bb%29=0\"\r
\n" ); document.write( "\n" ); document.write( "\"x%2Ba=0\"
\n" ); document.write( "\"x=-a\"
\n" ); document.write( "and
\n" ); document.write( "\"x%2Bb=0\"
\n" ); document.write( "\"x=-b\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " CK
\n" ); document.write( "\"x%5E2%2Bax=-b%28a%2Bx%29\"
\n" ); document.write( "\"a%5E2-a%5E2=-ab%2Bab\"
\n" ); document.write( "\"0=0\"
\n" ); document.write( "and
\n" ); document.write( "\"b%5E2-ab=-ab%2Bb%5E2\" or
\n" ); document.write( "\"b%5E2-ab=b%5E2-ab\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Hope this helps-------------------ptaylor\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );