document.write( "Question 299372: reverse foil or grouping
\n" ); document.write( "3x^2+12x-36
\n" ); document.write( "

Algebra.Com's Answer #215142 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( "\"3x%5E2%2B12x-36\" Start with the given expression.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"3%28x%5E2%2B4x-12%29\" Factor out the GCF \"3\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now let's try to factor the inner expression \"x%5E2%2B4x-12\"\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( "Looking at the expression \"x%5E2%2B4x-12\", we can see that the first coefficient is \"1\", the second coefficient is \"4\", and the last term is \"-12\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now multiply the first coefficient \"1\" by the last term \"-12\" to get \"%281%29%28-12%29=-12\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now the question is: what two whole numbers multiply to \"-12\" (the previous product) and add to the second coefficient \"4\"?\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 \"-12\" (the previous product).\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Factors of \"-12\":\r
\n" ); document.write( "\n" ); document.write( "1,2,3,4,6,12\r
\n" ); document.write( "\n" ); document.write( "-1,-2,-3,-4,-6,-12\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 \"-12\".\r
\n" ); document.write( "\n" ); document.write( "1*(-12) = -12
\n" ); document.write( "2*(-6) = -12
\n" ); document.write( "3*(-4) = -12
\n" ); document.write( "(-1)*(12) = -12
\n" ); document.write( "(-2)*(6) = -12
\n" ); document.write( "(-3)*(4) = -12\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 \"4\":\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
First NumberSecond NumberSum
1-121+(-12)=-11
2-62+(-6)=-4
3-43+(-4)=-1
-112-1+12=11
-26-2+6=4
-34-3+4=1
\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 \"6\" add to \"4\" (the middle coefficient).\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So the two numbers \"-2\" and \"6\" both multiply to \"-12\" and add to \"4\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now replace the middle term \"4x\" with \"-2x%2B6x\". Remember, \"-2\" and \"6\" add to \"4\". So this shows us that \"-2x%2B6x=4x\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%5E2%2Bhighlight%28-2x%2B6x%29-12\" Replace the second term \"4x\" with \"-2x%2B6x\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"%28x%5E2-2x%29%2B%286x-12%29\" Group the terms into two pairs.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%28x-2%29%2B%286x-12%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-2%29%2B6%28x-2%29\" Factor out \"6\" 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%2B6%29%28x-2%29\" Combine like terms. Or factor out the common term \"x-2\"\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( "So \"3%28x%5E2%2B4x-12%29\" then factors further to \"3%28x%2B6%29%28x-2%29\"\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 \"3x%5E2%2B12x-36\" completely factors to \"3%28x%2B6%29%28x-2%29\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In other words, \"3x%5E2%2B12x-36=3%28x%2B6%29%28x-2%29\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Note: you can check the answer by expanding \"3%28x%2B6%29%28x-2%29\" to get \"3x%5E2%2B12x-36\" or by graphing the original expression and the answer (the two graphs should be identical).
\n" ); document.write( "
\n" ); document.write( "
\n" );