y = ax2 + bx + c đạt Max bằng 5 tại x = -2
--> a < 0; \(\dfrac{4ac - b^2}{4a}\) = 5;
\(\dfrac{-b}{2a}\) = -2
--> b = 4a; \(\dfrac{4ac - 16a^2}{4a}\) = 5
--> b = c - 5 = 4a
Đồ thị hàm số đi qua M(1; -1)
--> a + b + c = -1
--> a + 4a + 4a + 5 = -1
<=> 9a = -6
<=> a = \(\dfrac{-2}{3}\) --> b = \(\dfrac{-8}{3}\); c = \(\dfrac{7}{3}\)
--> \(y = \dfrac{-2}{3}x^2\ -\)\(\dfrac{8}{3}x\) + \(\dfrac{7}{3}\)