Let $a=\cos(2\pi/n) $.
I have shown that $Q(a)/Q$ is a Galois extension and now I want to show that $[Q(a):Q]=\phi (n)/2$.
I have done the following:
It holds that $|Gal(\mathbb{Q}(a)/\mathbb{Q})|=|(\mathbb{Z}/n\mathbb{Z})^{\times}|$.
We also have that $\mathbb{Q}(a)$ is the splitting field of the cyclotomic polynomial is $\Phi_n$.
Does it follow from that that $[\mathbb{Q}(a):\mathbb{Q}]=\deg \Phi_n=\phi (n)$ ?
But I have found $\phi(n)$ and at the exercise statement it is divided by $2$.
Have I done something wrong?