However, consider the ring <math>\mathbb R[x,y]</math> of polynomials in two variables. There is again an ideal <math>I</math> of polynomials vanishing at <math>0</math>. However, this is not a principal ideal. If it were principal and generated by <math>p(x,y)</math>, then this <math>p</math> would divide both the polynomials <math>x</math> and <math>y</math>, since both are in the ideal. Clearly there is no such polynomial. This <math>I</math> is an exactly of an ideal that is not principal, and <math>\mathbb R[x,y]</math> is a ring which is not a principal ideal domain. | However, consider the ring <math>\mathbb R[x,y]</math> of polynomials in two variables. There is again an ideal <math>I</math> of polynomials vanishing at <math>0</math>. However, this is not a principal ideal. If it were principal and generated by <math>p(x,y)</math>, then this <math>p</math> would divide both the polynomials <math>x</math> and <math>y</math>, since both are in the ideal. Clearly there is no such polynomial. This <math>I</math> is an exactly of an ideal that is not principal, and <math>\mathbb R[x,y]</math> is a ring which is not a principal ideal domain. |