bài 4 : ta có : \(x+2y=3\Leftrightarrow x=3-2y\)
\(\Rightarrow E=x^2+2y^2=\left(3-2y\right)^2+2y^2=4y^2-12y+9+2y^2\)
\(=6y^2-12y+6+3=6\left(y-1\right)^2+3\ge3\)
\(\Rightarrow E_{max}=3\) khi \(x=y=1\)
bài 5 : ta có : \(x^2+3y^2+2xy-10x-14y+18=0\)
\(\Leftrightarrow2y^2-4y+2=-\left(x^2+2xy+y^2\right)+10\left(x+y\right)-16\)
\(\Leftrightarrow2\left(y-1\right)^2=-\left(x+y\right)^2+10\left(x+y\right)-16\ge0\)
\(\Leftrightarrow2\le x+y\le8\)
\(\Rightarrow P_{min}=2\) khi \(\left\{{}\begin{matrix}y=1\\x+y=2\end{matrix}\right.\Leftrightarrow x=y=1\)
\(\Rightarrow P_{max}=8\) khi \(\left\{{}\begin{matrix}y=1\\x+y=8\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x=7\\y=1\end{matrix}\right.\)
vậy ...........................................................................................................................