a: \(A=\dfrac{1}{x-1}-\dfrac{x^2+x}{x^2+1}\cdot\dfrac{x+1-x+1}{\left(x-1\right)\left(x+1\right)}\)
\(=\dfrac{1}{x-1}-\dfrac{2x}{\left(x-1\right)\left(x^2+1\right)}\)
\(=\dfrac{x^2+1-2x}{\left(x-1\right)\left(x^2+1\right)}=\dfrac{x-1}{x^2+1}\)
b: A=1/5
=>\(\dfrac{x-1}{x^2+1}=\dfrac{1}{5}\)
=>x^2+1=5x-5
=>x^2-5x+6=0
=>x=2 hoặc x=3