document.write( "Question 2239: How do you solve polynomial equations such as:
\n" ); document.write( "(x-3)(x-squaured+3x-4)=0
\n" ); document.write( "(x+2)(x-squared+5x+1)=0
\n" ); document.write( "

Algebra.Com's Answer #926 by matthew_sessoms(39)\"\" \"About 
You can put this solution on YOUR website!
\"%28x-3%29%28x%5E2%2B3x-4%29=0\"
\n" ); document.write( "

\n" ); document.write( "Factor out the second equation that's in parentheses...
\n" ); document.write( "(x+4)(x-1)
\n" ); document.write( "

\n" ); document.write( "Now we get the 3 factors...
\n" ); document.write( "(x-3)(x+4)(x-1)=0
\n" ); document.write( "Now solve for x in each parentheses, and we get..
\n" ); document.write( "x=3, x=-4, x=1
\n" ); document.write( "{3, -4, 1)
\n" ); document.write( "

\n" ); document.write( "\"%28x%2B2%29%28x%5E2%2B5x%2B1%29=0\"
\n" ); document.write( "

\n" ); document.write( "The second equation cannot be factored and therefore, must be solved using the quadratic formula, which is \"x+=+%28-b+%2B-+sqrt%28+b%5E2-4%2Aa%2Ac+%29%29%2F%282%2Aa%29+\"
\n" ); document.write( "

\n" ); document.write( "Plug the values in, like this
\n" ); document.write( "\"x+=+%28-5+%2B-+sqrt%28+5%5E2-4%2A1%2A1%29%29%2F%282%2A1%29\"
\n" ); document.write( "Which simplifies to...
\n" ); document.write( "\"x=%28-5%2B-sqrt%2821%29%29%2F2\"
\n" ); document.write( "

\n" ); document.write( "So the answer to the second problem you gave is...
\n" ); document.write( "{-2,\"%28-5-sqrt%2821%29%29%2F2\",\"%28-5-sqrt%2821%29%29%2F2\"}
\n" ); document.write( "Hope this helps!
\n" ); document.write( "MS
\n" ); document.write( "
\n" );