Consider $\mathbb{Z}[x]$, and define $I = (x(x^{2}-2),(x^{2}-2)(x^{2}+2))$, $J = (x^{2}-2)\cap(x^{3},2)$. I want to show that $I = J$.
Notice that $I\subset J$ is clear since the generators of $I$ are clearly in $J$. The other direction is less clear to me. It comes down to showing that $J/I = 0$. So you want to show that for $f\in J$ we have $f + I = 0 + I$. We can write $f = \alpha (x^{2}-2)$ for some $\alpha\in\mathbb{Z}[x]$. Since we also want $f\in (x^{3},2)$ we see that $f = \beta x^{3} + 2\gamma$ for some $\beta,\gamma\in\mathbb{Z}[x]$. So we clearly see that $\alpha(0) = -\gamma(0)$. From here I am stuck.