thì phân tích thành nhân tử là oke
\(x^2+x+1>0\)
\(\Leftrightarrow x^2+x+\frac{1}{4}+\frac{3}{4}>0\)
\(\Leftrightarrow\left(x+\frac{1}{2}\right)^2+\frac{3}{4}>0\)*đúng*
Ta có:\(x^2+x+1=\left(x^2+x+\frac{1}{4}\right)+\frac{3}{4}=\left(x+\frac{1}{2}\right)^2+\frac{3}{4}\)
Vì\(\left(x+\frac{1}{2}\right)^2\ge0\forall x\in R\Rightarrow\left(x+\frac{1}{2}\right)^2+\frac{3}{4}\ge\frac{3}{4}>0\left(đpcm\right)\)
\(x^2+x+1=\left(x^2+2\cdot\frac{1}{2}\cdot x+\frac{1}{4}\right)+\frac{3}{4}=\left(x+\frac{1}{2}\right)^2+\frac{3}{4}\)
\(\left(x+\frac{1}{2}\right)^2\ge0\forall x\Rightarrow\left(x+\frac{1}{2}\right)^2+\frac{3}{4}\ge\frac{3}{4}>0\forall x\left(đpcm\right)\)