Vertex Form: Shift and Stretch the Parabola, Interactively

Drag the parabola's vertex and h and k follow it in y = a(x - h)² + k, with what each letter does, how to read the vertex, axis and both intercepts off it, and nine worked examples.

Written and reviewed by the PrepOK team Last reviewed How we check these lessons

Drag the vertex anywhere: h and k follow it, and the equation rewrites itself. Then stretch or flip with a. The grey ghost is y = x², so you can see exactly what shifted and stretched.

Interactive vertex form graphery = (x - 2)² - 1. Vertex at (2, -1), axis of symmetry x = 2, opens upward, same width as compared with y = x². Expanded standard form: y = x² - 4x + 3.-5-4-3-2-112345-5-4-3-2-112345x = 2(2, -1)
Vertex form
y = (x - 2)² - 1
Expanded (standard form)
y = x² - 4x + 3

Vertex (h, k) = (2, -1). Sign trap: the form subtracts h, so (x - 2)² means h = +2 and (x + 3)² means h = -3.

y = (x - 2)² - 1. Vertex at (2, -1), axis of symmetry x = 2, opens upward, same width as compared with y = x². Expanded standard form: y = x² - 4x + 3.

Read the vertex straight off the equation

The vertex form of a quadratic writes the equation so that its most useful point is visible with no work at all:

y = a(x - h)² + k

What a, h and k each are

The three letters in vertex form: where each one appears in the equation, how to read its value, and what it does to the graph.
Letter Where it is How to read it What it does
a In front of the bracket. Its own sign and size, no trick. Sets the direction and the width. Positive opens up, negative opens down, and a bigger size makes the parabola narrower.
h Inside the bracket, subtracted. The opposite of the sign you see. (x + 5)² means h = -5. The x-coordinate of the vertex, the axis of symmetry x = h, and the horizontal shift of y = x².
k Outside the bracket, added. Exactly as written. No sign flip. The y-coordinate of the vertex, the vertical shift, and the minimum value when a > 0 or the maximum when a < 0.

Only h carries a trap, and it is the one the next section is about. a and k mean exactly what they look like.

The grapher starts at y = (x - 2)² - 1. Read the equation against the picture: the vertex marker sits at (2, -1), the dashed axis reads x = 2, and the Expanded (standard form) box shows the very same parabola written as y = x² - 4x + 3. Drag the vertex anywhere (it snaps to grid points, or select it and use the arrow keys) and both equations rewrite themselves instantly. If plotting a point like (2, -1) still takes a second thought, warm up on the coordinate plane first.

The sign trap: (x - 2)² means h = +2

Vertex form subtracts h. So the sign you see inside the parentheses is the opposite of the vertex’s x-coordinate:

You seeRewrite as (x - h)²hVertex is on the…
(x - 2)² - 1already matches, h = 2+2right of the y-axis
(x + 3)² + 2(x - (-3))² + 2-3left of the y-axis

The safe habit: force whatever is in the parentheses into the shape x - h and read h from that. x + 3 only fits the pattern as x - (-3), so h = -3. There is no such trap for k: it sits outside the parentheses with its true sign, so + 2 really does mean the vertex is 2 units up.

The widget prints this exact warning under its equation boxes because it is the error graders see most: on a test, “the vertex of y = (x + 3)² + 2” answered as (3, 2) instead of (-3, 2).

Reading transformations against the y = x² ghost

Every parabola in vertex form is the basic curve y = x², picked up, moved, and reshaped. Keep the show the y = x² ghost checkbox ticked: the dashed grey ghost stays put while your parabola moves, so each parameter’s job is visible on its own.

ParameterWhat it does to y = x²Watch for
hshifts the graph horizontally (right if h > 0, left if h < 0)the dashed axis x = h travels with it
kshifts the graph vertically (up if k > 0, down if k < 0)the vertex rises or sinks, shape unchanged
astretches or flips: negative opens down, |a| > 1 narrows, 0 < |a| < 1 widenscompare arm steepness against the ghost

Standard form to vertex form (and back)

