Let $A$ be a unitary commutative ring and $I$ an ideal. Define the ideal rad$(I)$ of $A$ such that for each element $i \in $ rad$(I)$, there exists $m \in \mathbb{N}$ where $i^m \in I$.
Show that if $I$ is in a maximal ideal $M$, so rad$(I)$ have to be in the same maximal ideal.
I know that each ideal has to be in a maximal ideal and that $I \subset$ rad$(I)$.
How could I prove this problem?
Suppose that $x\in \mathrm{rad}(I)$. Then $x^n\in I$ for some $n$, which since $I\subset M$ means that $(x+M)^n=0$ in $A/M$. But $A/M$ is a field, so $x+M=0$, i.e. $x\in M$. Therefore $\mathrm{rad}(I)\subset M$.