Example 12.21. Associated Primes of \((x^2, xy)\) in \(k[[x,y]]\).
Let \(k\) be a field and let \(R = k[[x,y]]\text{.}\) Consider ideal \(I = (x^2, xy)\) and the \(R\)-module \(M = R/I.\) The element \(x + I\) in \(M\) is killed by both \(x\) and \(y\text{,}\) and thus \((x,y) \subseteq \ann (x+I)\text{.}\) On the other hand, \(x+I \neq 0\text{,}\) so \(\ann(x+I) \neq R\text{.}\) Since \((x,y)\) is the unique maximal ideal in \(R,\) we conclude that \(\ann(x+I) = (x,y)\text{.}\) In particular, \((x,y) \in \Ass(M)\text{.}\) Since \(M = R/I\text{,}\) this also says that \((x,y)\) is an associated prime of \(I\text{.}\)
Example 12.36. Building Prime Filtration.
Let’s build a prime filtration for the module \(M = R/I\text{,}\) where \(I = (x^2,yz)\) and \(R = \mathbb{Q}[x,y,z]\text{.}\) With a little help from Macaulay2, we find that
i4 : associatedPrimes M
o4 = {ideal (y, x), ideal (z, x)}
o4 : List
So our first goal is to find \(m \in M\) such that \(\operatorname{ann}(m) = (x,z)\) or \(\operatorname{ann}(m) = (x,y)\text{.}\) Let’s start from \((x,z)\text{.}\) To find such an element, we can start by searching for all the elements killed by \((x,z)\text{:}\)
i5 : I : ideal"x,z"
2
o5 = ideal (y*z, x*y, x )
o5 : Ideal of R
Now \(yz\) and \(x^2\) are both \(0\) in \(M\text{,}\) so the submodule of \(M\) generated by \(xy\) is precisely the set of elements killed by \((x,z)\text{.}\) Is \(\operatorname{ann}(R \cdot xy) = (x,z)\text{?}\)
i6 : ann ((I + ideal(x*y))/I)
o6 = ideal (z, x)
o6 : Ideal of R
Yes, it is! So our prime filtration starts with
\begin{equation*}
M_0 = 0 \subseteq M_1 = \frac{I + (xy)}{I},
\end{equation*}
where our computations so far show that \(\operatorname{ann}(M_1) = (x,z)\text{.}\) For step \(2\text{,}\) we start from scratch, and compute the associated primes of \(M/M_1 \cong R/(I+(y))\text{:}\)
i7 : associatedPrimes (R^1/(I + ideal"xy"))
o7 = {ideal (y, x), ideal (z, x)}
o7 : List
Unfortunately, we will again have to find another element killed by \((x,z)\text{.}\) So we repeat the process:
i8 : (I + ideal"xy") : ideal"x,z"
2
o8 = ideal (y, x )
o8 : Ideal of R
i9 : ann((I + ideal"y")/(I + ideal"xy"))
o9 = ideal (z, x)
o9 : Ideal of R
So in \(M_1\text{,}\) \(\operatorname{ann}(y) = (x,z)\text{,}\) so we can take the submodule generated by \(y\) for our next step, so our prime filtration for now looks like
\begin{equation*}
M_0 = 0 \underset{R/(x,z)}{\subseteq} M_1 = \frac{I + (xy)}{I} \underset{R/(x,z)}{\subseteq} M_2 = \frac{I + (y)}{I}.
\end{equation*}
So now we repeat the process with \(M/M_2 \cong R/(I + (y))\text{:}\)
i10 : associatedPrimes (R^1/(I + ideal"y"))
o10 = {ideal (y, x)}
o10 : List
i11 : (I + ideal"y") : ideal"x,y"
o11 = ideal (y, x)
o11 : Ideal of R
i12 : ann((I + ideal"x")/(I + ideal"y"))
o12 = ideal (y, x)
o12 : Ideal of R
This gives us
\begin{equation*}
M_0 = 0 \underset{R/(x,z)}{\subseteq} M_1 = \frac{I + (xy)}{I} \underset{R/(x,z)}{\subseteq} M_2 = \frac{I + (y)}{I} \underset{R/(x,y)}{\subseteq} M_3 = \frac{I + (x,y)}{I}.
\end{equation*}
Next, we take \(M/M_3 \cong R/(I + (x,y))\) and find that
i13 : associatedPrimes (R^1/(I + ideal"x,y"))
o13 = {ideal (y, x)}
o13 : List
i14 : (I + ideal"x,y") : ideal"x,y"
o14 = ideal 1
o14 : Ideal of R
This last computation actually says we are done: since \((x,y)\) kills everything inside \(M/M_3\text{,}\) we can now complete our prime filtration with
\begin{equation*}
0 \underset{R/(x,z)}{\subseteq} M_1 = \frac{I + (xy)}{I} \underset{R/(x,z)}{\subseteq} M_2 = \frac{I + (y)}{I} \underset{R/(x,y)}{\subseteq} M_3 = \frac{I + (x,y)}{I} \underset{R/(x,y)}{\subseteq} M_4 = R/I.
\end{equation*}
The prime ideals that appear in this filtration are \((x,y)\) and \((x,z)\text{.}\) From the computation in the beginning, these are precisely the associated primes of \(M\text{.}\)