Skip to the page
Home Campus
Start free

Factorising x² + bx + c When c Is Positive

How to factorise a quadratic such as x2+7x+12x^2 + 7x + 12 or x2−5x+6x^2 - 5x + 6 into two brackets: two numbers whose product is cc and whose sum is bb, found with the frame and a list of factor pairs.

Before you start

In lesson 3.3 you expanded (x+p)(x+q)=x2+(p+q)x+pq.(x + p)(x + q) = x^2 + (p + q)x + pq\text{.} For example, (x+2)(x+3)=x2+5x+6:(x + 2)(x + 3) = x^2 + 5x + 6\text{:} the number term 66 is 2×32 \times 3, and the coefficient of xx, 55, is 2+32 + 3.

Factorising x2+bx+cx^2 + bx + c runs this backwards: we look for the two numbers.

The Frame Read Backwards

To factorise x2+5x+6x^2 + 5x + 6, start a multiplication frame. The x2x^2 can only come from x×xx \times x, so it goes in the top left cell with xx on both headers. The number 66 goes in the bottom right cell: it is the product of the two numbers we are looking for.

Start: x2x^2 and 66 placed, the two numbers still to be found.

×xx 
xxx2x^2 
  +6+6

The two empty cells will hold the two xx terms, which must add up to 5x5x. So we need two numbers whose product is 66 and whose sum is 55. List the factor pairs of 66: 1×61 \times 6 (sum 77) and 2×32 \times 3 (sum 55). The pair is 22 and 33.

Finished: every cell is its row times its column.

×xx+3+3
xxx2x^2+3x+3x
+2+2+2x+2x+6+6

x2+3x+2x+6=x2+5x+6,x^2 + 3x + 2x + 6 = x^2 + 5x + 6\text{,} so x2+5x+6=(x+2)(x+3)x^2 + 5x + 6 = (x + 2)(x + 3)

Factorising x2+bx+cx^2 + bx + c

Find two numbers pp and qq with p×q=cp \times q = c and p+q=bp + q = b. Then x2+bx+c=(x+p)(x+q).x^2 + bx + c = (x + p)(x + q)\text{.}

List the factor pairs of cc in order, and stop at the pair with the right sum. Check by expanding.

Listing Factor Pairs

Example 1: Three pairs to try

Factorise x2+7x+12x^2 + 7x + 12.

Solution

We need two numbers with product 1212 and sum 77.

Factor pairs of 1212:

PairProductSum
1,121, 1212121313
2,62, 6121288
3,43, 4121277 ✓

The pair is 33 and 44.

Check: (x+3)(x+4)=x2+4x+3x+12=x2+7x+12.(x + 3)(x + 4) = x^2 + 4x + 3x + 12 = x^2 + 7x + 12\text{.} ✓

x2+7x+12=(x+3)(x+4)x^2 + 7x + 12 = (x + 3)(x + 4)

Example 2: Many pairs

Factorise x2+13x+36x^2 + 13x + 36.

Solution

Pairs of 3636, with their sums: 1,361, 36 (3737); 2,182, 18 (2020); 3,123, 12 (1515); 4,94, 9 (1313) ✓.

Listing in order means no pair is missed; we can stop at 4,94, 9.

x2+13x+36=(x+4)(x+9)x^2 + 13x + 36 = (x + 4)(x + 9)

When bb Is Negative

In x2−5x+6x^2 - 5x + 6 the product is still +6+6, but the sum must be −5-5. Reason with the signs:

The signs when cc is positive

The product cc is positive, so the two numbers have the same sign.

If bb is positive, both numbers are positive: (x+p)(x+q)(x + p)(x + q).

If bb is negative, both numbers are negative: (x−p)(x−q)(x - p)(x - q).

Example 3: Both numbers negative

Factorise x2−5x+6x^2 - 5x + 6.

Solution

The product +6+6 is positive, so the numbers have the same sign; the sum −5-5 is negative, so both are negative.

Negative pairs of 66: −1,−6-1, -6 (sum −7-7); −2,−3-2, -3 (sum −5-5) ✓.

×xx−3-3
xxx2x^2−3x-3x
−2-2−2x-2x+6+6

x2−3x−2x+6=x2−5x+6x^2 - 3x - 2x + 6 = x^2 - 5x + 6

x2−5x+6=(x−2)(x−3)x^2 - 5x + 6 = (x - 2)(x - 3)

Example 4: A larger number

Factorise x2−20x+96x^2 - 20x + 96.

Solution

Both numbers are negative, with product 9696 and sum −20-20.

−1,−96-1, -96 (−97-97); −2,−48-2, -48 (−50-50); −3,−32-3, -32 (−35-35); −4,−24-4, -24 (−28-28); −6,−16-6, -16 (−22-22); −8,−12-8, -12 (−20-20) ✓.

