Skip to main content
VirginiaMathsSyllabus dot point

How do you solve a quadratic equation by completing the square, and how does it produce vertex form?

Solve quadratic equations by completing the square, and use completing the square to rewrite a quadratic in vertex form (A.EI.6).

A Virginia SOL Algebra I answer on completing the square: the half-the-b, square-it step, solving by completing the square, and rewriting a quadratic into vertex form.

Generated by Claude Opus 4.88 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. The core move: half of b, squared
  3. Solving by completing the square
  4. When the leading coefficient is not 1
  5. Producing vertex form
  6. Why the constant is (b/2) squared
  7. How the SOL examines this topic
  8. Try this

What this topic is asking

This part of A.EI.6 asks you to solve a quadratic by completing the square and to use the same process to rewrite a quadratic in vertex form. On the Virginia Algebra I SOL these are Equations and Inequalities items: complete the square, solve, or identify the perfect-square binomial. They appear as fill-in-the-blank and multiple choice, and the method underlies both the quadratic formula and the vertex of a parabola.

The core move: half of b, squared

A perfect-square trinomial x2+bx+cx^2 + bx + c comes from squaring (x+b2)(x + \frac{b}{2}), which means the constant must be c=(b2)2c = \left(\frac{b}{2}\right)^2. So to complete the square on x2+bxx^2 + bx, add (b2)2\left(\frac{b}{2}\right)^2:

x2+8x    x2+8x+16=(x+4)2,x^2 + 8x \;\to\; x^2 + 8x + 16 = (x + 4)^2,

because half of 88 is 44 and 42=164^2 = 16. The number inside the binomial is always half of bb.

Solving by completing the square

The critical balance point: whatever you add to complete the square on the left, you must add to the right side too, or the equation is no longer equivalent.

When the leading coefficient is not 1

If a1a \ne 1, factor aa out of the x2x^2 and xx terms before completing the square. For 2x2+8x+3=02x^2 + 8x + 3 = 0: factor, 2(x2+4x)+3=02(x^2 + 4x) + 3 = 0, complete the square inside (add and subtract 44 inside, tracking the factor of 22), and proceed. This step keeps the coefficient of x2x^2 at 11 inside the parentheses, which is what the half-of-bb rule requires.

Producing vertex form

Completing the square is also how you rewrite a quadratic function in vertex form a(xh)2+ka(x - h)^2 + k, which displays the vertex (h,k)(h, k) directly. For y=x2+6x+5y = x^2 + 6x + 5: complete the square, y=(x2+6x+9)+59=(x+3)24y = (x^2 + 6x + 9) + 5 - 9 = (x + 3)^2 - 4, so the vertex is (3,4)(-3, -4). Here you add and subtract the same constant on one side to keep yy unchanged, rather than adding to both sides as when solving.

Why the constant is (b/2) squared

The half-of-bb, square-it rule is not a trick to memorize, it is forced by the algebra of squaring a binomial. Expanding (x+p)2(x + p)^2 gives x2+2px+p2x^2 + 2px + p^2, so the coefficient of xx is 2p2p and the constant is p2p^2. If you are handed x2+bxx^2 + bx and want it to be the start of (x+p)2(x + p)^2, you match 2p=b2p = b, which means p=b2p = \frac{b}{2}, and then the constant you need is p2=(b2)2p^2 = \left(\frac{b}{2}\right)^2. So "half of bb" comes from undoing the 2p2p, and "square it" comes from the p2p^2. This same derivation, applied to the general ax2+bx+c=0ax^2 + bx + c = 0, produces the quadratic formula, which is why completing the square is the backbone of every quadratic method: factoring, the formula, and the vertex all trace back to it.

How the SOL examines this topic

  • Fill-in-the-blank. State the constant that completes the square, or solve by completing the square and type the solutions.
  • Multiple choice. Identify the perfect-square binomial or the vertex form.
  • Drag-and-drop. Order the steps of the method.

Try this

Q1. What constant completes the square for x2+10xx^2 + 10x? [1 point]

  • Cue. Half of 1010 is 55; 52=255^2 = 25.

Q2. Solve x22x3=0x^2 - 2x - 3 = 0 by completing the square. [2 points]

  • Cue. x22x+1=4(x1)2=4x=3x^2 - 2x + 1 = 4 \Rightarrow (x - 1)^2 = 4 \Rightarrow x = 3 or x=1x = -1.

Exam-style practice questions

Practice questions written in the style of VDOE exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

SOL (style)2 marksFill in the blank. To complete the square for x2+8xx^2 + 8x, what constant must you add, and what perfect-square binomial results?
Show worked answer →

You add 1616, and the result is (x+4)2(x + 4)^2.

Take half of the coefficient of xx: half of 88 is 44. Square it: 42=164^2 = 16. Adding 1616 makes x2+8x+16x^2 + 8x + 16, which factors as the perfect square (x+4)2(x + 4)^2. The constant to add is always (half of bb) squared. Adding the full bb (88) instead of (b/2)2(b/2)^2 is the typical mistake.

SOL (style)2 marksFill in the blank. Solve x2+6x=7x^2 + 6x = 7 by completing the square. Type both solutions.
Show worked answer →

The solutions are x=1x = 1 and x=7x = -7.

Half of 66 is 33, and 32=93^2 = 9, so add 99 to both sides: x2+6x+9=7+9=16x^2 + 6x + 9 = 7 + 9 = 16. The left side is (x+3)2(x + 3)^2, so (x+3)2=16(x + 3)^2 = 16. Take square roots: x+3=±4x + 3 = \pm 4, giving x=1x = 1 or x=7x = -7. Forgetting to add 99 to the right side too breaks the balance.

Related dot points

Sources & how we know this