I am wondering if $f(x)=x^4+22x^2+1$ is irreducible over $\mathbb{Q}$.
To do this, we use a variant of Gauss's lemma. If $f(x)$ is irreducible over $\mathbb{Z}$, then $f(x)$ is irreducible over $\mathbb{Q}$. Now, I read a comment here https://math.stackexchange.com/questions/68764/proving-that-a-polynomial-is-irreducible-over-a-field#:~:text=For%20example%20for%20every%20prime,Z%5BX%5D that said if there exists a prime $p$ so that the reduction of $f(x)$ is irreducible over $\mathbb{F}_p$, then $f(x)$ is irreducible over $\mathbb{Z}$.
So my question is: how do I choose my prime $p$ and once I choose my prime $p$, how do I show that the reduction of $f$ cannot be broken down into smaller polynomials? Would a proof by contradiction be best? Let me know. Thanks!