Factoring – How to Factorise $x^3z – x^3y – y^3z + yz^3 + xy^3 – xz^3$

factoring

I'm trying to factorise
$$ x^3z – x^3y – y^3z + yz^3 + xy^3 – xz^3 $$
into four linear factors. By plugging it into WolframAlpha I've learned that it's
$$-(x-y)(x-z)(y-z)(x+y+z)$$

My question is: what are the steps involved in factorising the expression? Is there a method I don't know about that I'd have access to with my limited maths?

Really appreciate any help!

Best Answer

mathlove has a great hint. The way to factor polynomials is to find their zeroes. That is to say, something like $x^2+2x-3$ can be factored as $(x-1)(x+3)$, where $x=1$ and $x=-3$ are the zeroes. So, playing around with this equation you may think about trying something like $x=y$ to see what happens. This is great, because it causes the whole expression to equal zero, so you know that $x=y$ is a zero. This means you can factor out a quantity of $(x-y)$. Doing polynomial division you will find $$ x^3z - x^3y - y^3z + yz^3 + xy^3 - xz^3 = (x-y)(x^2z+xyz+y^2z-x^2y-xy^2-z^3)$$ Now you can repeat this process on the quantity $x^2z+xyz+y^2z-x^2y-xy^2-z^3$ and factor out another zero, proceeding until everything has been factored. You already know which quantities can be factored out so it shouldn't be too bad. But going through polynomial division is great practice, and is often necessary for factoring polynomials of degree three or higher.