x2 + x + 1
= x 2 +2x +1 - x
= (x + 1 )2 - \(\sqrt{x}\)2
= ( x + 1 - \(\sqrt{x}\) ) (x + 1 + \(\sqrt{x}\))
\(x^2+x+1=\left[x^2+2.\frac{1}{2}x+\left(\frac{1}{2}\right)^2\right]+\left(\frac{\sqrt{3}}{2}\right)^2\)
\(=\left(x^2+\frac{1}{2}\right)-\left(\frac{\sqrt{3}}{2}\right)^2\)
\(=\left(x^2+\frac{1}{2}-\frac{\sqrt{3}}{2}\right)\left(x^2+\frac{1}{2}+\frac{\sqrt{3}}{2}\right)\)
\(=\left(x^2+\frac{1-\sqrt{3}}{2}\right)\left(x^2+\frac{1+\sqrt{3}}{2}\right)\)
Tham khảo nhé~