N = 2x - 2x2 - 5
= -2x2 + 2x - 5
= -2(x2 - x + \(\dfrac{5}{2}\))
= -2(x2 - 2.x.\(\dfrac{1}{2}\) + \(\dfrac{1}{4}\) + \(\dfrac{9}{4}\))
= -2(x2 - 2.x.\(\dfrac{1}{2}\) + \(\dfrac{1}{4}\)) - \(\dfrac{9}{2}\)
= -2(x - \(\dfrac{1}{2}\))2 - \(\dfrac{9}{2}\) \(\le-\dfrac{9}{2}\)
Vậy GTLN của N là \(-\dfrac{9}{2}\) khi x - \(\dfrac{1}{2}\) = 0 \(\Rightarrow\) x = \(\dfrac{1}{2}\).