Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.
\(D=-x^2-y^2+xy+2x+2y\)
\(\Rightarrow D=-\dfrac{x^2}{2}+xy-\dfrac{y^2}{2}-\dfrac{x^2}{2}+2x-\dfrac{y^2}{2}+2y\)
\(\Rightarrow D=-\left(\dfrac{x^2}{2}-xy+\dfrac{y^2}{2}\right)-\left(\dfrac{x^2}{2}-2x\right)-\left(\dfrac{y^2}{2}-2y\right)\)
\(\Rightarrow D=-\left(\dfrac{x^2}{2}-2.\dfrac{x}{\sqrt[]{2}}.\dfrac{y}{\sqrt[]{2}}+\dfrac{y^2}{2}\right)-\left(\dfrac{x^2}{2}-2.\dfrac{x}{\sqrt[]{2}}.\sqrt[]{2}+2\right)-\left(\dfrac{y^2}{2}-2.\dfrac{y}{\sqrt[]{2}}.\sqrt[]{2}+2\right)+2+2\)
\(\Rightarrow D=-\left(\dfrac{x}{\sqrt[]{2}}-\dfrac{y}{\sqrt[]{2}}\right)^2-\left(\dfrac{x}{\sqrt[]{2}}-\sqrt[]{2}\right)^2-\left(\dfrac{y}{\sqrt[]{2}}-\sqrt[]{2}\right)^2+4\)
mà \(\left\{{}\begin{matrix}-\left(\dfrac{x}{\sqrt[]{2}}-\dfrac{y}{\sqrt[]{2}}\right)^2\le0,\forall x;y\\-\left(\dfrac{x}{\sqrt[]{2}}-\sqrt[]{2}\right)^2\le0,\forall x\\-\left(\dfrac{y}{\sqrt[]{2}}-\sqrt[]{2}\right)^2\le0,\forall y\end{matrix}\right.\)
\(\Rightarrow D=-\left(\dfrac{x}{\sqrt[]{2}}-\dfrac{y}{\sqrt[]{2}}\right)^2-\left(\dfrac{x}{\sqrt[]{2}}-\sqrt[]{2}\right)^2-\left(\dfrac{y}{\sqrt[]{2}}-\sqrt[]{2}\right)^2+4\le4\)
\(\Rightarrow GTLN\left(D\right)=4\left(tạix=y=2\right)\)
\(P=2017-2x^2+4x-8y^2-8y\\ P=-2\left(x^2-2x+1\right)-2\left(4y^2+4y+1\right)+2021\\ P=-2\left(x-1\right)^2-2\left(2y+1\right)^2+2021\le2021\\ P_{max}=2021\Leftrightarrow\left\{{}\begin{matrix}x=1\\y=-\dfrac{1}{2}\end{matrix}\right.\)