MATH 2 • ALGEBRA & FUNCTIONS

Completing the Square for Vertex Form — I can rewrite a quadratic in vertex form by completing the square and interpret the vertex in context.

Transform any quadratic into vertex form to instantly reveal the parabola's highest or lowest point.

Historical Context & Motivation

Long before graphing calculators or coordinate planes existed, ancient mathematicians were solving problems that we would today call quadratic equations. The technique of completing the square is one of the oldest algebraic methods in human history, dating back thousands of years to Babylonian clay tablets. These early scholars didn't write equations with variables and equal signs — they described problems in words and solved them with geometric reasoning, literally rearranging squares and rectangles to find unknown lengths.

Over the centuries, mathematicians across cultures refined this geometric idea into the algebraic procedure you'll learn in this lesson. The core motivation has always been the same: standard form (y = ax² + bx + c) hides the most useful information about a parabola — its vertex, or turning point. Completing the square unlocks that hidden information by rewriting the equation in vertex form, making it easy to read off the vertex coordinates directly.

~1800 BCE
Babylonian Geometric Algebra
Babylonian scribes solved quadratic problems on clay tablets by cutting and rearranging areas of squares and rectangles — the geometric ancestor of completing the square.
~825 CE
Al-Khwarizmi's Algebra
The Persian mathematician al-Khwarizmi published a treatise formalizing completing the square as a systematic method for solving quadratic equations, giving us the word "algebra" (from al-jabr).
1637
Descartes & Coordinate Geometry
René Descartes introduced the coordinate plane, connecting algebra to geometry and making it possible to graph equations like parabolas and identify their vertices visually.
Modern Era
Vertex Form in Applications
Today, vertex form is used in physics (projectile motion), engineering (parabolic reflectors), business (profit optimization), and data science — anywhere maximum or minimum values matter.

The central question this lesson addresses is: Given a quadratic in standard form, how do we algebraically transform it to reveal the vertex — and what does the vertex tell us in real-world contexts?

Core Principles & Definitions

Before diving into the procedure, you need to understand a few foundational ideas. Every quadratic function graphs as a parabola — a smooth U-shaped curve that either opens upward or downward. The lowest point on an upward-opening parabola (or the highest point on a downward-opening one) is called the vertex. The vertex represents the minimum or maximum value of the function, and the vertical line passing through the vertex is the axis of symmetry.

1

Standard Form

y = ax² + bx + c. This form makes it easy to identify the y-intercept (the value c) and the direction of opening (sign of a), but the vertex is hidden inside the expression.
2

Vertex Form

y = a(x − h)² + k. This form directly reveals the vertex at the point (h, k). The value of a still controls direction and width of the parabola.
3

Completing the Square

An algebraic technique that rewrites ax² + bx + c by creating a perfect square trinomial inside the expression. This converts standard form into vertex form.
4

Perfect Square Trinomial

An expression of the form x² + 2dx + d² that factors neatly as (x + d)². Completing the square manufactures this pattern inside the quadratic.
5

Interpreting the Vertex

In context problems, the vertex (h, k) tells you when a maximum or minimum occurs (h) and what that extreme value is (k) — such as maximum height or minimum cost.
KEY TAKEAWAY
Think of completing the square like repackaging a product. The quadratic in standard form is like a box of puzzle pieces — all the information is there, but you can't see the picture. Vertex form is the completed puzzle on display: the vertex (h, k) is right on the front of the box, telling you exactly where the parabola's turning point is.

Visual Explanation — The Parabola and Its Vertex

The diagram below shows the same quadratic function in both standard form and vertex form. Notice how the vertex form directly tells you the coordinates of the lowest point on the parabola, while standard form only reveals the y-intercept. The axis of symmetry passes vertically through the vertex, dividing the parabola into two mirror-image halves.

The parabola y = x² − 6x + 11 rewritten as y = (x − 3)² + 2. The pink dot marks the vertex at (3, 2), and the gold dashed line shows the axis of symmetry at x = 3. The cyan dot marks the y-intercept at (0, 11).

In the diagram, notice how the vertex (3, 2) sits at the bottom of the parabola — this is the minimum value of the function. The y-intercept at (0, 11) is visible in standard form as the constant c = 11, but the vertex coordinates are not obvious from y = x² − 6x + 11 at all. By converting to vertex form y = (x − 3)² + 2, both the horizontal shift (h = 3) and the vertical position (k = 2) of the vertex become immediately readable.

The Mathematical Framework

Now let's formalize the two forms of a quadratic and the algebraic steps that connect them. The goal is always to manufacture a perfect square trinomial inside the expression so that it can be factored into a squared binomial.