Check: (x−8)(x−12)=x2−12x−8x+96=x2−20x+96.(x - 8)(x - 12) = x^2 - 12x - 8x + 96 = x^2 - 20x + 96\text{.} ✓

x2−20x+96=(x−8)(x−12)x^2 - 20x + 96 = (x - 8)(x - 12)

Other Letters, Other Orders and Two Variables

Example 5: Another letter, and the number first

Factorise (a) y2−9y+20y^2 - 9y + 20; (b) 12+7x+x212 + 7x + x^2.

Solution

(a) Both negative, product 2020, sum −9-9: −4-4 and −5-5. So (y−4)(y−5)(y - 4)(y - 5).

(b) Write it in descending powers first: x2+7x+12x^2 + 7x + 12. From Example 1, (x+3)(x+4)(x + 3)(x + 4).

(a) (y−4)(y−5)(y - 4)(y - 5); (b) (x+3)(x+4)(x + 3)(x + 4)

Example 6: Two variables

Factorise (a) x2+5xy+6y2x^2 + 5xy + 6y^2; (b) a2−7ab+10b2a^2 - 7ab + 10b^2.

Solution

(a) The same numbers as x2+5x+6x^2 + 5x + 6, but each number now goes with yy: 2y×3y=6y22y \times 3y = 6y^2 and 2xy+3xy=5xy2xy + 3xy = 5xy.

×xx+3y+3y
xxx2x^2+3xy+3xy
+2y+2y+2xy+2xy+6y2+6y^2

x2+3xy+2xy+6y2=x2+5xy+6y2x^2 + 3xy + 2xy + 6y^2 = x^2 + 5xy + 6y^2

(b) Product 1010, sum −7-7: −2-2 and −5-5. So (a−2b)(a−5b)(a - 2b)(a - 5b).

(a) (x+2y)(x+3y)(x + 2y)(x + 3y); (b) (a−2b)(a−5b)(a - 2b)(a - 5b)

A Perfect Square, and Quadratics That Do Not Factorise

Example 7: The two numbers are equal

Factorise x2−10x+25x^2 - 10x + 25.

Solution

Both negative, product 2525, sum −10-10: −5-5 and −5-5.

(x−5)(x−5)=(x−5)2,(x - 5)(x - 5) = (x - 5)^2\text{,} a perfect square, as in lesson 3.7.

x2−10x+25=(x−5)2x^2 - 10x + 25 = (x - 5)^2

Example 8: No pair works

Can x2+4x+5x^2 + 4x + 5 be factorised?

Solution

We need product 55 and sum 44. The pairs of 55 are 1,51, 5 (sum 66) and −1,−5-1, -5 (sum −6-6).

The list is complete and no pair has sum 44.

x2+4x+5x^2 + 4x + 5 cannot be factorised into brackets with integers.

Unknown Coefficients and Areas

Example 9: All the values of kk

Find all the integers kk for which x2+kx+12x^2 + kx + 12 can be factorised into two brackets with integers.

Solution

kk is the sum of two integers whose product is 1212. The pairs are 1,121, 12; 2,62, 6; 3,43, 4 and their negatives.

Sums: 1313, 88, 77, and −13-13, −8-8, −7-7.

k=7,8,13,−7,−8k = 7, 8, 13, -7, -8 or −13-13

Example 10: The other side of a rectangle

A rectangle has area (x2+7x+12)(x^2 + 7x + 12) cm² and length (x+4)(x + 4) cm. Find its breadth.

Solution

x2+7x+12=(x+3)(x+4),x^2 + 7x + 12 = (x + 3)(x + 4)\text{,} so the breadth is (x+3)(x + 3) cm.

Check with x=2x = 2: area 4+14+12=304 + 14 + 12 = 30 cm², and 6×5=306 \times 5 = 30. ✓

The breadth is (x+3)(x + 3) cm.

Common Mistakes

  • Using a pair with the right product but the wrong sum: x2+7x+10≠(x+1)(x+10),x^2 + 7x + 10 \ne (x + 1)(x + 10)\text{,} since 1+10=111 + 10 = 11. It is (x+2)(x+5)(x + 2)(x + 5).
  • Using positive numbers when bb is negative: x2−6x+8=(x−2)(x−4),x^2 - 6x + 8 = (x - 2)(x - 4)\text{,} not (x+2)(x+4)(x + 2)(x + 4).
  • Writing (x−2)(x+2)(x - 2)(x + 2) for x2−4x+4x^2 - 4x + 4. That is x2−4x^2 - 4; the answer is (x−2)2(x - 2)^2.
  • Missing a pair by not listing them in order, and then saying a quadratic cannot be factorised.
  • Forgetting to put the terms in descending powers first: 12+7x+x212 + 7x + x^2 is x2+7x+12x^2 + 7x + 12.

