First time here? Check out the FAQ!
answered 2013-05-28 13:10:19 +0200
Perhaps
sage: x, y = QQ['x,y'].gens() sage: P = x^2 + y^2 sage: Q = P(1/x, y) sage: Q.denominator() * Q x^2*y^2 + 1