document.write( "Question 120151: A quadratic equation has roots 1+-2i.What is the equation? \n" ); document.write( "
Algebra.Com's Answer #88049 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
A quadratic equation has roots 1+-2i.What is the equation?
\n" ); document.write( ":
\n" ); document.write( "Sort of like completing the square in reverse:
\n" ); document.write( ":
\n" ); document.write( "x = 1 +/- 2i
\n" ); document.write( ":
\n" ); document.write( "x - 1 = +/- 2i; subtract 1 from both sides
\n" ); document.write( ":
\n" ); document.write( "(x-1)^2 = (+/-2i)^2; square both sides
\n" ); document.write( ":
\n" ); document.write( "x^2 - 2x + 1 = 4(i^2); FOIL the left side
\n" ); document.write( ":
\n" ); document.write( "x^2 - 2x + 1 = 4(-1); i^2 = -1
\n" ); document.write( ":
\n" ); document.write( "x^2 - 2x + 1 = -4
\n" ); document.write( ":
\n" ); document.write( "x^2 - 2x + 1 + 4 = 0; add 4 to both sides
\n" ); document.write( ":
\n" ); document.write( "x^2 - 2x + 5 = 0; is the quadratic equation
\n" ); document.write( ":
\n" ); document.write( "You can check this by completing the square, and see if you get the given roots
\n" ); document.write( "
\n" );