Ta có:
\(\frac{1}{x-1}-\frac{2x}{x^3-x^2+x-1}\)
\(=\frac{1}{x-1}-\frac{2x}{x^2\left(x-1\right)+\left(x-1\right)}\)
\(=\frac{x^2+1}{\left(x-1\right)\left(x^2+1\right)}-\frac{2x}{\left(x^2+1\right)\left(x-1\right)}\)
\(=\frac{x^2+1-2x}{\left(x-1\right)\left(x^2+1\right)}\)
\(=\frac{\left(x-1\right)^2}{\left(x-1\right)\left(x^2+1\right)}=\frac{x-1}{x^2+1}\)