Prove that the polynomial $x^4 -5x^2+x+1$ is irreducible over the ring $\mathbb{Z}[x]$.

abstract-algebrairreducible-polynomialsring-theory

I do not have an idea on how to approach this problem. Similar problems that I found online try to show that there does not exist a linear factor of the given equation in $\mathbb{Q}$. But my question is, how is that sufficient to prove that the polynomial is irreducible? It could also be a product of two quadratic polynomials which do not have a solution in $\mathbb{Q}$. Any help is appreciated!

Best Answer

Write $f(x):=x^4-5x^2+x+1$. Since $f$ is monic, whenever $f=gh$ in $\mathbb{Z}[x]$, we may assume without loss of generality that both $g$ and $h$ are monic. You already know that $\operatorname{deg}(g)=1$ is impossible. Assuming $\operatorname{deg}(g)=\operatorname{deg}(h)=2$, we have $$x^4-5x^2+x+1=(x^2+ax+b)(x^2+px+q)\\=x^4+(a+p)x^3+(q+ap+b)x^2+(aq+bp)x+bq$$ for some integers $a,b,p,q$. Comparing coefficients, either $b=q=1$ or $b=q=-1$, but it is easy to check that both cases lead to contradiction. Hence $f$ is irreducible in $\mathbb{Z}[x]$.

Now use Gauss's lemma to conclude that $f$ is irreducible in $\mathbb{Q}[x]$.