Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question
1

Basis of quotient ring as a vector space

asked 6 years ago

dd0dd0 gravatar image

I'm curious how I might get a k-basis for a quotient ring of the form R = k[x_1,...x_n] / I, where I is some ideal in the polynomial ring.

For example, given I = {x^3}, and R = Q[x]/I, I would want Sage to give me the vector space basis {1,x,x^2}.

Any help is appreciated!! :)

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
4

answered 6 years ago

rburing gravatar image
 I.normal_basis()
Preview: (hide)
link

Comments

Thanks! This works perfectly

dd0dd0 gravatar imagedd0dd0 ( 6 years ago )
1

You're welcome! If you want to know the algorithm behind it, I think it is done by using a Groebner basis I=g1,,gs: take all the monomials which are not in LM(I)=LM(g1),,LM(gs) (at least this is a way to do it).

rburing gravatar imagerburing ( 6 years ago )

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 6 years ago

Seen: 1,134 times

Last updated: Feb 03 '19