Let $E$ be the splitting field of $f(x)=x^4-x^2-2$ over $\Bbb Q$. Find a basis for $E$.
The polynomial $f$ has roots $\pm\sqrt2$ and $\pm i$. I have a theorem which states that if $a$ is a zero of an irreducible polynomial over a field $F$, then the set $\{1,a,\dots,a^{n-1}\}$ is a basis for $F(a)$ over $F$. Here $n$ is the dimension of the polynomial.
So since I have four roots for $f$ could I pick any one of them an construct a base for $E$? That is would $\{1,\sqrt2, 2, \sqrt2^3, \sqrt2^4 \}$ be a base for $E$ as well as $\{1,i,i^2,i^3,i^4\}$?
The splitting field is not $\mathbb{Q}(\sqrt{2}\,)$, because this extension doesn't contain $i$.
Neither it is $\mathbb{Q}(i)$, because this extension doesn't contain $\sqrt{2}$.
You need to do a two step extension: the splitting field is $\mathbb{Q}(\sqrt{2},i)$ and apply the dimension formula (and its proof) to get that a basis is $$ \{1,\sqrt{2},i,i\sqrt{2}\} $$