\(\frac{1}{x+1}+\frac{1}{x-1}+\frac{2}{1-x^2}\)
\(=\frac{1}{x+1}+\frac{1}{x-1}-\frac{2}{\left(x-1\right)\left(x+1\right)}\)
\(=\frac{x-1+x+1-2}{\left(x-1\right)\left(x+1\right)}\)
\(=\frac{2x-2}{\left(x-1\right)\left(x+1\right)}\)
\(=\frac{2\left(x-1\right)}{\left(x-1\right)\left(x+1\right)}\)
\(=\frac{2}{x+1}\)