\(x\left(x^3-y\right)+x^2\left(y-x^2\right)-y\left(x^2-31\right)\)
\(=x^4-xy+x^2y-x^4-x^2y+31y\)
\(=\left(x^4-x^4\right)+\left(x^2y-x^2y\right)-xy-31y\)
\(=\left(-xy\right)-31y\)
\(x\left(x^3-y\right)+x^2\left(y-x^2\right)-y\left(x^2-31\right)\)
= \(x^4-xy+x^2y-x^4-x^2y+31y\)
= \(-xy+31y\)
x(x3−y)+x2(y−x2)−y(x2−31)𝑥(𝑥3−𝑦)+𝑥2(𝑦−𝑥2)−𝑦(𝑥2−31)
= x4−xy+x2y−x4−x2y+31y𝑥4−𝑥𝑦+𝑥2𝑦−𝑥4−𝑥2𝑦+31𝑦
= −xy+31y