MATH BOSS

All lessons

How do I factor x squared plus 5x plus 6?

Find two numbers: the product equals the constant term, and the sum equals the coefficient of x.

Grades 9 to 10 · Free. No sign-up. No ads. Nothing is collected.

Watch it live in 3D

A live lesson where things move and you can try. Lesson page with the outline

Example

x2+5x+6

Answer: (x+2)(x+3)

Why do I need this?

A rectangle has area x² + 5x + 6. Which two side lengths give exactly this area?

x2+5x+6

The idea

Tiles of x squared, x and 1 fit into a rectangle. Its sides are the factors.

x2+5x+6=(x+2)(x+3)
x²3x2x6x3x2

Step by step

  1. What are the tiles?

    There is one x squared tile, five strips and six small squares.

    x2+5x+6
  2. Arrange the small squares

    The six small squares make a rectangle of 2 by 3.

    2×3=6
    11111111111

    Why? 1 by 6 also fits the squares. But then the strips do not fit, since 1 plus 6 is 7, not 5.

  3. The strips complete it

    The strips go on two sides: two on one side and three on the other.

    2+3=5
    x²3x2x6x3x2
  4. Read the sides

    The rectangle's sides are x plus 3 and x plus 2.

    x2+5x+6=(x+2)(x+3)
    (x+2)(x+3)=x2+3x+2x+6
    x²3x2x6x3x2

    Why? The same picture as in expanding parentheses, read the other way round.

More cases and examples

  1. A negative coefficient of x

    When the constant term is positive and the coefficient of x is negative, both numbers are negative.

    (−2)×(−3)=6,(−2)+(−3)=−5
    x2−5x+6=(x−2)(x−3)
  2. A negative constant term

    When the constant term is negative, the two numbers have opposite signs.

    3×(−2)=−6,3+(−2)=1
    x2+x−6=(x+3)(x−2)
    x²3x−2x−6x3x2

The rule

Factoring a trinomial

When to use it: The coefficient of x² is 1, and there are two numbers whose product is the constant term and whose sum is the coefficient of x.

x2+bx+c=(x+p)(x+q)
  • bthe coefficient of x
  • cthe constant term
  • p,qthe two numbers we look for

Watch out: If there are no two whole numbers like that, this method does not factor it.

Common mistakes

  • Wrong
    x2+5x+6=(x+1)(x+6)
    Right
    x2+5x+6=(x+2)(x+3)

    The product is right, but the sum is 7, not 5.

  • Wrong
    x2−5x+6=(x+2)(x+3)
    Right
    x2−5x+6=(x−2)(x−3)

    The coefficient of x is negative, so both numbers are negative.

  • Wrong
    x2+5x+6=x(x+5)+6
    Right
    x2+5x+6=(x+2)(x+3)

    There is still an addition at the end, so it is not a product.

How to study this topic

  1. Read the idea first
  2. Then go through the steps, covering each result before you read it
  3. Then learn the rule
  4. Finally, check the common slips
Watch it live in 3D

A live lesson where things move and you can try. Lesson page with the outline

Related lessons