How to Solve a Quadratic Equation by Completing the Square?

How to Solve a Quadratic Equation by Completing the Square?
Algebra 1

Solving a Quadratic Equation by Completing the Square

Completing the square rewrites \(x^2 + bx + c\) as a perfect square plus a constant, \((x + \tfrac{b}{2})^2 + k\). It reveals the vertex instantly and lets you solve any quadratic with a square root. We’ll build the method carefully, with a solver and a worksheet maker a tap away.

Tutor-style math help

Solve a Quadratic Equation by Completing the Square: what to notice and how to work it

Quadratics skill
Quadratic topics connect an equation, a parabola, roots, and a turning point. Read the form first because each form reveals a different feature.

What to notice first

Completing the square turns a quadratic into a perfect-square trinomial so the vertex or solutions become visible.

Common student mistake

Do not assume every quadratic has two real x-intercepts. The discriminant tells whether the real graph crosses the x-axis twice, once, or not at all.

Key formulas and cues

\(x^2+bx+\left(\frac b2\right)^2=\left(x+\frac b2\right)^2\)
\(y=a(x-h)^2+k\)
vertex axis

A reliable path

  1. Read the formFactored, standard, and vertex forms reveal different features.
  2. Choose the methodFactor when friendly, complete the square for structure, or use the formula when needed.
  3. Connect to the graphRoots are x-intercepts and the vertex is the minimum or maximum point.

Worked examples

Factor and solve

Example: \(x^2-7x+12=0\)
  1. Factor into (x – 3)(x – 4).
  2. Set each factor equal to zero.
  3. Solve both small equations.
Answer: \(x=3\) or \(x=4\)

Find the axis

Example: \(y=2x^2-8x+5\)
  1. Use x = -b/(2a).
  2. Here a = 2 and b = -8.
  3. Compute 8/4.
Answer: \(x=2\)
Try one before moving on
Try: Find the axis of symmetry of \(y=x^2-6x+2\).
Answer: \(x=3\).
Next step: do the matching worksheet or quiz while the method is still fresh, then come back and explain the first step in your own words.
Illustration of students learning Solving a Quadratic Equation by Completing the Square

Completing the square is the technique that turns a messy quadratic into a tidy perfect square — \((x + \tfrac{b}{2})^2\) plus a leftover constant. It’s worth learning for two reasons: it solves any quadratic with a square root, and it hands you the vertex for free. It’s also where the quadratic formula comes from.

In short: rewrite \(x^2 + bx + c\) as \((x + \tfrac{b}{2})^2 + (c – (\tfrac{b}{2})^2)\), then solve by isolating the square and taking the square root. For \(x^2 + 6x + 5 = 0\), this gives \(x = -1\) or \(-5\).

The big idea

Make a Perfect Square

A perfect-square trinomial like \(x^2 + 6x + 9\) factors neatly as \((x+3)^2\). The middle coefficient \(6\) tells you the \(3\): it’s half of \(6\). Completing the square forces this pattern by adding and subtracting \((\tfrac{b}{2})^2\), so you can fold the first part into a square.

How to solve by completing the square (steps):

  1. Move the constant to the right side.
  2. Add \((\tfrac{b}{2})^2\) to both sides.
  3. Write the left side as \((x + \tfrac{b}{2})^2\).
  4. Take the square root of both sides (keep \(\pm\)) and solve for \(x\).
Tutor tip: The number you add is always “half the middle coefficient, squared.” For \(x^2 + 6x\), half of 6 is 3, squared is 9 — add 9.

Worked Examples

The completed square reveals the vertex; the graph confirms where the curve sits and crosses.

Example A — Build the square

Complete the square for \(x^2 + 6x + 5\).

  1. Half the middle coefficient: \(\tfrac{6}{2} = 3\); square it: \(3^2 = 9\).
  2. Add and subtract 9: \(x^2 + 6x + 9 – 9 + 5\).
  3. Fold the square: \((x+3)^2 – 4\) — vertex \((-3,-4)\).

