Ta có: \(\hept{\begin{cases}\left(x+1\right)^2\ge0\forall x;y\\\left(y-\sqrt{2}\right)^2\ge0\forall x;y\end{cases}}\Rightarrow\left(x+1\right)^2+\left(y-\sqrt{2}\right)^2\ge0\forall x;y\)
\(\Rightarrow\left(x+1\right)^2+\left(y-\sqrt{2}\right)^2+2008\ge2008\forall x;y\)
\(\Rightarrow N\ge2008\forall x;y\)
\(N=2008\Leftrightarrow\hept{\begin{cases}\left(x+1\right)^2=0\\\left(y-\sqrt{2}\right)^2=0\end{cases}\Leftrightarrow\hept{\begin{cases}x+1=0\\y-\sqrt{2}=0\end{cases}\Leftrightarrow}\hept{\begin{cases}x=-1\\y=\sqrt{2}\end{cases}}}\)
Bí
\(\hept{\begin{cases}\left(x+1\right)^2\ge0\\\left(y-\sqrt{2}\right)^2\ge0\end{cases}}\text{Dấu }=\text{xảy ra khi}\hept{\begin{cases}x+1=0\\y-\sqrt{2}=0\end{cases}\Rightarrow\hept{\begin{cases}x=-1\\y=\sqrt{2}\end{cases}}}\)
\(\Rightarrow MinN=2008\Leftrightarrow\hept{\begin{cases}x=-1\\y=\sqrt{2}\end{cases}}\)
\(M=3.1+\frac{1-\sqrt{2}^2}{1+1}=3+\frac{1-2}{2}=\frac{5}{2}\)