Factorising expressions

Factorising expressions

IB MYP Maths Standard: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Factorising is the reverse of expanding; take the highest common factor outside a bracket and check by expanding.
  • Four terms: group in pairs and take a common factor from each pair.
  • Difference of two squares: a2−b2=(a−b)(a+b)a^2-b^2=(a-b)(a+b).
  • x2+bx+c=(x+p)(x+q)x^2+bx+c=(x+p)(x+q) where pq=cpq=c and p+q=bp+q=b.
  • To solve a quadratic, rearrange to =0=0, factorise and set each bracket to zero.

Common factors

Take the highest common factor of every term outside a bracket, and check by expanding.

Factorising is the reverse of expanding: it writes an expression as a product. First find the highest common factor (HCF) of every term, numbers and letters, and take it outside a bracket.

6x2+9x=3x(2x+3)6x^2+9x=3x(2x+3) and 12a2b−8ab2=4ab(3a−2b)12a^2b-8ab^2=4ab(3a-2b). The bracket must contain no further common factor, otherwise the expression is not fully factorised. Always check by expanding.

2x33xABCDEF
6x² + 9x = 3x(2x + 3): the rectangle has height 3x and width 2x + 3 (drawn with x = 2).

Expanding

  • 3x(2x+3)→6x2+9x3x(2x+3)\to6x^2+9x

Factorising

  • 6x2+9x→3x(2x+3)6x^2+9x\to3x(2x+3)

Worked example

Fully factorise 8x2−12x8x^2-12x.

Fully factorise 6x2+9x6x^2+9x.

Factorising by grouping

Group them in pairs and take a common factor from each pair; matching brackets become a new common factor.

With four terms, group them in pairs and take a common factor from each pair. If the brackets match, they become a new common factor.

xy+3x+4y+12=x(y+3)+4(y+3)=(y+3)(x+4)xy+3x+4y+12=x(y+3)+4(y+3)=(y+3)(x+4). If the brackets do not match, try pairing the terms in a different order or check the signs.

  1. 1

    Group

    (xy + 3x) + (4y + 12)

  2. 2

    Take a factor from each pair

    x(y + 3) + 4(y + 3)

  3. 3

    Match

    the bracket (y + 3) is a common factor

  4. 4

    Write

    (y + 3)(x + 4)

Grouping

Worked example

Factorise xy+3x+4y+12xy+3x+4y+12.

Factorise ab+2a+3b+6ab+2a+3b+6.

Difference of two squares

a2−b2a^2-b^2 factorises as (a−b)(a+b)(a-b)(a+b), with no middle term.

When one square is subtracted from another, x2−49=(x−7)(x+7)x^2-49=(x-7)(x+7) and 9−y2=(3−y)(3+y)9-y^2=(3-y)(3+y). There is no middle term because +7x+7x and −7x-7x cancel.

Take out any common factor first: 3x2−75=3(x2−25)=3(x−5)(x+5)3x^2-75=3(x^2-25)=3(x-5)(x+5). It works with numbers as well: 532−472=(53−47)(53+47)=6×100=60053^2-47^2=(53-47)(53+47)=6\times100=600.

abABCDEF
a² − b² is a square of side a with a square of side b removed. Here a = 5 and b = 2: 25 − 4 = 21 = (5 − 2)(5 + 2) = 3 × 7.
  • Difference of two squaresa2−b2=(a−b)(a+b)a^2-b^2=(a-b)(a+b)

Worked example

Factorise 3x2−753x^2-75 and work out 532−47253^2-47^2.

Factorise 4x2−94x^2-9.

Quadratic trinomials

Find two numbers with product cc and sum bb.

To factorise a quadratic trinomial x2+bx+cx^2+bx+c, find two numbers with product cc and sum bb, then write (x+p)(x+q)(x+p)(x+q). For x2+9x+20x^2+9x+20 the numbers are 44 and 55, so (x+4)(x+5)(x+4)(x+5).

If cc is positive, both numbers have the same sign as bb. If cc is negative, the numbers have different signs and the larger one has the sign of bb: x2−x−12=(x−4)(x+3)x^2-x-12=(x-4)(x+3). In this subtopic the number in front of x2x^2 is 1.

−8−6−4−2246−10−55101520xy(−5, 0)(2, 0)(0, −10)y = x² + 3x − 10
The factors (x + 5)(x − 2) show where y = x² + 3x − 10 crosses the x-axis
  • Trinomialx2+bx+c=(x+p)(x+q)x^2+bx+c=(x+p)(x+q)
  • Numberspq=cpq=c and p+q=bp+q=b

Worked example

Factorise x2+9x+20x^2+9x+20 and x2+3x−10x^2+3x-10.

Factorise x2−x−12x^2-x-12.

Simplifying and solving

Factorise and cancel to simplify a fraction; factorise and set each bracket to zero to solve.

To simplify an algebraic fraction, factorise the top and bottom and cancel common factors: x2−9x+3=(x−3)(x+3)x+3=x−3\frac{x^2-9}{x+3}=\frac{(x-3)(x+3)}{x+3}=x-3.

To solve a quadratic equation, rearrange so that one side is zero, factorise, and set each bracket equal to zero. x2−5x+6=0x^2-5x+6=0 gives (x−2)(x−3)=0(x-2)(x-3)=0, so x=2x=2 or x=3x=3. Also x2+7x=0x^2+7x=0 gives x(x+7)=0x(x+7)=0, so x=0x=0 or x=−7x=-7.

In a real problem, reject any answer that does not make sense, such as a negative length.

  1. 1

    Rearrange

    so one side is 0

  2. 2

    Factorise

    into two brackets

  3. 3

    Zero product

    set each bracket equal to 0

  4. 4

    Solve and check

    reject impossible answers

Solving a quadratic by factorising

Worked example

Simplify x2−9x+3\frac{x^2-9}{x+3} and solve x2−5x+6=0x^2-5x+6=0.

Simplify x2−16x−4\frac{x^2-16}{x-4}.

Try an exam question

(a) Factorise x2+x−12x^2+x-12. (b) Hence solve x2+x−12=0x^2+x-12=0.

[3 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Factorise x2+9x+20x^2+9x+20.

1 mark, marked against the mark scheme

Revision notes