MathGroup Archive 2012

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

Search the Archive

Re: Ordering an algebraic expression in Mathematica


f = (a x+b) (c x+d)+b d x+x^3*a+c (x^2+x^3)

f1 = Collect[f,x]

2012/8/3 <mrafiee87 at gmail.com>

> 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
>
>


-- 
Rodrigo




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