How do you factorise an expression like this? $$u^2v - u^2w - uv^2 + v^2w+uw^2-vw^2.$$
I'm interested in the method on how to get the first factor as I don't see any clear way on how to do this. I don't care so much about the answer as I want to solve it myself. Thanks.
Note that if $u=v$ the expression reduces to zero, likewise $u=w$ and $v=w$.
The factor theorem for polynomials applies and you can assume factors of $(u-v)$, $(u-w)$ and $(v-w)$. That does most of the work for you (careful about other factors including constants).
It is always worth checking $u=\pm v$ in situations like this in case easy factors drop out.