a)
\(DKXD:\left[{}\begin{matrix}x^2+x\ne0\\x\ne0\\x+1\ne0\end{matrix}\right.< =>\left[{}\begin{matrix}x\ne0\\x\ne-1\end{matrix}\right.\)
b)
\(\left(\dfrac{2x^2-1}{x^2+x}-\dfrac{x-1}{x}+\dfrac{3}{x+1}\right)\cdot\dfrac{x+1}{3}\)
\(=\left(\dfrac{2x^2-1}{x\left(x+1\right)}-\dfrac{x-1}{x}+\dfrac{3}{x+1}\right)\cdot\dfrac{x+1}{3}\)
\(=\left(\dfrac{2x^2-1}{x\left(x+1\right)}-\dfrac{\left(x-1\right)\left(x+1\right)}{x\left(x+1\right)}+\dfrac{3x}{x\left(x+1\right)}\right)\cdot\dfrac{x+1}{3}\)
\(=\left(\dfrac{2x^2-1-x^2+1+3x}{x\left(x+1\right)}\right)\cdot\dfrac{x+1}{3}\)
\(=\dfrac{x^2+3x}{x\left(x+1\right)}\cdot\dfrac{x+1}{3}\\ =\dfrac{x\left(x+3\right)\cdot\left(x+1\right)}{x\left(x+1\right)\cdot3}\\ =\dfrac{x+3}{3}\)