Key idea: Subtracting one column from another and one row from another does not change a determinant. Factors common to a row can be taken out. We also use p3−q3=(p−q)(p2+pq+q2).
Step 1 — Simplify the second and third columns.
Let Δ be the given determinant. Since x(x2+1)=x3+x, we apply C2→C2−C1 and C3→C3−C1.
Δ=xyzx3y3z3111
Step 2 — Make zeros in the third column.
We apply R2→R2−R1 and R3→R3−R1.
Δ=xy−xz−xx3y3−x3z3−x3100
Step 3 — Take out the common factors.
By the difference of cubes, y3−x3 has the factor y−x and z3−x3 has the factor z−x. We take y−x out of R2 and z−x out of R3.
Δ=(y−x)(z−x)x11x3y2+xy+x2z2+zx+x2100
Step 4 — Expand along the third column.
Only the top entry of C3 is non-zero, and its place sign is +.
Δ=(y−x)(z−x)[(z2+zx+x2)−(y2+xy+x2)]
Step 5 — Factorise the bracket.
We cancel x2, then group the remaining terms.
(z2−y2)+x(z−y)=(z−y)(z+y)+x(z−y)
(z2−y2)+x(z−y)=(z−y)(x+y+z)
So the determinant becomes:
Δ=(y−x)(z−x)(z−y)(x+y+z)
Step 6 — Match the required form.
We write y−x as −(x−y) and z−y as −(y−z); the two minus signs cancel.
Δ=(x−y)(y−z)(z−x)(x+y+z)
Therefore, the determinant equals (x−y)(y−z)(z−x)(x+y+z), as required.