Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

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.



  • Prev by Date: How to make an inline cell (inside a Text cell) to be a centered equation?
  • Next by Date: Re: a fault in the Factor[] function for polynomials?
  • Previous by thread: Re: Convert expression to polynomial
  • Next by thread: Re: Convert expression to polynomial