A student divides both sides by $x-4$ and lost a solution $x=4$. How could you explain to the student that they are not allowed to divide by $x-4$
Here is the problem:
$x(x-4)=x(x-4)(x-5)$
I am having a hard time putting this in words for some reason. We know if the student divides by $x-4$ on both sides, not only do they lose a solution but technically they are dividing by $0$.
Does anyone have any other explanations
You can divide by $x-4$ provided $x\neq 4$. For $x=4$ you need an another case.
The thinking goes as follows: I can divide by a number not equal to zero. I divide by $x-4$. When $x-4\neq0$ I can do that. When $x-4=0$ I check if $x=4$ is a solution.
Eventually you can show them this method
$$x(x-4)=x(x-4)(x-5)$$ $$x(x-4)-x(x-4)(x-5)=0$$ $$x(x-4)(1-(x-5))=0$$ $$-x(x-4)(x-6)=0\implies x\in\{0,4,6\}$$