document.write( "Question 1121240: How to find a polynomial function with rational coefficients so that p(x)=0 has the given roots 2+i and 1-sqrt5\r
\n" ); document.write( "\n" ); document.write( "I tried (x-(2+i))(x-(2-i))(x-(1-sqrt5))(x-(1+sqrt5)) and got x^4-6x^3+9x^2+6x-20, which does not seem to include 2+i as a root. Am I doing it right?
\n" ); document.write( "

Algebra.Com's Answer #737039 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
At the end, I got what you got.
\n" ); document.write( "If one raises 2+i to the 4th power, the answer is -7+24 i
\n" ); document.write( "to the third power is 2+ 11i
\n" ); document.write( "squared is 3+4i
\n" ); document.write( "The constants, after using the exponents, are -7-12+27+12-20
\n" ); document.write( "The i s will be 24-66+36+6. You did it right
\n" ); document.write( "\"graph%28300%2C300%2C-5%2C5%2C-50%2C50%2Cx%5E4-6x%5E3%2B9x%5E2%2B6x-20%29\" Your answer\r
\n" ); document.write( "\n" ); document.write( "another way, longer, uses the quadratic formula to find where 2+i and 2-i work
\n" ); document.write( "a=1
\n" ); document.write( "b=-4, because will divide by 2
\n" ); document.write( "sqrt(b^2-4ac)=2i, and when that is divided by 2, will give 1i as a result. sqrt(16-20) does that, and since 4ac=20, c must equal 5
\n" ); document.write( "One polynomial is x^2-4x+5\r
\n" ); document.write( "\n" ); document.write( "The other polynomial has
\n" ); document.write( "a=1
\n" ); document.write( "b=-2, so when divided by 2 will get -1
\n" ); document.write( "sqrt(b^2-4ac) needs to be 2sqrt(5), because we are dividing the numerator by 2
\n" ); document.write( "b^2-4ac=20
\n" ); document.write( "4-4c=20
\n" ); document.write( "-4c=16
\n" ); document.write( "c=-4
\n" ); document.write( "x^2-2x-4 is the other polynomial\r
\n" ); document.write( "\n" ); document.write( "product is x^4-2x^3-4x^2
\n" ); document.write( "==========-4x^3+8x^2+16x
\n" ); document.write( "===============5x^2-10x-20
\n" ); document.write( "or x^4-6x^3+9x^2+6x-20
\n" ); document.write( "
\n" );