Skip to main content
ScotlandMathsSyllabus dot point

How do you expand brackets and factorise algebraic expressions, including common factors, the difference of two squares and trinomials?

Expanding brackets (including the product of two brackets) and factorising algebraic expressions using a common factor, the difference of two squares, and trinomials with unitary and non-unitary leading coefficients.

A focused answer to the SQA National 5 Mathematics algebra content, covering expanding single and double brackets, and the three factorising methods examined: common factor, difference of two squares, and factorising trinomials with both unitary and non-unitary leading coefficients.

Generated by Claude Opus 4.810 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Expanding brackets
  3. Factorising: always check for a common factor first
  4. Difference of two squares
  5. Factorising trinomials
  6. Choosing the right method
  7. Examples in context
  8. Try this

What this dot point is asking

The SQA wants you to expand brackets, including the product of two brackets, and factorise using the three methods examined at National 5: taking out a common factor, the difference of two squares, and factorising trinomials (quadratic expressions) with both unitary and non-unitary leading coefficients. Factorising is the reverse of expanding, and the command word "fully" means every possible factor must be removed.

Expanding brackets

To expand a single bracket, multiply each inside term by the term outside: 3(2xβˆ’5)=6xβˆ’153(2x - 5) = 6x - 15. To expand the product of two brackets, multiply every term in the first by every term in the second, then collect like terms.

Factorising: always check for a common factor first

The first step in any factorising question is to look for a factor common to every term and take it outside a bracket. This is the reverse of expanding a single bracket.

Difference of two squares

When an expression is one square subtracted from another, with no middle term, it factorises into a sum and a difference.

For example, x2βˆ’49=(x+7)(xβˆ’7)x^2 - 49 = (x + 7)(x - 7), and 9y2βˆ’16=(3y+4)(3yβˆ’4)9y^2 - 16 = (3y + 4)(3y - 4) because 9y2=(3y)29y^2 = (3y)^2 and 16=4216 = 4^2.

Factorising trinomials

A trinomial x2+bx+cx^2 + bx + c factorises into (x+p)(x+q)(x + p)(x + q) where pp and qq multiply to cc and add to bb.

When the leading coefficient is not 11 (a non-unitary trinomial like 2x2+7x+32x^2 + 7x + 3), multiply the first and last coefficients, find two numbers that multiply to that product and add to the middle coefficient, then split the middle term and factorise in pairs.

A useful check at every stage is to expand your answer back out. If (2x+1)(x+3)(2x + 1)(x + 3) does not give 2x2+7x+32x^2 + 7x + 3 when multiplied, you know a sign or a number is wrong. Because factorising and expanding are exact opposites, this self-check costs only a moment and catches most slips.

Choosing the right method

Many questions need more than one method, so it helps to have an order of attack. First, take out any common numerical or algebraic factor. Then look at what is left. If it has two terms and is a difference of squares, use a2βˆ’b2=(a+b)(aβˆ’b)a^2 - b^2 = (a + b)(a - b). If it has three terms (a trinomial), find the pair of numbers that multiply and add correctly, using the leading coefficient for non-unitary cases. A fully factorised answer cannot be broken down any further.

Examples in context

Factorising is the gateway to solving quadratic equations and simplifying algebraic fractions. A rectangular garden whose area is x2+5x+6x^2 + 5x + 6 square metres has dimensions (x+2)(x + 2) by (x+3)(x + 3) metres, found by factorising; this lets a designer read off the side lengths directly. Engineers factorise to locate where a quantity is zero, since a product is zero only when one of its factors is zero.

Try this

Q1. Expand and simplify (2xβˆ’1)(x+4)(2x - 1)(x + 4). [2 marks]

  • Cue. 2x2+7xβˆ’42x^2 + 7x - 4.

Q2. Factorise fully x2βˆ’25x^2 - 25. [1 mark]

  • Cue. (x+5)(xβˆ’5)(x + 5)(x - 5).

Q3. Factorise x2βˆ’xβˆ’20x^2 - x - 20. [2 marks]

  • Cue. (xβˆ’5)(x+4)(x - 5)(x + 4).

Exam-style practice questions

Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

SQA National 5 20193 marksFactorise fully 2x2βˆ’82x^2 - 8.
Show worked answer β†’

Take out the common factor first: 2x2βˆ’8=2(x2βˆ’4)2x^2 - 8 = 2(x^2 - 4) (1 mark). Recognise x2βˆ’4x^2 - 4 as a difference of two squares, since 4=224 = 2^2 (1 mark). Factorise it: x2βˆ’4=(x+2)(xβˆ’2)x^2 - 4 = (x + 2)(x - 2), giving 2(x+2)(xβˆ’2)2(x + 2)(x - 2) (1 mark). Markers reward removing the common factor and the full difference-of-squares factorisation. The word "fully" means the common factor must be taken out.

SQA National 5 20222 marksFactorise 3x2+7x+23x^2 + 7x + 2.
Show worked answer β†’

This is a non-unitary trinomial, so use the product 3Γ—2=63 \times 2 = 6 and find two numbers that multiply to 66 and add to 77: these are 66 and 11 (1 mark). Split the middle term: 3x2+6x+x+2=3x(x+2)+1(x+2)=(3x+1)(x+2)3x^2 + 6x + x + 2 = 3x(x + 2) + 1(x + 2) = (3x + 1)(x + 2) (1 mark). Markers reward a correct factorised pair of brackets; checking by expanding confirms the middle term is 7x7x.

Related dot points

Sources & how we know this