\(B=y^2-y+1\)
\(=y^2-2\cdot y\cdot\dfrac{1}{2}+\left(\dfrac{1}{2}\right)^2-\dfrac{1}{4}+1\)
\(=\left(y-\dfrac{1}{2}\right)^2+\dfrac{3}{4}\)
Ta thấy: \(\left(y-\dfrac{1}{2}\right)^2\ge0\forall y\)
\(\Rightarrow\left(y-\dfrac{1}{2}\right)^2+\dfrac{3}{4}\ge\dfrac{3}{4}\forall y\)
Dấu \("="\) xảy ra \(\Leftrightarrow y-\dfrac{1}{2}=0\Leftrightarrow y=\dfrac{1}{2}\)
Vậy \(B_{min}=\dfrac{3}{4}\) khi \(y=\dfrac{1}{2}\).
\(---\)
\(C=x^2-4x+y^2-y+5\)
\(=\left(x^2-4x+4\right)+\left(y^2-y+\dfrac{1}{4}\right)+\dfrac{3}{4}\)
\(=\left(x^2-2\cdot x\cdot2+2^2\right)+\left[y^2-2\cdot y\cdot\dfrac{1}{2}+\left(\dfrac{1}{2}\right)^2\right]+\dfrac{3}{4}\)
\(=\left(x-2\right)^2+\left(y-\dfrac{1}{2}\right)^2+\dfrac{3}{4}\)
Ta thấy: \(\left(x-2\right)^2\ge0\forall x\)
\(\left(y-\dfrac{1}{2}\right)^2\ge0\forall y\)
\(\Rightarrow\left(x-2\right)^2+\left(y-\dfrac{1}{2}\right)^2\ge0\forall x;y\)
\(\Rightarrow\left(x-2\right)^2+\left(y-\dfrac{1}{2}\right)^2+\dfrac{3}{4}\ge\dfrac{3}{4}\forall x;y\)
Dấu \("="\) xảy ra \(\Leftrightarrow\left\{{}\begin{matrix}x-2=0\\y-\dfrac{1}{2}=0\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x=2\\y=\dfrac{1}{2}\end{matrix}\right.\)
Vậy \(C_{min}=\dfrac{3}{4}\) khi \(x=2;y=\dfrac{1}{2}\).
\(Toru\)
\(B=y^2-y+1\)
\(=y^2-2.y.\dfrac{1}{2}+\dfrac{1}{4}+\dfrac{3}{4}=\left(y-\dfrac{1}{2}\right)^2+\dfrac{3}{4}\)
Vì \(\left(y-\dfrac{1}{2}\right)^2\ge0\forall y\Rightarrow B\ge\dfrac{3}{4}\)
Dấu "=" xảy ra \(\Leftrightarrow y=\dfrac{1}{2}\)
\(C=x^2-4x+y^2-y+5\)
\(=x^2-4x+4+y^2-y+\dfrac{1}{4}+\dfrac{3}{4}\)
\(=\left(x-2\right)^2+\left(y-\dfrac{1}{2}\right)^2\)
Vì \(\left(x-2\right)^2+\left(y-\dfrac{1}{2}\right)^2\ge0\forall x,y\)
Dấu "=" xảy ra \(\Leftrightarrow\left\{{}\begin{matrix}x=2\\y=\dfrac{1}{2}\end{matrix}\right.\)