Skip to content
TopScorerPlus
← All question bank
IGCSE · Year 10SPM · Form 4Maths Foundation

Solve x² = 5x: Why Dividing by x Loses an Answer

By Adrian Wong · 20 October 2026

The question

Solve x2=5xx^2 = 5x.

The common wrong answer

Most students divide both sides by xx:

x2=5x⇒x=5x^2 = 5x \quad\Rightarrow\quad x = 5

This looks fine, but it’s only half the answer. Dividing by xx quietly assumes xx isn’t 0, and x=0x = 0 is also a solution: 02=5×00^2 = 5 \times 0.

The correct working

Bring everything to one side and factorise:

x2−5x=0⇒x(x−5)=0x^2 - 5x = 0 \quad\Rightarrow\quad x(x - 5) = 0

So x=0x = 0 or x=5x = 5.

Why it works

Factorising works because of one simple rule: if two things multiply to give zero, at least one of them must be zero.

x(x−5)=0⇒x=0orx−5=0x(x - 5) = 0 \quad\Rightarrow\quad x = 0 \quad\text{or}\quad x - 5 = 0

Dividing both sides by xx is only allowed when x≠0x \ne 0, because you can’t divide by zero. So the moment you divide by xx, you have silently assumed xx isn’t 0, and the solution x=0x = 0 disappears from your working. Keeping everything on one side and factorising never throws a solution away.

How to spot it next time

Want help with this every week?

Join an online group class with Adrian at RM50/hr and a fixed weekly time, or request a free 1-on-1 trial lesson.