Vector space dimension of a graded algebra over a field

431 views
Skip to first unread message

just starting

unread,
Mar 2, 2016, 2:42:19 PM3/2/16
to Macaulay2
Hi all, 

I'm completely new to Macaulay2 and there's something I'm sure is simple to do I can't find in the documentation. Namely, I start with a polynomial ring over the rationals and mod out by a big enough ideal that I'm sure the result has finite dimension as a rational vector space. How can I extract the dimensions of the graded components? For example, is there an command that converts a Q-algebra to a vector space over Q?


Thanks!

Frank Moore

unread,
Mar 2, 2016, 3:01:47 PM3/2/16
to maca...@googlegroups.com
The command you are looking for is 'basis':

R = QQ[x]/ideal{x^2+1}
basis R

If R is graded, then one can get the homogeneous component in a given degree using basis(ZZ,Ring):

S = QQ[a,b]
basis(4,S)

Frank

--
You received this message because you are subscribed to the Google Groups "Macaulay2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macaulay2+...@googlegroups.com.
To post to this group, send email to maca...@googlegroups.com.
Visit this group at https://groups.google.com/group/macaulay2.
For more options, visit https://groups.google.com/d/optout.



--
Dr. W. Frank Moore
Assistant Professor
Department of Mathematics, Wake Forest University

email: moo...@wfu.edu

just starting

unread,
Mar 2, 2016, 4:37:50 PM3/2/16
to Macaulay2, moo...@wfu.edu
Frank,

Thank you!
Reply all
Reply to author
Forward
0 new messages