Skip to content
🎯⭐ INTERACTIVE LESSON

Completing the Square

Learn step-by-step with interactive practice!

Completing the Square - Complete Interactive Lesson

Part 1: 🔲 Perfect Square Trinomials

🔲 Completing the Square

Part 1 of 5 — Perfect Square Trinomials


Topics in This Part

Section
What Is a Perfect Square Trinomial?
Finding the Missing Constant
Factoring a Perfect Square

🔑 Key Concept: "Completing the square" turns any quadratic into a perfect square plus a constant. Before we can complete a square, we need to recognize one — that's Part 1.

What Is a Perfect Square Trinomial?

A perfect square trinomial factors into a binomial squared:

x2+2ax+a2=(x+a)2x^2 + 2ax + a^2 = (x + a)^2

Notice the pattern:

  • The first term is a perfect square: x2x^2
  • The last term is a perfect square: a2a^2
  • The middle term is twice the product: 2ax2ax

Examples

TrinomialFactoredCheck (middle term)
x2+6x+9x^2 + 6x + 9(x+3)2(x+3)^22⋅3=62\cdot 3 = 6 ✓
x2−10x+25x^2 - 10x + 25(x−5)2(x-5)^22⋅5=102\cdot 5 = 10 ✓
x2+14x+49x^2 + 14x + 49(x+7)2(x+7)^22⋅7=142\cdot 7 = 14 ✓

🔑 Key Idea: To make x2+bxx^2 + bx into a perfect square, add (b2)2\left(\dfrac{b}{2}\right)^2. It then factors as (x+b2)2\left(x + \dfrac{b}{2}\right)^2.

Concept Check 🎯

Find the Missing Constant 🧮

What number must be added to make each a perfect square trinomial? (Use (b2)2\left(\dfrac{b}{2}\right)^2.)

1) x2+8x+ ?x^2 + 8x + \,? 2) x2−6x+ ?x^2 - 6x + \,? 3) x2+5x+ ?x^2 + 5x + \,? (decimal is fine)

Factoring Back to a Square

Once the constant is (b2)2\left(\dfrac{b}{2}\right)^2, the trinomial factors with the same sign as the middle term:

x2+bx+(b2)2=(x+b2)2x^2 + bx + \left(\tfrac{b}{2}\right)^2 = \left(x + \tfrac{b}{2}\right)^2

Example: x2+8x+16=(x+4)2x^2 + 8x + 16 = (x+4)^2 — half of 88 is 44.

Example: x2−6x+9=(x−3)2x^2 - 6x + 9 = (x-3)^2 — half of −6-6 is −3-3.

You now have the one tool the whole method depends on. In Part 2 we use it to complete squares that aren't finished yet.

Part 2: The Completing-the-Square Method

🔲 Completing the Square

Part 2 of 5 — The Method (leading coefficient = 1)


🔑 The Idea: Take x2+bx+cx^2 + bx + c, force a perfect square by adding (b2)2\left(\dfrac{b}{2}\right)^2, and balance it by subtracting the same amount.

The Steps

To complete the square on x2+bx+cx^2 + bx + c:

  1. Group the xx-terms: (x2+bx)+c(x^2 + bx) + c
  2. Add and subtract (b2)2\left(\dfrac{b}{2}\right)^2 inside: (x2+bx+(b2)2)−(b2)2+c\left(x^2 + bx + \left(\tfrac{b}{2}\right)^2\right) - \left(\tfrac{b}{2}\right)^2 + c
  3. Factor the perfect square: (x+b2)2−(b2)2+c\left(x + \dfrac{b}{2}\right)^2 - \left(\dfrac{b}{2}\right)^2 + c

Worked Example: x2+6x+1x^2 + 6x + 1

Half of 66 is 33, and 32=93^2 = 9:

x2+6x+1=(x2+6x+9)−9+1=(x+3)2−8x^2 + 6x + 1 = (x^2 + 6x + 9) - 9 + 1 = (x+3)^2 - 8

✅ Check: (x+3)2−8=x2+6x+9−8=x2+6x+1(x+3)^2 - 8 = x^2 + 6x + 9 - 8 = x^2 + 6x + 1 ✓

Worked Example: x2−10x+30x^2 - 10x + 30

Half of −10-10 is −5-5, and (−5)2=25(-5)^2 = 25:

x2−10x+30=(x2−10x+25)−25+30=(x−5)2+5x^2 - 10x + 30 = (x^2 - 10x + 25) - 25 + 30 = (x-5)^2 + 5

Worked Example: x2+3xx^2 + 3x

Half of 33 is 32\dfrac{3}{2}, and (32)2=94\left(\dfrac{3}{2}\right)^2 = \dfrac{9}{4}:

x2+3x=(x+32)2−94x^2 + 3x = \left(x + \tfrac{3}{2}\right)^2 - \tfrac{9}{4}

💡 Completing the square always produces the form (x+h)2+k(x + h)^2 + k — that form is the key to both solving (Part 3) and graphing (Part 4).

Concept Check 🎯

Complete the Square 🧮

Rewrite each as (x+h)2+k(x+h)^2 + k. Enter the value of kk (the constant outside the square).

1) x2+8x+3=(x+4)2+k,k= ?x^2 + 8x + 3 = (x+4)^2 + k,\quad k = \,? 2) x2−2x+6=(x−1)2+k,k= ?x^2 - 2x + 6 = (x-1)^2 + k,\quad k = \,? 3) x2+10x=(x+5)2+k,k= ?x^2 + 10x = (x+5)^2 + k,\quad k = \,?