The two boxes in the panel are the same parabola in two costumes. Vertex form to standard form is just multiplying out; standard form to vertex form is completing the square, or a two-line shortcut. One important constant: a is identical in both forms. Converting only reshuffles h and k into b and c and back.

Vertex form to standard form: expand

Start with the grapher’s default and multiply out the square:

y = (x - 2)² - 1

First the square: (x - 2)² = (x - 2)(x - 2) = x² - 2x - 2x + 4 = x² - 4x + 4.

Then attach the k: y = x² - 4x + 4 - 1, so

y = x² - 4x + 3

which is exactly what the Expanded (standard form) box shows.

Standard form to vertex form: complete the square

Now run the same example backwards. Start from

y = x² - 4x + 3

  1. Take the coefficient of x, which is -4. Halve it: -2. Square that: 4.
  2. Add and subtract the 4 so nothing changes: y = (x² - 4x + 4) - 4 + 3.
  3. The parentheses are now a perfect square: y = (x - 2)² - 1.

Back to where we started, and the vertex (2, -1) is visible again.

The vertex shortcut from standard form

Completing the square works every time, but if all you need is the vertex of y = ax² + bx + c, there is a faster route:

h = -b / (2a), then k = f(h)

On the same example, a = 1 and b = -4, so h = -(-4) / (2 × 1) = 4/2 = 2. Substitute back: k = f(2) = 2² - 4 × 2 + 3 = 4 - 8 + 3 = -1. Vertex (2, -1), same a, so the vertex form is y = (x - 2)² - 1. Done in two lines.

Everything you can read off vertex form

The vertex is the headline, but it is not the only thing sitting in the equation. Here is the whole list, worked through on y = 2(x + 5)² - 4:

What each feature of a parabola is in terms of a, h and k, worked through on y = 2(x + 5) squared minus 4.
What you want Read it from On y = 2(x + 5)² - 4
The vertex (h, k) (-5, -4)
The axis of symmetry x = h x = -5
Which way it opens the sign of a a = 2, so it opens upward
The minimum value k -4, reached at x = -5
The y-intercept (0, ah² + k) (0, 46)
The x-intercepts x = h ± √(-k/a) x = -5 ± √2, about -6.41 and -3.59

Two of those rows are worth pausing on.

k is not the y-intercept. k is how high the vertex is. The y-intercept is where the curve crosses the y-axis, at x = 0, which is ah² + k. They agree only when h = 0, that is when the vertex is already on the y-axis. Above, the vertex is 4 below the axis and the curve crosses the y-axis at 46.

The x-intercepts come from rearranging, not from a new formula. Set y = 0:

a(x - h)² + k = 0   →   (x - h)² = -k/a   →   x = h ± √(-k/a)

That square root is the whole story of how many crossings there are. If -k/a is positive there are two, if it is zero the vertex sits on the x-axis and there is one, and if it is negative there are none. It is the discriminant test in vertex form’s own letters, and it is often quicker: you can see at a glance whether k and a have opposite signs.

How to graph a parabola from vertex form

Vertex form hands you the starting point, so graphing is four steps and no equation solving:

  1. Plot the vertex (h, k) and draw the axis of symmetry x = h through it.
  2. Point the curve with the sign of a: up if positive, down if negative.
  3. Step out from the vertex. One unit sideways changes y by a, two units by 4a, three by 9a, because the bracket is squared. With a = 1 that is the familiar 1, 3, 5 pattern of gaps; with a = 2 it is 2, 6, 10.
  4. Mirror everything across the axis and sweep a smooth curve through the points. The y-intercept (0, ah² + k) comes free, so plot that too.

Nine worked examples

