And thats another problem. How do I tell sage to give me the denominator of this rational function?
On Sep 4, 3:25 am, "ma...@mendelu.cz" <ma...@mendelu.cz> wrote: > What about to use polynomial division to get polynomial q=Q/p and then > return P/q ? > > I do not remember the command for polynomial division, but should be > in the manual or help. > > Robert > > On 4 zář, 05:54, Cary Cherng <cche...@gmail.com> wrote: > > > > > I have a rational function P(x)/Q(x) with numerators and denominators > > of very large degree. From the context I know that a certain > > polynomial p(x) should divide the denominator. If I multiply the > > numerator by p(x) giving p(x)*P(x)/Q(x) how do I get sage to cancel > > p(x) with the factor in Q(x)? In other words, how do I get sage to > > simplify when I work with rational functions. Everything I've tried > > either doesn't work or just sits there forever. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org