STANDARD FORM
y = ax² + bx + c
a = leading coefficient (controls direction and width), b = linear coefficient, c = constant term (y-intercept).
VERTEX FORM
y = a(x − h)² + k
The vertex is at the point (h, k). If a > 0, the parabola opens upward and (h, k) is a minimum. If a < 0, it opens downward and (h, k) is a maximum.
PERFECT SQUARE PATTERN
x² + 2dx + d² = (x + d)²
The key insight: to create this pattern, take half of the coefficient of x, then square it. That gives you d². Add and subtract d² so the expression's value doesn't change.

Step-by-Step Procedure (when a = 1)

  1. Step 1: Start with y = x² + bx + c. Group the x-terms together.
  2. Step 2: Take half of b and square it: d = b/2, then d² = (b/2)².
  3. Step 3: Add and subtract d² inside the expression: y = (x² + bx + d²) − d² + c.
  4. Step 4: Factor the perfect square trinomial: y = (x + d)² + (c − d²).
  5. Step 5: Identify h and k. Remember: vertex form uses (x − h), so if you have (x + d)², then h = −d.

When a ≠ 1: Factor First

If the leading coefficient a is not 1, you must factor it out of the x² and x terms before completing the square. Write y = a(x² + (b/a)x) + c, then complete the square inside the parentheses. Be careful: when you add d² inside parentheses that are multiplied by a, you are really adding a × d² to the expression, so you must subtract a × d² outside to compensate.

GENERAL CASE (a ≠ 1)
y = a(x² + (b/a)x + (b/2a)²) − a(b/2a)² + c = a(x + b/2a)² + c − b²/4a
This simplifies to vertex form with h = −b/(2a) and k = c − b²/(4a). You don't need to memorize this — just follow the steps.

Detailed Breakdown — The Completing-the-Square Process

The flowchart below traces the entire decision process for converting a quadratic from standard form to vertex form. Follow it from top to bottom, checking whether a = 1 first. The diagram also shows how to read and interpret the vertex once you've found it.

Follow the flowchart from the top. The left branch handles the simpler case when a = 1, while the right branch shows the extra factoring step needed when a ≠ 1. Both paths converge at the factoring step and lead to vertex form.
⚠️ Common Mistake Alert
When a ≠ 1 and you add d² inside parentheses multiplied by a, you're really adding a × d² to the whole expression. You must subtract a × d² outside the parentheses to keep the equation balanced. Forgetting this multiplier is the #1 error students make.

Worked Example

Let's work through two complete examples: one with a = 1 and one with a ≠ 1, including interpreting the vertex in a real-world context.

Example 1: Convert y = x² + 8x + 13 to vertex form
1
Step 1 — Identify a, b, cHere a = 1, b = 8, and c = 13. Since a = 1, we can complete the square directly without factoring first.
2
Step 2 — Find (b/2)²Take half of b: 8 ÷ 2 = 4. Square it: 4² = 16. This is the value we need to create the perfect square trinomial.
(b/2)² = 16
3
Step 3 — Add and subtract 16Rewrite the expression by adding and subtracting 16: y = (x² + 8x + 16) − 16 + 13. Adding and subtracting the same number doesn't change the value — we're adding zero in a clever way.
4
Step 4 — Factor the perfect square trinomialThe expression x² + 8x + 16 factors as (x + 4)². Combine the constants: −16 + 13 = −3. So y = (x + 4)² − 3.
y = (x + 4)² − 3
5
Step 5 — Identify the vertexCompare with y = a(x − h)² + k. We have (x + 4)² = (x − (−4))², so h = −4 and k = −3. The vertex is (−4, −3). Since a = 1 > 0, this is a minimum point.
Vertex: (−4, −3) — minimum
Example 2: A ball is thrown upward. Its height in feet after t seconds is h(t) = −2t² + 12t + 5. Find the maximum height.
1
Step 1 — Identify a, b, cHere a = −2, b = 12, and c = 5. Since a = −2 ≠ 1, we must factor out −2 from the t² and t terms before completing the square.
2
Step 2 — Factor out a from the first two termsh(t) = −2(t² − 6t) + 5. Notice that 12 ÷ (−2) = −6, so inside the parentheses we have t² − 6t.
h(t) = −2(t² − 6t) + 5
3
Step 3 — Find (b/(2a))² inside the parenthesesInside the parentheses, the coefficient of t is −6. Half of −6 is −3. Square it: (−3)² = 9.
d² = 9
4
Step 4 — Add and subtract 9 inside the parenthesesh(t) = −2(t² − 6t + 9 − 9) + 5. Now move the −9 outside the parentheses. But since the parentheses are multiplied by −2, moving −9 out means we add −2 × (−9) = +18 outside: h(t) = −2(t² − 6t + 9) + 18 + 5.
5
Step 5 — Factor and simplifyFactor the trinomial: t² − 6t + 9 = (t − 3)². Combine constants: 18 + 5 = 23. So h(t) = −2(t − 3)² + 23.
h(t) = −2(t − 3)² + 23
6
Step 6 — Interpret the vertex in contextThe vertex is (3, 23). Since a = −2 < 0, the parabola opens downward, so this vertex is a maximum. In context: the ball reaches its maximum height of 23 feet at t = 3 seconds after being thrown.
Maximum height = 23 ft at t = 3 sec

