document.write( "Question 935110: I have been asked to show that (x+2) and (x-5) are factors of x^4+px^2+qx-40\r
\n" ); document.write( "\n" ); document.write( "Using synthetic division, I identified that for x+2; \r
\n" ); document.write( "\n" ); document.write( "Equation 1: 4p+16-2q-40\r
\n" ); document.write( "\n" ); document.write( "Equation 2: -25p+5q+585\r
\n" ); document.write( "\n" ); document.write( "However, if I were to subtract Equation 1 from 2; I do not have either P or Q fully nullified, there is a remainder left over.\r
\n" ); document.write( "\n" ); document.write( "For example, 4p-25p=-21p and 5q-2q=3q\r
\n" ); document.write( "\n" ); document.write( "However, in the case of 3p+27-q and -p-1+q\r
\n" ); document.write( "\n" ); document.write( "The -q and +q cancel each other out; leaving us only with the unknown P variable term. How would I remedy/rectify such a situation?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #568244 by rothauserc(4718)\"\" \"About 
You can put this solution on YOUR website!
1) using synthetic division, we divide x^4+px^2+qx-40 by (x+2), note that the equation becomes x^4+0x^3+px^2+qx-40, then we have
\n" ); document.write( "-2 | 1 0 p q -40 |
\n" ); document.write( "we get the following cubic x^3-x^2+(4+p)x-8-2p+q where -8-2p+q is the constant
\n" ); document.write( "we also know that 16+4p-2q-40 = 0, therefore 4p-2q = 24, 2p-q=12
\n" ); document.write( "2) now use the cubic result and divide it by synthetic division
\n" ); document.write( "5 | 1 -2 4+p -8-2p+q
\n" ); document.write( "we get the following quadratic x^2+3x+19+p where 19+p is the constant
\n" ); document.write( "we also know that 95+5p-8-2p+q=0, 3p+q=-87
\n" ); document.write( "our two equations are
\n" ); document.write( "2p-q=12
\n" ); document.write( "3p+q=-87
\n" ); document.write( "solve first equation for p
\n" ); document.write( "p = (q/2)+6
\n" ); document.write( "substitute for p in second equation and solve for q, then p
\n" ); document.write( "3((q/2)+6)+q = -87
\n" ); document.write( "multiply both sides of = by 2
\n" ); document.write( "3q+36+2q=-174
\n" ); document.write( "5q = -210
\n" ); document.write( "q = -42
\n" ); document.write( "p = -15
\n" ); document.write( "our original equation is
\n" ); document.write( "x^4+px^2+qx-40
\n" ); document.write( "substitute for p and q
\n" ); document.write( "x^4-15x^2-42x-40
\n" ); document.write( "zeros for this equation using its graph
\n" ); document.write( "\"+graph%28+300%2C+200%2C+-5%2C+6%2C+-300%2C+600%2C+x%5E4-15x%5E2-42x-40+%29+\"
\n" ); document.write( "we see the graph crosses the x-axis at -2 and 5, these are the only zeros\r
\n" ); document.write( "\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );