a)ĐKXĐ: \(x\notin\left\{0;-1\right\}\)
Ta có: \(\dfrac{x-1}{x}+\dfrac{1}{x+1}=\dfrac{2x-1}{x^2+x}\)
\(\Leftrightarrow\dfrac{\left(x-1\right)\left(x+1\right)}{x\left(x+1\right)}+\dfrac{x}{x\left(x+1\right)}=\dfrac{2x-1}{x\left(x+1\right)}\)
Suy ra: \(x^2-1+x-2x+1=0\)
\(\Leftrightarrow x^2-x=0\)
\(\Leftrightarrow x\left(x-1\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=0\\x-1=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=0\left(loại\right)\\x=1\left(nhận\right)\end{matrix}\right.\)
Vậy: S={1}
b) ĐKXĐ: \(x\notin\left\{3;-3\right\}\)
Ta có: \(\dfrac{5}{x-3}-\dfrac{2x-3}{x+3}=\dfrac{2x\left(1-x\right)}{x^2-9}\)
\(\Leftrightarrow\dfrac{5\left(x+3\right)}{\left(x-3\right)\left(x+3\right)}-\dfrac{\left(2x-3\right)\left(x-3\right)}{\left(x-3\right)\left(x+3\right)}=\dfrac{2x\left(1-x\right)}{\left(x-3\right)\left(x+3\right)}\)
Suy ra: \(5x+15-2x^2+6x+3x-9-2x+2x^2=0\)
\(\Leftrightarrow12x+6=0\)
\(\Leftrightarrow12x=-6\)
hay \(x=-\dfrac{1}{2}\)(thỏa ĐK)
Vậy: \(S=\left\{-\dfrac{1}{2}\right\}\)