Let $N$ be a Galois extension of $\mathbb{Q}$ such that $G=\text{Gal}(N/\mathbb{Q})\cong \mathbb{Z}_4$. How can we decide whether or not $\mathbb{Q}(\sqrt{a})$ can be embedded in $N$, given that $a>0$ and $a$ is not a square in $\mathbb{Q}$?
I can say that $\mathbb{Z}_4$ has $\mathbb{Z}_2$ as a subgroup, so there is a corresponding subfield with extension degree $2$, and if $\sigma$ generates $\mathbb{Z}_4$, then $\sigma^2$ generates the subgroup $\mathbb{Z}_2$, so $\sigma^2$ should fix $\sqrt{a}$. I wasn't sure how to proceed from here, so I decided to just try to construct such an extension.
Let $b\in\mathbb{Q}$ be such that $b-\sqrt{a}>0$ and $b^2-a$ is a square in $\mathbb{Q}$. For example, if $a=5$ then taking $b=3$ works. Then consider the polynomial $p(x)=(x-\sqrt{b+\sqrt{a}})(x+\sqrt{b+\sqrt{a}})(x-\sqrt{b-\sqrt{a}})(x+\sqrt{b-\sqrt{a}})$. This is clearly irreducible over $\mathbb{Q}[x]$, and taking $N$ to be the splitting field for $p(x)$ we find that as a vector space over $\mathbb{Q}$ it is spanned by $\{1, \sqrt{b+\sqrt{a}}, \sqrt{b-\sqrt{a}}, \sqrt{a}\}$ which is due to our choice of $b$ so that $b^2-a$ is a square. Thus the extension is of degree $4$. Now it is clear that $\mathbb{Q}(\sqrt{a})$ is a subfield of $N$, so there should be an element of order $2$ the Galois group $G$ which fixes $\sqrt{a}$. Since the extension is degree $4$, the Galois group $G$ must be isomorphic to a group of degree $4$, that is either the Klein 4 group $V$ or the cyclic group $\mathbb{Z}_4$. Since $V$ has $3$ subgroups of order $2$, but $N$ has only one subfield of degree $2$, we conclude that $G\cong \mathbb{Z}_4$. Thus $G$ is generated by $\sigma$ such that $\sigma^2$ fixes $\sqrt{a}$. Then $\sigma$ is defined by its action on $\sqrt{b+\sqrt{a}}$ and $\sqrt{b-\sqrt{a}}$. Thus we must have $\sigma(\sqrt{b+\sqrt{a}})=\sqrt{b-\sqrt{a}}$ and $\sigma(\sqrt{b-\sqrt{a}})=-\sqrt{b+\sqrt{a}}$ (up to a minus sign). These two choices ensure that $\sigma$ is of order $4$, which is good because there are two generators for $\mathbb{Z}_4$.
Now we note that $\sqrt{a}=-b+(\sqrt{b+\sqrt{a}})^2$ and so $\sigma^2(\sqrt{a})=b+(\sigma^2(\sqrt{b+\sqrt{a}}))^2 = b+(-\sqrt{b+\sqrt{a}})^2=\sqrt{a}$ as required.
So I suppose the conclusion is that, if $a$ is a difference of squares in $\mathbb{Q}$ (since we needed that $b^2 - a = c^2$), then we can find a cyclic extension $N$ with $G\cong\mathbb{Z}_4$ such that $\mathbb{Q}(\sqrt{a})$ is a subfield of $N$. For example, $a=5=3^2-4^2$ and $a=7=4^2-3^2$ work.
Now I have two questions.
- Is everything I have done so far correct?
- Since my method was constructive, it is not clear that if $a$ isn't a difference of squares in $\mathbb{Q}$, that such an embedding is impossible. Is this the case? What else can we say about this problem?