๐Ÿ“˜Intermediate Algebra

Completing the Square Method

Study smarter with Fiveable

Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.

Get Started

Why This Matters

Completing the square isn't just another way to solve quadratic equations. It's the foundation for understanding why the quadratic formula works, how parabolas shift on a coordinate plane, and what vertex form actually reveals about a function. When you're tested on transforming quadratics, deriving the quadratic formula, or analyzing the vertex of a parabola, completing the square is the underlying skill that makes it all click.

This method transforms any quadratic from standard form into a perfect square structure, giving you direct access to solutions and graph behavior. You're being tested on your ability to manipulate algebraic expressions, maintain equation balance, and connect algebraic steps to geometric meaning. Don't just memorize the procedure; understand what each step accomplishes and why the algebra works.


Setting Up the Equation

Before you can complete the square, you need the equation in the right form. These initial steps ensure you're working with a structure that can become a perfect square trinomial.

Identify Standard Form

  • Standard form is ax2+bx+c=0ax^2 + bx + c = 0. Confirm your equation matches this structure before proceeding.
  • The coefficient aa cannot equal zero. If it does, you have a linear equation, not a quadratic.
  • Label your coefficients clearly (aa, bb, and cc) since you'll reference them throughout the process.

Isolate the Variable Terms

  • Move the constant cc to the right side. This creates space on the left for your perfect square.
  • Change the sign when moving terms across the equals sign to maintain balance.
  • Your equation should now read ax2+bx=โˆ’cax^2 + bx = -c, with all variable terms on the left.

Normalize the Leading Coefficient

  • Divide the entire equation by aa if it's not equal to 1. Completing the square requires a leading coefficient of 1 on the x2x^2 term.
  • Adjust the right side accordingly. After dividing, the equation becomes x2+bax=โˆ’cax^2 + \frac{b}{a}x = \frac{-c}{a}.
  • An alternative is to factor out aa from the left side rather than dividing. Both approaches normalize the leading coefficient.

Compare: Factoring out aa vs. dividing by aa: both normalize the leading coefficient, but factoring keeps you working with integers longer while dividing may introduce fractions earlier. Choose based on the numbers you're given.


Creating the Perfect Square

This is the heart of the method. You're engineering a perfect square trinomial by strategically adding the same value to both sides. The key idea: a perfect square trinomial always equals the square of a binomial.

Calculate the Completing Term

Here's why this works. Any perfect square binomial expands as (x+d)2=x2+2dx+d2(x + d)^2 = x^2 + 2dx + d^2. So if your xx-coefficient is some value (call it BB), then 2d=B2d = B, which means d=B2d = \frac{B}{2}. The missing piece that "completes" the trinomial is d2=(B2)2d^2 = \left(\frac{B}{2}\right)^2.

  1. Take the coefficient on xx (after normalizing).
  2. Divide it by 2.
  3. Square the result.
  4. Add that value to both sides of the equation to maintain balance.

For example, if your equation is x2+6x=5x^2 + 6x = 5, the xx-coefficient is 6. Half of 6 is 3, and 32=93^2 = 9. Add 9 to both sides: x2+6x+9=14x^2 + 6x + 9 = 14.

Factor the Left Side

  • Rewrite the trinomial as (x+B2)2\left(x + \frac{B}{2}\right)^2. This is the payoff of completing the square.
  • The sign inside the binomial matches the sign of the xx-coefficient. If that coefficient was negative, you'll have (xโˆ’d)2(x - d)^2.
  • Verify by expanding your binomial to confirm it produces the original trinomial. This quick check catches most errors.

Continuing the example: x2+6x+9=(x+3)2x^2 + 6x + 9 = (x + 3)^2. Expand to check: (x+3)(x+3)=x2+6x+9(x+3)(x+3) = x^2 + 6x + 9. It matches.

Compare: Not every trinomial factors neatly into integer pairs, but any quadratic can be completed into a perfect square. This is why completing the square is more universally applicable than simple factoring.


Solving for the Variable

