Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Ordering an algebraic expression in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127543] Ordering an algebraic expression in Mathematica
  • From: mrafiee87 at gmail.com
  • Date: Fri, 3 Aug 2012 04:15:20 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

Hi to all,

Would you please kindly let me know, how can one sort an algebraic expression in Mathematica?
for example
a, b, c, d are constants
x is the parameter for ordering

expression: 
(ax+b)(cx+d)+bdx+x^3*a+c(x^2+x^3)

I wanna get the following results:
bd +x(bd+ad+bc)+x^2(c)+x^3(a+c)

Thank you very much



  • Prev by Date: Re: Strange Compile runtime error
  • Next by Date: Re: Partial derivative function definitions
  • Previous by thread: Re: Using Workbench to debug Compile[] ??
  • Next by thread: Re: Ordering an algebraic expression in Mathematica