Given that the maximum value of quadratic function y = f (x) is equal to 13, and F = (- 1) = 5, find the analytic expression of F (x)

Given that the maximum value of quadratic function y = f (x) is equal to 13, and F = (- 1) = 5, find the analytic expression of F (x)

Because f (3) = f (- 1), the axis of symmetry is x = 1
So let f (x) = a (x-1) 2 + 13 over (3,5)
Substituting a (x-1) 2 + 13 = 5, we get a = - 2, so f (x) = - 2x2 + 4x + 11