a: \(=\dfrac{x}{y\left(y-x\right)}+\dfrac{y}{x\left(x-y\right)}+\dfrac{x+y}{xy}\)
\(=\dfrac{-x}{y\left(x-y\right)}+\dfrac{y}{x\left(x-y\right)}+\dfrac{x+y}{xy}\)
\(=\dfrac{-x^2+y^2+x^2-y^2}{xy\left(x-y\right)}=0\)
b: \(=\dfrac{x^3-1}{x-1}+\dfrac{-x^2+1}{x+1}\)
\(=x^2+x+1-x+1=x^2+2>0\)