How do you factor #g(1-x) - gx + gx^2#?

2 Answers
Mar 30, 2018

We have:

#=g(1 - x - x + x^2)#

#=g(x^2 - 2x+ 1)#

#=g(x- 1)^2#

Hopefully this helps!

Mar 30, 2018

#g(x-1)^2#

Explanation:

#g(1-x)-gx+gx^2#

Distribute:
#g-gx-gx+gx^2#

Combine like terms:
#g-2gx+gx^2#

Factor out #g# with GCF:
#g(1-2x+x^2)#

Factor the quadratic:
#g(x-1)(x-1)#

Express in simplest form:
#g(x-1)^2#