Answer: \((x+3)^2 – 4\)

vertex (-3, -4)

Example B — Solve it

Solve \(x^2 + 6x + 5 = 0\).

  1. Use the completed form: \((x+3)^2 – 4 = 0\).
  2. Isolate the square: \((x+3)^2 = 4\), so \(x + 3 = \pm 2\).
  3. Solve: \(x = -1\) or \(x = -5\) — the x-intercepts.

Answer: \(x = -1\) or \(-5\)

vertex (-3, -4)

Example C — An irrational answer

Solve \(x^2 – 4x – 1 = 0\).

  1. Complete the square: \((x-2)^2 – 5 = 0\).
  2. Isolate: \((x-2)^2 = 5\), so \(x – 2 = \pm\sqrt5\).
  3. Solve: \(x = 2 \pm \sqrt5\) — the curve still crosses, just at irrational points.

Answer: \(x = 2 \pm \sqrt5\)

vertex (2, -5)

Example D — Read the vertex

Find the vertex of \(y = x^2 + 6x + 5\).

  1. Completed form: \((x+3)^2 – 4\).
  2. Vertex form is \((x-h)^2 + k\) with vertex \((h,k)\).
  3. So the vertex is \((-3, -4)\) — it falls right out.

Answer: \((-3, -4)\)

vertex (-3, -4)

Where You’ll Use It

Completing the square is the bridge to vertex form, so it’s how you find a parabola’s max or min exactly. It also solves quadratics that won’t factor, and it’s the derivation behind the quadratic formula itself — understanding it makes that formula far less mysterious.

Slip-Ups That Cost Easy Points

  • Adding to only one side. Whatever you add to complete the square, add to both sides to keep the equation balanced.
  • Wrong number. It’s \((\tfrac{b}{2})^2\) — half, then square. For \(x^2 + 6x\) that’s \(9\), not \(36\).
  • Dropping the \(\pm\). Taking a square root gives two cases: \(x + 3 = 2\) and \(x + 3 = -2\).
  • Forgetting a leading coefficient. If \(a \ne 1\), divide through by \(a\) first.

Your Turn

Complete the square or solve, then reveal the answers.

  1. Complete the square: \(x^2 + 8x + 3\)
  2. Solve: \(x^2 – 2x – 8 = 0\)
  3. Solve: \(x^2 + 4x + 1 = 0\)
  4. Vertex of \(y = x^2 – 4x + 1\)?
Show answers
  1. \(\color{blue}{(x+4)^2 – 13}\)
  2. \(\color{blue}{x = 4, -2}\)
  3. \(\color{blue}{x = -2 \pm \sqrt3}\)
  4. \(\color{blue}{(2, -3)}\)
Keep practicing

Make Your Own Worksheet

Generate fresh completing-the-square problems with a full answer key — print or save as a PDF.

New problems every click — never the same sheet twice
Step-by-step answer key so you can self-check

Frequently Asked Questions

What number do I add to complete the square?

Half of the middle coefficient, squared: \((\tfrac{b}{2})^2\). Add it to both sides so the left side becomes a perfect square.

Why use completing the square instead of factoring?

It works even when the quadratic doesn’t factor with nice numbers, and it directly reveals the vertex (vertex form). Factoring is faster only when the equation factors cleanly.

What if the leading coefficient isn’t 1?

Divide every term by \(a\) first so the \(x^2\) coefficient is 1, then complete the square as usual.

How does it relate to the quadratic formula?

The quadratic formula is the result of completing the square on the general equation \(ax^2 + bx + c = 0\) — same method, done once for all.

Related Topics

Continue Your Study

Ready for the next step? Pick up right where this lesson leaves off:

Related to This Article

What people say about "How to Solve a Quadratic Equation by Completing the Square? - Effortless Math"?

No one replied yet.

Leave a Reply

X
51% OFF

Limited time only!

Save Over 51%

Take It Now!

SAVE $55

It was $109.99 now it is $54.99

The Ultimate Algebra Bundle 2026: From Pre-Algebra to Algebra II