Quadratics

Vertex Form of a Quadratic

Vertex form is y=a(x−h)2+ky=a(x-h)^2+k, where (h,k)(h,k) is the vertex of the parabola. The number aa is the same leading coefficient you see in y=ax2+bx+cy=ax^2+bx+c.

y=a(x−h)2+ky=a(x-h)^2+k

Try it with your numbers

Show every step

This form is useful because the turning point is written right into the equation. Finding the vertex of a parabola from the expanded form takes a calculation, but here it takes a glance, provided you handle one sign correctly.

How to read the vertex from vertex form

Match the equation to a(x−h)2+ka(x-h)^2+k piece by piece. The number subtracted from xx inside the bracket is hh, and the number added at the end is kk. So y=3(x−2)2+5y=3(x-2)^2+5 has vertex (2,5)(2,5). For y=−12(x+4)2−1y=-\tfrac12(x+4)^2-1, rewrite x+4x+4 as x−(−4)x-(-4), which gives h=−4h=-4 and k=−1k=-1, so the vertex is (−4,−1)(-4,-1).

The sign flip on hh is the trap that costs the most points. It makes sense once you see why the vertex sits where it does. A squared bracket is never negative, so it is smallest when it equals zero. That happens at x=hx=h, and at that point the whole expression equals kk.

Zero-the-bracket check

Set the bracket to zero and solve. For (x+4)2(x+4)^2, x+4=0x+4=0 gives x=−4x=-4, so h=−4h=-4. The constant outside is kk, exactly as written.

The sign of aa tells you which way the parabola opens. If a>0a>0, it opens upward and the vertex is the lowest point. If a<0a<0, it opens downward and the vertex is the highest point. The vertical line x=hx=h through the vertex is the axis of symmetry, so every point on one side has a mirror image on the other.

Quick check

Without expanding anything, which xx-value gives the minimum of y=4(x+7)2+1y=4(x+7)^2+1?

Why vertex form works: a shifted, stretched parabola

Start with the plain parabola y=x2y=x^2, whose vertex is the origin. Each part of a(x−h)2+ka(x-h)^2+k is one move applied to it. Replacing xx with x−hx-h slides the graph hh units right. Adding kk slides it kk units up. Multiplying by aa stretches it vertically by a factor of ∣a∣|a| and flips it over if aa is negative.

The horizontal shift looks backward because the input has to catch up. On y=x2y=x^2 the bottom of the curve occurs at x=0x=0. After the change, the bracket reaches zero only when x=hx=h, so the bottom has moved to hh.

This is why graphing quadratic functions is fastest from vertex form. Plot (h,k)(h,k), then move 1, 2 and 3 units to either side and up by aa, 4a4a and 9a9a. For y=2(x−1)2−4y=2(x-1)^2-4, the vertex is (1,−4)(1,-4), and the points (2,−2)(2,-2) and (3,4)(3,4) follow from stepping right by 1 and 2. The same heights appear on the left, at (0,−2)(0,-2) and (−1,4)(-1,4). The pattern 1,4,91,4,9 is just the squares, scaled by aa.

How to convert standard form to vertex form

Wrong versus right completing the square for 2x² − 12x + 7, showing the subtracted 9 costs 18
Because the bracket is multiplied by 2, subtracting 9 inside means subtracting 18 outside, so the vertex is (3, −11).

Converting means completing the square. The idea is to build a perfect square from the xx terms and pay for it by subtracting the same amount elsewhere.

  1. Factor aa out of the x2x^2 and xx terms only, leaving cc alone.
  2. Take half of the xx coefficient inside the bracket, square it, and add and subtract it inside.
  3. Move the subtracted number outside the bracket. It gets multiplied by aa on the way out.
  4. Rewrite the perfect square trinomial as (x−h)2(x-h)^2 and combine the constants.

Worked example: write y=2x2−12x+7y=2x^2-12x+7 in vertex form. Factor 22 from the first two terms:

y=2(x2−6x)+7y=2(x^2-6x)+7

Half of −6-6 is −3-3, and (−3)2=9(-3)^2=9. Add and subtract 99 inside the bracket:

y=2(x2−6x+9−9)+7=2(x−3)2−2⋅9+7y=2(x^2-6x+9-9)+7=2(x-3)^2-2\cdot 9+7

Finish the arithmetic:

y=2(x−3)2−11y=2(x-3)^2-11

The vertex is (3,−11)(3,-11). The step that trips people up is −2⋅9-2\cdot9. The 99 was subtracted inside a bracket multiplied by 22, so it costs 1818 outside, not 99. If a=1a=1 the problem disappears, which is why easy textbook examples hide this error.

Quick check

Write y=x2+10x+3y=x^2+10x+3 in vertex form.

