\(B=x^2+x+500=\left(x+\frac{1}{2}\right)^2+499\frac{3}{4}\ge0+499\frac{3}{4}=449\frac{3}{4}\Rightarrow B_{min}=449\frac{3}{4}\text{. Dâu "=" xay ra}\Leftrightarrow x=\frac{-1}{2}\)
\(x^2+6x+1000=\left(x+3\right)^2+991\ge0+991=991\Rightarrow A_{min}=991.\text{Dâu "=" xay ra}\Leftrightarrow x=-3\)