With your equation now in the form (x+d)2=k\left(x + d\right)^2 = k, you can extract the solutions using inverse operations.

Apply the Square Root Property

  1. Take the square root of both sides, which undoes the squaring operation.
  2. Include ยฑ\pm on the right side. Every positive number has two square roots, and both are valid solutions.
  3. Your equation becomes x+d=ยฑkx + d = \pm\sqrt{k}.

Isolate xx

  1. Subtract dd from both sides to get xx alone.
  2. Write both solutions explicitly: x=โˆ’d+kx = -d + \sqrt{k} and x=โˆ’dโˆ’kx = -d - \sqrt{k}.
  3. Simplify radicals when possible. Look for perfect square factors under the radical. For instance, 12=4โ‹…3=23\sqrt{12} = \sqrt{4 \cdot 3} = 2\sqrt{3}.

Finishing the example: (x+3)2=14(x+3)^2 = 14 gives x+3=ยฑ14x + 3 = \pm\sqrt{14}, so x=โˆ’3+14x = -3 + \sqrt{14} or x=โˆ’3โˆ’14x = -3 - \sqrt{14}.

Compare: The quadratic formula is actually derived from completing the square on the general equation ax2+bx+c=0ax^2 + bx + c = 0. Understanding this connection helps you remember the formula and know when each method is more efficient.


Verification and Interpretation

Solving isn't complete until you've confirmed your answers and understood what they mean.

Check Your Solutions

  • Substitute each solution back into the original equation. Both sides should equal the same value.
  • Common errors include sign mistakes and arithmetic errors when calculating the completing term.
  • If solutions don't check, trace back to the step where you calculated (B2)2\left(\frac{B}{2}\right)^2. This is where most mistakes happen.

Connect to Graphical Meaning

  • The solutions are the xx-intercepts of the parabola y=ax2+bx+cy = ax^2 + bx + c.
  • Vertex form y=a(xโˆ’h)2+ky = a(x - h)^2 + k comes directly from completing the square. The vertex is (h,k)(h, k), and you can read it straight off the equation.
  • If kk turns out negative (meaning the right side is negative after completing the square), there are no real solutions. The parabola doesn't cross the xx-axis.

Compare: When k<0k < 0 after completing the square, you'd need the square root of a negative number. This signals the parabola sits entirely above or below the xx-axis, depending on the sign of aa. If a>0a > 0, the parabola opens upward and sits above the axis. If a<0a < 0, it opens downward and sits below.


Quick Reference Table

ConceptKey Steps or Ideas
Standard Form SetupIdentify aa, bb, cc; move constant to right side
NormalizingDivide by aa (or factor out aa) when aโ‰ 1a \neq 1
Completing TermCalculate (B2)2\left(\frac{B}{2}\right)^2; add to both sides
Perfect Square StructureLeft side becomes (x+d)2(x + d)^2 where d=B2d = \frac{B}{2}
Square Root PropertyTake ยฑbothย sides\pm\sqrt{\text{both sides}}; remember both roots
Solution IsolationSolve for xx; write both explicit solutions
VerificationSubstitute solutions into original equation
Graphical ConnectionSolutions = xx-intercepts; completed form = vertex form

Self-Check Questions

  1. Why must you add the completing term to both sides of the equation, and what would happen if you only added it to the left?

  2. Given 2x2+8xโˆ’10=02x^2 + 8x - 10 = 0, what value do you add to both sides after normalizing the leading coefficient, and why?

  3. Compare solving x2+6x+5=0x^2 + 6x + 5 = 0 by factoring versus completing the square. Which is more efficient here, and when would completing the square be the better choice?

  4. If completing the square on x2โˆ’4x+7=0x^2 - 4x + 7 = 0 results in (xโˆ’2)2=โˆ’3(x - 2)^2 = -3, what does this tell you about the graph of y=x2โˆ’4x+7y = x^2 - 4x + 7?

  5. How does the completed square form of a quadratic relate to vertex form, and what information can you read directly from it without further calculation?