Factorising x² + Bx + c Equation Solver with Worked Examples

To factorise , find two numbers that multiply to and add to : . Type an expression such as .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Factorising x² + bx + c means

This is the reverse of expanding . The middle coefficient is the sum of the two numbers and the constant is their product.

List the factor pairs of the constant and choose the pair with the right sum. For , 3 and 4 multiply to 12 and add to 7.

Pay attention to signs: if is positive, both numbers have the same sign; if is negative, they have different signs. It reverses the product of two linear factors, extends to factorising ax squared plus bx plus c, and the factors give roots by the zero-product rule.

This page is part of Quadratic equations in Algebra. Topics that work alongside it: Factorising ax² + bx + c, Product of two linear factors, Zero-product rule, Axis of symmetry of a quadratic graph, Turning point of a quadratic and Completing the square (general).

What is it used for?

To factorise x² + bx + c, find two numbers that multiply to c and add to b. They go into two brackets.

How to use factorising x² + bx + c

  1. List the factor pairs of .
  2. Choose the pair that adds to .
  3. Write .
  4. Check by expanding.

Graph

x² − 5x + 6 = (x − 2)(x − 3)x = 2x = 3-10123456-2024681012x² − 5x + 6 = (x − 2)(x − 3)xyy = x² − 5x + 6Graph with x from -1 to 6 and y from -2 to 12. Shows the curve y = x² − 5x + 6; point x = 2 at (2, 0); point x = 3 at (3, 0).

The numbers −2 and −3 multiply to 6 and add to −5. The roots 2 and 3 are where the curve meets the x-axis.

Worked examples

The examples marked with a button were worked out by the solver on this page. You can try each one yourself.

Example 1: both numbers positive

Factorise .

Factorise
Answer
(x+3)(x+4)\left(x+3\right) \left(x+4\right)
  1. The expression
  2. Factorise

Example 2: both numbers negative

Factorise .

Factorise
Answer
(x−2)(x−3)\left(x-2\right) \left(x-3\right)
  1. The expression
  2. Factorise

Example 3: a negative constant

Factorise x² + x − 12.

Factorise
Answer
(x−3)(x+4)\left(x-3\right) \left(x+4\right)
  1. The expression
  2. Factorise

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

Both positive

x² + 7x + 12 = (x + 3)(x + 4)

Product 12, sum 7.

Both negative

x² − 5x + 6 = (x − 2)(x − 3)

Product 6, sum −5.

Opposite signs

x² + 2x − 15 = (x − 3)(x + 5)

Product −15, sum 2.

The method

Find two numbers with sum b and product c

Then write (x + p)(x + q).

Word problems

To factorise x² + bx + c, find two numbers that multiply to c and add to b.

Both positive

Factorise x² + 7x + 12.

  1. Factor pairs of 121, 12; 2, 6; 3, 4
  2. Sum 73 and 4
  3. Write(x + 3)(x + 4)
  4. Check: x = 1: 20 and 4 × 5 = 20 ✓(x + 3)(x + 4).

Both negative

Factorise x² − 5x + 6.

  1. Product 6, sum −5−2 and −3
  2. Write(x − 2)(x − 3)
  3. Check: x = 1: 2 and (−1)(−2) = 2 ✓(x − 2)(x − 3).

Opposite signs Higher

Factorise x² + 2x − 15.

  1. Product −15, sum 2−3 and 5
  2. Write(x − 3)(x + 5)
  3. Check: x = 1: −12 and (−2)(6) = −12 ✓(x − 3)(x + 5).

Solving too Higher

Solve x² − 5x + 6 = 0.

  1. Factorise(x − 2)(x − 3) = 0
  2. Rootsx = 2 or x = 3
  3. Check: 4 − 10 + 6 = 0 ✓x = 2 or 3.

Common mistakes

Using the wrong sum

12 = 2 × 6 gives (x + 2)(x + 6) for x² + 7x ✗

3 and 4 ✓

2 + 6 = 8, not 7.

Sign errors

x² − 5x + 6 = (x + 2)(x + 3) ✗

(x − 2)(x − 3) ✓

The sum is negative.

Forgetting the product of negatives

two negatives give −c ✗

two negatives give +c ✓

(−2)(−3) = 6.

Not checking

no check ✗

expand to confirm ✓

It confirms the factors.

Exam tips

  1. Product = c, sum = b.
  2. List factor pairs.
  3. Mind the signs.
  4. Expand to check.
  5. Then solve if = 0.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Factorise x² + 5x + 6. What two numbers multiply to 6 and add to 5? Foundation

2 and 3

2. Factorise x² + 8x + 15. What two numbers multiply to 15 and add to 8? Foundation

3 and 5

3. Factorise x² − 7x + 12. What two numbers multiply to 12 and add to −7? Foundation

−3 and −4

4. Factorise x² + x − 12. What two numbers multiply to −12 and add to 1? Higher

−3 and 4

5. Factorise x² − 2x − 15. What two numbers multiply to −15 and add to −2? Higher

−5 and 3

6. Factorise x² − 9x + 20. What two numbers multiply to 20 and add to −9? Higher

−4 and −5

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Factorise
Write as a product.
Quadratic
An expression with x².
Factor pair
Two numbers that multiply to c.
Sum
The result of adding.
Product
The result of multiplying.
Root
A solution of the equation.

Frequently asked questions

How do you factorise x² + bx + c?

Find two numbers that multiply to c and add to b.

What if c is negative?

The numbers have opposite signs.

What if b is negative and c positive?

Both numbers are negative.

How do I check?

Expand the brackets.

Which page covers ax² + bx + c?

factorising ax² + bx + c.

Which page covers solving?

the zero product rule.

More in Algebra and the formula sheets.