a) A = \(2x^2+x-1=2\left(x^2+\frac{1}{2}x+\frac{1}{16}\right)\)\(-\frac{9}{8}=2\left(x+\frac{1}{4}\right)^2-\frac{9}{8}\)
Vì \(\left(x+\frac{1}{4}\right)^2\ge0\forall x\Leftrightarrow2\left(x+\frac{1}{4}\right)^2\ge0\forall x\Leftrightarrow2\left(x+\frac{1}{4}\right)^2-\frac{9}{8}\ge-\frac{9}{8}\forall x\Leftrightarrow A\ge-\frac{9}{8}\)
Dấu = xảy ra \(\Leftrightarrow\)\(x+\frac{1}{4}=0\Leftrightarrow x=-\frac{1}{4}\)
Vậy minA =\(-\frac{9}{8}\)khi \(x=-\frac{1}{4}\).
b) B=\(5x-3x^2+2=-3\left(x^2-\frac{5}{3}x+\frac{25}{36}\right)+\frac{49}{12}=-3\left(x-\frac{5}{6}\right)^2+\frac{49}{12}\)
Vì \(\left(x-\frac{5}{6}\right)^2\ge0\forall x\Leftrightarrow-3\left(x-\frac{5}{6}\right)^2\le0\forall x\Leftrightarrow-3\left(x-\frac{5}{6}\right)^2+\frac{49}{12}\le\frac{49}{12}\forall x\Leftrightarrow B\le\frac{49}{12}\forall x\)
Dấu = xảy ra \(\Leftrightarrow x-\frac{5}{6}=0\Leftrightarrow x=\frac{5}{6}\)
Vậy maxB = \(\frac{49}{12}\)khi \(x=\frac{5}{6}\).