On this page
Before you start
This page is easier if you are comfortable with:
What Factorising x² + bx + c means
This is the reverse of expanding ( x + a ) ( x + b ) . 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 x 2 + 7 x + 12 , 3 and 4 multiply to 12 and add to 7.
Pay attention to signs: if c is positive, both numbers have the same sign; if c 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.
Solving quadratic equations by factorising. Sketching a quadratic graph from its roots. Simplifying algebraic fractions with quadratic expressions.
How to use factorising x² + bx + c
List the factor pairs of c . Choose the pair that adds to b . Write ( x + first ) ( x + second ) . Check by expanding.
Graph x² − 5x + 6 = (x − 2)(x − 3) x = 2 x = 3 -1 0 1 2 3 4 5 6 -2 0 2 4 6 8 10 12 x² − 5x + 6 = (x − 2)(x − 3) x y y = x² − 5x + 6 Graph 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 x 2 + 7 x + 12 .
Try this in the solver: factorise x^2+7x+12
Factorise
Answer
( x + 3 ) ( x + 4 ) \left(x+3\right) \left(x+4\right) ( x + 3 ) ( x + 4 ) The expression
x 2 + 7 x + 12
Factorise
x 2 + 7 x + 12 = ( x + 3 ) ( x + 4 )
Example 2: both numbers negative Factorise x 2 − 5 x + 6 .
Try this in the solver: factorise x^2-5x+6
Factorise
Answer
( x − 2 ) ( x − 3 ) \left(x-2\right) \left(x-3\right) ( x − 2 ) ( x − 3 ) The expression
x 2 − 5 x + 6
Factorise
x 2 − 5 x + 6 = ( x − 2 ) ( x − 3 )
Example 3: a negative constant Factorise x² + x − 12.
Try this in the solver: factorise x^2+x-12
Factorise
Answer
( x − 3 ) ( x + 4 ) \left(x-3\right) \left(x+4\right) ( x − 3 ) ( x + 4 ) The expression
x 2 + x − 12
Factorise
x 2 + x − 12 = ( x − 3 ) ( x + 4 )
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.
Factor pairs of 12 1, 12; 2, 6; 3, 4 Sum 7 3 and 4 Write (x + 3)(x + 4) Check: x = 1: 20 and 4 × 5 = 20 ✓ (x + 3)(x + 4).
Both negative Factorise x² − 5x + 6.
Product 6, sum −5 −2 and −3 Write (x − 2)(x − 3) Check: x = 1: 2 and (−1)(−2) = 2 ✓ (x − 2)(x − 3).
Opposite signs Higher Factorise x² + 2x − 15.
Product −15, sum 2 −3 and 5 Write (x − 3)(x + 5) Check: x = 1: −12 and (−2)(6) = −12 ✓ (x − 3)(x + 5).
Solving too Higher Solve x² − 5x + 6 = 0.
Factorise (x − 2)(x − 3) = 0 Roots x = 2 or x = 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
Product = c, sum = b.
List factor pairs.
Mind the signs.
Expand to check.
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.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
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.