Algebra

Completing the Square and Vertex Form, Step by Step

By Math Solving Space · · 2 min read

On this page
  1. Why vertex form is useful
  2. Worked example 1: @@STASH11@@
  3. Worked example 2: when @@STASH17@@
  4. Solving equations by completing the square
  5. Common mistakes
  6. Practice questions
  7. Frequently asked questions

Completing the square rewrites ax2+bx+cax^2 + bx + c as a(x−h)2+ka(x - h)^2 + k. In this vertex form you can read the turning point (h,k)(h, k) straight off the equation. The key move is to add and subtract the square of half the xx-coefficient.

Why vertex form is useful

  • The vertex (turning point) is (h,k)(h, k).
  • The axis of symmetry is x=hx = h.
  • If a>0a > 0 the minimum value is kk; if a<0a < 0 the maximum is kk.

Worked example 1: x2+6x+5x^2 + 6x + 5

  1. Half of 6 is 3, and 32=93^2 = 9.
  2. Add and subtract 9: x2+6x+9−9+5x^2 + 6x + 9 - 9 + 5.
  3. The first three terms make a square: (x+3)2−4(x + 3)^2 - 4.

So y=(x+3)2−4y = (x + 3)^2 - 4 with vertex (−3,−4)(-3, -4).

Worked example 2: when a≠1a \ne 1

y=2x2−8x+3y = 2x^2 - 8x + 3
  1. Factor 2 out of the xx terms: y=2(x2−4x)+3y = 2(x^2 - 4x) + 3.
  2. Half of −4-4 is −2-2; (−2)2=4(-2)^2 = 4: y=2[(x−2)2−4]+3y = 2[(x - 2)^2 - 4] + 3.
  3. Multiply out the bracket: y=2(x−2)2−8+3=2(x−2)2−5y = 2(x - 2)^2 - 8 + 3 = 2(x - 2)^2 - 5.

Vertex (2,−5)(2, -5), and since a=2>0a = 2 > 0 it is a minimum.

Solving equations by completing the square

Set the vertex form equal to zero: (x+3)2−4=0(x + 3)^2 - 4 = 0 gives (x+3)2=4(x + 3)^2 = 4, so x+3=±2x + 3 = \pm 2 and x=−1x = -1 or x=−5x = -5.

Common mistakes

  • Forgetting to subtract the number you added.
  • Not multiplying the subtracted square by aa when a≠1a \ne 1.
  • Getting the sign of hh wrong: (x+3)2(x + 3)^2 means h=−3h = -3.

Practice questions

  1. Write x2−4x+1x^2 - 4x + 1 in vertex form.
  2. Find the vertex of y=x2+2x−8y = x^2 + 2x - 8.
  3. Write −x2+4x−1-x^2 + 4x - 1 in vertex form.

Answers: 1) (x−2)2−3(x - 2)^2 - 3 2) (−1,−9)(-1, -9) 3) −(x−2)2+3-(x - 2)^2 + 3

The vertex form calculator shows every step and graphs the parabola. To find roots, use the quadratic equation solver, and read three ways to solve a quadratic.

Frequently asked questions

What is the vertex of a parabola?

Its turning point: the lowest point when it opens upwards, or the highest when it opens downwards.

Is completing the square the same as the quadratic formula?

The quadratic formula is what you get by completing the square on ax² + bx + c = 0 in general.

When should I use vertex form?

When you need the turning point, the maximum or minimum value, or to sketch the graph quickly.

Open the calculator →

#algebra#quadratics