Prove that a certain ideal $I$ of $\mathbb Z [x]$ is not a principal ideal.

81 Views Asked by At

It is a homework question which wants us to prove that $I=(x,2)=\{h(x)=xf(x)+2g(x):f,g\in\mathbb Z[x]\}$ is not a principal ideal.

I thought of trying to make a contradiction but I have no idea where to start with.

Could anyone help me with this please?