Let I and J be ideals of a ring R. Show by example that the set of products {xy | x ∈ I, y ∈ J} need not be an ideal

Let $I=J=(x,y)\subseteq \mathbb R[x,y]$ notice that $x^2$ and $y^2$ are both in $IJ$ while $x^2+y^2$ is not, because this polynomial is irreducible (so it is no the product of two elements in $I$, because no unit is in $I$).


Jorge's post gives a nice counterexample, but perhaps it is more pedagogically correct to point out that the above set fails to be a new ideal because we have problem with it being a subgroup of the ring $R$. Indeed, being ideal first of all requires being a subgroup of the underlying group structure (abelian) of $R$. By taking the above set only, the sum of two elements will give you for instance an element of the form $xy+zw$, where $x,z \in I$, $y,w \in J$. Though the last might not be written as $xy+zw= \lambda \tau$, for $\lambda \in I$, $\tau \in J$, hence need not be a subgroup necessarily, so neither an ideal!