In this post, we will try to find all the maximal ideals of $\Bbb Z[X]$, that is $\mathrm{Maxspec}(\Bbb Z[X])$. Of course, there are some posts in MSE or out, but nowhere I found a complete proof. So, I tried to prove it.
Theorem. The maximal ideals of $\Bbb Z[X]$ are of the form $\langle p, f(X)\rangle \trianglelefteq \Bbb Z[X]$ where $p$ is a prime number and $f(x)\in \Bbb Z[X]$ is a polynomial in $\Bbb Z[X]$ which is irreducible $\Bbb Z_p[X]$.
Proof. Let $M\trianglelefteq\Bbb Z[X]$ a prime ideal of $\Bbb Z[X]$. We assume that $M\cap\Bbb Z \neq \{0\}$.
Now, we have the ring $\Bbb Z[X]$, the subring $\Bbb Z \subset \Bbb Z[X]$ of $\Bbb Z[X]$ and the ideal $M\trianglelefteq \Bbb Z[X]$. So, from the 2nd Isomorphism Theorem for Rings, we have (1) $M+\Bbb Z[X]\subseteq \Bbb Z[X]$ is a subring of $\Bbb Z[X]$, (2) $M\trianglelefteq \Bbb Z$, (3) $M\cap\Bbb Z\trianglelefteq \Bbb Z$ and (4): $$\frac{\Bbb Z}{M\cap \Bbb Z} \cong \frac{M+\Bbb Z}{M}\subseteq \frac{\Bbb Z[X]}{M}.$$ Now, from hypothesis $M$ is maximal, thus $M$ is prime. So, $\Bbb Z[X]/M$ is an integral domain. But, in the integral $\Bbb Z[X]/M$ lives the subring $\Bbb Z/ M\cap \Bbb Z$. So, the ring $\Bbb Z/ M\cap \Bbb Z$ is also an integral domain and hence the ideal $M\cap \Bbb Z$ is prime. We know that $\mathrm{Spec}(\Bbb Z)=\{0\}\cup\{\langle p \rangle \triangleleft \Bbb Z: p\text{ prime}\}$. So, $$M\cap \Bbb Z=\langle p \rangle.$$ Let's take the map $$\phi:\Bbb Z[X] \longrightarrow \Bbb Z_p[X],\ f(X)\longmapsto \phi(f(X)):=\overline{f(X)}.$$ It is easy to verify that this is a ring epimorphism. So, $\phi(M)\trianglelefteq\Bbb Z_p[X]$.
Also, let's take the map $$\psi:\Bbb Z[X] \longrightarrow \Bbb Z_p[X]/\phi(M),$$ which is an empimorphism. Then, if we apply the 1st Isomorphism Theorem, we take that $\ker\psi=M$ and hence $$\Bbb Z[X]/M\cong \Bbb Z_p[X]/\phi(M).$$ We have $\Bbb Z[X]/M$ is an integral domain $\iff$ $\Bbb Z_p[X]/\phi(M)$ is an integral domain, but it is also finite. So, $\Bbb Z_p[X]/\phi(M)$ is a field. And since $\Bbb Z_p[X]$ is a PID, there is an irreducible polynomial $\overline{f_0(X)}\in \Bbb Z_p[X]$, s.t. $\phi(M)=\langle \overline{f_0(X)} \rangle $.
I have done up until here.
Questions. 1) Are all these thoughts in the right way?
2) How can we proceed to take $M=\langle p,f(X)\rangle $ and how should we reject the case $M\cap \Bbb Z=\{0\}$?
Of course any other possible ways are welcome!
Thank you