To find the maximum or minimum value of a quadratic function, we have to find its vertex since the curve of this type of function is a parabola.
Specifically, the y-value of the vertex is the minimum or maximum of the quadratic function. If the parabola opens up then the vertex is a minimum, if the parabola opens down then the vertex is a maximum.
Therefore, the right answer is B.