Finding order of poles

24 views
Skip to first unread message

Naufil Sakran

unread,
Sep 27, 2022, 12:23:17 PM9/27/22
to Macaulay2
Hello. I have been having trouble of finding order of pole of a rational function.

Suppose I have a smooth affine variety X=V(y^2-x^3+x) and I localize it at a rational point P=(1,0). Then how can I find ord_P(f)=max{k, f\in m_p^k and f\notin m_p^{k+1}}.

What I have been trying to do that is one can find this using intersection numbers defined as dim(k[x,y]_P/ (X,g) ) for any g\in k[x,y]_p. But if I localize the rin, the macaulay is not allowing me to find the dimension. 

Please let me know what should I do. Thanks

Mahrud Sayrafi

unread,
Sep 28, 2022, 3:15:53 PM9/28/22
to maca...@googlegroups.com
Hi Naufil,

The LocalRings package doesn't work with quotient rings yet (so taking the dimension of a quotient of a local ring won't work) but you can compute the length of the corresponding module. Here's one way:

needsPackage "LocalRings"
S = QQ[x,y]
P = ideal(x-1, y) -- maximal ideal at (1,0)
R = S_P           -- the local ring
f = y^2-x^3+x
M = R^1/(P + f)
length M -- 1

Mahrud

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/macaulay2/bc6cd9d4-d7b9-4c25-98f9-c8e38bd9361fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages