I found the following in my textbook: Consider the field extension $\mathbb{Q} \subset \mathbb{Q}(\alpha_1)=:K$ ($\alpha_1$ is a root). Since $f=x^4-2$ is irreducible by Eisenstein's criterion or by reducing $f$ modulo $5$, we find that $[\mathbb{Q}(\alpha_1):\mathbb{Q}]=4$.
I don't understand how the dimension follows from the fact that $f$ is irreducible. Could somebody explain this to me? Thanks!
Since the polynomial is of degree 4, a basis of $K$ over $\mathbb{Q}$ is $1, \alpha, \alpha^2, \alpha^3$ (since $\alpha^4=2\in \mathbb{Q}$).