Ask Your Question

Changing Parent on multivariable polynomial ring

asked 2020-09-11 19:28:25 +0200

whatupmatt gravatar image

This question is similar to

R.<x,y,z,w> = QQ[]
J = R.ideal([f1, f2, f3,f4])

Now f is in its Jacobian by Euler identity so we can lift f as follows.

f in J

returns true.


returns the lift of f. Now consider h=f^(2)/ (xyz). Although this seems like a rational function, this is actually a polynomial.

h in J

returns true. However, I get an error when doing


The reason for this is Sage reads h as living not in the multivariable ring, but the fraction field of it because I divided by xyz. Apparently, there is no lift function for polynomials living in the fraction field. However, it is still an honest polynomial as it divides cleanly with no remainder. To be more clear,


returns Multivariate Polynomial Ring in x, y, z, w over Rational Field.


returns Fraction Field of Multivariate Polynomial Ring in x, y, z, w over Rational Field. Is there a way to make h belong to the multivariate ring instead of its fraction field so I can apply the lift function?

edit retag flag offensive close merge delete


By the way, J = R.ideal(jacobian(f,R.gens()).list()) and J = R.ideal(f.gradient()) and J = f.jacobian_ideal().

rburing gravatar imagerburing ( 2020-09-11 21:40:57 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-09-11 21:35:46 +0200

rburing gravatar image

If you do explicit division of polynomials with /, you (reasonably) end up in the fraction field of the polynomial ring. What you want to do instead is division with //, which is division (ignoring the remainder) in the polynomial ring. Since you know the remainder is zero, this will be the actual quotient, as a member of the polynomial ring.

(If you have an element q in the fraction field of R and it has denominator 1, then you can also convert it to an element of the polynomial ring by R(q).)

edit flag offensive delete link more


Great, thanks for your help.

whatupmatt gravatar imagewhatupmatt ( 2020-09-11 22:58:37 +0200 )edit

You're welcome. You can accept the answer by pressing the check mark button under the voting arrows (also on all of your other answered questions).

rburing gravatar imagerburing ( 2020-09-11 23:35:02 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-09-11 19:28:25 +0200

Seen: 308 times

Last updated: Sep 11 '20