I want to prove that the subset
I = {anxn + · · · + a1x + a0 | n ≥ 0, an, . . . , a0 ∈ Z, a0 = 0}
is an ideal in Z[x].
I know that to start off with, I need to show that the set is non-empty, which is true because a0 = 0, so 0 ∈ I.
Then, I want to show that for y,z ∈ I, y - z ∈ I. This is that part that I'm stuck on.
I have y = amxm + · · · + a1x + a0 and
z = anxn + · · · + a1x + a0,
for m,n ≥ 0, an, . . . , a0 ∈ Z, am, . . . , a0 ∈ Z, a0 = 0.
I'm not sure how to reduce these polynomials to show that y - z ∈ I.
Thanks for any help.
If you set $y=a_m x^m+\cdots+a_1x+a0$, ($a_0=0$), then you have to set the polynomial $z$ to have possibly different coefficients (not just different degree). That is, it's coefficients should be called something like $b_k$ or $\hat a_k$, etc.
Let's say $z=b_n x^n+\cdots+b_1 x+b_0$, ($b_0=0$). Suppose $m>n$ (the cases $m<n$ and $m=n$ are analogous), then $$y-z=a_mx^m+\cdots+a_{n+1}x^{n+1}+(a_n-b_n)x^n+\cdots+(a_1-b_1)x+(a_0-b_0).$$
In other words, $$y-z=c_m x^m+\cdots +c_1 x+c_0,$$ and $c_0=a_0-b_0=0-0=0,$ so $y-z\in I$.
Then, you should prove that $y\in I$ and $z\in \mathbb Z[x]$ implies $yz=zy\in I$.
Another way to aboard the proof is to verify that $I=\{x\cdot y\, \colon\, y\in \mathbb Z[x]\}$, which implies that $I$ is the ideal generated by $x$ (a principal ideal), this is $$I=\langle x \rangle.$$