Solution:
Concept: The special product a3+b3+c3−3abc=(a+b+c)(a2+b2+c2−ab−bc−ca); so if a+b+c=0, then a3+b3+c3=3abc.
Step 1 — The numerator.
The three terms x2−y2, y2−z2 and z2−x2 add up to 0, so the sum of their cubes is 3 times their product.
(x2−y2)3+(y2−z2)3+(z2−x2)3=3(x2−y2)(y2−z2)(z2−x2)
Step 2 — The denominator.
In the same way, x−y, y−z and z−x add up to 0.
(x−y)3+(y−z)3+(z−x)3=3(x−y)(y−z)(z−x)
Step 3 — Divide.
We factorise each difference of squares, for example x2−y2=(x−y)(x+y), and cancel the common factors.
3(x−y)(y−z)(z−x)3(x2−y2)(y2−z2)(z2−x2)=3(x−y)(y−z)(z−x)3(x−y)(x+y)(y−z)(y+z)(z−x)(z+x)=(x+y)(y+z)(z+x)
Watch out: The cancelling needs x, y and z to be all different; otherwise the denominator is 0.
Therefore, the expression simplifies to (x+y)(y+z)(z+x).