-x2 + 13x + 2012
= -(x2 - 13x) + 2012
= -( x2 - 2.\(\frac{13}{2}\).x + 169/4 - 169/4) + 2012
= -(x - \(\frac{13}{2}\))2 + 2012 + 169/4
= -(x - \(\frac{13}{2}\))2 + 2054\(\frac{1}{4}\)
Vi -(x - \(\frac{13}{2}\))2 <= 0
=> -(x - \(\frac{13}{2}\))2 + 2054\(\frac{1}{4}\)<= 2054\(\frac{1}{4}\)
Dau "=" xay ra <=> x - \(\frac{13}{2}\) = 0
<=> x = \(\frac{13}{2}\)
Vay GTLN cua bieu thuc la 2054\(\frac{1}{4}\)khi va chi khi x = \(\frac{13}{2}\)