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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to