\(\cdot\left(x+1\right)^2\ge0\)
\(\Rightarrow x^2+2x+1>0\)
\(\Rightarrow2x^2+4x+2\ge0\)
\(\Rightarrow\left(3x^2+3x+3\right)-\left(x^2-x+1\right)\ge0\)
\(\Rightarrow3\left(x^2+x+1\right)\ge x^2-x+1\)
\(\Rightarrow\)\(\frac{x^2+x+1}{x^2-x+1}\ge\frac{1}{3}\) (1)
\(\cdot\left(x-1\right)^2\ge0\forall x\)
\(\Rightarrow2x^2-4x+2\ge0\)
\(\Rightarrow\left(3x^2-3x+3\right)-\left(x^2+x+1\right)\ge0\)
\(\Rightarrow3\left(x^2-x+1\right)\ge x^2+x+1\)
\(\Rightarrow\frac{x^2+x+1}{x^2-x+1}\le3\)(2)
Từ(1),(2) => đpcm