Nine quadratics in vertex form with their expanded standard form, vertex, axis of symmetry, direction, y-intercept and x-intercepts.
Vertex form Standard form Vertex Opens y-intercept x-intercepts
y = (x - 2)² - 1 y = x² - 4x + 3 (2, -1) up (0, 3) 1, 3
y = (x + 3)² + 2 y = x² + 6x + 11 (-3, 2) up (0, 11) none
y = -(x + 1)² y = -x² - 2x - 1 (-1, 0) down (0, -1) -1
y = 2(x + 5)² - 4 y = 2x² + 20x + 46 (-5, -4) up (0, 46) ≈ -6.41, -3.59
y = -2(x - 3)² + 8 y = -2x² + 12x - 10 (3, 8) down (0, -10) 1, 5
y = 0.5x² - 2 y = 0.5x² - 2 (0, -2) up (0, -2) = k -2, 2
y = x² + 3 y = x² + 3 (0, 3) up (0, 3) = k none
y = 3(x - 1)² y = 3x² - 6x + 3 (1, 0) up (0, 3) 1
y = -8(x + 4)² + 128 y = -8x² - 64x (-4, 128) down (0, 0) -8, 0

The last row is a pasted homework question: p(x) = -8x² - 64x written in vertex form is -8(x + 4)² + 128, so a = -8, h = -4 and k = 128. Read as transformations, that is y = x² reflected across the x-axis, stretched by a factor of 8, shifted 4 left and 128 up.

Note the two rows with h = 0, marked in the y-intercept column. Those are the only ones where k really is the y-intercept, because their vertex is already on the y-axis.

Sideways and conic forms

Swap x and y and the same equation describes a parabola lying on its side:

x = a(y - k)² + h

The vertex is still (h, k), and a still sets the width, but now positive a opens it to the right and negative to the left. It is a parabola and it is not a function of x: a vertical line through it crosses twice. Conic-section courses write parabolas a third way again, (x - h)² = 4p(y - k), where p is the distance from the vertex to the focus, which is a different parameter from the a used here.

Which form should you use?

Neither form is “better”; each makes a different question easy.

You wantReach forBecause
The vertex, or the maximum/minimum valueVertex form(h, k) is written in the equation
The transformations of y = x²Vertex formh, k, and a are the shift and stretch
The y-interceptStandard formset x = 0 and y = c immediately; vertex form needs ah² + k
The quadratic formula, or factoring for rootsStandard formboth need a, b, and c

In y = (x - 2)² - 1 the vertex is instant but the y-intercept takes a step of arithmetic; in y = x² - 4x + 3 the y-intercept (0, 3) is instant but the vertex takes the shortcut above. For how a, b, and c each bend the curve in standard form, and where the roots sit on the graph, see the parabola lesson.

The grapher above also works as a vertex form calculator: place the vertex, set a, and read both forms of the equation instantly.

It’s free to embed on your own site or LMS. Next, explore the standard-form coefficients and roots in the parabola lesson, or rebuild your point plotting instincts on the coordinate plane.

Frequently asked questions

