Let $f(x)=x^4-x^2-1\in \mathbb{Q}[x]$. Find a splitting field and then prove that the Galois group of $f$ is isomorphic to the dihedral group of order 8.
My approach:
First I need to show that the polynomial $f$ is irreducible. To do that I use rational root test.(rational roots test require polynomial to live in $\mathbb{Z}[x]$, but $f$ has no pure rational coefficient so I think its okay to apply here.) That tells me $f$ is irreducible over $\mathbb{Q}$.
Now, I just use quadratic formula to solve for the roots and they are
$$\pm\sqrt{\dfrac{-1\pm \sqrt{5}}{2}}$$ Denoting them by $\alpha_1=\sqrt{\dfrac{-1+ \sqrt{5}}{2}},\alpha_2=-\sqrt{\dfrac{-1+ \sqrt{5}}{2}},\alpha_3=\sqrt{\dfrac{-1- \sqrt{5}}{2}},\alpha_4=-\sqrt{\dfrac{-1- \sqrt{5}}{2}}$ then my splitting field is $\mathbb{Q}(\alpha_1,\alpha_2,\alpha_3,\alpha_4)$, here is where I am not sure. I think it is okay to use one of the roots to adjoin since they all look very similar, namely $\mathbb{Q}(\alpha_1,\alpha_3)$ should suffice, since the other two can be obtained by negating the sign. But I don't know how to argue that formally.
To find the Galois group, let $\tau_i\in $ Aut$(\mathbb{Q}(\alpha_1))$, then let $\tau_0$ be identity, $\tau_1(\alpha_1)=-\alpha_1=\alpha_2$ and $\tau_1(\alpha_3)=\alpha_4$. And $\tau_2(\alpha_1)=-\alpha_1=\alpha_2$ and $\tau_2(\alpha_3)=\alpha_3$. And $\tau_3(\alpha_1)=-\alpha_1=\alpha_2$ and $\tau_3(\alpha_3)=\alpha_4$. I think thats all the automorphisms. If my generators are correct.
Is this reasonable? Thanks!