I am reading the book the book Introduction to commutative algebra by Atiyah and Macdonald. I have two questions On Page 51.
On Line 5 of Page 51, it is said that the zero-divisors in $A/\mathfrak{q} \cong k[y]/(y^2)$ are all the multiples of $y$. I think that $A/\mathfrak{q} \cong k[y]/(y^2)=\{a+by : a, b \in k\}$. Let $a \neq 0$ and $a+by \in A/\mathfrak{q}$. We have $y (a+by)=ay+by^2 = ay \neq 0$. So $y$ is not a zero-divisor of $A/ \mathfrak{q}$. But it is said that $y$ is a zero-divisor of $A/\mathfrak{q}$. I am confused.
On Line 12 of Page 51, it is said that $A/\mathfrak{p} \cong k[y]$. Here $A=k[x, y, z]/(xy-z^2)$ and $p=(\bar{x}, \bar{z})$, $\bar{x}=x+(xy-z^2), \bar{z}=z+(xy-z^2)$. I think that $A/\mathfrak{p} = k[y]/(xy-z^2)$. Why $A/\mathfrak{p} \cong k[y]$? Thank you very much.
