How this calculation works
The constant term in standard form is the value at x=0. It differs from the vertex height unless the horizontal shift is zero.
a(x−h)²+k = ax²−2ahx+ah²+kA worked example
2(x−3)²−1 expands to 2x²−12x+17.
Good to know
For a parabola, the scale must be nonzero.
Reference: OpenStax Algebra and Trigonometry (opens in a new tab) ↗
Expand the squared binomial before multiplying
Start with 2(x − 3)² − 1. Expanding the square gives x² − 6x + 9. Multiplying all three terms by 2 gives 2x² − 12x + 18. Subtracting 1 leaves 2x² − 12x + 17, so the three output coefficients are 2, −12 and 17.
The general expansion is a(x − h)² + k = ax² − 2ahx + ah² + k. Vertex form makes the vertex (h,k) easy to read, while standard form makes the polynomial coefficients explicit. The SVG shows the same default parabola and marks its vertex at (3,−1).
Check the signs of the horizontal shift
The expression x − h places the vertex at x = h. For x + 3, write h = −3 before applying the formula. Squaring h in the constant term removes its sign, while the linear coefficient −2ah preserves the effect of the horizontal direction.
Substitute x = h into the expanded polynomial as a check. The quadratic and linear contributions combine with ah² to cancel, leaving k. The Quadratic root sum and product calculator can then inspect the expanded coefficients. The scale a must be nonzero for a parabola. Its sign determines whether the vertex is a minimum or maximum, and its magnitude controls vertical stretching relative to y = x².
A few questions, answered
What is the constant coefficient?
It is ah² + k. In the default example, 2 × 9 − 1 = 17.
What if h equals zero?
The linear coefficient is zero and the vertex lies on the y-axis. The standard form is ax² + k.