I'm trying to solve problem 4.11 of http://homepages.warwick.ac.uk/~masda/MA3D5/Galois.pdf.
The problem is, given $a,b\in k$ a field, and assuming that $\sqrt{a}\in k(\sqrt{b})$ prove that, either $\sqrt{a}\in k$ or $\sqrt{ab}\in k$. This is what I have achieved:
I may assume that $k\not=k(\sqrt{b})$ (if this doesn't happen then the conclussion follows trivially as $\sqrt{a}\in k(\sqrt{b})=k$). Now, write $$\sqrt{a}=c+d\sqrt{b}$$ with $c,d\in k$. Then $$a=c^2+2cd\sqrt{b}+d^2b$$ Reorganizing we obtain $$\sqrt{b}=\frac{a-c^2-d^2b}{2cd}$$ Since $a,b,c,d\in k$ then the right part of the previous equality is in $k$, but $\sqrt{b}\not\in k$(since we assumed $k\not=k(\sqrt{b})$). So $c=0$ or $d=0$. If the latter happens then $\sqrt{a}=c\in k$, if the former happens $\sqrt{a}=d\sqrt{b}\Rightarrow \frac{\sqrt{a}}{\sqrt{b}}=\sqrt{ab^{-1}}=d\in k$. I don't see why $\sqrt{ab}\in k$ in this case. Can you give me a hint? Also, is what I've done so far correct? Thanks in advance