Ta có:
\(\frac{2.\left(x^2+x+1\right)}{x^2+1}=\frac{2.\left(x^2+1\right)+2x}{x^2+1}=2+\frac{2x}{x^2+1}\)
Ta có:\(2+\frac{2x}{x^2+1}-1=1+\frac{2x}{x^2+1}\)
\(=\frac{x^2+2x+1}{x^2+1}=\frac{\left(x+1\right)^2}{x^2+1}\ge0\) \(\Rightarrow\frac{2.\left(x^2+x+1\right)}{x^2+1}\ge1\)
\(2+\frac{2x}{x^2+1}-3=\frac{2x}{x^2+1}-1=\frac{-x^2+2x-1}{x^2+1}\)
\(=\frac{-\left(x-1\right)^2}{x^2+1}\le0\) \(\Rightarrow\frac{2.\left(x^2+x+1\right)}{x^2+1}\le3\)
Vậy \(1\le\frac{2.\left(x^2+x+1\right)}{x^2+1}\le3\)