How to prove $f(x)=x^8-24 x^6+144 x^4-288 x^2+144$ is irreducible over $\mathbb{Q}$?
I tried Eisenstein criteria on $f(x+n)$ with $n$ ranging from $-10$ to $10$. None can be applied. I tried factoring over mod $p$ for primes up to $1223$. $f(x)$ is always reducible over these.
$f(x)$ has roots $\pm\sqrt{\left(2\pm\sqrt{2}\right) \left(3\pm\sqrt{3}\right)}$, and according to computation by PARI, should have Galois group isomorphic to the quaternion group. The splitting field of $f(x)$ is $\mathbb{Q}(\sqrt{\left(2+\sqrt{2}\right) \left(3+\sqrt{3}\right)})$, and it contains $\sqrt{2}, \sqrt{3}, \sqrt{6}$, so we know $\mathbb{Q}(\sqrt{2},\sqrt{3})$ is in the splitting field, so $\mathbb{Q}(\sqrt{\left(2+\sqrt{2}\right) \left(3+\sqrt{3}\right)})$ has degree $4$ or $8$.
I tried showing the degree is $8$ by showing that $(a+b\sqrt{2}+c\sqrt{3}+d\sqrt{6})^2=(2+\sqrt{2})(3+\sqrt{3})$ cannot have a solution with $a, b, c, d \in \mathbb{Q}$, and got these equations: $$a^2+2b^2+3c^2+6d^2=6$$ $$2ab + 6cd = 3$$ $$ac+2bd = 1$$ $$2ad+2bc = 1$$ which I'm unable to handle.
Addendum: now that I've solved this problem thanks to the answers, I found some additional related information:
In A Rational Polynomial whose Group is the Quaternions, a very similar polynomial, $$f(x)=x^8 - 72 x^6 + 180 x^4 - 144 x^2 + 36$$ is studied and its Galois group is proven to be the quaternion group. I subjected this polynomial, as well as two related ones: $f(\sqrt{x})$, $f(6\sqrt{x})/36$, to the same battery of tests (Eisenstein; mod p) and these tests also failed to show them to be irreducible. Maybe there's something common about these polynomials.
So I subjected $f(x)$ to the prime numbers test demonstrated by Robert Israel, and found that it is prime at $\pm\{7, 13, 23, 25, 49, 53, 55, 79, 91, 127, 139, 145, 151, 181, 239, 251, 277, 283, 319, 355, 379, 403, 413, 425, 473, 485, 595, 607, 623, 679, 733, 743, 779, 827, 851, 923, 965, ...\}$ and thus $f(x)$ is irreducible.