Re: Convert expression to polynomial
- To: mathgroup at smc.vnet.net
- Subject: [mg70442] Re: Convert expression to polynomial
- From: Bill Rowe <readnewsciv at sbcglobal.net>
- Date: Mon, 16 Oct 2006 02:35:51 -0400 (EDT)
On 10/15/06 at 12:18 AM, diana.mecum at gmail.com (Diana) wrote:
>I am generating a list of partial sums which look like:
>x = 1 + (-t + t^2)^(-1) + 1/((-t + t^2)^2*(-t + t^4)) + 1/((-t +
>t^2)^4*(-t + t^4)^2*(-t + t^8))
>I then try to calculate the PolynomialQuotient[Numerator[x],
>Denominator[x], t], etc., and I get an error saying that x is not a
>polynomial function.
>I tried to find the command to put everything over a common
>denominator, but was unable to find this. Can someone help?
I think what you want is Together i.e., the common denominator
would be
In[21]:=
Denominator[Together@x]
Out[21]=
(t - 1)^7*t^7*(t^2 + t + 1)^2*(t^6 + t^5 + t^4 + t^3 +
t^2 + t + 1)
--
To reply via email subtract one hundred and four