ACCUPLACER Advanced Algebra & Functions • Quadratics

Completing the Square — Complete the square to rewrite a quadratic (intro)

Transform any quadratic expression into vertex form to reveal its minimum, maximum, and geometric center.

Advanced algebra illustration with a function symbol, variable, and curved graph
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

The technique of completing the square is one of the oldest algebraic methods in recorded mathematics, predating symbolic notation by more than two millennia. Ancient Babylonian scribes, working on clay tablets around 1800 BCE, solved area-based problems that amounted to quadratic equations by literally constructing geometric squares from rectangular regions. Their approach was algorithmic and purely geometric — they would rearrange a rectangle into a near-square and then add a small compensating piece to 'complete' it. This geometric intuition remains the conceptual backbone of the technique you will use on the ACCUPLACER, even though today we express it entirely in algebraic symbols.

Greek mathematicians, most notably Euclid in Elements (c. 300 BCE), formalized these Babylonian recipes into geometric propositions. Centuries later, the Persian mathematician al-Khwārizmī published Al-Kitāb al-Mukhtaṣar fī Ḥisāb al-Jabr wal-Muqābala (c. 820 CE), the treatise from which the word algebra derives. Al-Khwārizmī systematically solved every type of quadratic equation by completing the square, demonstrating each solution with a labeled geometric diagram. The modern algebraic procedure taught today is a direct descendant of his work.

c. 1800 BCE • Babylonian Clay Tablets

Scribes solve quadratic-type area problems by rearranging rectangles into squares, the earliest known instance of completing the square in a geometric context.

c. 300 BCE • Euclid's Elements

Book II, Proposition 5 provides a rigorous geometric proof equivalent to the identity (a + b)² = a² + 2ab + b², grounding the technique in axiomatic geometry.

c. 820 CE • Al-Khwārizmī's Al-Jabr

The first systematic algebraic treatment classifies all quadratic equations into canonical types and solves each by completing the square, catalyzing the birth of algebra as a discipline.

1637 • Descartes' La Géométrie

René Descartes introduces coordinate geometry, linking the algebraic act of completing the square to the vertex of a parabola on the Cartesian plane.

On the ACCUPLACER Advanced Algebra & Functions section, you are frequently asked to rewrite a quadratic expression in vertex form, identify the coordinates of the vertex, or determine the axis of symmetry — all tasks that require completing the square. Mastering this technique therefore addresses a practical testing need while connecting you to one of the oldest continuous threads in the history of mathematics.

SECTION 2

Core Principles & Definitions

Before executing the algorithm, it is essential to understand the structural relationship between the two standard ways of writing a quadratic expression. The standard form of a quadratic is ax² + bx + c, where a, b, and c are real constants and a ≠ 0. The vertex form is a(x − h)² + k, where (h, k) is the vertex of the corresponding parabola. Completing the square is precisely the algebraic procedure that converts the first form into the second. Understanding why this conversion works — and what each parameter reveals — is the foundation of every problem you will encounter.

1

Standard Form

The expression ax² + bx + c displays the coefficients directly. It is convenient for evaluating the quadratic at specific x-values and for applying the quadratic formula, but the vertex is not immediately visible.
2

Vertex Form

The expression a(x − h)² + k reveals the vertex (h, k) and the axis of symmetry x = h at a glance. The sign of a still determines whether the parabola opens upward (a > 0) or downward (a < 0).
3

Perfect Square Trinomial

An expression of the form x² + 2dx + d² factors as (x + d)². Completing the square works by forcing the quadratic into this pattern — adding and subtracting d² so that the algebraic identity holds.
4

The Half-the-Coefficient Rule

For x² + bx, the value d = b/2 makes x² + bx + (b/2)² a perfect square. This single insight — halving the linear coefficient and squaring it — drives the entire procedure.
✦

KEY TAKEAWAY

