Bài 1 :
\(A=-x^2+6x+14\)
\(A=-x^2+6x-9+23\)
\(A=-\left(x^2-6x+9\right)+23\)
\(A=-\left(x-3\right)^2+23\)
Vì \(-\left(x-3\right)^2\le0\)
\(\Rightarrow A=-\left(x-3\right)^2+23\le23\)
\(\Rightarrow Max\left(A\right)=23\)
Bài 2 :
\(B=4x^2+12x+30\)
\(\Rightarrow B=4x^2+12x+9+21\)
\(\Rightarrow B=\left(2x+3\right)^2+21\)
Vì \(\left(2x+3\right)^2\ge0\)
\(\Rightarrow B=\left(2x+3\right)^2+21\ge21\)
\(\Rightarrow Min\left(B\right)=21\)