document.write( "Question 691429: How do you factor x^2-2x-8 completely? \n" ); document.write( "
Algebra.Com's Answer #426691 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( "Looking at the expression \"x%5E2-2x-8\", we can see that the first coefficient is \"1\", the second coefficient is \"-2\", and the last term is \"-8\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now multiply the first coefficient \"1\" by the last term \"-8\" to get \"%281%29%28-8%29=-8\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now the question is: what two whole numbers multiply to \"-8\" (the previous product) and add to the second coefficient \"-2\"?\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "To find these two numbers, we need to list all of the factors of \"-8\" (the previous product).\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Factors of \"-8\":\r
\n" ); document.write( "\n" ); document.write( "1,2,4,8\r
\n" ); document.write( "\n" ); document.write( "-1,-2,-4,-8\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Note: list the negative of each factor. This will allow us to find all possible combinations.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "These factors pair up and multiply to \"-8\".\r
\n" ); document.write( "\n" ); document.write( "1*(-8) = -8
\n" ); document.write( "2*(-4) = -8
\n" ); document.write( "(-1)*(8) = -8
\n" ); document.write( "(-2)*(4) = -8\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now let's add up each pair of factors to see if one pair adds to the middle coefficient \"-2\":\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
First NumberSecond NumberSum
1-81+(-8)=-7
2-42+(-4)=-2
-18-1+8=7
-24-2+4=2
\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "From the table, we can see that the two numbers \"2\" and \"-4\" add to \"-2\" (the middle coefficient).\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So the two numbers \"2\" and \"-4\" both multiply to \"-8\" and add to \"-2\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now replace the middle term \"-2x\" with \"2x-4x\". Remember, \"2\" and \"-4\" add to \"-2\". So this shows us that \"2x-4x=-2x\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%5E2%2Bhighlight%282x-4x%29-8\" Replace the second term \"-2x\" with \"2x-4x\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"%28x%5E2%2B2x%29%2B%28-4x-8%29\" Group the terms into two pairs.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%28x%2B2%29%2B%28-4x-8%29\" Factor out the GCF \"x\" from the first group.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%28x%2B2%29-4%28x%2B2%29\" Factor out \"4\" from the second group. The goal of this step is to make the terms in the second parenthesis equal to the terms in the first parenthesis.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"%28x-4%29%28x%2B2%29\" Combine like terms. Or factor out the common term \"x%2B2\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "===============================================================\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer:\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So \"x%5E2-2x-8\" factors to \"%28x-4%29%28x%2B2%29\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In other words, \"x%5E2-2x-8=%28x-4%29%28x%2B2%29\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Note: you can check the answer by expanding \"%28x-4%29%28x%2B2%29\" to get \"x%5E2-2x-8\" or by graphing the original expression and the answer (the two graphs should be identical).
\n" ); document.write( "
\n" ); document.write( "
\n" );