Completing the Square
Completing the square turns a quadratic like into vertex form, . Vertex form shows the vertex and the maximum or minimum value straight away, which is exactly what you need for optimization problems.
Key ideas
Section titled “Key ideas”Perfect square trinomials
Section titled “Perfect square trinomials”Expanding a squared binomial gives a pattern:
The constant is the square of half the -coefficient: . In general:
Completing the square when a = 1
Section titled “Completing the square when a = 1”To write in vertex form:
- Take half of and square it.
- Add and subtract that number right after the term (adding and subtracting the same number changes nothing).
- Group the first three terms as a perfect square, and combine the constants.
When a ≠ 1
Section titled “When a ≠ 1”First factor out of the and terms only. Complete the square inside the bracket, then multiply the subtracted number by as you take it out.
Reading vertex form
Section titled “Reading vertex form”has vertex .
If you haven’t seen it yet, just means “the -value when the input is ”: writing is the same as . (You’ll meet function notation properly in Grade 11 — see function notation.)
- If , the parabola opens up, so is the minimum value.
- If , it opens down, so is the maximum value.
Watch the sign: means .
On the SAT
Section titled “On the SAT”The built-in Desmos calculator is a quick way to check your work. Type y = x^2 + 6x + 2 and y = (x + 3)^2 - 7 on separate lines: if the two graphs lie exactly on top of each other, your vertex form is right, and clicking the parabola shows the vertex . Desmos shows rounded decimals, so when the answer choices are exact fractions (like a vertex of , shown as ), match the decimal to the choice or finish the algebra by hand. See using Desmos on the SAT.
Worked examples
Section titled “Worked examples”Example 1: A simple case
Section titled “Example 1: A simple case”Write in vertex form, and give the vertex.
Solution. Half of is , and :
The vertex is , and since , the minimum value is .
Example 2: An odd x-coefficient
Section titled “Example 2: An odd x-coefficient”Write in vertex form.
Solution. Half of is , and :
The vertex is .
Example 3: When a is greater than 1
Section titled “Example 3: When a is greater than 1”Write in vertex form, and give the minimum value.
Solution. Factor out of the first two terms only:
The vertex is . Since , the minimum value is , when .
Check by expanding: . ✓
Example 4: A negative value of a
Section titled “Example 4: A negative value of a”Write in vertex form, and give the maximum value.
Solution. Factor out of the first two terms:
The maximum value is , when .
Common mistakes
Section titled “Common mistakes”Adding the square without subtracting it. becomes . If you only add , you’ve changed the function.
Forgetting to multiply by . In Example 3, the inside the bracket becomes when it comes out, because it’s multiplied by .
Using instead of half of . For , you add , not .
Factoring out of the constant too. Only the and terms go in the bracket. The constant waits outside.
Getting the vertex sign wrong. has vertex , not .
Practice
Section titled “Practice”1. (Warm-up) What number should be added to to make a perfect square? Write the result as a squared binomial.
Solution
, and .
2. (Warm-up) Write in vertex form.
Solution
3. (Warm-up) Write in vertex form, and give the vertex.
Solution
The vertex is .
4. (Core) Write in vertex form.
Solution
Half of is , and :
5. (Core) Write in vertex form, and give the minimum value.
Solution
The minimum value is , when .
6. (Core) Write in vertex form, and give the maximum value.
Solution
The maximum value is , when .
7. (Core) Write in vertex form.
Solution
8. (Challenge) Solve by completing the square. Give exact answers.
Solution
9. (Challenge) Complete the square on to show that the vertex has -coordinate .
Solution
This is vertex form with , so the vertex is at .
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
Foundations
Section titled “Foundations”H1. (Foundations) What constant makes a perfect-square trinomial? Write the completed square and explain why adding this constant alone would change a given function.
H2. (Foundations) Complete the square on . State the vertex and verify by expanding your result.
H3. (Core) Rewrite in vertex form, using exact fractions. State the axis of symmetry and the minimum value.
H4. (Core) Complete the square on . Show how the correction inside the brackets is multiplied by . Give the vertex and check the constant term by re-expanding.
H5. (Core) Rewrite in vertex form. State its maximum, the input where it occurs, and its range in set notation.
H6. (Core) Rewrite in vertex form. Explain why taking half of the original coefficient before factoring out would be wrong. Verify your form and state the range.
Challenge
Section titled “Challenge”H7. (Challenge) Solve by completing the square rather than using the quadratic formula. Give exact simplified roots and verify both in the original equation.
H8. (Challenge) Find every real for which has minimum value . Complete the square with the parameter, give the vertex for each answer, and check the minimum directly.
H9. (Challenge) Suppose . Use completing the square to find a necessary and sufficient condition on for to be nonnegative at every real input. Explain both why your condition is sufficient and why it is necessary. Include the equality case.
H10. (Challenge) A point at coordinate on a number line has squared-distance sum from the fixed points and .
- (a) Complete the square and find the least possible sum over all real .
- (b) If the point must satisfy , find the least and greatest sums on that restricted domain.
- (c) Explain why the unrestricted vertex cannot simply be reported as the answer to part (b).