The minimum or maximum value of a parabola can be found by completing the square, as shown. The squared term is greater than or equal to zero. So, it is minimized when it is zero, at the double root. The size of the multiplier a determines whether it is a minimum or maximum. Finally, the minimum or maximum is given by the value of the last term.

y = ax2 +bx+c = a(x2+ bax)+c = a(x2 + bax + (b2a)2 - (b2a)2 )+c = a( (x+ b2a )2 - (b2a)2 )+c = a (x+ b2a )2 - b24a +c = a (x+ b2a )2 + 4ac-b2 4a

To make the situation clearer, we can write y=az2+d , where z=x+b2a and d= 4ac-b2 4a .