x khác 1
\(N=\frac{\left(x+2\right)\left(x-1\right)}{\left(x-1\right)\left(x^2+x+1\right)}-\frac{2\left(x^2+x+1\right)}{\left(x-1\right)\left(x^2+x+1\right)}+\frac{2x^2+4}{\left(x+1\right)\left(x^2+x+1\right)}\)
\(N=\frac{x^2+2x-x-2-2x^2-2x-2+2x^2+4}{\left(x-1\right)\left(x^2+x+1\right)}=\frac{x^2-x}{\left(x-1\right)\left(x^2+x+1\right)}=\frac{x\left(x-1\right)}{\left(x-1\right)\left(x^2+x+1\right)}\)
\(=\frac{x}{x^2+x+1}\)
Xét hiệu 1/3-N=\(\frac{1}{3}-\frac{x}{x^2+x+1}=\frac{x^2+x+1-3x}{3\left(x^2+x+1\right)}=\frac{x^2-2x+1}{3\left(x^2+x+1\right)}=\frac{\left(x-1\right)^2}{3\left(x^2+x+1\right)}>0\)với mọi x khác 1
=> 1/3 >N