Part 3: Solving Quadratic Equations

🔲 Completing the Square

Part 3 of 5 — Solving Quadratic Equations


🔑 Why it works: Once a quadratic is written as (x+h)2=number(x+h)^2 = \text{number}, you can take the square root of both sides and solve — including the all-important ±\pm.

Solving by Completing the Square

Example: x2+6x+5=0x^2 + 6x + 5 = 0

  1. Move the constant: x2+6x=−5x^2 + 6x = -5
  2. Add (62)2=9\left(\frac{6}{2}\right)^2 = 9 to both sides: x2+6x+9=4x^2 + 6x + 9 = 4
  3. Factor: (x+3)2=4(x+3)^2 = 4
  4. Square root (don't forget ±\pm): x+3=±2x + 3 = \pm 2
  5. Solve: x=−3±2⇒x=−1 or x=−5x = -3 \pm 2 \Rightarrow x = -1 \text{ or } x = -5

⚠️ The most common mistake is dropping the ±\pm. A square has two square roots.

When the Leading Coefficient Isn't 1

If a≠1a \ne 1, divide every term by aa first, then complete the square.

Example: 2x2+8x−10=02x^2 + 8x - 10 = 0

Divide by 22:   x2+4x−5=0\;x^2 + 4x - 5 = 0

x2+4x=5  ⇒  x2+4x+4=9  ⇒  (x+2)2=9x^2 + 4x = 5 \;\Rightarrow\; x^2 + 4x + 4 = 9 \;\Rightarrow\; (x+2)^2 = 9

x+2=±3  ⇒  x=1 or x=−5x + 2 = \pm 3 \;\Rightarrow\; x = 1 \text{ or } x = -5

✅ Check x=1x=1: 2(1)+8(1)−10=02(1)+8(1)-10 = 0 ✓

Order the Steps 🔽

You're solving x2+6x+5=0x^2 + 6x + 5 = 0. Choose what happens at each stage.

Solve It 🧮

Solve by completing the square. Enter the larger solution.

1) x2+4x−5=0  ⇒  x= ?x^2 + 4x - 5 = 0 \;\Rightarrow\; x = \,? (larger root) 2) x2−8x+7=0  ⇒  x= ?x^2 - 8x + 7 = 0 \;\Rightarrow\; x = \,? (larger root)

Part 4: Vertex Form & Graphing

🔲 Completing the Square

Part 4 of 5 — Vertex Form & Graphing


🔑 Big Payoff: Completing the square rewrites y=ax2+bx+cy = ax^2+bx+c as vertex form y=a(x−h)2+ky = a(x-h)^2 + k, which hands you the vertex (h,k)(h, k) for free.

Vertex Form

y=a(x−h)2+k⟹vertex (h, k)y = a(x - h)^2 + k \quad\Longrightarrow\quad \text{vertex } (h,\, k)

Watch the sign: (x−h)(x - h) means the vertex's xx-coordinate is +h+h.

Example: y=x2+6x+5y = x^2 + 6x + 5

Complete the square: y=(x2+6x+9)−9+5=(x+3)2−4y = (x^2+6x+9) - 9 + 5 = (x+3)^2 - 4.

Rewrite as (x−(−3))2+(−4)(x - (-3))^2 + (-4), so the vertex is (−3,−4)(-3, -4).

Formy=x2+6x+5y = x^2+6x+5y=(x+3)2−4y = (x+3)^2 - 4
Vertexhidden(−3,−4)(-3, -4) ✓
Axis of symmetryhiddenx=−3x = -3
Minimum valuehiddeny=−4y = -4

Example: y=x2−4x+1y = x^2 - 4x + 1

Half of −4-4 is −2-2; (−2)2=4(-2)^2 = 4:

y=(x2−4x+4)−4+1=(x−2)2−3y = (x^2 - 4x + 4) - 4 + 1 = (x-2)^2 - 3

Vertex (2,−3)(2, -3), axis of symmetry x=2x = 2, minimum value −3-3.

💡 Because the leading coefficient is positive, the parabola opens up, so the vertex is the lowest point.

Read the Vertex 🔽

Find the Vertex 🧮

Complete the square and enter the vertex coordinates.

1) y=x2+2x−3y = x^2 + 2x - 3. Vertex xx-coordinate = ?= \,? 2) Same parabola: vertex yy-coordinate = ?= \,?

Part 5: Mixed Practice & Mastery Check

🔲 Completing the Square

Part 5 of 5 — Mixed Practice & Mastery Check


You can now (1) recognize perfect squares, (2) complete the square, (3) solve equations, and (4) find a parabola's vertex. Let's put it together.

Quick Reference

GoalKey move
Make x2+bxx^2+bx a squareadd (b2)2\left(\dfrac{b}{2}\right)^2
Rewrite x2+bx+cx^2+bx+c(x+b2)2+(c−b24)\left(x+\dfrac{b}{2}\right)^2 + \left(c - \dfrac{b^2}{4}\right)
Solve (x+h)2=n(x+h)^2 = nx=−h±nx = -h \pm \sqrt{n}
Find a vertexvertex form a(x−h)2+k⇒(h,k)a(x-h)^2+k \Rightarrow (h,k)

⚠️ Remember: divide by aa first if the leading coefficient isn't 11, and never drop the ±\pm when taking a square root.

Mixed Practice 🎯

Exit Quiz ✅

Answer all three to finish the lesson.