Think of completing the square as repackaging an expression the way an engineer re-centers a coordinate system. Just as an engineer might shift the origin of a reference frame to the center of mass — making the physics simpler — completing the square shifts the algebraic 'center' of a quadratic to its vertex, making the geometry of the parabola immediately transparent. The information content is identical; only the presentation changes.

SECTION 3

Geometric Visualization

The algebraic manipulation becomes far more intuitive when viewed geometrically. Consider the expression x² + 6x. Geometrically, x² represents the area of a square with side length x, and 6x represents the area of a rectangle with dimensions x by 6. To 'complete' this into a perfect square, we split the rectangle into two strips of width 3 and attach one to the right side and one to the bottom of the original square, forming an L-shape. The missing corner — a 3 × 3 square with area 9 — is the piece we add to complete the larger square of side (x + 3). This is the geometric heart of the identity x² + 6x + 9 = (x + 3)².

Completing the Square: x² + 6x → (x + 3)² − 9x²xx3x33x39x + 3x + 3Result: (x + 3)²x²3x3x9Side = x + 3■ x² region (violet)■ Two 3x strips (cyan)■ Added 9 to complete (pink, dashed)
The left diagram shows x² (violet) with two strips of area 3x (cyan) attached. The dashed pink square of area 9 is the piece added to complete the (x + 3)² square shown on the right. Because we added 9, we must subtract 9 in the algebraic expression to maintain equality: x² + 6x = (x + 3)² − 9.

Notice the critical bookkeeping step: because we physically added a region of area 9 that was not in the original expression, we must subtract 9 to preserve algebraic equivalence. This add-and-subtract maneuver is the signature move of completing the square. Every instance of the technique, regardless of the coefficients involved, follows this identical logic: identify the missing corner piece, add it, factor the perfect square, and compensate by subtracting the same value.

SECTION 4

The Algebraic Procedure

We now formalize the geometric intuition into a step-by-step algebraic algorithm. The procedure differs slightly depending on whether the leading coefficient a equals 1 or not, so we treat the monic case (a = 1) first and then generalize.

Monic Case: a = 1

STARTING EXPRESSION

x2+bx+cx² + bx + c

Given a quadratic with leading coefficient 1 and real constants b and c.

HALF-COEFFICIENT IDENTITY

x2+bx=(x+b/2)2−(b/2)2x² + bx = (x + b/2)² − (b/2)²

Halve the linear coefficient b, square the result, add it inside, and subtract it outside. This is the core algebraic identity.

VERTEX FORM (MONIC)

x2+bx+c=(x+b/2)2+(c−b2/4)x² + bx + c = (x + b/2)² + (c − b²/4)

Here h = −b/2 and k = c − b²/4. The vertex of the parabola y = x² + bx + c is (−b/2, c − b²/4).

General Case: a ≠ 1

GENERAL VERTEX FORM

ax2+bx+c=a(x+b/(2a))2+(c−b2/(4a))ax² + bx + c = a(x + b/(2a))² + (c − b²/(4a))

Factor a from the first two terms, complete the square inside the parentheses, then distribute a back through. The vertex is (−b/(2a), c − b²/(4a)).

💡

ACCUPLACER TIP

On the ACCUPLACER, most completing-the-square questions use integer coefficients. After halving the linear coefficient, if you get a fraction, keep it as a fraction — do not convert to a decimal. The answer choices will almost certainly be expressed with fractional constants, and matching your form to theirs saves time and prevents rounding errors.

A useful mnemonic: H-S-A-S — Halve, Square, Add, Subtract. Halve the coefficient of x, square the result, add it to form the perfect square trinomial, and subtract the same quantity to maintain equality. When a ≠ 1, insert a preliminary step: factor a from the x² and x terms before applying H-S-A-S to the expression inside the parentheses.

SECTION 5

Detailed Step-by-Step Breakdown

