Quantum Tutoring Learn
Learn › Digital SAT › Quadratics › Completing the square
Digital SAT Math · Quadratics

Completing the square

The rule. Completing the square rewrites a quadratic so it contains a perfect square. For x2 + bx, take HALF of b, square it, and add (b/2)2, because x2 + bx + (b/2)2 equals (x + b/2)2. This turns standard form into vertex form a(x - h)2 + k, which shows the vertex (h, k) at a glance. If the leading coefficient a is not 1, factor a out of the x2 and x terms first. Whatever you add to build the square must be balanced — subtracted back in an expression, or added to both sides of an equation. Solving this way finishes with a plus-or-minus square root, so you get two solutions.

How to approach it

Start here. Decide the goal: rewriting into vertex form, finding a vertex, or solving an equation — and check whether the leading coefficient is 1.

Plan

  1. If a is not 1, factor a out of the x2 and x terms.
  2. Take half of b and square it to get (b/2)2.
  3. Add (b/2)2 to form the perfect square (x + b/2)2, and balance it.
  4. Read the vertex, or take the square root of both sides with plus-or-minus to solve.

Work it

  1. Build the perfect-square trinomial and fold it into (x + b/2)2.
  2. Finish the rewrite or the solve.

Check yourself. Did you halve b before squaring, keep the expression or equation balanced, and read the vertex x with the opposite sign of the number inside the parentheses?

Worked examples

Worked example 1

Rewrite x2 + 8x + 10 in vertex form.

We complete the square on x2 + 8x. Half of 8 is 4, and 4 squared is 16, so 16 is the constant that builds the square.

Plan

  1. Take half of the x-coefficient, then square it, to get 16.
  2. Add and subtract 16 so the value does not change.
  3. Group the first three terms into a perfect square.
  4. Combine the leftover constants.
x2 + 8x + 10 = x2 + 8x + 16 - 16 + 10add and subtract (8/2)2 = 16
= (x + 4)2 - 16 + 10group the perfect-square trinomial
= (x + 4)2 - 6combine -16 and 10

Check. Expanding (x + 4)2 - 6 gives x2 + 8x + 16 - 6 = x2 + 8x + 10, the original. The vertex is (-4, -6).

Answer: x2 + 8x + 10 = (x + 4)2 - 6

Worked example 2

Rewrite 2x2 + 12x + 5 in vertex form.

The leading coefficient is 2, so we factor 2 out of the x2 and x terms first, then complete the square inside the parentheses.

Plan

  1. Factor 2 from the x2 and x terms.
  2. Take half of 6 and square it to get 9; add and subtract 9 inside.
  3. Group the perfect square and distribute the 2 onto the -9.
  4. Combine the leftover constants.
2x2 + 12x + 5 = 2(x2 + 6x) + 5factor 2 from the x-terms
= 2(x2 + 6x + 9 - 9) + 5add and subtract (6/2)2 = 9 inside
= 2(x + 3)2 - 18 + 5group the square; distribute 2 onto -9
= 2(x + 3)2 - 13combine constants

Check. Expand 2(x + 3)2 - 13 = 2(x2 + 6x + 9) - 13 = 2x2 + 12x + 18 - 13 = 2x2 + 12x + 5, the original. The vertex is (-3, -13).

Answer: 2x2 + 12x + 5 = 2(x + 3)2 - 13

Common mistakes

Not halving before squaring

Adds the wrong constant to complete the square — using b2 (squared without halving), b/2 (halved without squaring), or b itself, instead of (b/2)2. For x2 + 6x the correct constant is (6/2)2 = 9.

Not balancing the added constant

Adds (b/2)2 to make the square but forgets to compensate — not subtracting it back in an expression, or not adding it to both sides of an equation. This throws off the constant k.

Wrong sign of h in the vertex

Reads the vertex x straight off the parentheses, so (x + 3)2 + k is misread as vertex x = 3. Because vertex form is (x - h), x + 3 means h = -3.

Ignoring the leading coefficient

When a is not 1, forgets to factor a out of the x2 and x terms before completing the square, or mishandles it while doing so. For 2x2 + 8x + 3, factor first: 2(x2 + 4x) + 3.

Related lessons

Practice this until it sticks

The adaptive tutor has 5 practice questions on this skill, names the exact mistake when you miss one, and gives you a fresh problem to confirm the fix. It is part of the Digital SAT program: $59 once, 12 months of access, no renewal.

See the Digital SAT programEnroll
← Interpret a quadratic model in contextComposite functions & evaluating compositions →