Hello How can I write a polynomial such as f(x^2-4,x^2-2*x) in sage?
Not sure what
x^y^2 was supposed to be in your polynomial
Anyway, try something like this.
sage: R.<x,y> = PolynomialRing(ZZ, order='deglex') sage: f = x^5 * y^2 + x^3 * y^2 - y + 1 sage: F = (x * y^2 - x, x - y^3) sage: f.reduce(F) x^5 + x^3 - y + 1
Asked: 2013-04-04 01:12:47 -0500
Seen: 66 times
Last updated: Apr 15 '13