<s>[INST] Factoring $x^4+x^2+2x+6$ We have to factor $x^4+x^2+2x+6$.Factoring through factor theorem is not helpful in this question as the question does not follow the integral root theorem i.e. the root of this expression is not any of the factors of 6. I am totally confused.Please help in factoring it!
 [/INST] The polynomial $x^4+x^2+2x+6$ is $x^4+(x+1)^2+5\geqslant5$ for every $x$ hence it has no real root. Thus, there is no factor of degree $1$ hence one can only have two factors of degree $2$, that is, the factorization to be found is $$x^4+x^2+2x+6=(x^2+ax+b)(x^2+cx+d),$$ for some $(a,b,c,d)$. The coefficients of $x^3$ and $x^0$ in the product on the RHS should be $0$ and $6$ respectively hence $a+c=0$ and $bd=6$, which brings us to $$x^4+x^2+2x+6=(x^2+ax+b)(x^2-ax+6/b).$$ Since the coefficients of $x$ and $x^2$ in this product should be $2$ and $1$ respectively, this yields two equations in $(a,b)$. 
Can you write these down and see what happens?
</s>