\(x^4+x^3+2x^2+x+1=\left(x^4+x^3+x^2\right)+\left(x^2+x+1\right)\\ =x^2\left(x^2+x+1\right)+\left(x^2+x+1\right)=\left(x^2+1\right)\left(x^2+x+1\right)\)
Dễ thấy \(x^2+1>0\); \(x^2+x+1=\left(x+\dfrac{1}{2}\right)^2+\dfrac{3}{4}>0\) nên ta không thể phân tích thêm được nữa.
Vậy \(x^4+x^3+2x^2+x+1=\left(x^2+1\right)\left(x^2+x+1\right)\).