I've just started to work myself into the topic of irreducibility of polynomials and I would like to show the following:
Prove that $x^4+1$ is irreducible over $\mathbb{Q}$.
I've managed to come up with a proof that seems reasonable to me but I'm not sure if it is actually correct. Could someone tell me if I made any beginner's mistakes?
My proof: Clearly $x^4+1$ has no root in $\mathbb{Q}$, so it can only be decomposed into two polynomials of degree $2$. Therefore there must be $a, b \in \mathbb{Q}$ s.t. $x^4+1=(x^2+ax+1)(x^2+bx+1)$. If we multiply this out we get $x^4+(a+b)x^3+(ab+2)x^2+(a+b)x+1$. If we now equate the coefficients we get that $a+b = 0$ and therefore $a = -b$ and that $ab+2=0$ and therefore that $a^2=2$, which is not possible in $\mathbb{Q}$.
Any feedback is appreciated!