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