What This Calculator Does
A quadratic function can be written in two equivalent ways. Vertex form, \(a(x-h)^2+k\), makes the vertex \((h, k)\) easy to read. Standard form, \(ax^2+bx+c\), is convenient for using the quadratic formula or reading the y-intercept. This tool converts vertex form into standard form by expanding the squared term and collecting like terms.
How to Use It
Enter the three vertex-form parameters: a (the leading coefficient that controls the parabola's width and direction), h (the x-coordinate of the vertex), and k (the y-coordinate of the vertex). The calculator returns the standard-form coefficients a, b, and c so you can write \(y = ax^2 + bx + c\).
The Formula Explained
Start with \(a(x-h)^2 + k\). Expand the square: \((x-h)^2 = x^2 - 2hx + h^2\). Multiply by a: \(ax^2 - 2ah\,x + ah^2\). Add k to get the constant term. Collecting terms gives:
a stays the same, \(b = -2ah\), \(c = a\cdot h^2 + k\).
Worked Example
Convert \(y = 2(x - 3)^2 + 5\). Here \(a = 2\), \(h = 3\), \(k = 5\). Then $$b = -2(2)(3) = -12,$$ and $$c = 2(3^2) + 5 = 18 + 5 = 23.$$ So the standard form is $$y = 2x^2 - 12x + 23.$$
How Parameters Change the Standard Form
The table shows how different \((a, h, k)\) inputs produce the coefficients \(b = -2ah\) and \(c = ah^2 + k\). The y-intercept is the value of \(y\) at \(x = 0\).
| a | h | k | b = -2ah | c = ah² + k | Standard form | y-intercept |
|---|---|---|---|---|---|---|
| 1 | 0 | 0 | 0 | 0 | y = x² | 0 |
| 1 | 2 | 3 | -4 | 7 | y = x² - 4x + 7 | 7 |
| 2 | 3 | 5 | -12 | 23 | y = 2x² - 12x + 23 | 23 |
| -1 | 2 | 4 | 4 | 0 | y = -x² + 4x | 0 |
| 1 | -3 | 2 | 6 | 11 | y = x² + 6x + 11 | 11 |
| 0.5 | 4 | 1 | -4 | 9 | y = 0.5x² - 4x + 9 | 9 |
Notes:
- When \(h = 0\), the vertex lies on the y-axis, so \(b = 0\) and \(c = k\).
- The constant \(c\) always equals the y-intercept, because substituting \(x = 0\) into \(ax^2 + bx + c\) leaves \(c\). It also equals \(ah^2 + k\) from the vertex form.
- A positive \(h\) with a positive \(a\) gives a negative \(b\); a negative \(h\) gives a positive \(b\). The vertex is at \(x = -b/(2a) = h\).
- The value of \(a\) is the same in both forms. It sets the opening direction and the width of the parabola.
FAQ
What if \(a = 0\)? Then it is not a quadratic — it reduces to a constant \(y = k\), and the standard form has no \(x^2\) or \(x\) terms.
Does the vertex change after conversion? No. The two forms describe the exact same parabola; only the way it is written changes.
Why is b negative for a positive h? Because \(b = -2ah\), a positive vertex x-coordinate with a positive a produces a negative middle coefficient.