I know this might seem a very elementary question, but i am really having troubles understanding the following :
let $R=\mathbb{Z}[X,Y]$, in my notes it is said that $I = ((X,Y,7) \cup (X)) = (X,Y,7)$ while $I' = ((X,Y,7) \cup (X+1,Y)) = (1)$. Can anyone explain why it is true? i am lacking some knowledge in Ring theory and i'm not able to see it.
For $I$, $X\in (X,Y,7)$ so we get nothing new by adding $(X)$...
Secondly an ideal is in particular an additive group. Since we have $X$ and $X+1$ in $I'$, we also have $X+1-X=1$. But once an ideal contains $1$ it is the whole ring.