document.write( "Question 72237: How do you write a quadratic equation with integer coefficients that could represent the following solution:\r
\n" ); document.write( "\n" ); document.write( "x = -1 and x = 3
\n" ); document.write( "

Algebra.Com's Answer #51638 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
When you are solving for x, you have the following form
\n" ); document.write( "\"pq=0\"Where p and q are factors of f(x). For instance p could equal (x-5) and q could equal (x+6). To solve for x, you set p and q equal to zero and isolate x. But this time you know what x is, you just need to find the factor that makes the polynomial. So if you have x=3 and x=-1, lets take x=3 first. What number adds to 3 to get 0? Well it would be -3. So in other words 3-3=0. If we replace the 1st 3 with x we get
\n" ); document.write( "\"x-3=0\"Theres one factor (if we plug in 3 for x, we get 0)
\n" ); document.write( "\"x%2B1=0\"There's the other factor, just do the same as before.
\n" ); document.write( "So now you multiply them together
\n" ); document.write( "\"%28x%2B1%29%28x-3%29\"FOIL
\n" ); document.write( "\"x%5E2-3x%2Bx-3\"
\n" ); document.write( "\"x%5E2-2x-3\"Thats the polynomial with roots of x=-1 and x=3
\n" ); document.write( "Check:
\n" ); document.write( "\"x%5E2-2x-3=0\"Plug in x=-1
\n" ); document.write( "\"%28-1%29%5E2-2%28-1%29-3=0\"
\n" ); document.write( "\"1%2B2-3=0\"
\n" ); document.write( "\"3-3=0\"
\n" ); document.write( "\"0=0\"Works
\n" ); document.write( "\"x%5E2-2x-3=0\"Plug in x=3
\n" ); document.write( "\"%283%29%5E2-2%283%29-3=0\"
\n" ); document.write( "\"9-6-3=0\"
\n" ); document.write( "\"3-3=0\"
\n" ); document.write( "\"0=0\"Works
\n" ); document.write( "It turns out in a product of factors
\n" ); document.write( "\"%28x%2Ba%29%28x%2Bb%29\" The roots are x=-a and x=-b. Just a note for quick reference. So if you have any two roots, you can go backwards to get the equation.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );