MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Upper Secondary
MathematicsUpper Secondary

Factorising quadratics — two brackets

U2 — Algebra Advancing › U2.1 — Expanding and FactorisingLecture 3 of 5~2120 words

Running the film backwards

Expanding is going forwards. You start with two brackets and multiply them out:

Factorising is the same film run backwards. You are given , and you must find the two brackets it came from.

Going backwards is harder. I am not going to pretend otherwise. Multiplying 13 by 14 is easy: 182. But if someone hands you 182 and asks which two numbers made it, you have to search. Factorising has the same kind of difficulty. The good news is that the search is short, because the last two lectures already told you exactly what to look for.

Here is a small surprise to show the link. Put into . You get . And , which is . Factorising a quadratic is like factorising a number, done for every value of at once.

The clue the forward direction left behind

The lecture on expanding double brackets ended with a pattern. For any two brackets of the form :

The middle number is the sum of and . The last number is their product. That lecture promised this pattern would be the key to going backwards. Here it is. To factorise , you need two numbers whose sum is 7 and whose product is 12.

List the pairs of whole numbers that multiply to 12: 1 and 12, 2 and 6, 3 and 4. Their sums are 13, 8 and 7. Only 3 and 4 add to 7. So:

Why list the products first and not the sums? Because there are only a few ways to multiply to 12, but endless ways to add to 7 (6 and 1, 10 and −3, 7.5 and −0.5, and so on). Searching the short list is faster. That is it. That is the whole idea for these quadratics: find two numbers with the right product and the right sum.

What the signs tell you

Negative numbers make the search look harder, but the signs actually shorten it. The product and the sum each give a clue.

These are not rules to memorise. Each one is the sign rule for multiplying and adding, used in reverse. Try the search yourself below.

Explore — hunting for the pair

Choose the middle number and the last number of x² + bx + c. Every pair of whole numbers with the right product is listed, with its sum. Find the pair whose sum is b. Then look for quadratics where no pair works.

    The search for three quadratics. For each, every pair of whole numbers with the right product is listed with its sum.

    • x² + 7x + 12 (product 12, sum 7): 1 and 12 (sum 13); 2 and 6 (sum 8); 3 and 4 (sum 7 ✓); and the negative pairs (sums −13, −8, −7). Answer: (x + 3)(x + 4).
    • x² − 5x − 14 (product −14, sum −5): 1 and −14 (sum −13); −1 and 14 (sum 13); 2 and −7 (sum −5 ✓); −2 and 7 (sum 5). Answer: (x + 2)(x − 7).
    • x² + x + 1 (product 1, sum 1): 1 and 1 (sum 2); −1 and −1 (sum −2). No pair works, so it does not factorise with whole numbers.

    Did you find quadratics with no pair at all? Try or . Many quadratics cannot be written as two brackets with whole numbers. That is not a failure of your search. Those quadratics simply do not factorise that way. A later lecture, on the quadratic formula, handles them.

    When the x² has a number in front

    Now try . The sum-and-product trick needs a change, because the brackets now look like , and the pattern no longer fits.

    Go back to the picture behind every expansion: the rectangle. Here is the rectangle for .

    2x² 6x x 3 x 3 2x 1 width x + 3 height 2x + 1
    The rectangle for (2x + 1)(x + 3) has four pieces: 2x², 6x, x and 3. The two corner pieces on one diagonal multiply to 2x² × 3 = 6x². The two on the other diagonal multiply to 6x × x = 6x². They are always equal.

    Look at the two diagonals. One diagonal holds and . Their product is . The other diagonal holds the two middle pieces, and . Their product is also . This always happens. Each diagonal uses each of the four bracket terms exactly once, so both diagonals multiply to the same thing.

    This is the hard part of the lecture. Spend time here. It tells you how to go backwards. In , the middle term is the two middle pieces added together. Those two pieces must:

    So you need two numbers with sum 7 and product . That product is : the number in front of times the number at the end. This is why the method is called the ac method. The pair is 1 and 6. Split the middle term into those two pieces, and , and you have rebuilt the four pieces of the rectangle:

    The last step is grouping: take out a common factor from each half.

    In the first line, both groups contain the bracket . That bracket is now a common factor of the whole expression, so it comes out, just as 5 comes out of . Check with : , and .

    Does it matter which way round you split the middle term? Try it. Writing instead gives , and then . That is the same answer with the brackets in the other order. The order of the split only changes which piece of the rectangle you read first. So choose whichever split makes the common factors easiest to see.

    Factorising ax² + bx + c (the ac method)

    0. Take out any common factor first.

    1. Work out .

    2. Find two numbers with product and sum .

    3. Split into two terms using those numbers.

    4. Group in pairs, take out a common factor from each pair, then take out the common bracket.

    When , steps 3 and 4 can be skipped: the two numbers go straight into the brackets.

    Here is the method once more, one move at a time, on a harder example.

    Step through — factorising 6x² + x − 2

    Press Next to add one step. Read the reason before you go on.

    Each step of factorising 6x² + x − 2 gives one line and the reason it is allowed.

    • a × c = 6 × (−2) = −12. The two middle pieces must multiply to −12x².
    • Pairs with product −12: 1 and −12, −1 and 12, 2 and −6, −2 and 6, 3 and −4, −3 and 4. The product is negative, so the signs are opposite.
    • 4 and −3: product −12, sum 1. This matches b = 1.
    • 6x² + 4x − 3x − 2. The middle term x is split into 4x and −3x; the value has not changed.
    • 2x(3x + 2) − 1(3x + 2). Common factor from each pair. Taking −1 out of −3x − 2 leaves +2 inside the bracket.
    • (3x + 2)(2x − 1). The bracket (3x + 2) is common to both groups.
    • Check with x = 10: 32 × 19 = 608, and 600 + 10 − 2 = 608.
    Stop and think

    A student writes and stops. Is the expression factorised?

    Show the answer

    Not yet. "Factorised" means written as a product: one thing times another. The student's line is still a sum of two parts, plus . It becomes a product only after the common bracket comes out: . The grouping line is a halfway point, not an answer.

    Worked examples

    Worked Example 1 — Both numbers negative

    Factorise .

    Product 15 and sum −8. The product is positive and the sum negative, so both numbers are negative. Pairs: −1 and −15 (sum −16), −3 and −5 (sum −8).

    Answer: . Check with : , and .

    Worked Example 2 — The ac method with two negatives

    Factorise .

    . Product 24 and sum −10, so both numbers are negative: −4 and −6.

    Split and group: . Taking −2 out of leaves , because .

    Answer: . Check with : , and .

    Worked Example 3 — A common factor first

    Factorise completely.

    Every term is even, so take out 2 first: . Now product 6 and sum 5: 2 and 3.

    Answer: . Check with : , and .

    The ac method would also work on directly, giving . That is correct but not complete, because still contains the factor 2. Taking out the common factor first keeps the numbers small and the answer complete.

    Worked Example 4 — Many pairs to search

    Factorise .

    . The product is negative, so the signs are opposite. The sum is −4, so the larger number is negative. Go through the factor pairs of 12 with that rule: 1 and −12 (sum −11), 2 and −6 (sum −4 ✓). There is no need to try 3 and −4.

    Split and group: .

    Answer: . Check with : , and .

    Notice that neither bracket starts with . When is 4, the brackets could start and , or and . Guessing would mean trying both, with every sign. The ac method decides for you.

    Three classic mistakes

    Trap 1 — Checking the product but not the sum

    For , the pair 1 and 6 has the right product but sum 7. It gives , the wrong quadratic. Always check both: product and sum .

    Trap 2 — A sign lost in grouping

    When you take a negative number out of a pair, every sign inside changes. , not . If the two brackets in the grouping line do not match exactly, check the signs before anything else.

    Trap 3 — Not factorising completely

    is not complete, because 2 is still a factor of . The complete answer is . Look for a common factor at the start, and look again at the end.

    Try it yourself

    Work each one on paper first. Check every answer by expanding, or with .

    1. Factorise .

      Hint 1

      Find two numbers with product 20 and sum 9.

      Hint 2

      The pairs for 20 are 1 and 20, 2 and 10, 4 and 5.

      Full answer

      4 and 5. So . Check with : , and .

    2. Factorise .

      Hint 1

      The product is −12, so the signs are opposite. The sum is −1, so the larger number is negative.

      Hint 2

      Which pair of factors of 12 differ by 1?

      Full answer

      3 and −4: product −12, sum −1. So . Check with : , and .

    3. Factorise .

      Hint 1

      . You need product −30 and sum −13.

      Hint 2

      The pair is 2 and −15. Split: .

      Full answer

      . Check with : , and .

    4. Find every whole number for which can be factorised into two brackets with whole numbers. Explain why there are exactly that many.

      Hint 1

      Work backwards: must be the sum of a pair of whole numbers whose product is 12.

      Hint 2

      List all pairs with product 12, including negative pairs. Each pair gives one value of .

      Full answer

      The pairs with product 12 are 1 and 12, 2 and 6, 3 and 4, and the same pairs with both numbers negative. Their sums give . So there are exactly six values. Every factorisation needs , and 12 has only three positive factor pairs, each of which can also be made negative. For any other , such as , no pair works, and the quadratic does not factorise with whole numbers.

    The bigger idea

    Factorising turns a sum into a product, and products are powerful for one reason: if a product is zero, one of its factors must be zero. So means or . The next unit uses exactly this to solve quadratic equations. A hard equation splits into two easy ones.

    Notice also what the method really is. You did not guess brackets and hope. You used a fact about multiplication (the diagonals of the rectangle multiply to the same thing) to turn a guessing problem into a short, certain search. That is how mathematicians work: when a problem is hard backwards, look at the forward direction until you find a clue it always leaves behind. The next lecture finds one more clue, in quadratics with no middle term.

    Key concepts in this lesson