\(x^2\left(y-1\right)\) +\(y^2\left(x-1\right)\) =1 \(\Leftrightarrow\) \(x^2y-x^2+y^2x-y^2=1\) \(\Leftrightarrow\) \(-\left(4+x^2+y^2+4x+2xy+4y\right)+4+4x+2xy+4y+x^2y+y^2x=1\) \(\Leftrightarrow\) \(-\left(2+x+y\right)^2+xy\left(2+x+y\right)+4\left(2+x+y\right)-4=1\) \(\Leftrightarrow\) \(\left(2+x+y\right)\left(-x-y-2+xy+4\right)=5\) \(\Leftrightarrow\left(x+y+2\right)\left(xy-x-y+2\right)=5\) rồi đưa về pt ước số là được(5 là số nguyên tố)