a) \(P=x\left(x-y\right)+y\left(x-y\right)=\left(x-y\right)\left(x+y\right)=x^2-y^2=5^2-4^2=9\)
b) \(Q=x\left(x^2-y\right)-x^2\left(x+y\right)+y\left(x^2-x\right)=x^3-xy-x^3-x^2y+x^2y-xy=0\)
a: Ta có: \(P=x\left(x-y\right)+y\left(x-y\right)\)
\(=\left(x-y\right)\left(x+y\right)\)
\(=x^2-y^2\)
\(=5^2-4^2=9\)
b: Ta có: \(Q=x\left(x^2-y\right)-x^2\left(x+y\right)+y\left(x^2-x\right)\)
\(=x^3-xy-x^3-x^2y+x^2y-xy\)
=-2xy
\(=-2\cdot\dfrac{1}{2}\cdot\left(-100\right)=100\)