\(x^3+y^3+3\left(x^2+y^2\right)+4\left(x+y\right)+4=0\)
\(\Leftrightarrow\left(x+y\right)^3-3xy\left(x+y\right)+3\left(x+y\right)^2-6xy+4\left(x+y\right)+4=0\)
\(\Leftrightarrow\left(x+y+2\right)\left(\left(x+y\right)^2+x+y+2\right)-3xy\left(x+y+2\right)=0\)
\(\Leftrightarrow\left(x+y+2\right)\left(x^2+y^2+2xy+x+y+2-3xy\right)=0\)
\(\Leftrightarrow\left(x+y+2\right)\left[\left(x-y\right)^2+\left(x+1\right)^2+\left(y+1\right)^2+2\right]=0\)
\(\Leftrightarrow x+y+2=0\)
\(\Leftrightarrow x+y=-2\)
\(M=\frac{1}{x}+\frac{1}{y}\ge\frac{4}{x+y}=\frac{4}{-2}=-2\)
Dấu \(=\)khi \(x=y=-1\).