document.write( "Question 1178355: The equation x^2+ax+b=0, where a and b are different, has solutions x=a, x=b.
\n" ); document.write( "How many such equations are there?
\n" ); document.write( "

Algebra.Com's Answer #807581 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "In the equation \"x%5E2%2Bax%2Bb=0\", the sum of the roots is -a and the product of the roots is b.

\n" ); document.write( "Then, since the roots are a and b...

\n" ); document.write( "(1) a+b=-a
\n" ); document.write( "(2) ab = b

\n" ); document.write( "Equation (2) tells us a=1; then equation (1) tells us 1+b=-1 so b=-2.

\n" ); document.write( "ANSWER: There is only one such equation:

\n" ); document.write( "\"x%5E2%2Bx-2=0\" which has roots 1 and -2.

\n" ); document.write( "
\n" ); document.write( "
\n" );