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?
$\mathbb{Q}(a)$ is not the splitting field of the cyclotomic polynomial $\Phi_n$ because $\mathbb{Q}(a) \subseteq \mathbb{R}$.
$2a = \omega + \bar \omega$, where $\omega = \exp(2\pi i/n)$. Therefore, $\mathbb{Q}(a)$ is in the fixed field induced by conjugation, which defines a subgroup of order $2$ of the Galois group and so $[\mathbb{Q}(a):\mathbb{Q}] \le \phi (n)/2$.