document.write( "Question 253132: Determine the quadratic equation whose roots have a sum of 12 and the roots difference is 4i. (Write a let statement to identify your roots) \n" ); document.write( "
Algebra.Com's Answer #185376 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
a and b are the roots.
\n" ); document.write( "a + b = 12
\n" ); document.write( "a - b = 4i
\n" ); document.write( "----------
\n" ); document.write( "2b = 12 + 4i
\n" ); document.write( "b = 6 + 2i
\n" ); document.write( "a = 6 - 2i
\n" ); document.write( "-----------
\n" ); document.write( "f(x) = (x - 6 + 2i)*(x - 6 - 2i)
\n" ); document.write( "= x^2 - 12x + 40
\n" ); document.write( "----------------
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation (work shown, graph etc)
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"1x%5E2%2B-12x%2B40+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"x%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%28-12%29%5E2-4%2A1%2A40=-16\".
\n" ); document.write( "
\n" ); document.write( " The discriminant -16 is less than zero. That means that there are no solutions among real numbers.

\n" ); document.write( " If you are a student of advanced school algebra and are aware about imaginary numbers, read on.

\n" ); document.write( "
\n" ); document.write( " In the field of imaginary numbers, the square root of -16 is + or - \"sqrt%28+16%29+=+4\".
\n" ); document.write( "
\n" ); document.write( " The solution is \"x%5B12%5D+=+%28--12%2B-i%2Asqrt%28+-16+%29%29%2F2%5C1+=++%28--12%2B-i%2A4%29%2F2%5C1+\", or
\n" ); document.write( " Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B-12%2Ax%2B40+%29\"

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