\(A=\frac{x^2-x+1}{x^2+x+1}=\frac{3x^2-3x+3}{3\left(x^2+x+1\right)}=\frac{x^2+x+1+2x^2-4x+2}{3\left(x^2+x+1\right)}=\frac{1}{3}+\frac{2\left(x-1\right)^2}{3\left(x^2+x+1\right)}\)
Do \(\left\{{}\begin{matrix}\left(x-1\right)^2\ge0\\x^2+x+1=\left(x+\frac{1}{2}\right)^2+\frac{3}{4}>0\end{matrix}\right.\) \(\forall x\Rightarrow\frac{2\left(x-1\right)^2}{3\left(x^2+x+1\right)}\ge0\) \(\forall x\)
\(\Rightarrow A\ge\frac{1}{3}\) \(\forall x\)
Dấu "=" xảy ra khi \(x=1\)