I want to know how to determine the degree of the extension $K/\mathbb{Q}$, where $K$ is the splitting field of the polynomial $x^6+1\in \mathbb{Q}[x]$ over $\mathbb{Q}$. Do I have to get all the roots in order to find the degree?
I'm waiting for your answer,thank you!
The splitting field of $x^6+1$ is generated by $\;\zeta=\mathrm e^{\tfrac{\mathrm i\pi}6}$, which is a root of $x^4-x^2+1$.
This polynomial is irreducible, because it is irreducible modulo $7$: indeed it has no root in $\mathbf F_7$, since $-1$ is not a square mod $7$. It can't be factored as a product of two quadratic polynomials either, since a factorisation $$x^4-x^2+1=(x^2+ax+b)(x^2+a'x+b')$$ would lead to the system of equations: $$\begin{cases}a+a'=0\\b+b'+aa'=-1\\ab'+a'b=0\\bb'=1\end{cases}$$ whence $\;b=b'=\pm1$, $a'=-a$, $a^2=2b+1=\begin{cases}-1,\\3.\end{cases}$
Now neither $-1$ nor $3$ are squares modulo $7$. This proves the splitting field of $x^6+1$ has degree $4$.
Added: (thanks to @王李远 )
I forgot the case $a=0$. But the computation can be made directly in $\mathbf Q[x]$: $x^4-x^2+1$ has no integer (rational) roots since the only possibility would be $\pm1$. So if it factorises, it is in the form mentioned above. We obtain the same system of equations, and