Quadratic functions

The vertex of the function y = a(x - p)^2 + q is located at (p, q), and the sign of a tells you whether the parabola opens up or down.

A worked example

For y = x^2 - 10x + 21, the x-coordinate of the vertex is -b/(2a) = 5, and substituting gives y = 25 - 50 + 21 = -4, so the vertex is (5, -4).

The mistake people actually make

The x-coordinate of the vertex is p, not -p, so the function y = (x + 4)^2 - 5 has its vertex at x = -4. A discriminant of zero means exactly one root, and a negative discriminant means that the parabola has no x-intercepts.

Practice this free