I'm trying to solve the following problem.
Let $\mathbb{Q}(\sqrt{2}) = \{a + b \sqrt{2} : a,b \in \mathbb{Q}\}$. Prove that $\mathbb{Q}(\sqrt{2})$ is a subfield of $\mathbb{R}$.
The hint given in the problem is that it's enough to check that addition, negation, multiplication, and inversion are well-defined in $\mathbb{Q}(\sqrt{2})$.
I'm not sure I fully understand exactly what I need to prove. Surely $\mathbb{Q}(\sqrt{2})$ is a subset of $\mathbb{R}$, and I'm attempting to endow it with the inherited operations from $\mathbb{R}$, so the addition is the same addition on $\mathbb{R}$ restricted to $\mathbb{Q}(\sqrt{2})$, and similarly for the multiplication. But I'm not sure I fully understand, given the context, what a subfield is. Is it simply a subset that admits the structure of a field? In that case, I'd need to take this subset with the two given operations, and check each of the field axioms. Distributivity, commutativity, and associativity are almost given for free from the inherited operation, which leaves the axioms the problem statement says I should check.
Is this the idea?