Wize High School Grade 10 Math Textbook > Completing the Square
Completing the Square (ax2+bx+c)

Completing the Square
Given a quadratic equation in standard form y=ax2+bx+c, we often want to rewrite it in vertex form y=a(x−h)2+k. This process is called completing the square.
Steps for Completing the Square for y=ax2+bx+c
- Factor a out of the first 2 terms: y=a​[x2+ab​x]+c
- Add and subtract (2ab​)2: y=a​x2+ab​x+(2ab​)2−(2ab​)2​​+c
- Rewrite (factor) the first 3 terms as a perfect square: y=a​(x+2ab​)2​−(2ab​)2​+c
- Multiply a into the brackets: y=a​(x+2ab​)2−a​(2ab​)2+c
- Simplify the constant terms: y=a(x+2ab​)2−a(2ab​)2+c​

Example: Completing the Square
Write y=2x2−12x+11 in vertex form by completing the square.
1. Factor a out of the first 2 terms: y=a​[x2+ab​x]+c
y=2[x2−6x]+11
2. Add and subtract (2ab​)2: y=a​x2+ab​x+(2ab​)2−(2ab​)2​​+c
- ab​=−6
- 2ab​=2−6​=−3
- (2ab​)2=(−3)2=9
y=2[x2−6x+9−9]+11
3. Rewrite (factor) the first 3 terms as a perfect square: y=a​(x+2ab​)2​−(2ab​)2​+c
y=2[(x−3)2−9]+11
4. Multiply a into the brackets: y=a​(x+2ab​)2−a​(2ab​)2+c
y=2(x−3)2+2(−9)+11
5. Simplify the constant terms: y=a(x+2ab​)2−a(2ab​)2+c​
yy​==​2(x−3)2−18+112(x−3)2−7​
Practice: Completing the Square
Write y=−4x2+8x−5 in vertex form by completing the square. Then, determine the vertex of this quadratic relation.
Practice: Completing the Square
Write y=2x2+5x+11 in vertex form by completing the square. Then state the vertex and graph this quadratic relation.
Practice: Completing the Square
Write the following in vertex form by completing the square.
a) 2x2+8x
b) 4x2+16x−1
c) 3x2−6x+17
d) 3x2+9x+7
e) 5x2−21x−3