# [Maxima] RE : operations on polynomial expressions

Fabrizio Caruso caruso
Sat Nov 25 04:54:08 CST 2006

```Hi,

No, it's not what I meant.

I would like to write the expression as a
multivariate polynomial in x,y,z, i.e. terms
with the same powers in x,y,z
should be summed up together.

Something like:

c_1* pp_1(x,y,z) + c_2 * pp_2(x,y,z) + ... c_n * pp_n(x,y,z)

where c_i do not contain x,y,z and pp_i(x,y) are
power products in x,y,z.

Fabrizio

On Sat, 25 Nov 2006, laurent couraud wrote:

> Do you mean something like this?
>
> (%i1) (a1*x^2+a2*x+a3)*(b1*y^2+b2*y*b3)*(c1*z^2+c2*z+c3);
> (%i2) ratsimp(%);
> (%i3) ratsimp(%,x);
>
> Laurent.
>
> > -----Message d'origine-----
> > De?: maxima-bounces at math.utexas.edu [mailto:maxima-bounces at math.utexas.edu] De la part de
> > Fabrizio Caruso
> > Envoy??: vendredi 24 novembre 2006 23:41
> > ??: maxima at math.utexas.edu
> > Objet?: [Maxima] operations on polynomial expressions
> >
> > Hi all again,
> >
> > Is there a way to tell Maxima to
> > rewrite an expression as a multivariate
> > polynomial with respect to some given variables?
> >
> > What I mean is to write the expression as
> > a some of monomials, where a monomial
> > is a product of something free of the chosen
> > variables and a power product with respect
> > to the variables.
> >
> >   Fabrizio
> >
> > _______________________________________________
> > Maxima mailing list
> > Maxima at math.utexas.edu
> > http://www.math.utexas.edu/mailman/listinfo/maxima
>
>

```