Bài 8:
\(F=x^2-2x+1+x^2-6x+9=2x^2-8x+10\\ F=2\left(x^2-4x+4\right)+2=2\left(x-2\right)^2+2\ge2\\ F_{min}=2\Leftrightarrow x=2\)
Bài 9:
\(A=-x^2+2x-1+5=-\left(x-1\right)^2+5\le5\\ A_{max}=5\Leftrightarrow x=1\\ B=-x^2+10x-25+2=-\left(x-5\right)^2+2\le2\\ B_{max}=2\Leftrightarrow x=5\\ C=-x^2+6x-9+9=-\left(x-3\right)^2+9\le9\\ C_{max}=9\Leftrightarrow x=3\)