Completing the Square
You should be comfortable with:
Measurements, material estimation, cutting calculations
Refrigerant charging, airflow, system sizing
Completing the square is a technique that transforms any quadratic expression into a perfect square trinomial — an expression you can write as a single squared binomial. This lets you solve quadratic equations using the square root method (which you already know) and converts quadratics into vertex form, which reveals the highest or lowest point of the parabola.
Completing the square is also the method used to derive the quadratic formula, so understanding it gives you insight into where that formula comes from.
What Is a Perfect Square Trinomial?
A perfect square trinomial is a trinomial that factors as a binomial squared:
Notice the pattern. In , the trinomial is a perfect square when equals :
- : half of 6 is 3, and . The missing term is 9.
- : half of is , and . The missing term is 25.
The completing the square process adds exactly the right constant to create this pattern.
The Method: Step by Step
To solve by completing the square:
- Move the constant term to the right side of the equation.
- If , divide every term by so the leading coefficient is 1.
- Take half of the coefficient of and square it.
- Add that value to both sides of the equation.
- Factor the left side as a perfect square binomial.
- Solve using the square root method ().
Examples with Leading Coefficient 1
Example 1:
Step 1 — Move the constant to the right:
Step 2 — Take half of 8 and square it:
Step 3 — Add 16 to both sides:
Step 4 — Factor the left side as a perfect square:
Step 5 — Take the square root of both sides:
Step 6 — Solve both cases:
Check : . Correct.
Check : . Correct.
Answer: or
Example 2:
Step 1 — Move the constant:
Step 2 — Half of is ; square it: .
Step 3 — Add 9 to both sides:
Step 4 — Factor:
Step 5 — Square root:
As decimals: or .
Answer: or
Notice that this equation does not factor neatly — the solutions are irrational. Completing the square handles these cases perfectly.
Example 3:
Step 1 — Move the constant:
Step 2 — Half of 5 is ; square it: .
Step 3 — Add to both sides:
Step 4 — Factor:
Step 5 — Square root:
Step 6 — Solve:
Answer: or
Odd coefficients of produce fractions — that is normal and expected.
Examples with Leading Coefficient Other Than 1
Example 4:
Step 1 — Divide every term by 2:
Step 2 — Move the constant:
Step 3 — Half of 6 is 3; . Add 9 to both sides:
Step 4 — Factor:
Step 5 — Solve:
Answer: or
Example 5:
Step 1 — Divide by 3:
This is the same as Example 2 above: .
Converting to Vertex Form
Completing the square also converts the standard form into vertex form , where is the vertex (the turning point) of the parabola. This is useful for graphing.
Example 6: Convert to vertex form
Step 1 — Group the terms:
Step 2 — Complete the square inside the parentheses. Half of is ; . Add and subtract 4:
Step 3 — Factor the perfect square trinomial:
Answer: Vertex form is . The vertex is at , and since the coefficient of the squared term is positive, the parabola opens upward. The minimum value of is 3.
Real-World Application: HVAC — Optimizing Duct Airflow
An HVAC technician is sizing a rectangular duct where the perimeter of the cross-section must be 40 inches (a constraint based on the available chase space). The technician wants to maximize the cross-sectional area to achieve the best airflow.
Let = width. Since the perimeter is , the height is .
The area is:
To find the maximum, convert to vertex form by completing the square:
Half of is ; . Add and subtract 100 inside:
The vertex is at . Maximum area is 100 square inches, achieved when inches (making inches too — a square duct).
Answer: The technician should specify a 10-inch by 10-inch duct opening. This gives 100 square inches of cross-sectional area, the maximum possible for a 40-inch perimeter. A square cross-section always maximizes area for a given perimeter — a useful principle HVAC techs apply regularly.
A Carpentry Application: Maximizing a Garden Border
A carpenter is building a rectangular raised garden bed against a wall. The homeowner has 24 feet of border material for the three open sides (the wall serves as the fourth side). What dimensions maximize the planting area?
Let = the side perpendicular to the wall. The border uses for the two sides and for the front.
Complete the square: half of is ; .
Maximum area is 72 square feet when feet. The front length is feet.
Answer: The bed should be 6 feet deep by 12 feet wide, yielding 72 square feet of planting area.
Common Mistakes to Avoid
-
Forgetting to add to both sides. When you add to complete the square, you must add it to both sides of the equation (or add and subtract on the same side if converting to vertex form). Missing this changes the equation entirely.
-
Not dividing by the leading coefficient first. Completing the square requires the coefficient to be 1. If it is not, divide everything by that coefficient before proceeding.
-
Sign errors with half the coefficient. If the coefficient of is , then half is and the square is (positive). The squared result is always positive regardless of the sign of .
-
Forgetting the when taking the square root. Just as with the square root method, you need both the positive and negative root.
-
Arithmetic errors with fractions. When is odd (like 5), you get fractions (). Work carefully and convert constants to the same denominator before adding.
Practice Problems
Test your understanding with these problems. Click to reveal each answer.
Problem 1: Solve by completing the square
Move constant:
Half of 10 is 5; . Add to both sides:
Answer: or
Problem 2: Solve by completing the square
Move constant:
Half of is ; . Add to both sides:
Answer: or
Problem 3: Solve by completing the square
Divide by 2:
Move constant:
Half of 4 is 2; . Add to both sides:
Answer: or
Problem 4: Convert to vertex form
Half of 6 is 3; . Add and subtract:
Answer: . Vertex: .
Problem 5: Solve by completing the square
Move constant:
Half of 3 is ; . Add to both sides:
Answer: or
Problem 6: An HVAC technician has 60 inches of sheet metal to form the perimeter of a rectangular duct cross-section. What dimensions maximize the cross-sectional area?
Let = width. Then height .
Complete the square: half of is ; .
Maximum area is 225 square inches when inches (height also 15 inches).
Answer: A 15-inch by 15-inch square duct gives the maximum area of 225 square inches.
Key Takeaways
- Completing the square transforms into a perfect square by adding
- The leading coefficient must be 1 — divide everything by first if it is not
- Whatever you add to one side of the equation, add to the other side too
- This method works on every quadratic equation, including ones that do not factor over the integers
- Completing the square also converts standard form to vertex form , revealing the vertex of the parabola
- Vertex form is essential for optimization problems — the vertex gives the maximum or minimum value
Return to Algebra 1 for more topics in this section.
Next Up in Algebra
Last updated: March 29, 2026