To solidify the algorithm, let us trace through the general procedure with explicit decision points. The following diagram maps out the process as a flowchart, emphasizing the branching logic for the leading coefficient.

Completing the Square — Decision FlowchartStart: ax² + bx + cIs a = 1?NoYesFactor a from x² + bxa(x² + (b/a)x) + cIdentify bx² + bx + cHalve: d = b/(2a)Square: d²Halve: d = b/2Square: d²Add & Subtract d²inside the parenthesesAdd & Subtract d²in the expressionResult: a(x − h)² + k
The flowchart shows the branching logic: if the leading coefficient a equals 1, proceed directly to the half-square-add-subtract steps. If a ≠ 1, first factor a from the quadratic and linear terms before completing the square inside the parentheses. Both paths converge on the vertex form a(x − h)² + k.
StepAction (monic, a = 1)Action (general, a ≠ 1)
1Write x² + bx + c.Factor a: a(x² + (b/a)x) + c.
2Compute d = b/2.Compute d = b/(2a).
3Add and subtract d² = (b/2)².Add and subtract (b/(2a))² inside parentheses.
4Factor: (x + d)² − d² + c.Factor: a(x + d)² − a·d² + c.
5Simplify constants to get vertex form.Simplify constants to get a(x − h)² + k.

Side-by-side comparison of the completing-the-square steps for monic and general quadratics.

SECTION 6

Worked Example

Let us work through a representative ACCUPLACER-style problem in full detail.

Example 1: Monic Quadratic

Problem: Rewrite x² + 10x + 18 in vertex form and identify the vertex.

Completing the Square: x² + 10x + 18

  1. 1

    Step 1 — Isolate the quadratic and linear terms

    Group the x² and x terms together, keeping the constant separate for now: (x² + 10x) + 18. Since the leading coefficient is 1, no factoring is needed.
  2. 2

    Step 2 — Halve the linear coefficient

    The coefficient of x is 10. Half of 10 is 5.
    d = 10/2 = 5
  3. 3

    Step 3 — Square the result

    Square d: 5² = 25. This is the value we will add and subtract.
    d² = 25
  4. 4

    Step 4 — Add and subtract d² inside the expression

    Insert +25 and −25 into the grouped portion: (x² + 10x + 25 − 25) + 18. The net effect is zero — we have not changed the expression's value.
    (x² + 10x + 25) − 25 + 18
  5. 5

    Step 5 — Factor the perfect square trinomial

    The trinomial x² + 10x + 25 is (x + 5)². Combine the remaining constants: −25 + 18 = −7.
    (x + 5)² − 7
  6. 6

    Step 6 — Identify the vertex

    Comparing (x + 5)² − 7 with the template (x − h)² + k, we note that x + 5 = x − (−5), so h = −5 and k = −7.
    Vertex: (−5, −7)

Example 2: Non-Monic Quadratic

Problem: Rewrite 2x² − 12x + 23 in vertex form.

Completing the Square: 2x² − 12x + 23

  1. 1

    Step 1 — Factor the leading coefficient from the x-terms

    Factor 2 from the first two terms: 2(x² − 6x) + 23. Note that c = 23 remains outside.
    2(x² − 6x) + 23
  2. 2

    Step 2 — Halve the coefficient inside the parentheses

    Inside the parentheses, the coefficient of x is −6. Half of −6 is −3.
    d = −3
  3. 3

    Step 3 — Square the result

    (−3)² = 9.
    d² = 9
  4. 4

    Step 4 — Add and subtract d² inside the parentheses

    2(x² − 6x + 9 − 9) + 23. The +9 completes the square; the −9 compensates.
  5. 5

    Step 5 — Factor and distribute

    Factor the perfect square: 2[(x − 3)² − 9] + 23. Distribute the 2: 2(x − 3)² − 18 + 23. Combine constants: −18 + 23 = 5.
    2(x − 3)² + 5
  6. 6

    Step 6 — Identify the vertex

    Here h = 3 and k = 5, so the vertex is (3, 5). Since a = 2 > 0, the parabola opens upward and (3, 5) is the minimum.
    Vertex: (3, 5)

