Solution
= Solution
A primitive eighth <root of unity> is $\zeta_8=(1+i)/\sqrt2$, and $\mathbb Q(\zeta_8)=\mathbb Q(i,\sqrt2)$. Indeed $i=\zeta_8^2$ and $\sqrt2=\zeta_8+\zeta_8^{-1}$, while the displayed expression gives the reverse containment. Since $\mathbb Q(\sqrt2)\subset\mathbb R$, adjoining $i$ has degree two; adjoining $\sqrt2$ to $\mathbb Q$ also has degree two. By the <tower law>,
$$
\boxed{[K:\mathbb Q]=4.}
$$