Sửa đề: \(A=x^3+x^2y-xy^2-y^3+x^2-y^2+2x+2y+3\)
\(A=x^2\left(x+y\right)-y^2\left(x+y\right)+\left(x-y\right)\left(x+y\right)+2x+2y+3\)
\(=-x^2+y^2+\left(-x+y\right)-2+3\)
\(=-\left(x-y\right)\left(x+y\right)-\left(x-y\right)+1\)
\(=\left(x-y\right)\left(-x-y-1\right)+1\)
\(=\left(x-y\right)\left(1-1\right)+1=1\)