# Factorize and find the null space of a polynomial in several variables [duplicate]

I've been asked to factor the following polynomial:

poly = 6 x^3 + x^2 y - 11 xy^2 - 6 y^3 - 5 x^2 z + 11 xyz + 11 y^2 z - 2 xz^2 - 6 yz^2 + z^3

And to solve for z so that poly = 0

Can anyone help me with the syntax for factoring polynomials with unlike terms in Mathematica?

-

## marked as duplicate by belisarius, Leonid Shifrin, Jens, Artes, István ZacharApr 6 '13 at 19:39

Here is the answer : mathematica.stackexchange.com/questions/8255/… It's neither too localized nor not a real question, but a duplicate. –  Artes Apr 6 '13 at 18:17
It's not the same, really. The link is about 1D polys with complex-valued roots. This is about multi-D polys, and the second part of the question, about finding the null space does not occur in 1D. –  bill s Apr 6 '13 at 19:08
There is always direct recourse to Solve. In[3]:= Solve[poly == 0, z] Out[3]= {{z -> x + y}, {z -> 3 x + 2 y}, {z -> -2 x + 3 y}} –  Daniel Lichtblau Apr 6 '13 at 19:30

poly = 6 x^3 + x^2 y - 11 x y^2 - 6 y^3 - 5 x^2 z + 11 x y z + 11 y^2 z - 2 x z^2 -