Simplify and Gather Terms in a Polynomial

*To*: mathgroup at smc.vnet.net*Subject*: [mg46434] Simplify and Gather Terms in a Polynomial*From*: sabrinacasagrande at hotmail.com (sabbri)*Date*: Wed, 18 Feb 2004 00:36:58 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

I have two equivalent polynomial expressions. In the second, which should derive from the first, terms are gathered respecting to a particular variable. for example: y(x+ x^2) I want to make it gathered for x x(y+yx) How can I give this command?

**Follow-Ups**:**Re: Simplify and Gather Terms in a Polynomial***From:*Andrzej Kozlowski <akoz@mimuw.edu.pl>