MathGroup Archive 2009

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

Search the Archive

Re: Taking LCM in a polynomial expression

  • To: mathgroup at smc.vnet.net
  • Subject: [mg95336] Re: Taking LCM in a polynomial expression
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Fri, 16 Jan 2009 06:06:54 -0500 (EST)

On 1/15/09 at 6:13 AM, skt at xdtech.com (Srikanth) wrote:

>Hi I have a symbolic matrix that I invert. When I take each
>individual entry of the resulting matrix, I get an expression of the
>form: num1/den1 + num2/den1 + .... + num_n/den1 where den1 is the
>determinant of the matrix. I'd like to get an expression of the
>form: Num/Den.

Use Together. For example,

In[2]:= expr = Plus @@ Table[n/x^n, {n, 3}]

Out[2]= 3/x^3+2/x^2+1/x

In[5]:= Together[expr] // TraditionalForm

Out[5]//TraditionalForm= (x^2+2 x+3)/x^3



  • Prev by Date: Re: Problems using MathLink
  • Next by Date: Re: Mathematica and Access
  • Previous by thread: Taking LCM in a polynomial expression
  • Next by thread: Re: Taking LCM in a polynomial expression