document.write( "Question 1136677: The value of q for which the difference between the roots of the equation x^2-qx+8=0 is 2 are
\n" ); document.write( "+-2
\n" ); document.write( "+-4
\n" ); document.write( "+-6
\n" ); document.write( "+-8
\n" ); document.write( "

Algebra.Com's Answer #754490 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "I easily can guess:  the roots 2 and 4 gives the product of 8 (the constant term) and the difference of 2.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Their sum is 6, which should be \" q\", according to Vieta's theorem.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, the answer is q = 6, based on my guessing.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Let's look what the Algebra solution will give us.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Let x and (x-2) are the roots.\r\n" );
document.write( "\r\n" );
document.write( "Then their product is 8:\r\n" );
document.write( "\r\n" );
document.write( "    x*(x-2) = 8\r\n" );
document.write( "\r\n" );
document.write( "    x^2 - 2x - 8 = 0\r\n" );
document.write( "\r\n" );
document.write( "    (x-4)*(x+2) = 0.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, there are 2 roots:  x= 4  and  x= -2.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The value  x= 4  gives that two roots  4 and 2 which I guessed above, with the value  of q= 6.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The value x= -2 gives two roots  -2 and -4, with the value of q = -6.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, the problem has two answers:  q= 6  and  q= -6.    (Third line of the answers' choice)\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Thus Algebra solution helped me to find 2 answers to the problem question: more than I could guess (!)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );