Re: Rearranging terms - user-defined

*To*: mathgroup at smc.vnet.net*Subject*: [mg127171] Re: Rearranging terms - user-defined*From*: Bill Rowe <readnews at sbcglobal.net>*Date*: Wed, 4 Jul 2012 03:30:09 -0400 (EDT)*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com

On 7/2/12 at 10:20 PM, Alexei.Boulbitch at iee.lu (Alexei Boulbitch) wrote: >Well, in my opinion the best way is: >a + b x - b y + O[x, y]^2 // Normal >a+b (x-y) >Dear Andrzej, >That is a nice method. Could you please kindly comment, what stays >behind. What stays behind is just what is needed to express a+b(x-y) as can be seen from: In[1]:= a + b x - b y + O[x, y]^2 // Normal Out[1]= a+b (x-y) In[2]:= % // FullForm Out[2] Plus[a,Times[b,Plus[x,Times[-1,y]]]]