Skip to main content
Factor
Tick mark Image
Evaluate
Tick mark Image

Similar Problems from Web Search

Share

-g^{2}+4g-4
Multiply and combine like terms.
a+b=4 ab=-\left(-4\right)=4
Factor the expression by grouping. First, the expression needs to be rewritten as -g^{2}+ag+bg-4. To find a and b, set up a system to be solved.
1,4 2,2
Since ab is positive, a and b have the same sign. Since a+b is positive, a and b are both positive. List all such integer pairs that give product 4.
1+4=5 2+2=4
Calculate the sum for each pair.
a=2 b=2
The solution is the pair that gives sum 4.
\left(-g^{2}+2g\right)+\left(2g-4\right)
Rewrite -g^{2}+4g-4 as \left(-g^{2}+2g\right)+\left(2g-4\right).
-g\left(g-2\right)+2\left(g-2\right)
Factor out -g in the first and 2 in the second group.
\left(g-2\right)\left(-g+2\right)
Factor out common term g-2 by using distributive property.
4g-g^{2}-4
Combine g and 3g to get 4g.