a: \(A=\left(\dfrac{1}{x^2+x}-\dfrac{2-x}{x+1}\right):\dfrac{x-1}{x+1}\)
\(=\left(\dfrac{1}{x\left(x+1\right)}+\dfrac{x-2}{x+1}\right)\cdot\dfrac{x+1}{x-1}\)
\(=\dfrac{1+x^2-2x}{x\left(x+1\right)}\cdot\dfrac{x+1}{x-1}\)
\(=\dfrac{x-1}{x}\)
b: Để A là số nguyên thì -1 chia hết cho x
=>\(x\in\varnothing\)