Let $\mathbb Z[x]$ the ring of polynomials with integers coefficients in one variable and $I =\langle 5,x^2 + 2\rangle$, how can I prove that $I$ is maximal ideal.
I tried first see that $5$ and $x^2+2$ are both polynomial in that ring but how can i get that is maximal ? some help please.
Consider the natural homomorphism from the polynomial ring to the five-element field $\mathbb{Z}/5\mathbb{Z}$, extended by $\sqrt 3$:
$$ f: \mathbb Z[x] \longrightarrow (\mathbb{Z}/5\mathbb{Z})\; (\sqrt 3)$$
generated by $f(1) = 1, f(x) = \sqrt{3}$ (you might show this is a homomorphism, if it's not clear). Notice that the kernel of this homomorphism is exactly $I$ (or show it, if it's not clear). The condition that $I$ is the kernel of a ring homomorphism onto a field is equivalent to $I$ being maximal (similarly, if $I$ is the kernel of a ring homomorphism onto an integral domain, then $I$ is prime).
Therefore $I$ is maximal.
Let's speak of the intuition here. It is often easier to show that an ideal is maximal by evidencing a homomorphism to a field with that ideal as the kernel.
Quotienting out by $5\mathbb Z$ is saying exactly that multiples of $5$ are the same as $0$. As $I$ has one generator that is $5$, this makes a lot of sense.
For $x^2 + 2$ to be in the kernel, we are saying that $f(x^2 + 2) = 0$, or rather that $f(x)^2 = -2 = 3$ (where the last equality comes from us being is $\mathbb{Z}/5\mathbb{Z}$, so we can work mod $5$ instead of with imaginary bits). Well, if $f(x)^2 = 3$, we should make $f(x) = \sqrt 3$.
And that's how we know how to make the $f$ map.