SECTION 7

Strengths, Limitations & Method Comparison

Completing the square is not the only method for analyzing quadratics. On the ACCUPLACER, you should be prepared to choose the most efficient method for each question. The table below compares three approaches: completing the square, factoring, and the quadratic formula.

CriterionCompleting the SquareFactoringQuadratic Formula
Reveals vertex?Yes — directly produces (h, k).Not directly; requires further work.Gives x-intercepts; vertex requires averaging.
Finds roots?Yes — set vertex form = 0 and solve.Yes — when factors are integers.Yes — always, including complex roots.
Always works?Yes — applies to every quadratic.No — only if factors are rational.Yes — universal.
SpeedModerate — several algebra steps.Fast when applicable.Moderate — requires discriminant computation.
Best forVertex/axis of symmetry questions, deriving the quadratic formula itself.Questions asking for roots when coefficients are small integers.Root-finding when factoring is impractical.

Comparison of three primary methods for solving or analyzing quadratic expressions.

⚡

STRATEGIC INSIGHT

The quadratic formula is itself derived by completing the square on the general expression ax² + bx + c = 0. In this sense, completing the square is not merely one tool among equals — it is the foundational technique from which the formula springs. On a test, if a question asks you to rewrite in vertex form, completing the square is the only direct route.

SECTION 8

Connection to Advanced Topics

Completing the square is far more than a test-prep technique — it is a gateway to several important areas of higher mathematics. In calculus, rewriting quadratic expressions in vertex form allows you to evaluate integrals involving expressions like 1/(x² + bx + c) by converting them into forms amenable to inverse trigonometric substitution. In linear algebra, the analogous technique on multivariable quadratic forms leads to diagonalization of symmetric matrices. Even in differential equations, the characteristic equation of a second-order linear ODE is solved by completing the square when the discriminant is negative.

Introductory ConceptAdvanced Extension
Completing the square on ax² + bx + cDeriving the quadratic formula: x = (−b ± √(b² − 4ac)) / (2a)
Converting to vertex form a(x − h)² + kGraphing transformations: horizontal shift h, vertical shift k, vertical stretch a
Identifying the vertex (h, k)Optimization: finding min/max values in applied problems (e.g., projectile motion, revenue)
Add-and-subtract d² to maintain equalityIntegral techniques: completing the square inside ∫ dx/(x² + bx + c)

How completing the square connects to more advanced mathematical topics.

For the ACCUPLACER specifically, the most immediate connection is to graphing transformations. Once a quadratic is in vertex form a(x − h)² + k, you can read off the transformations applied to the parent function y = x²: a horizontal shift of h units, a vertical shift of k units, and a vertical stretch or compression by the factor |a|, with a reflection across the x-axis when a < 0. Many ACCUPLACER questions test exactly this chain of reasoning.

SECTION 9

Practice Problems

Work through the following five problems, which escalate in difficulty from conceptual understanding to critical analysis. Full solutions follow each question.

Question 1: CONCEPTUAL

Explain in your own words why completing the square requires both adding and subtracting the same quantity (b/2)². What algebraic principle does this preserve?
Show answer
Adding and subtracting the same value is equivalent to adding zero, which preserves the equality of the expression. Algebraically, (b/2)² − (b/2)² = 0, so the expression's value at every point remains unchanged. The purpose is strategic: the added (b/2)² turns the quadratic and linear terms into a perfect square trinomial, which can be factored. The subtracted (b/2)² compensates so the overall expression is still equivalent to the original. This is an application of the additive identity property (a + 0 = a).

Question 2: BASIC CALCULATION

