To complete the square and write a quadratic in vertex form, you rewrite ax² + bx + c as a(x − h)² + k, where the vertex is (h, k). Take a standard example: 2x² − 12x + 7 becomes 2(x − 3)² − 11, so the vertex sits at (3, −11). The one condition that trips people: you must factor out a before adding anything inside the parentheses, or the constant you add is wrong.
That single result is the whole skill in miniature. Everything below is the machinery that gets you there reliably — the division that produces h, the subtraction that produces k, and the two checks that catch the arithmetic slips this procedure attracts. If you've ever added 9 inside a bracket and watched the equation drift, you already know why the checks matter.
The Five-Sentence Core Procedure, Stated Plainly
The algorithm is short enough to memorize in a minute and forget in a week, so write it down in words before touching symbols. Where a is not 1, the first move is always to factor it out of the x-terms only. Then you take half of the new x-coefficient, square it, and add-then-subtract that number inside the bracket.
Half of b/a is the number that becomes h. Squaring it gives the number you add inside, and multiplying that square by a gives the amount you must remove outside to keep the expression equal. The leftover constant is k, and it is almost never equal to the original c.
Here is the five-step version in order:
1: Factor a out of the x² and x terms, leaving c untouched outside the bracket. 2: Inside the bracket, take half of the x-coefficient, square it, and add it. 3: Subtract the same square inside the bracket so the value doesn't change. 4: Fold the subtracted term out by multiplying it by a and combining with c. 5: Write the perfect square as (x + b/2a)² and name the vertex.
That last line is where the sign flips, and it's the single most common error in student work. If the bracket reads (x − 3), then h is +3, not −3.
The failure mode to expect: when a is negative, students subtract instead of adding and end up with a sign-flipped k. If your answer's k is the negation of what you expect, look at the subtraction step first.
Why h Comes From −b/2a and Not From the Bracket Sign
The vertex x-coordinate of any quadratic is h = −b/(2a), and that formula is not a separate fact to memorize — it falls straight out of the completing-the-square step. When you complete the square on ax² + bx + c, the bracket becomes (x + b/2a)². Written in vertex form, that same bracket appears as (x − h)², so h = −b/2a.
Plug in the standard example. With b = −12 and a = 2, h = −(−12)/(2 × 2) = 12/4 = 3, matching 2(x − 3)² − 11 exactly. That agreement is your free consistency check: compute h both ways before you trust the answer.
The sign confusion has a mechanical origin. Inside the bracket the number is plus b/2a; in vertex form the bracket is minus h. Those are the same quantity wearing opposite signs. Any student who copies the bracket's sign directly into h will report the vertex mirrored across the axis of symmetry — a wrong answer with a right-looking derivation.
A useful habit: compute h first, then predict what the bracket must look like. If h = 3, the bracket must be (x − 3) before you've done any algebra. That prediction catches sign errors in advance rather than after.
For the general case with a ≠ 1, that k always equals c − b²/4a. That's a direct consequence of combining the two constants, and it's the fastest route to k if you already trust your h.
Worked Example: 2x² − 12x + 7 to 2(x − 3)² − 11, With Every Arithmetic Line
Start with 2x² − 12x + 7. Factor 2 out of the first two terms: 2(x² − 6x) + 7. Inside the bracket, half of −6 is −3, and (−3)² = 9, so you add 9 and subtract 9: 2(x² − 6x + 9 − 9) + 7.
Now fold the −9 out. It sits inside a bracket multiplied by 2, so it contributes −18 outside: 2(x² − 6x + 9) − 18 + 7. Combine the constants: −18 + 7 = −11. The perfect square factors as (x − 3)², giving 2(x − 3)² − 11.
| Line | Expression | What happened |
|---|---|---|
| 1 | 2x² − 12x + 7 | Original |
| 2 | 2(x² − 6x) + 7 | Factored 2 out of x-terms |
| 3 | 2(x² − 6x + 9 − 9) + 7 | Added and subtracted (−3)² |
| 4 | 2(x − 3)² − 18 + 7 | Folded −9 out as −18 |
| 5 | 2(x − 3)² − 11 | Combined constants |
Verify two ways. First, expand back: 2(x − 3)² = 2x² − 12x + 18, and 18 − 11 = 7, so the whole expression returns to 2x² − 12x + 7. Second, compare k with c − b²/4a = 7 − 144/8 = 7 − 18 = −11. Both checks land on the same answer, which is what you want before moving on.
The half-of-six step is the one people rush. If you write half of −6 as 3 rather than −3, the bracket becomes (x + 3) and h flips to −3. Slow down there.
Comparing the Two Routes: Completing the Square vs the Vertex Formula
Both routes produce the same vertex, so the choice is about what you need beyond the vertex itself. Completing the square hands you the full vertex form in one pass, which makes graphing and solving straightforward. The formula h = −b/2a gets you the coordinates faster but leaves you to reconstruct the form afterward.
| Dimension | Completing the square | Vertex formula (h, k) |
|---|---|---|
| Output | Full vertex form a(x − h)² + k | Coordinates only |
| Steps for a = 1 | 4 arithmetic lines | 2 substitutions |
| Steps for a ≠ 1 | 5 arithmetic lines | 2 substitutions, k needs a c − b²/4a pass |
| Sign failure rate | High at bracket-to-h step | High at negating b |
| Best for | Rewriting, graphing, deriving | Quick vertex on a test |
| Error caught by | Re-expansion check | Comparing k to c − b²/4a |
Neither route is faster in wall-clock terms once you include checking. If you need the vertex form on a test, completing the square is the required method anyway in most curricula; the formula is a verification tool.
Pick completing the square when the question says "write in vertex form" or asks for the maximum or minimum value, because k is the extremum. Pick the formula when the question only asks for the vertex coordinates and time is tight.
Handling a Quadratic Where a Is Not 1 — and the a = 0 Trap
The factoring step is not optional when a differs from 1, and treating it as optional is the most common structural mistake. With 3x² + 6x − 2, dividing everything by 3 without factoring it out produces a mess that doesn't re-expand to the original. Factoring is the only move that preserves value.
Three quick cases, all with a ≠ 1:
3x² + 6x − 2 → 3(x + 1)² − 5, vertex (−1, −5). −x² + 4x + 1 → −(x − 2)² + 5, vertex (2, 5), and because a is negative the parabola opens downward. 4x² − 8x + 1 → 4(x − 1)² − 3, vertex (1, −3).
The a = 0 trap is worth naming. If a is zero, the expression is linear, not quadratic, and completing the square is undefined — there's no square to complete. Some students misread a coefficient of zero after factoring and push forward anyway. Stop and check a before the first step.
Negative leading coefficients flip the opening direction, which changes what the vertex means. With a = −1, the vertex is the maximum, not the minimum. If you report a minimum for a downward parabola, the arithmetic may be flawless and the conclusion still wrong.
A useful warning for very large or fractional coefficients: rounding during the half-of-b step compounds. Keep fractions exact — (3/2)² = 9/4 rather than 2.25 — and only convert to decimals at the end.
What Vertex Form Reveals That Standard Form Hides
Vertex form makes three properties visible at a glance, and standard form hides all three behind the arithmetic. The vertex is (h, k) by direct reading. The axis of symmetry is x = h. The opening direction is the sign of a.
The maximum or minimum value is k, and it is attained at x = h. For 2(x − 3)² − 11, the minimum is −11 at x = 3. Because a is positive, no input produces a value below −11, which is a complete statement of the range: y ≥ −11. Standard form 2x² − 12x + 7 states none of that without computation.
Transformations become trivial too. The parent y = x² gets stretched by the factor a, shifted h units horizontally, and shifted k units vertically. For the worked example, y = x² stretches vertically by 2, moves right 3, and moves down 11. That sequence is a graphable instruction set, not an abstraction.
A note on the horizontal shift's direction: with (x − 3)² the graph moves right, not left, because the subtraction happens before squaring. A computed value of h = 3 with a bracket showing (x + 3) is a contradiction — one of them is wrong.
The range statement is the payoff. From y = 2(x − 3)² − 11, "y ≥ −11" is read off in one line. From 2x² − 12x + 7, deriving the same statement requires factoring, completing the square, and computing 7 − 18.
Two Checks That Catch Almost Every Mistake
The first check is re-expansion. Multiply out a(x − h)² + k and confirm you recover the original ax² + bx + c. For 2(x − 3)² − 11 that means 2(x² − 6x + 9) − 11 = 2x² − 12x + 18 − 11 = 2x² − 12x + 7, matching the start.
The second check is the k formula, k = c − b²/4a, which is derived directly from the completing-the-square step. For the same problem, 7 − 144/8 = −11. Two independent paths to the same number is strong evidence the answer is right.
What the checks catch, and what they miss: re-expansion catches sign errors and wrong constants almost always. The formula catches an algebra slip that still produces an expandable expression. Neither catches a misread of the original problem — if you transcribe b as 12 instead of −12, both checks will pass and both will be wrong. Copy the original carefully before anything else.
When the checks disagree, trust the re-expansion. It's the more direct test of equality, and the formula is a derived shortcut.
A third qualitative check costs nothing: if a is positive, k should be the minimum, and the parabola should sit entirely at or above it. Plotting the vertex and one nearby point is usually enough to see whether that holds.
How Many Students Get Every Step Right — and Where
In my teaching experience with roughly 600 students across algebra and precalculus sections, the sign flip from bracket to h was the most common failure, appearing in about half of all first-attempt errors. The a ≠ 1 factoring omission came second. These are impressions from classroom work, not published data, and I'd treat them as rough.
That 50% figure justifies front-loading the h computation. If a student computes h = 3 before writing any bracket, the sign-flip error becomes nearly impossible. The prediction does the work the check would otherwise have to do after the fact.
The factoring omission is subtler because the resulting expression still expands correctly. When a = 2 and a student forgets to factor, adding 9 inside a bracket multiplied by 2 effectively adds 18 to the balanced quantity, so the "subtract" step must account for 18 to stay equal. Most students subtract 9 and lose 9 units of accuracy.
Error-handling rule of thumb: if your k comes out 9 or 18 units off from the formula's value when a = 2, the fold-out step is where you went wrong. Divide both failing constants by a and see whether one matches.
Very large coefficients — say 25x² + 60x + 3 — raise the arithmetic cost without changing the structure. In that case the formula for k, 3 − 3,600/100 = −33, is usually faster and more reliable than the fold-out.
A Note on Curriculum Order and Calculator Limits
Ontario's Grade 10 academic mathematics expectations, published by the Ontario Ministry of Education, include converting between standard and vertex forms as part of the quadratics strand. Comparable wording shows up in most U.S. state standards and in the senior secondary mathematics curriculum published by Cambridge Assessment International Education. The procedure itself is stable across all three.
What varies is the order of introduction. Some courses start from factored form, some from standard form, and some teach completing the square before the quadratic formula entirely. If your course began with factoring, check whether your textbook treats vertex form as a transformation topic or a solving topic — the worked routines differ slightly in emphasis.
Graphing calculators handle the display but not the reasoning. On the TI-84 Plus, the built-in vertex command reads the answer from a graph rather than completing the square. In Canada, students writing the Ontario Secondary School Literacy Test don't face this procedure, but students in Grade 10 do, and provinces vary on when calculators are permitted. Confirm with your classroom teacher rather than assuming.
A version-specific warning: exact fractional coefficients like 1/3 behave cleanly on paper but can degrade on older calculators that display only eight decimal places. If a graded answer requires the exact form, keep the fraction throughout.
FAQ
Does my answer have to be in vertex form to be marked correct?
Not always — many curricula accept the vertex coordinates if the question only asks for them. But questions phrased "write in vertex form" or "find the maximum value" usually require the form. Confirm with the marking scheme for your course; the form is the deliverable when the question names it.
What if my k is exactly zero?
That means the vertex lies on the x-axis and the quadratic is a perfect square after factoring, as in 2(x − 3)². A zero k removes the vertical shift, so the range is y ≥ 0 when a is positive. Don't mistake the missing constant for a dropped step — check by re-expanding.
Why does the bracket show the opposite sign from h?
Because vertex form is written as (x − h)², so the number inside the bracket is the negative of h. If h = 3, the bracket reads (x − 3). If h = −4, it reads (x + 4). Copy the bracket's sign into h and the vertex turns out mirrored.
Can I use the vertex formula for k directly and skip the fold-out?
Yes, and it's often faster for messy coefficients. k = c − b²/4a comes straight out of completing the square, so it's the same quantity, not an approximation. Use it as the second check when you've already completed the square rather than as a substitute for the first.
What goes wrong with 25x² + 60x + 3?
The structure is identical to the a = 2 case, but the arithmetic is larger. Value comes out at 25(x + 1.2)² − 33, so the vertex is (−1.2, −33). The common slip is misplacing the decimal in b²/4a: 3,600/100 must be 36, not 3.6.
Is completing the square a wasteful detour compared to the quadratic formula?
Only when the goal is roots. For roots, the formula is faster. For vertex features — the maximum, the axis of symmetry, the range — completing the square is a single-pass route to all three. Choose by what the question actually asks.
Does a negative leading coefficient change the procedure?
No. The steps are identical; only the interpretation changes. With a negative a, the vertex is the maximum and the range is y ≤ k rather than y ≥ k. Students occasionally report a minimum and get full marks for arithmetic and none for conclusion.
This article is general educational information about a mathematical procedure, not a diagnosis, legal opinion, or financial recommendation. For help with a specific course or assessment, consult your classroom teacher or a qualified local tutor.