I'm trying to find a degree of the extension $ \mathbb{Q} \subset \mathbb{Q}(\sqrt{2} + i) $. Once I'm done with that, I'd like to find a basis of $ \mathbb{Q} (\sqrt{2} + i) $ as a $ \mathbb{Q} $ -linear space
My attempt: $ (\sqrt{2} + i)^2 = 1 + 2\sqrt{2}i $. This is a root of the following polynomial: $P(x) = x^2 - 2x + 9 \in \mathbb{Q}[x]$ (that can be found out by guessing - maybe there is a more efficient / universal way?)
Therefore $ a = \sqrt{2} + i$ is a root of $ R(x) = P(x^2) = x^4 - 2x^2 + 9 \in \mathbb{Q}[x] $
If I manage to prove that $R(x) $ is irreducible in $ \mathbb{Q}[x] $, it'll mean that the degree is 4. Eisenstein's criterion is of no use. Other way is to express $ R(x) $ as $ R(x) = (x - a_1)(x-a_2)(x-a_3)(x- a_4) $, where $ a_i $ are in $ \mathbb{C} \setminus \mathbb{R} $ and show that all products of form $ (x- a_i)(x-a_j) $ are not from $ \mathbb{Q}[x] $ - but that's not very elegant. Is there a better way?
And aboout finding a basis - I don't really have a good idea how to do that.
So my questions is: is the following argument all right? And how do I find a basis of this extension?
I'd appreciate some help