How do you factor the expression #x^2 + 5x + 4#?

1 Answer
Apr 26, 2016

#x^2+5x+4 = (x+4)(x+1)#

Explanation:

Find a pair of factors of #4# with sum #5#.

The pair #4, 1# works.

Hence:

#x^2+5x+4 = (x+4)(x+1)#

In general note that:

#(x+a)(x+b) = x^2+(a+b)x+ab#

So if you are given a polynomial to factor in the form:

#x^2+px+q#

then you can try finding a pair of factors of #q# with sum #p#.

If you can find #a, b# such that #a+b = p# and #ab = q#, then:

#x^2+px+q = (x+a)(x+b)#