MathGroup Archive 2012

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

Search the Archive

Ordering an algebraic expression in Mathematica


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