RE: Convert expression to polynomial
- To: mathgroup at smc.vnet.net
- Subject: [mg70427] RE: [mg70383] Convert expression to polynomial
- From: "David Park" <djmp at earthlink.net>
- Date: Mon, 16 Oct 2006 02:34:30 -0400 (EDT)
Diana, Have you tried Together? step1 = 1 + 1/(-t + t^2) + 1/((-t + t^2)^2*(-t + t^4)) + 1/((-t + t^2)^4*(-t + t^4)^2*(-t + t^8)); step2 = Together[step1] PolynomialQuotient[Numerator[step2], Denominator[step2], t] PolynomialRemainder[Numerator[step2], Denominator[step2], t] David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Diana [mailto:diana.mecum at gmail.com] To: mathgroup at smc.vnet.net Math folks, 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? Thanks, Diana M.