How to Solve Quadratic Equations by Factorisation

Written by the PassMark team · Updated 3 December 2026 · 7 min read
Contents

To solve a quadratic equation by factorisation, move all the terms to one side so the other side is zero. Rewrite the resulting expression as a product, then set each factor equal to zero and solve the two smaller equations. For example, x² − 2x − 15 = 0 becomes (x + 3)(x − 5) = 0, so x = −3 or x = 5.

If choosing the brackets feels like guesswork, start by matching two things on paper. Their expansion must give the correct middle term and the correct constant. The examples below show how to do that even when the coefficient of x² is greater than one.

Why the right-hand side must be zero

The method uses the zero-product rule. If two expressions multiply to give zero, at least one of them must be zero. In (x + 3)(x − 5) = 0, setting x = −3 makes the first bracket zero. Setting x = 5 makes the second bracket zero. Either value makes the whole product zero, so each is a solution, also called a root.

You can only apply that rule to a product equal to zero. Suppose you are given x² + 4x = 21. Subtract 21 from both sides to get x² + 4x − 21 = 0. The constant is now −21, and its sign matters when you choose the factors.

When the coefficient of x² is one

In an expression such as x² + 4x − 21, try brackets of the form (x + m)(x + n). When you expand them, you get x² + (m + n)x + mn. That gives you two targets. The numbers must add to 4 and multiply to −21.

  1. List the positive factor pairs of 21. They are 1 and 21, or 3 and 7.
  2. Give one number a minus sign because the product must be negative. To get a positive sum, give the larger number a plus sign.
  3. Test the sums. The pair −3 and 7 adds to 4, so write (x − 3)(x + 7) = 0.
  4. Solve x − 3 = 0 or x + 7 = 0. The roots are x = 3 and x = −7.

Notice the sign change between a bracket and its root. The bracket x + 7 vanishes when x is −7. If you are unsure, put the value into the bracket first, then confirm it in the original equation. With x = −7, the original left side is 49 − 28 = 21, which matches the right side.

For a positive constant, the two numbers inside the brackets have the same sign. Use the sign of the middle term to choose which one. For instance, in x² − 8x + 12, the numbers −2 and −6 multiply to 12 and add to −8. That gives (x − 2)(x − 6), with roots 2 and 6 when the expression equals zero.

When the coefficient of x² is greater than one

Solve 3x² + 5x − 12 = 0. The leading coefficient is 3, so begin by multiplying it by the constant: 3 × (−12) = −36. Find two integers with product −36 and sum 5. The numbers are 9 and −4. Use them to split 5x into 9x − 4x.

Step Working
Split the middle term 3x² + 9x − 4x − 12 = 0
Factor each pair 3x(x + 3) − 4(x + 3) = 0
Take out the shared bracket (3x − 4)(x + 3) = 0
Set each factor to zero 3x − 4 = 0 or x + 3 = 0
Solve for x x = 4/3 or x = −3

In the second pair, taking out −4 gives x + 3 because −4 times +3 is −12. If the brackets you get after grouping differ, expand each group and check its signs. Once the brackets match, the terms left outside them form the second factor.

A fraction can be a root. To check 4/3 in the original equation, the first term is 3 × 16/9 = 16/3, and the second term is 20/3. Together they give 36/3 = 12, so subtracting 12 leaves zero. For a refresher on the square in that substitution, read PassMark's guide to indices and logarithms.

When the constant is zero

Try x² = 6x. Move 6x to the left and take out the common factor x to get x(x − 6) = 0. The first factor gives x = 0, and the second gives x = 6. Both values satisfy the original equation.

Dividing the original equation by x would give x = 6 but would lose x = 0, because division by zero is undefined. Whenever every term contains x, factoring it out keeps that possible solution visible. On the other hand, if you find the same factor twice, as in (x − 4)(x − 4) = 0, both brackets give the same value. Record x = 4 as a repeated root.

Apply the method to a word problem

Suppose a rectangular exercise book cover has an area of 180 square centimetres and is 8 centimetres longer than it is wide. Find its dimensions. Start by calling the width w centimetres. The length is then w + 8 centimetres. Multiplying width by length gives w(w + 8) = 180. Expand and move the area to the left to obtain w² + 8w − 180 = 0.

The two numbers you need are 18 and −10. Their product is −180, and their sum is 8. That gives (w + 18)(w − 10) = 0, so the algebra gives w = −18 or w = 10. A width must be positive, so use 10 centimetres. The length is 10 + 8 = 18 centimetres. Check both conditions in the question. The dimensions differ by 8 centimetres and their product is 180 square centimetres. Include the units when you give the dimensions.

Practice on paper

  1. Solve x² + x = 20.
  2. Solve 2x² − 7x + 3 = 0.
  3. Solve 5x² + 10x = 0.

For question 1, move 20 to the left and look for numbers with sum 1 and product −20. The pair 5 and −4 gives (x + 5)(x − 4) = 0, so x = −5 or x = 4.

For question 2, the product to aim for is 2 × 3 = 6. The pair −6 and −1 adds to −7. Group 2x² − 6x − x + 3 as 2x(x − 3) − (x − 3). This gives (2x − 1)(x − 3) = 0, so x = 1/2 or x = 3.

For question 3, both terms share 5x. From 5x(x + 2) = 0, you get x = 0 or x = −2.

If you find only one root in the third question, look back at the step where you separated the factors. Each factor gives its own equation. Write both equations before solving either one. If your answer to the second question gives a whole number where you expected a fraction, write 2x − 1 = 0 as 2x = 1 before dividing by two.

For another round of practice, start with the brackets (2x + 5) and (x − 3). Expand their product to make your own quadratic, set it equal to zero and put the brackets out of sight. Try recovering them by splitting the middle term. You should get 2x² − x − 15 before factorising. The numbers used to split the middle term are −6 and 5. Check that the roots you recover are −5/2 and 3.

Checklist before you finish

  • Put zero on one side and copy the signs of all the terms before choosing your factors.
  • Look for a common factor before trying to split the middle term.
  • Expand your brackets and compare all the coefficients with the equation you meant to factor.
  • Set each factor equal to zero separately and check the resulting values in the original equation.
  • If an integer factor pair does not fit after you have checked the arithmetic, use another method, such as the quadratic formula, when the question allows it.

Sources

Figures and rules change from year to year. Treat this as a starting point and confirm with the official body. Report a correction.