Ta có: \(x+y-2=0\Rightarrow x+y=2\)
Và P=\(x^4+2x^3y-2x^3+x^2y^2-2x^2y-x\left(x+y\right)+2x+3\)
\(=\left(x^4+2x^3y+x^2y^2\right)-\left(2x^3+2x^2y\right)-\left[x\left(x+y\right)-2x\right]+3\)
\(=x^2\left(x+y\right)^2-2x^2\left(x+y\right)-x\left(x+y-2\right)+3\)
\(=x^2\cdot2^2-2x^2\cdot2-x\cdot0+3=3\) (thế x+y=2,x+y-2=0)
Vậy P=3