MathGroup Archive 2012

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

Search the Archive

Re: Ordering an algebraic expression in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127565] Re: Ordering an algebraic expression in Mathematica
  • From: Rodrigo AP <digorna at gmail.com>
  • Date: Sat, 4 Aug 2012 06:02:46 -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
  • References: <20120803081520.53D86681E@smc.vnet.net>

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