Step 1 :
After factoring out $ -7h^{2} $ we have:
$$ -21h^{4}+77h^{3}+28h^{2} = -7h^{2} ( 3h^{2}-11h-4 ) $$Step 2 :
Step 2: Identify constants $ a $ , $ b $ and $ c $.
$ a $ is a number in front of the $ x^2 $ term $ b $ is a number in front of the $ x $ term and $ c $ is a constant. In this case:
Step 3: Multiply the leading coefficient $\color{blue}{ a = 3 }$ by the constant term $\color{blue}{c = -4} $.
$$ a \cdot c = -12 $$Step 4: Find out two numbers that multiply to $ a \cdot c = -12 $ and add to $ b = -11 $.
Step 5: All pairs of numbers with a product of $ -12 $ are:
PRODUCT = -12 | |
-1 12 | 1 -12 |
-2 6 | 2 -6 |
-3 4 | 3 -4 |
Step 6: Find out which factor pair sums up to $\color{blue}{ b = -11 }$
PRODUCT = -12 and SUM = -11 | |
-1 12 | 1 -12 |
-2 6 | 2 -6 |
-3 4 | 3 -4 |
Step 7: Replace middle term $ -11 x $ with $ x-12x $:
$$ 3x^{2}-11x-4 = 3x^{2}+x-12x-4 $$Step 8: Apply factoring by grouping. Factor $ x $ out of the first two terms and $ -4 $ out of the last two terms.
$$ 3x^{2}+x-12x-4 = x\left(3x+1\right) -4\left(3x+1\right) = \left(x-4\right) \left(3x+1\right) $$