Quadratics & their graphs · Lesson 3 of 6

More factorising

Difference of two squares, factorising by grouping, quadratics in disguise (in √x or 3ˣ), and using factorising to simplify fractions and find where they are undefined.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6

The quick-factorising skills JAMB tests most, beyond the basic x2+bx+cx^2 + bx + c: spotting a difference of two squares, grouping four terms, seeing a quadratic in disguise, and simplifying fractions.

Difference of two squares

a2−b2=(a−b)(a+b)a^2 - b^2 = (a - b)(a + b). Look for it whenever two perfect squares are subtracted: x2−16=(x−4)(x+4)x^2 - 16 = (x - 4)(x + 4), and 25x2−4y2=(5x−2y)(5x+2y)25x^2 - 4y^2 = (5x - 2y)(5x + 2y). JAMB asks for this often. The squares can be whole brackets, (p+1)2−q2=(p+1−q)(p+1+q)(p + 1)^2 - q^2 = (p + 1 - q)(p + 1 + q), and it makes some arithmetic quick: 572−432=(57−43)(57+43)=14×100=140057^2 - 43^2 = (57 - 43)(57 + 43) = 14 \times 100 = 1400.

aba² − b²=a + ba − b
Difference of two squaresCut b² from a²; the rest rearranges into (a + b)(a − b)

More: difference of two squares

Factorising by grouping

An expression with four terms and no common factor overall can often be factorised in pairs. Group the terms, take a common factor out of each pair, and the same bracket appears twice: ax−ay+3x−3y=a(x−y)+3(x−y)=(a+3)(x−y)ax - ay + 3x - 3y = a(x - y) + 3(x - y) = (a + 3)(x - y). If the brackets don’t match, try pairing the terms differently.

ax + ay + bx + by
= a(x + y) + b(x + y)
= (a + b)(x + y)
Pair the terms, take a common factor out of each pair; the two brackets must match
Factorising by groupingTwo pairs, one common bracket

More: grouping and common factors

Quadratics in disguise

Some equations are quadratics wearing a disguise. If you can write the equation in terms of one repeated piece, such as y\sqrt y or 3x3^x, call that piece uu. Solve the quadratic in uu, then turn each uu back.

y − 7√y + 12 = 0
let u = √y: u² − 7u + 12 = 0
u = 3 or 4, so y = 9 or 16
Swap in u, solve the quadratic, then turn u back into the original
Quadratics in disguiseLet u stand for the repeated piece, solve for u, then go back

Worked example · JAMB 1990

JAMB 1990 · UME · Q21

Find the solution of the equation x−8x+15=0x - 8\sqrt x + 15 = 0.

  1. Spot the repeated piece

    x=(x)2x = (\sqrt x)^2, so let u=xu = \sqrt x. The equation becomes u2−8u+15=0u^2 - 8u + 15 = 0.

    Think first. x = (√x)². What should u be?

  2. Solve for u

    (u−3)(u−5)=0(u - 3)(u - 5) = 0, so u=3u = 3 or u=5u = 5.

    Think first. Two numbers that multiply to 15 and add to −8.

  3. Turn u back

    x=9x = 9 or x=25x = 25. Both check in the original: 9−24+15=09 - 24 + 15 = 0 ✓ and 25−40+15=025 - 40 + 15 = 0 ✓. Option C.

    Think first. √x = 3 and √x = 5.

When you square both sides to remove a square root, always check your answers in the original equation: squaring can bring in an answer that doesn’t work.

More: quadratics in disguise

Using factorising: algebraic fractions

To simplify a fraction, factorise the top and the bottom, then cancel any bracket they share: x2−4x2+5x+6=(x−2)(x+2)(x+2)(x+3)=x−2x+3\frac{x^2 - 4}{x^2 + 5x + 6} = \frac{(x - 2)(x + 2)}{(x + 2)(x + 3)} = \frac{x - 2}{x + 3}. (See algebraic fractions.) A fraction is undefined when its bottom is 0, so solve “bottom = 0” to find those values.

More: fractions and factorising

Your turn

WAEC 2025 · Paper 2 · Q1 (a)✱✱

  1. (a)

    Factorize px−2qx−4qy+2pypx - 2qx - 4qy + 2py.

Worked solution (try it first)

(a)

  1. Group the terms in xx and the terms in yy: (px−2qx)+(2py−4qy)=x(p−2q)+2y(p−2q)(px - 2qx) + (2py - 4qy) = x(p - 2q) + 2y(p - 2q).
  2. (p−2q)(p - 2q) is a common factor: px−2qx−4qy+2py=(p−2q)(x+2y)px - 2qx - 4qy + 2py = (p - 2q)(x + 2y).

Report a problem with this question