In [[ring theory]], an '''ideal''' is defined as a subset of a ring with the following properties:
+
In [[ring]] theory, an '''ideal''' is defined as a subset of a ring with the following properties:
#Zero is an element of the ideal
#Zero is an element of the ideal
Line 27:
Line 27:
# If f has constant term 0 and p is arbitrary, then <math>(f \cdot p)(0) = f(0) \, p(0) = 0 \, p(0) = 0</math>.
# If f has constant term 0 and p is arbitrary, then <math>(f \cdot p)(0) = f(0) \, p(0) = 0 \, p(0) = 0</math>.
−
It turns out that <math>\mathbb R[x]</math> is a principal ideal domain.
+
A brief reflection shows that this ideal is actual just the principal ideal <math>(x)</math>: every polynomial vanishing at 0 is just the polynomial <math>x</math> times some other polynomial.
+
In fact, it turns out that <math>\mathbb R[x]</math> is 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.