Ta có: \(\dfrac{y}{x-y}-\dfrac{x^3-xy^2}{x^2+y^2}\cdot\left(\dfrac{x}{x^2-2xy+y^2}-\dfrac{y}{x^2-y^2}\right)\)
\(=\dfrac{y}{x-y}-\dfrac{x\left(x^2-y^2\right)}{x^2+y^2}\cdot\left(\dfrac{x\left(x+y\right)}{\left(x-y\right)^2\cdot\left(x+y\right)}-\dfrac{y\cdot\left(x-y\right)}{\left(x-y\right)^2\cdot\left(x+y\right)}\right)\)
\(=\dfrac{y}{x-y}-\dfrac{x\left(x-y\right)\left(x+y\right)}{x^2+y^2}\cdot\dfrac{x^2+xy-xy+y^2}{\left(x-y\right)^2\left(x+y\right)}\)
\(=\dfrac{y}{x-y}-\dfrac{x\cdot\left(x^2+y^2\right)}{\left(x^2+y^2\right)\cdot\left(x-y\right)}\)
\(=\dfrac{y}{x-y}-\dfrac{x}{x-y}\)
\(=\dfrac{y-x}{x-y}=\dfrac{-\left(x-y\right)}{x-y}=-1\)