Rewrite x² − 8x + 12 in vertex form (x − h)² + k. State the vertex.
Show answer
The linear coefficient is −8; half of −8 is −4, and (−4)² = 16. Add and subtract 16: x² − 8x + 16 − 16 + 12 = (x − 4)² − 4. The vertex form is (x − 4)² − 4, and the vertex is (4, −4). Since a = 1 > 0, the parabola opens upward, making (4, −4) the minimum point.

Question 3: INTERMEDIATE

Complete the square for 3x² + 18x + 10. Express your answer in the form a(x − h)² + k and identify the axis of symmetry.
Show answer
Factor 3 from the x-terms: 3(x² + 6x) + 10. Inside the parentheses, half of 6 is 3, and 3² = 9. Add and subtract 9 inside: 3(x² + 6x + 9 − 9) + 10 = 3[(x + 3)² − 9] + 10. Distribute the 3: 3(x + 3)² − 27 + 10 = 3(x + 3)² − 17. Since x + 3 = x − (−3), we have h = −3 and k = −17. The axis of symmetry is x = −3. The vertex (−3, −17) is a minimum because a = 3 > 0.

Question 4: APPLIED

A ball is thrown upward from a platform, and its height in feet after t seconds is given by h(t) = −16t² + 64t + 20. Use completing the square to find the maximum height the ball reaches and the time at which it occurs.
Show answer
Factor −16 from the t-terms: −16(t² − 4t) + 20. Half of −4 is −2, and (−2)² = 4. Add and subtract 4 inside: −16(t² − 4t + 4 − 4) + 20 = −16[(t − 2)² − 4] + 20. Distribute: −16(t − 2)² + 64 + 20 = −16(t − 2)² + 84. The vertex is (2, 84). Since a = −16 < 0, the parabola opens downward, so the vertex is a maximum. The ball reaches its maximum height of 84 feet at t = 2 seconds.

Question 5: CRITICAL THINKING

Use completing the square to derive the quadratic formula for the general equation ax² + bx + c = 0 (a ≠ 0). Show every step and explain why the condition b² − 4ac ≥ 0 is necessary for real solutions.
Show answer
Start with ax² + bx + c = 0. Divide by a: x² + (b/a)x + c/a = 0. Move the constant: x² + (b/a)x = −c/a. Half the linear coefficient: b/(2a); square it: b²/(4a²). Add to both sides: x² + (b/a)x + b²/(4a²) = −c/a + b²/(4a²). The left side factors as (x + b/(2a))². The right side simplifies to (b² − 4ac)/(4a²). Taking the square root: x + b/(2a) = ±√(b² − 4ac)/(2a). Solving for x yields x = (−b ± √(b² − 4ac))/(2a). The expression under the radical, b² − 4ac (the discriminant), must be non-negative for the square root to produce real numbers. When b² − 4ac < 0, the solutions are complex-valued and do not correspond to x-intercepts on the real Cartesian plane.

SUMMARY

Lesson Summary

Summary

Completing the square transforms a quadratic expression from standard form (ax² + bx + c) into vertex form (a(x − h)² + k) by exploiting the perfect square trinomial identity. The procedure follows the H-S-A-S pattern: Halve the linear coefficient, Square the result, Add it to form the perfect square, and Subtract the same value to preserve equivalence. When the leading coefficient a ≠ 1, first factor a from the quadratic and linear terms before applying these steps inside the parentheses.

The resulting vertex form immediately reveals the vertex (h, k), the axis of symmetry x = h, and whether the parabola opens upward (a > 0) or downward (a < 0), determining whether the vertex is a minimum or maximum. This technique is foundational: it underpins the derivation of the quadratic formula, connects directly to graphing transformations of the parent function y = x², and appears throughout calculus and applied optimization. For the ACCUPLACER, fluency with completing the square will allow you to convert forms, identify vertices, and determine extrema quickly and accurately.

Varsity Tutors • ACCUPLACER Advanced Algebra & Functions • Completing the Square — Complete the square to rewrite a quadratic (intro)