What is vertex form?
Vertex form is the way of writing a quadratic as y = a(x - h)² + k, where (h, k) is the vertex of the parabola and x = h is its axis of symmetry. The coefficient a controls the shape: a > 0 opens upward, a < 0 opens downward, and |a| > 1 makes the parabola narrower than y = x².
How do you find the vertex from vertex form?
If the equation is in vertex form y = a(x - h)² + k, the vertex is (h, k): flip the sign inside the parentheses to get h, and read k directly. If it is in standard form y = ax² + bx + c, compute h = -b/(2a), then substitute that x-value back in to get k. Example: y = x² - 4x + 3 gives h = 4/2 = 2 and k = 4 - 8 + 3 = -1, so the vertex is (2, -1).
How do you convert standard form to vertex form?
Complete the square, or use the shortcut h = -b/(2a) with k = f(h). For y = x² - 4x + 3: half of -4 is -2, squared is 4, so y = (x² - 4x + 4) - 4 + 3 = (x - 2)² - 1. The shortcut agrees: h = 4/2 = 2 and k = f(2) = 4 - 8 + 3 = -1.
Why does (x + 3)² mean h = -3?
Because vertex form subtracts h. To match (x + 3)² to the pattern (x - h)², you need h = -3, since x - (-3) = x + 3. The sign inside the parentheses is always the opposite of the vertex's x-coordinate; the constant k outside the parentheses keeps its true sign.
What is the difference between vertex form and standard form?
They are two ways of writing the same quadratic. Vertex form, y = a(x - h)² + k, shows the vertex and the transformations of y = x² at a glance. Standard form, y = ax² + bx + c, shows the y-intercept directly (it is c) and is the form the quadratic formula uses. Expanding converts vertex form to standard; completing the square converts standard to vertex.
Can a be 0 in vertex form?
No. With a = 0 the squared term vanishes and y = a(x - h)² + k collapses to the horizontal line y = k, which is not a parabola. A quadratic requires a ≠ 0; the sign and size of a then decide which way the parabola opens and how narrow it is.
In y = a(x - h)² + k, what is the vertex?
The vertex is (h, k). Not (-h, -k), and not (-h, k): the sign flip belongs to h inside the parentheses, not to the vertex itself. So y = 2(x + 5)² - 4 has to be read as y = 2(x - (-5))² + (-4), giving h = -5 and k = -4, and its vertex is (-5, -4). The letters h and k are the coordinates of the vertex as written; the trap is that the equation shows you the opposite of h.
What do a, h and k represent in vertex form?
a is the multiplier in front of the bracket: its sign decides whether the parabola opens up or down, and its size decides how narrow it is. h is subtracted inside the bracket and is the x-coordinate of the vertex, which is also the axis of symmetry x = h and the horizontal shift of y = x². k is added outside the bracket and is the y-coordinate of the vertex, the vertical shift, and the minimum value of the function when a is positive or the maximum when a is negative.
How do you find the x-intercepts from vertex form?
Set y = 0 and rearrange: a(x - h)² + k = 0 gives (x - h)² = -k/a, so x = h ± √(-k/a). There are two x-intercepts when -k/a is positive, one when it is zero, and none when it is negative, which is the same test as the discriminant written in vertex form's own letters. For y = 2(x + 5)² - 4: -k/a = 4/2 = 2, so x = -5 ± √2, about -6.41 and -3.59.
How do you find the y-intercept from vertex form?
Put x = 0 into the equation: y = a(0 - h)² + k = ah² + k. For y = 2(x + 5)² - 4 that is 2 × 25 - 4 = 46, so the y-intercept is (0, 46). This is one of the few things standard form does better, where the y-intercept is just c and needs no arithmetic at all.
Is k the y-intercept in vertex form?
No, except in one special case. k is the y-coordinate of the vertex; the y-intercept is ah² + k. They are the same number only when h = 0, that is when the vertex already sits on the y-axis. For y = 3(x - 2)² + 7 the vertex is at height 7 but the curve crosses the y-axis at 19, and confusing the two is one of the most common errors in this topic.
How do you find the axis of symmetry in vertex form?
It is x = h, read straight off the equation with the sign flipped. y = 2(x + 5)² - 4 has h = -5, so its axis of symmetry is x = -5. This is the same line as x = -b/(2a) in standard form; vertex form just has it already worked out, which is one of the main reasons for using it.
How do you graph a parabola from vertex form?
Plot the vertex (h, k) and draw the axis of symmetry x = h through it. Use the sign of a to decide which way it opens. Then get a couple of points by stepping sideways from the vertex: one step across from x = h changes y by a, two steps by 4a, three steps by 9a, because the bracket is squared. Mirror those points across the axis and sweep a smooth curve through them. Plot the y-intercept (0, ah² + k) too, since it comes free.
What is the vertex form of a sideways parabola?
x = a(y - k)² + h. It is the same equation with x and y swapped, so it opens right when a is positive and left when a is negative, and its vertex is still (h, k). It is a parabola, but it is not a function of x, because a vertical line through it hits the curve twice. Conic-section courses usually write parabolas a third way, (x - h)² = 4p(y - k), where p is the distance from the vertex to the focus.

Sources

The figures in this interactive are computed from unit-tested code and the sources above, not typed in by hand. See how we build and check these lessons, and tell us at support@prepok.com if you spot an error.

Embed this on your site

Free to use. Paste this anywhere; a link back to PrepOK is included.

Related