a: Ta có: \(x^2-x+1\)
\(=x^2-2\cdot x\cdot\dfrac{1}{2}+\dfrac{1}{4}+\dfrac{3}{4}\)
\(=\left(x-\dfrac{1}{2}\right)^2+\dfrac{3}{4}\ge\dfrac{3}{4}\forall x\)
Dấu '=' xảy ra khi \(x=\dfrac{1}{4}\)
b: Ta có: \(x^2+y^2-4x+y+5\)
\(=\left(x^2-4x+4\right)+\left(y^2+y+\dfrac{1}{4}\right)+\dfrac{3}{4}\)
\(=\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 khi x=2 và \(y=-\dfrac{1}{2}\)