I have a polynomials of multivariable for instance: $P=yx+2^4xy+3+5^2xz+3^4zx $
Now I would like to do the following:
extract those temrs that only has $z$ .
extract terms that only has $y$
express my polynomial with something like this: $P=z(...)+y(...)+(some constants)$
I knoe its quite easy but this is just an example what I want to do in real is a polynomial with 60 terms in it so i would like to know the procedure for doing this.