Practice

Try each question before you open its solution. Check each answer by expanding it.

Question 1

Factorise (a) x2+6x+8x^2 + 6x + 8; (b) x2+11x+24x^2 + 11x + 24; (c) x2+9x+20x^2 + 9x + 20.

ShowHide solution

(a) Product 88, sum 66: 2,42, 4.

(b) Product 2424, sum 1111: 1,241, 24 (2525); 2,122, 12 (1414); 3,83, 8 (1111) ✓.

(c) Product 2020, sum 99: 4,54, 5.

(a) (x+2)(x+4)(x + 2)(x + 4); (b) (x+3)(x+8)(x + 3)(x + 8); (c) (x+4)(x+5)(x + 4)(x + 5)

Question 2

Factorise (a) x2−7x+10x^2 - 7x + 10; (b) x2−8x+12x^2 - 8x + 12; (c) x2−9x+8x^2 - 9x + 8.

ShowHide solution

(a) Both negative, product 1010, sum −7-7: −2,−5-2, -5.

(b) Product 1212, sum −8-8: −2,−6-2, -6.

(c) Product 88, sum −9-9: −1,−8-1, -8.

(a) (x−2)(x−5)(x - 2)(x - 5); (b) (x−2)(x−6)(x - 2)(x - 6); (c) (x−1)(x−8)(x - 1)(x - 8)

Question 3

Factorise (a) x2+13x+40x^2 + 13x + 40; (b) x2−15x+56x^2 - 15x + 56; (c) x2−14x+48x^2 - 14x + 48.

ShowHide solution

(a) 1,401, 40 (4141); 2,202, 20 (2222); 4,104, 10 (1414); 5,85, 8 (1313) ✓.

(b) Both negative: (−7)×(−8)=56(-7) \times (-8) = 56 and −7−8=−15-7 - 8 = -15.

(c) Both negative: (−6)×(−8)=48(-6) \times (-8) = 48 and −6−8=−14-6 - 8 = -14.

(a) (x+5)(x+8)(x + 5)(x + 8); (b) (x−7)(x−8)(x - 7)(x - 8); (c) (x−6)(x−8)(x - 6)(x - 8)

Question 4

Factorise x2+8x+15x^2 + 8x + 15 using a multiplication frame.

ShowHide solution

Product 1515, sum 88: 33 and 55.

×xx+5+5
xxx2x^2+5x+5x
+3+3+3x+3x+15+15

x2+5x+3x+15=x2+8x+15x^2 + 5x + 3x + 15 = x^2 + 8x + 15

(x+3)(x+5)(x + 3)(x + 5)

Question 5

Factorise (a) p2+11p+24p^2 + 11p + 24; (b) 21−10x+x221 - 10x + x^2; (c) 18+9y+y218 + 9y + y^2.

ShowHide solution

(a) 3×8=243 \times 8 = 24 and 3+8=113 + 8 = 11.

(b) x2−10x+21x^2 - 10x + 21: (−3)×(−7)=21(-3) \times (-7) = 21 and −3−7=−10-3 - 7 = -10.

(c) y2+9y+18y^2 + 9y + 18: 3×6=183 \times 6 = 18 and 3+6=93 + 6 = 9.

(a) (p+3)(p+8)(p + 3)(p + 8); (b) (x−3)(x−7)(x - 3)(x - 7); (c) (y+3)(y+6)(y + 3)(y + 6)

Question 6

Factorise (a) x2+7xy+12y2x^2 + 7xy + 12y^2; (b) m2−9mn+14n2m^2 - 9mn + 14n^2.

ShowHide solution

(a) Product 1212, sum 77: 33 and 44, each with yy.

(b) Product 1414, sum −9-9: −2-2 and −7-7, each with nn.

(a) (x+3y)(x+4y)(x + 3y)(x + 4y); (b) (m−2n)(m−7n)(m - 2n)(m - 7n)

Question 7

Factorise (a) x2+12x+36x^2 + 12x + 36; (b) y2−16y+64y^2 - 16y + 64.

ShowHide solution

(a) 6×6=366 \times 6 = 36 and 6+6=126 + 6 = 12: (x+6)(x+6)(x + 6)(x + 6).

(b) (−8)×(−8)=64(-8) \times (-8) = 64 and −8−8=−16-8 - 8 = -16: (y−8)(y−8)(y - 8)(y - 8).

(a) (x+6)2(x + 6)^2; (b) (y−8)2(y - 8)^2

