Factorization Example

Factoring rewrites a polynomial as a product of simpler expressions. For a monic quadratic x² + bx + c, look for integers p and q with p + q = b and pq = c. Those numbers give x² + bx + c = (x + p)(x + q). This worked example uses the product-and-sum rule and checks the factorization by multiplying back.

Factor x² + 7x + 12

Find two numbers whose product is 12 and whose sum is 7. The pair 3 and 4 satisfies both conditions.

x2+7x+12x^2+7x+12
Key facts used in this example
Quadratic formx² + bx + c
Required sump + q = 7
Required productpq = 12
Factor pairp = 3, q = 4

Step-by-step solution

  1. 1

    Identify the coefficients

    Compare the expression with x² + bx + c. Here b = 7 and c = 12.

    b=7,qquadc=12b=7,qquad c=12
  2. 2

    Find a pair with the right product and sum

    List factor pairs of 12 and choose the pair that adds to 7.

    3cdot4=12,qquad3+4=73cdot4=12,qquad 3+4=7
  3. 3

    Write the binomial factors

    For x² + bx + c, the pair p and q gives (x + p)(x + q). Substitute 3 and 4.

    x2+7x+12=(x+3)(x+4)x^2+7x+12=(x+3)(x+4)

ANSWER

The factorization is (x + 3)(x + 4)

The two constants add to the coefficient of x and multiply to the constant term.

x2+7x+12=(x+3)(x+4)x^2+7x+12=(x+3)(x+4)

Check by expanding

Use distribution (a + b)(c + d) = ac + ad + bc + bd. The expanded product returns the original polynomial.

(x+3)(x+4)=x2+4x+3x+12=x2+7x+12(x+3)(x+4)=x^2+4x+3x+12=x^2+7x+12