\(x+y=1\Rightarrow x=1-y\)
\(C=x^2+y^2+xy=\left(1-y\right)^2+y^2+\left(1-y\right)y\)
\(=y^2-y+1\)\(=\left(y-\dfrac{1}{2}\right)^2+\dfrac{3}{4}\ge\dfrac{3}{4}\forall y\)
=>minC=\(\dfrac{3}{4}\) \(\Leftrightarrow y=\dfrac{1}{2}\Rightarrow x=\dfrac{1}{2}\)
Ta có :
\(x+y=1\Rightarrow\left(x+y\right)^2=1\)
\(\Leftrightarrow x^2+2xy+y^2=1\)
\(\Leftrightarrow x^2+xy+y^2=1-xy\ge1-\left(\dfrac{x+y}{2}\right)^2=1-\dfrac{1}{4}=\dfrac{3}{4}\)
Hay \(C \ge \dfrac{3}{4}\)
Dấu "=" xảy ra khi \(x=y=\dfrac{1}{2}\)