For which $c$ will the set $K(c) = \{a + b\sqrt{c} : a, b \in \mathbb{Q}\}$ be a field?
I know for example, that $K(\frac{2}{3})$ will be one, I am just wondering what the most general result of this type is.
For which $c$ will the set $K(c) = \{a + b\sqrt{c} : a, b \in \mathbb{Q}\}$ be a field?
I know for example, that $K(\frac{2}{3})$ will be one, I am just wondering what the most general result of this type is.
This is a field if and only if $\sqrt{c}$ satisfies a quadratic polynomial with coefficients in $\mathbb{Q}$. This certainly holds for all rational $c$ (the polynomial being $x^2-c$), but there are also slightly less expected examples. E.g. $c=3+2\sqrt{2}$ also works, because $3+2\sqrt{2}=(1+\sqrt{2})^2$, so $\sqrt{c}$ satisfies the polynomial $(x-1)^2-2$.
Now, where does this criterion come from? If you adjoin to $\mathbb{Q}$ a root of an irreducible polynomial of degree $n$, and then close the set under addition and multiplication, then the resulting set is a vector space over $\mathbb{Q}$ of dimension $n$ (think about it!). This shows that the above criterion is necessary, since your object is at most two-dimensional over $\mathbb{Q}$. It is also sufficient. Indeed, if $\sqrt{c}$ satisfies a quadratic, then by replacing $\sqrt{c}$ by some suitable $\sqrt{c}+d$, $d\in K(c)$, you may without loss of generality assume that the quadratic is of the form $x^2-\alpha$, $\alpha\in\mathbb{Q}$, and that your elements are all of the form $a+b\sqrt{\alpha}, a,b\in \mathbb{Q}$. An element of the form $a+b\sqrt{\alpha}$ has inverse $\frac{1}{a^2-\alpha b^2}(a-b\sqrt{\alpha})$, and that's also in your set, so you have inverses, and thus a field.
We first give an elementary proof requiring little field theory background, followed by a shorter proof using a little vector space knowledge.
Inverses arise by $\rm\color{#0a0}{RTD}$ = Rationalizing The Denominator. $ $ Put $\, F = \mathbb Q,\ D \!=\! \mathbb Q[\sqrt{c}],\ \alpha = \sqrt{c}\ $ in
Lemma $\ $ TFAE $\,$ where $\,F\,$ is a subfield of domain $\,D,\,$ and $\, \alpha \in D,\,$ $\ {\rm and}\,\ R = F + \alpha F \:\! :=\:\! \{\:\! a + b\,\alpha\ :\ a,b\in F\:\!\}^{\phantom{|^|}}$
$(1)\quad R\,$ is a field
$(2)\quad R\,$ is a ring.
$(3)\quad R\:\! \ni\:\! \alpha^2$
Proof $\ \ (1\Rightarrow 2\Rightarrow 3)\ $ trivial. $\ (3\Rightarrow 1)\ $ $\,\alpha^2 \in \alpha\ F + F\,$ implies that $\,\alpha\ F + F\,$ is closed under products, so it is a ring by the subring test. $ $ Let $\ 0\ne \beta\in \alpha\ F + F,\,$ so $\ \beta = d + e\ \alpha,\ d,e\in F.\ $ If $\,e = 0\,$ then $\,0\ne \beta\in F\,$ so $\,\beta\,$ is invertible since $\,F\,$ is a field. Else by $\,(3),\ \alpha^2 = \color{#c00}b\ \alpha + c\ $ for some $\,b,c\in F,\,$ so we can invert $ \beta = d + e\ \alpha$ by multiplying it by its conjugate (as in $\color{#0a0}{\rm RTD}$), using $\,\color{#c00}{\bar\alpha = b-\alpha},\,$ i.e. $\beta\bar\beta =(d + e\ \alpha)\,(d + e\,(\color{#c00}{b-\alpha})) = d^2 + b\ d\,e - c\ e^2 =:\, f \in F\,.\,$ Therefore, if $\ f\ne 0\ $ then $\,\beta^{-1}\!=(d + e\ \alpha)^{-1}\! = (d + e\,(b-\alpha))/f\in F + \alpha\ F\,.\,$ Else $\,\beta\bar\beta =f = 0\, $ so one of the factors $\beta,\bar\beta$ is zero (by $\,D\,$ a domain), i.e. $\,d + e\ \alpha=0\,$ or $\, d + e\,(\color{0a0}{b-\alpha}) = 0.\,$ Solving for $\,\alpha,\,$ using $\,e\ne 0,\,$ yields $\,\alpha = -d/e\ \ or\ \ d/e+b\,.\,$ Thus $\,\alpha\in F,\,$ so $\,\alpha\ F + F = F\,$ is a field. $\ \ \bf\small QED$
Alternatively since $\, \alpha\ F + F\,$ is a $\:\!2$-dimensional vector space over $\,F\,$ we deduce that $\ \beta^2,\ \beta,\ 1\ $ are $\, F$-linear dependent, therefore $\ a\ \beta^2 + b\ \beta + c = 0\,$ for some $\,a,b,c\in F\,.\,$ If $\ c=0\,$ then $\,\beta\in F\,.\,$ Else $\ (a\ \beta + b)\,\beta = -c\ $ hence $\,\beta^{-1}\! =\, -(a\ \beta + b)/c\,.$
Generally the above manipulation of (minimal) annihilating polynomials to obtain inverses also works for higher degree algebraic elements, yielding the generalization
$\qquad$ If $\, E < D\,$ is an integral extension of domains then $\,E\,$ is a field $\iff$ $D\,$ is a field.
See also various posts on rationalizing denominators and related concepts.