Find the galois group of $f(x)=x^4+4x-1$
My attempt : I find that it is irreducible over $\mathbb{Q}[X]$ and it's resolvent cubic is $g(x)=x^3+4x-16$ and discriminant is $-7168=-32^2*7$ which is not a square. Also $g(x)=(x-2)(x^2+2x+8)$ that means reducible in $\mathbb{Q}[X]$ and only one linear factor hence possibilites is either $D_4$ or $C_4$ but unable to conclude.
Any help/hint in this regards would be highly appreciated. Thanks in advance!
The equation $x^4+4x-1 = 0$ has two real roots and two complex roots, so complex conjugation is in the Galois group, fixing exactly two roots. Hence the Galois group is $D_4$. Because in $C_4$, you cannot have a permutation that fixes exactly two elements.