Factoring Quadratics

Find the pair that multiply and add right.

Expanding, run backward

Expanding (x + 2)(x + 3) gives x² + 5x + 6. Factoring a quadratic goes the other way: start from x² + 5x + 6 and find the two brackets it came from.

Think of x² + 5x + 6 as the area of a rectangle with sides x + ? and x + ?. The x² is the square in the corner, x by x. The 6 is the small piece in the opposite corner, whose sides are the two unknown numbers, so the two numbers multiply to 6. The two strips are those numbers times x, and together they make 5x, so the two numbers add to 5.

x²x?x?x² + 5x + 6

The x² piece is the x by x square. The two unknown numbers are the other parts of the sides.

Find the pair

List the pairs of whole numbers that multiply to 6: 1 × 6 and 2 × 3. Their sums are 1 + 6 = 7 and 2 + 3 = 5. Only 2 and 3 add to 5, so they are the numbers.

So x² + 5x + 6 = (x + 2)(x + 3). Check by expanding: the four pieces are x², 3x, 2x and 6, and 3x + 2x = 5x.

x²1x2x2x1

the middle term is the sum of the two strips: 1x + 2x = 3x

Find the split whose strips make 5x and whose corner makes 6

Drag the corner to change the two numbers. The strips add to the middle term and the corner piece is their product. Find the split that makes both 5x and 6.

A larger number at the end

Factor x² + 7x + 12. The two numbers multiply to 12 and add to 7. The pairs that multiply to 12 are 1 × 12, 2 × 6 and 3 × 4, whose sums are 13, 8 and 7. Only 3 + 4 = 7, so x² + 7x + 12 = (x + 3)(x + 4).

Listing the pairs in order, starting from 1, makes sure none is missed.

When a number is negative

The same rule works with negative numbers. Factor x² + 4x − 5. The two numbers multiply to −5 and add to 4. A negative product means one number is positive and the other is negative. The pairs are 5 and −1, with sum 4, and −5 and 1, with sum −4. So the numbers are 5 and −1, and x² + 4x − 5 = (x + 5)(x − 1).

When the end number is positive but the middle is negative, both numbers are negative. For x² − 7x + 12 the numbers multiply to 12 and add to −7, so they are −3 and −4: x² − 7x + 12 = (x − 3)(x − 4).

Check with a number. When x = 10, x² − 7x + 12 is 100 − 70 + 12 = 42, and (x − 3)(x − 4) is 7 × 6 = 42.

The usual mistakes

Checking only the product. For x² + 7x + 12, the pair 2 and 6 multiplies to 12, but adds to 8, which belongs to x² + 8x + 12. The pair must pass both checks.

Swapping the two jobs. The numbers add to give the x term and multiply to give the number at the end, not the other way round.

Worked example: A Rectangular Plot Whose Area Is a Quadratic Expression

Question A rectangular plot has an area of (x2 + 7x + 12) m2. Each of its sides is x m plus a whole number of meters. (a) Factorize the area to find the two sides. (b) Find the length of the fencing round the plot when x = 6.

  1. 1.In an area model the x2 is a square of side x, and the 12 is a rectangle whose sides are two whole numbers. The other two parts are the x terms, and together they must make 7x.

    x2x?x12?the two empty parts add up to 7x
    x2x?x12?the two empty parts add up to 7x
    The x2 is a square of side x and the 12 is a rectangle. The other two parts must make 7x.
  2. 2.The two numbers have a product of 12 and a sum of 7. The pairs with a product of 12 are 1 × 12, 2 × 6 and 3 × 4, and only 3 + 4 = 7.

    x2x?x12?12 = 1 × 12 = 2 × 6 = 3 × 4only 3 + 4 = 7
    x2x?x12?12 = 1 × 12 = 2 × 6 = 3 × 4only 3 + 4 = 7
    The two numbers have a product of 12 and a sum of 7: they are 3 and 4.
  3. 3.With 3 and 4 on the sides, the four parts are x2, 3x, 4x and 12, and 3x + 4x = 7x.

    x2x4x4x3x1233x + 4x = 7x
    x2x4x4x3x1233x + 4x = 7x
    The four parts are x2, 3x, 4x and 12, and 3x + 4x = 7x.
  4. 4.(a) x2 + 7x + 12 = (x + 3)(x + 4), so the sides are (x + 3) m and (x + 4) m.

    x2x4x4x3x123x2+ 7x + 12 = (x + 3)(x + 4)
    x2x4x4x3x123x2+ 7x + 12 = (x + 3)(x + 4)
    (a) x2 + 7x + 12 = (x + 3)(x + 4), so the sides are (x + 3) m and (x + 4) m.
  5. 5.When x = 6 the sides are 6 + 3 = 9 m and 6 + 4 = 10 m. The fencing is the perimeter: 2 × (9 + 10) = 38.

    x2x4x4x3x123x2+ 7x + 12 = (x + 3)(x + 4)x = 6: the sides are 9 m and 10 m
    x2x4x4x3x123x2+ 7x + 12 = (x + 3)(x + 4)x = 6: the sides are 9 m and 10 m
    When x = 6 the sides are 9 m and 10 m, and the perimeter is 2 × (9 + 10).
  6. 6.(b) The fencing is 38 m long. Check: the area is 9 × 10 = 90 m2, and 62 + 7 × 6 + 12 = 36 + 42 + 12 = 90.

    x2x4x4x3x123x2+ 7x + 12 = (x + 3)(x + 4)x = 6: the sides are 9 m and 10 mfencing = 2 × (9 + 10) = 38 m
    x2x4x4x3x123x2+ 7x + 12 = (x + 3)(x + 4)x = 6: the sides are 9 m and 10 mfencing = 2 × (9 + 10) = 38 m
    (b) The fencing is 38 m long.

Answer: (a) (x + 3) m and (x + 4) m; (b) 38 m

Common mistakes

  • Choosing 2 and 6 because 2 × 6 = 12. Their sum is 8, which belongs to x2 + 8x + 12. The two numbers must have a sum of 7 as well as a product of 12.
  • Substituting x = 6 into the area and giving 90 as the fencing. 90 m2 is the area of the plot. The fencing is the perimeter, 2 × (9 + 10) = 38 m.

More algebraic expressions problems, worked step by step →

Practice Factoring Quadratics in the app