document.write( "Question 1005610: Write a polynomial with rational coefficients so that P(x)=0 has the given roots: -1 and -2i? \n" ); document.write( "
Algebra.Com's Answer #621785 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
roots are -1 and +/- 2i, because complex roots are conjugate. This is a cubic equation.
\n" ); document.write( "the factors are (x+1) and (x^2+4), since x^2+4=0, and the roots are +/- 2i
\n" ); document.write( "the polynomial is x^3+x^2+4x+4=f(x)
\n" ); document.write( "\"graph%28300%2C200%2C-10%2C10%2C-10%2C10%2Cx%5E3%2Bx%5E2%2B4x%2B4%29\"
\n" ); document.write( "
\n" );