Question 8

Which of these can be factorised? Factorise those that can. (a) x2+5x+3x^2 + 5x + 3; (b) x2−13x+30x^2 - 13x + 30; (c) x2+2x+2x^2 + 2x + 2

ShowHide solution

(a) Pairs of 33: 1,31, 3 (sum 44) and −1,−3-1, -3 (sum −4-4). None has sum 55: it cannot be factorised.

(b) (−3)×(−10)=30(-3) \times (-10) = 30 and −3−10=−13-3 - 10 = -13: (x−3)(x−10)(x - 3)(x - 10).

(c) Pairs of 22: 1,21, 2 (sum 33) and −1,−2-1, -2 (sum −3-3). None has sum 22: it cannot be factorised.

Only (b): (x−3)(x−10)(x - 3)(x - 10).

Question 9

Find all the integers kk for which x2+kx+18x^2 + kx + 18 can be factorised into two brackets with integers.

ShowHide solution

Pairs of 1818: 1,181, 18 (sum 1919); 2,92, 9 (sum 1111); 3,63, 6 (sum 99); and their negatives (sums −19-19, −11-11, −9-9).

k=9,11,19,−9,−11k = 9, 11, 19, -9, -11 or −19-19

Question 10

Find all the positive integers cc for which x2+8x+cx^2 + 8x + c can be factorised into two brackets with integers.

ShowHide solution

We need p+q=8p + q = 8 with pq=cpq = c positive, so pp and qq are both positive integers.

1+71 + 7: c=7c = 7. 2+62 + 6: c=12c = 12. 3+53 + 5: c=15c = 15. 4+44 + 4: c=16c = 16.

c=7,12,15c = 7, 12, 15 or 1616

Question 11

A rectangular garden has area (x2+9x+14)(x^2 + 9x + 14) m² and width (x+2)(x + 2) m. (a) Find its length. (b) Find its perimeter. (c) Check both when x=3x = 3.

ShowHide solution

(a) x2+9x+14=(x+2)(x+7),x^2 + 9x + 14 = (x + 2)(x + 7)\text{,} so the length is (x+7)(x + 7) m.

(b) 2(x+2)+2(x+7)=4x+182(x + 2) + 2(x + 7) = 4x + 18 m.

(c) The garden is 55 m by 1010 m: area 5050 m², and 9+27+14=509 + 27 + 14 = 50. ✓ Perimeter 3030 m, and 4(3)+18=304(3) + 18 = 30. ✓

(a) (x+7)(x + 7) m; (b) (4x+18)(4x + 18) m

Question 12

Each line has one mistake. Find it and correct it. (a) x2+10x+16=(x+1)(x+16);x^2 + 10x + 16 = (x + 1)(x + 16)\text{;} (b) x2−12x+27=(x+3)(x+9);x^2 - 12x + 27 = (x + 3)(x + 9)\text{;} (c) x2−6x+9=(x−3)(x+3)x^2 - 6x + 9 = (x - 3)(x + 3)

ShowHide solution

(a) 1×16=161 \times 16 = 16, but 1+16=171 + 16 = 17, not 1010. The pair is 2,82, 8: (x+2)(x+8)(x + 2)(x + 8).

(b) (x+3)(x+9)=x2+12x+27.(x + 3)(x + 9) = x^2 + 12x + 27\text{.} For −12x-12x both numbers are negative: (x−3)(x−9)(x - 3)(x - 9).

(c) (x−3)(x+3)=x2−9.(x - 3)(x + 3) = x^2 - 9\text{.} The numbers are −3,−3-3, -3: (x−3)2(x - 3)^2.

(a) (x+2)(x+8)(x + 2)(x + 8); (b) (x−3)(x−9)(x - 3)(x - 9); (c) (x−3)2(x - 3)^2

Key Points

  • x2+bx+c=(x+p)(x+q),x^2 + bx + c = (x + p)(x + q)\text{,} where pq=cpq = c and p+q=bp + q = b.
  • In the frame, x2x^2 goes top left and cc bottom right; the two xx terms on the other diagonal add to bxbx.
  • When cc is positive the two numbers have the same sign: both positive if b>0b > 0, both negative if b<0b < 0.
  • List the factor pairs of cc in order so that none is missed.
  • Equal numbers give a perfect square, such as (x−5)2(x - 5)^2; if no pair has sum bb, the quadratic does not factorise with integers.
  • Check by expanding.

‹ 3.8 Factorising by Grouping 3.10 Factorising x² + bx + c When c Is Negative ›

All Secondary 2 (Grade 8) lessons

Home Campus has lessons, practice questions with worked solutions and worksheets for Primary 3 to Secondary 1. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 2 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.