Comparing Quadratic Forms

Quadratic functions can be written in three different forms, each revealing different information. Understanding the strengths and limitations of each form helps you choose the right one for a given problem. The table below compares all three forms side by side.

Comparison of the three quadratic forms
FeatureStandard FormVertex FormFactored Form
General equationy = ax² + bx + cy = a(x − h)² + ky = a(x − r₁)(x − r₂)
Vertex visible?No — requires calculationYes — read (h, k) directlyNo — average the roots
y-intercept visible?Yes — it's cNo — must expandNo — must expand
x-intercepts visible?No — must factor or use formulaNo — must solveYes — they're r₁ and r₂
Best for...Evaluating y, finding y-interceptFinding max/min, graphingFinding zeros/roots
How to convertExpand vertex or factored formComplete the squareFactor or use quadratic formula
KEY TAKEAWAY
Each quadratic form is like a different lens on the same photograph. Standard form shows you the y-intercept clearly, factored form reveals the x-intercepts, and vertex form spotlights the turning point. Completing the square is simply the process of switching from the "y-intercept lens" to the "vertex lens." No information is gained or lost — it's the same function, just displayed differently.

Connection to Advanced Topics

Completing the square isn't just a standalone technique — it's a foundational tool that reappears throughout mathematics. Understanding how this method connects to more advanced ideas gives you a preview of where your math journey is heading and shows why mastering this skill now pays off later.

How completing the square connects to future math courses
This Lesson (Math 2)Where It Leads
Completing the square to find the vertexDeriving the quadratic formula — which is found by completing the square on the general form ax² + bx + c = 0
Identifying max/min of a quadraticOptimization in calculus — finding extrema of any function using derivatives
Transforming equations to reveal structureRewriting equations of circles and ellipses — completing the square in both x and y to find center and radius
Interpreting (h, k) as shifts from the parent function y = x²Function transformations — applying horizontal/vertical shifts, stretches, and reflections to any parent function

One of the most powerful applications is deriving the quadratic formula itself. If you complete the square on the general equation ax² + bx + c = 0 — treating a, b, and c as letters rather than numbers — you arrive at x = (−b ± √(b² − 4ac)) / (2a). In other words, every time you use the quadratic formula, you are implicitly completing the square. Mastering the technique now means you truly understand the formula rather than just memorizing it.

🔭 Looking Ahead
In Precalculus and Calculus, you'll complete the square to rewrite equations of circles (x² + y² + Dx + Ey + F = 0 → (x − h)² + (y − k)² = r²) and to integrate rational functions. The algebraic muscle you're building now will serve you for years.

Practice Problems

PROBLEM 1CONCEPTUAL
A quadratic function is written as y = 3(x − 5)² + 7. Without expanding, identify the vertex, state whether it is a maximum or minimum, and explain your reasoning.
PROBLEM 2BASIC CALCULATION
Convert y = x² − 10x + 21 to vertex form by completing the square.
PROBLEM 3INTERMEDIATE
Convert y = 2x² + 12x + 22 to vertex form by completing the square.
PROBLEM 4APPLIED
A company's daily profit in dollars is modeled by P(x) = −5x² + 200x − 1500, where x is the price in dollars of their product. Use completing the square to find the price that maximizes profit and the maximum daily profit.
PROBLEM 5CRITICAL THINKING
A student completes the square on y = −3x² − 18x + 2 and gets y = −3(x + 3)² + 29. (a) Verify whether this answer is correct by expanding. (b) If incorrect, find and explain the error, then provide the correct vertex form. (c) What is the vertex and what does the sign of a tell you?

Lesson Summary

Completing the square transforms a quadratic from standard form (y = ax² + bx + c) into vertex form (y = a(x − h)² + k) by creating a perfect square trinomial. The process involves taking half the coefficient of x, squaring it, and adding and subtracting that value. When a ≠ 1, factor out a from the x-terms first and remember to account for the multiplier when moving terms outside the parentheses.

The vertex (h, k) is the turning point of the parabola — a minimum when a > 0 and a maximum when a < 0. In real-world problems, h tells you when the extreme value occurs and k tells you what that extreme value is. This technique connects directly to the derivation of the quadratic formula, equations of circles and conics, and optimization problems you'll encounter in future courses.

Varsity Tutors • Math 2 • Completing the Square for Vertex Form