The shortcut: find the vertex without completing the square

Completing the square on the general quadratic gives a result you can memorize:

ax2+bx+c=a(x+b2a)2+c−b24aax^2+bx+c=a\left(x+\frac{b}{2a}\right)^2+c-\frac{b^2}{4a}

So h=−b2ah=-\frac{b}{2a} and k=c−b24ak=c-\frac{b^2}{4a}. These are the same moves used in deriving the quadratic formula. Set this expression equal to zero and solve, and you get the quadratic formula. That also shows why the vertex sits exactly halfway between the roots, which are h±b2−4ac2ah\pm\frac{\sqrt{b^2-4ac}}{2a}.

In practice, compute h=−b2ah=-\frac{b}{2a} and then find kk by substituting hh into the original function. That is usually less error-prone than the kk formula. Take y=3x2+5x−2y=3x^2+5x-2, where fractions would make completing the square untidy:

h=−56,k=3(2536)+5(−56)−2=2512−5012−2412=−4912h=-\frac{5}{6},\qquad k=3\left(\frac{25}{36}\right)+5\left(-\frac56\right)-2=\frac{25}{12}-\frac{50}{12}-\frac{24}{12}=-\frac{49}{12}

y=3(x+56)2−4912y=3\left(x+\frac56\right)^2-\frac{49}{12}

As a cross-check, c−b24a=−2−2512=−4912c-\frac{b^2}{4a}=-2-\frac{25}{12}=-\frac{49}{12}, which agrees.

How to write vertex form from a vertex and a point

When you are given the vertex and one other point, the only unknown is aa. Put the vertex in for hh and kk, substitute the point for xx and yy, and solve for aa. Do not substitute the vertex into xx and yy, because those are for the extra point.

Worked example: the vertex is (−1,4)(-1,4) and the parabola passes through (1,0)(1,0). Start with

y=a(x+1)2+4y=a(x+1)^2+4

Substitute x=1x=1 and y=0y=0:

0=a(1+1)2+4=4a+40=a(1+1)^2+4=4a+4

So a=−1a=-1, and the equation is y=−(x+1)2+4y=-(x+1)^2+4. Check: at x=1x=1, −(2)2+4=0-(2)^2+4=0.

You can sanity-check the sign of aa before doing any algebra. If the given point is below the vertex, the parabola must open downward, so a<0a<0. If it is above, a>0a>0. Here (1,0)(1,0) lies below (−1,4)(-1,4), and a=−1a=-1 agrees.

Try this: Write the vertex form of the parabola with vertex (3,−2)(3,-2) that passes through (5,6)(5,6). Before you calculate, predict the sign of aa from where the point sits relative to the vertex, then confirm by plugging in x=5x=5.

Vertex form vs standard form vs factored form

All three forms describe the same parabola with the same aa, but each one displays a different feature directly.

Form Equation Shows directly
Standard ax2+bx+cax^2+bx+c y-intercept cc
Factored a(x−r1)(x−r2)a(x-r_1)(x-r_2) x-intercepts r1,r2r_1,r_2
Vertex a(x−h)2+ka(x-h)^2+k vertex (h,k)(h,k), max or min

Some textbooks call vertex form “standard form” and give the expanded version another name. If an instruction says “standard form”, check which one your course means.

Going from factored form to vertex form is quick, because hh is the average of the roots. If solving by factoring gives y=(x−1)(x−5)y=(x-1)(x-5), then h=1+52=3h=\frac{1+5}{2}=3 and k=(3−1)(3−5)=−4k=(3-1)(3-5)=-4. That gives y=(x−3)2−4y=(x-3)^2-4, and expanding returns x2−6x+5x^2-6x+5, which matches.

To go from vertex form to standard form, expand the square: a(x−h)2+k=ax2−2ahx+ah2+ka(x-h)^2+k=ax^2-2ahx+ah^2+k. For y=2(x−3)2−11y=2(x-3)^2-11, the constant is 2⋅9−11=72\cdot9-11=7 and the middle term is −12x-12x, which recovers y=2x2−12x+7y=2x^2-12x+7 from earlier.

How do you solve an equation in vertex form?

Vertex form is ideal for solving because xx appears only once. Isolate the squared bracket and take square roots, which is exactly the square root method. To solve 2(x−3)2−8=02(x-3)^2-8=0, add 88 and divide by 22 to get (x−3)2=4(x-3)^2=4. Then x−3=±2x-3=\pm2, so x=5x=5 or x=1x=1. Keeping both signs of the root is what gives you both solutions.

You can predict the outcome before calculating. If aa and kk have the same sign, the parabola opens away from the x-axis and never touches it, so there are no real solutions. For y=(x+1)2+4y=(x+1)^2+4, setting y=0y=0 gives (x+1)2=−4(x+1)^2=-4, so x=−1±2ix=-1\pm2i. Those are complex numbers, and they match what the discriminant would report as negative.

