On the maximum value estimation of quadratic function on closed interval

On the maximum value estimation of quadratic function on closed interval

If the axis of symmetry is in a closed interval, then the intersection of the axis of symmetry and the parabola is the maximum
If the axis of symmetry is not in the closed interval, the end point of the closed interval near the axis of symmetry is the maximum