a) ĐKXĐ: \(x\notin\left\{0;-1\right\}\)
Ta có: \(\dfrac{1}{x}-\dfrac{2}{x+1}=\dfrac{3}{x^2+x}\)
\(\Leftrightarrow\dfrac{x+1}{x\left(x+1\right)}-\dfrac{2x}{x\left(x+1\right)}=\dfrac{3}{x\left(x+1\right)}\)
Suy ra: \(-x+1=3\)
\(\Leftrightarrow-x=2\)
hay x=-2(thỏa ĐK)
Vậy: S={-2}