B = 1 + 3x - x2 = -(x2 - 3x - 1)
\(=-\left[x^2-2.\frac{3}{2}.x+\left(\frac{3}{2}\right)^2-\left(\frac{3}{2}\right)^2-1\right]\)
\(=-\left[\left(x-\frac{3}{2}\right)^2-\frac{13}{4}\right]\)
\(=-\left(x-\frac{3}{2}\right)^2+\frac{13}{4}\le\frac{13}{4}\)
Vậy MaxB = 13/4 khi x - 3/2 = 0 => x = 3/2