\(x^2y+xy^2+x+y=2010\)
\(\Leftrightarrow xy\left(x+y\right)+x+y=2010\)
\(\Leftrightarrow\left(x+y\right)\left(xy+1\right)=2010\)
\(\Leftrightarrow\left(x+y\right)\left(11+1\right)=2010\)
\(\Leftrightarrow x+y=\frac{2010}{11+1}=\frac{332}{5}\)
Ta có \(x^2+y^2=\left(x+y\right)^2-2xy=\left(\frac{332}{5}\right)^2-2.11=\frac{112137}{4}\)