Skip to content
Study Hall
Lesson 4 of 5Quadratic Relations
Unit 4 · Lesson 4 of 5

Completing the Square

Completing the square rewrites y = ax² + bx + c in vertex form, y = a(x − h)² + k, so the vertex and the maximum or minimum value can be read directly. Build the idea with algebra tiles, follow the steps with and without a leading coefficient, and choose the best way to graph any quadratic: factoring, completing the square, partial factoring or technology.

5 min read11 practice questionsInteractiveAsk AI about this →

Key things to remember

  1. 1: the constant is the square of half the coefficient of .
  2. 2. Add and subtract the same number, so the relation is unchanged.
  3. 3If , factor from the and terms only. When the subtracted square leaves the brackets, multiply it by .
  4. 4Partial factoring: equals at and , so the axis is halfway between them.
  5. 5Check every completed square by expanding it back to standard form.

A ball is thrown upward from a 2 m balcony, and its height in metres after seconds is . How high does it go? The maximum is the -coordinate of the vertex, but standard form hides the vertex. Factoring will not help either: no pair of whole numbers works for . What you need is a way to turn any standard form into vertex form. That method is called completing the square, and by the end of this lesson you will show that , so the ball reaches m after seconds.

The idea rests on perfect square trinomials, the expressions you get by squaring a binomial. Expanding gives . Look at how the numbers are linked: the middle coefficient is double , and the constant is . So if you see , you can tell it needs to become a perfect square: take half the coefficient of , then square it. In general:

x² + 6x + 4x²xxxxxx11111 x² tile, 6 x-tiles,4 unit tilesarranged as a squarex²xxxxxx1111x3x3corner needs 9,you have 4:5 missingx² + 6x + 9 − 9 + 4x² + 6x + 4 = (x + 3)² − 5
Fig 1Algebra tiles for x² + 6x + 4. Left: one x-squared tile, six x-tiles and four unit tiles. Right: the x-tiles split into two groups of three, one along the right side and one along the bottom of the x-squared tile; the corner needs 9 unit tiles but only 4 are available, so x² + 6x + 4 = (x + 3)² − 5.

Algebra tiles make this visible. The big square tile has area , each long tile has area , and each small tile has area . To arrange into a square, split the six -tiles in half: three along the right side of the big square and three along the bottom. That builds a square units on each side, except for a corner, which needs unit tiles. You only have , so you are short. The tiles you have make "a full by square, minus 5": .

Completing the square, step by step

Adding and subtracting adds zero in total, so the relation never changes; it is only rewritten. When the leading coefficient is not 1, there is one extra step at the start and one extra multiplication near the end. Here is worked in full.

Multiply by a on the way out
The inside is multiplied by the in front, so when it leaves the brackets it becomes , not . Forgetting this is the most common completing-the-square error. Always check by expanding: ✓.
VideoAdd and subtract the right constant to rewrite standard form as vertex form and read off the vertex.Watch on YouTube

Graphing y = ax² + bx + c: choose a method

MethodBest whenExample
Factor, then use zeros and symmetrythe expression factors with whole numbers
Complete the square, then transform y = x²you want the vertex and the shape
Partial factoringyou need the axis and vertex quickly
Graphing technologythe numbers are decimals or messy
Four ways to graph a quadratic in standard form

Partial factoring finds the axis without factoring completely. Take out a common factor from the and terms only: . The product is zero when or , and at both of those -values, . So and are at the same height, and by symmetry the axis is halfway: . Substituting gives so the vertex is . Technology is the right tool for a model like , the height in metres of a model rocket launched from a 1.5 m platform. A graphing tool shows the vertex at about : a maximum height of about m after about s, landing after about s.

Loading interactive…
Enter a, b and c in the standard form panel and open the Complete the square tab to see each step for that parabola. The graph marks the vertex, and the vertex form panel shows the result.
When fractions appear
This course completes the square only when no fractions appear: when and is even, or when divides and is even. For , half of is , so the method still works but needs fractions. In that case partial factoring or technology is quicker.

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
Write in vertex form. State the vertex and the minimum value.
Example 2
Sketch by completing the square and applying transformations.
Example 3
The ball from the start of the lesson has height . Find its maximum height and when it happens.
Example 4
Use partial factoring to find the vertex of .

Where marks get lost

  • Forgetting to multiply the subtracted square by . In , the leaves as , giving , not .
  • Halving instead of . For , the bracket is , so half of (which is ) is used, not half of .
  • Factoring out of the constant too, which creates fractions: . Factor from the first two terms only.
  • Adding the square without subtracting it. Writing adds 9 to the relation and moves the parabola.
  • Misreading the final vertex. has vertex , not .

Flashcards 8

Perfect square trinomial
Number that completes
Purpose of completing the square
First step when
+ 4 more

Practice

1
What number must be added to to make a perfect square trinomial?
2
Which is in vertex form?
3
What is the minimum value of ?
4
Find if .
5
What is the maximum value of ?
6
Put the steps for writing in vertex form in order.
  1. 1Add and subtract 4 inside the brackets: 2(x² + 4x + 4 − 4) − 1
  2. 2Write the perfect square and combine constants: 2(x + 2)² − 9
  3. 3Move the −4 out by multiplying it by 2: 2(x² + 4x + 4) − 8 − 1
  4. 4Factor 2 from the first two terms: 2(x² + 4x) − 1
7
Complete the square to find the vertex of . Write it as an ordered pair.
8
Use partial factoring on . The axis of symmetry is . Find .
9
A classmate wrote: What went wrong?
10
Match each perfect square trinomial with its factored form.
  1. A.
  2. B.
  3. C.
  4. D.
11
A ball's height in metres after seconds is . Complete the square to find its maximum height.
m

Spot a mistake on this page? Let us know