First time here? Check out the FAQ!

Ask Your Question
0

How can I construct modules as quotient algebras?

asked 13 years ago

Mike gravatar image

I would like to do the following: given a field k and an ideal I of A = k[x1,...,x_n], I would like to construct the k-module A/I and, when A/I is finite as a k-module, compute its rank. Is this possible in Sage?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 13 years ago

benjaminfjones gravatar image

updated 13 years ago

It is easy to compute what you want in Sage if you have a specific field k and specific number of generators. The method you want is the vector_space_dimension method of the ideal I. Here is an example from the documentation for that method that involves the field QQ (rational numbers) and two generators u, v:

sage: R.<u,v> = PolynomialRing(QQ)
sage: g = u^4 + v^4 + u^3 + v^3
sage: I = ideal(g) + ideal(g.gradient())
sage: I
Ideal (u^4 + v^4 + u^3 + v^3, 4*u^3 + 3*u^2, 4*v^3 + 3*v^2) of Multivariate Polynomial Ring in u, v over Rational Field
sage: I.dimension()
0
sage: I.vector_space_dimension()
4
Preview: (hide)
link

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: 13 years ago

Seen: 451 times

Last updated: May 06 '11