The y-intercept is also simple. Set x=0x=0 to get y=ah2+ky=ah^2+k. For y=2(x−3)2−11y=2(x-3)^2-11, that is 18−11=718-11=7, which is the constant term of the standard form.

Quick check

Solve 3(x−1)2−12=03(x-1)^2-12=0.

Vertex form in real problems: maximum height

Any quantity that rises to a peak and falls, or dips to a low and rises, has a vertex worth finding. A ball thrown upward follows h(t)=−16t2+64t+5h(t)=-16t^2+64t+5 feet after tt seconds. Here t=−642(−16)=2t=-\frac{64}{2(-16)}=2 and h(2)=−64+128+5=69h(2)=-64+128+5=69. In vertex form:

h(t)=−16(t−2)2+69h(t)=-16(t-2)^2+69

The ball peaks at 6969 feet after 22 seconds, and you can read both numbers straight from the equation. To find when it lands, set h=0h=0: (t−2)2=6916(t-2)^2=\frac{69}{16}, so t=2+694≈4.08t=2+\frac{\sqrt{69}}{4}\approx4.08 seconds. The negative root is rejected because time cannot be negative here.

The same reading works for profit, area and cost problems, which is why quadratic word problems so often ask for a maximum or minimum. The vertex’s kk value is the answer to “what is the most” or “what is the least”, and hh is when or where it happens.

Domain and range

The domain of y=a(x−h)2+ky=a(x-h)^2+k is all real numbers. The range is y≥ky\ge k when a>0a>0, and y≤ky\le k when a<0a<0.

How to check your vertex form answer

A converted equation can be verified in seconds, and the checks catch the common slips.

  • Same aa: the leading coefficient must match the original. If you started with 2x22x^2, the vertex form must begin with 2(… )22(\dots)^2.
  • y-intercept: substitute x=0x=0. The result must equal cc from the standard form.
  • Vertex: substitute x=hx=h. The result must equal kk, because the bracket vanishes.

The y-intercept test is the most useful. If you forgot to multiply the added number by aa and wrote y=2(x−3)2−9y=2(x-3)^2-9 for the earlier example, then x=0x=0 gives 18−9=918-9=9, not 77. The mismatch exposes the error immediately.

Square the bracket first and only then multiply by aa. For y=−3(x−2)2y=-3(x-2)^2 at x=0x=0, the bracket gives (−2)2=4(−2)^2=4, so the result is −12-12, not 3636. If the check passes at two points, the equation is right.

Practice problems

0 of 5 solved

  1. State the vertex of y=3(x+4)2−7y=3(x+4)^2-7.

  2. Write the vertex form of the parabola with vertex (5,−2)(5,-2) and a=−3a=-3.

  3. Write y=x2−8x+11y=x^2-8x+11 in vertex form.

  4. A parabola has vertex (1,−4)(1,-4) and passes through (3,4)(3,4). Write its equation in vertex form.

  5. Write y=2x2+3x−1y=2x^2+3x-1 in vertex form.

Common questions

What is the vertex form of a quadratic equation?

It is y=a(x−h)2+ky=a(x-h)^2+k. The point (h,k)(h,k) is the vertex of the parabola, and aa sets the direction and width. A positive aa opens upward, and a negative aa opens downward.

How do you convert standard form to vertex form?

Complete the square: factor aa out of the x2x^2 and xx terms, add and subtract the square of half the xx coefficient, then rewrite the trinomial as a squared bracket. You can also compute h=−b2ah=-\frac{b}{2a}, find kk by substituting hh into the function, and write y=a(x−h)2+ky=a(x-h)^2+k.

Why is it (x−h)(x-h) and not (x+h)(x+h) in vertex form?

The vertex occurs where the bracket equals zero, which is x=hx=h. Subtracting hh makes that happen at x=hx=h, so a bracket like (x+4)(x+4) means h=−4h=-4.

What does aa do in vertex form?

It is the same aa as in y=ax2+bx+cy=ax^2+bx+c. Its sign sets whether the parabola opens up or down, and its size sets the width: ∣a∣>1|a|>1 is narrower than y=x2y=x^2 and ∣a∣<1|a|<1 is wider.

Can every quadratic be written in vertex form?

Yes. Any quadratic with a≠0a\neq0 can be completed into a(x−h)2+ka(x-h)^2+k, even when it has no real roots. The vertex is always a real point if the coefficients are real.

How do you find the vertex without completing the square?

Compute h=−b2ah=-\frac{b}{2a}, then substitute hh back into the function to get kk. The vertex is (h,k)(h,k).

Up next