DoAssignment.ca

Q13 · Complete the square without fractional coefficients

Learn to complete the square without fractional coefficients through clear examples and targeted practice.

Ontario Grade 10 Mathematics

Quadratic Relations

Rewriting Quadratics in Vertex Form — No Fractions Required

You already know how to expand a binomial like (x+3)2(x + 3)^2 and get x2+6x+9x^2 + 6x + 9. Completing the square reverses that process — you start with a messy trinomial such as x2+6x+9x^2 + 6x + 9 and rewrite it as the tidy square (x+3)2(x + 3)^2. This skill is the bridge between standard form y=ax2+bx+cy = ax^2 + bx + c and vertex form y=a(x−h)2+ky = a(x - h)^2 + k, which tells you the vertex of the parabola right away. In this lesson every example is designed so that no fractions appear during the work, which keeps the focus firmly on the method itself.

What you will learn

Grade 9 Bridge — Perfect-Square Trinomials

A perfect-square trinomial is a three-term polynomial that is the result of squaring a binomial. For example, (x+5)2=x2+10x+25(x + 5)^2 = x^2 + 10x + 25. Notice the pattern: the last term, 2525, is exactly the square of half the middle coefficient (102=5\frac{10}{2} = 5, and 52=255^2 = 25). This pattern is the engine of the whole method.
Check a few more: (x+4)2=x2+8x+16(x + 4)^2 = x^2 + 8x + 16. Half of 88 is 44, and 42=164^2 = 16. Also, (x−7)2=x2−14x+49(x - 7)^2 = x^2 - 14x + 49. Half of 1414 is 77, and 72=497^2 = 49. The sign of the middle term tells you the sign inside the bracket, but the last term is always positive because any number squared is positive.
This means: given x2+bxx^2 + bx, you can always figure out exactly what constant to add to turn it into a perfect-square trinomial. That constant is (b2)2\left(\frac{b}{2}\right)^2. The lessons in this study guide focus on values of bb that are even integers, so the division by 22 never creates a fraction.
(b2)2(\frac{b}{2})^2

What Does 'Complete the Square' Mean?

The phrase complete the square comes from geometry. Imagine a square with side length xx and a rectangle attached to it with width b2\frac{b}{2}. To make a larger perfect square you need a small corner piece of area (b2)2\left(\frac{b}{2}\right)^2. Adding that piece 'completes' the square shape — and the algebra mirrors the geometry exactly.
In algebra, completing the square means rewriting x2+bx+cx^2 + bx + c as a(x−h)2+ka(x - h)^2 + k. The form a(x−h)2+ka(x - h)^2 + k is called vertex form because it immediately reveals the vertex (h,k)(h, k) of the parabola.
The key constraint: whatever you add inside the expression, you must also subtract — otherwise you change the value of the expression. For example, x2+6x+1=(x2+6x+9)−9+1x^2 + 6x + 1 = (x^2 + 6x + 9) - 9 + 1. You added 99 and subtracted 99 in the same line, so the expression is unchanged but the first three terms are now a perfect-square trinomial.
This add-and-subtract idea is the heart of the method. Every step you take is legal because you are always adding zero (since adding and subtracting the same number nets zero).
y=a(x−h)2+ky = a(x - h)^2 + k

Step-by-Step Method for $x^2 + bx + c$

Here is a clear procedure you can follow every time. Start with y=x2+bx+cy = x^2 + bx + c. Step 1 — identify bb and compute (b2)2\left(\frac{b}{2}\right)^2. Step 2 — rewrite the expression by adding and subtracting that number right after the bxbx term: y=x2+bx+(b2)2−(b2)2+cy = x^2 + bx + \left(\frac{b}{2}\right)^2 - \left(\frac{b}{2}\right)^2 + c. Step 3 — group the first three terms and factor them as a perfect square: y=(x+b2)2−(b2)2+cy = \left(x + \frac{b}{2}\right)^2 - \left(\frac{b}{2}\right)^2 + c. Step 4 — combine the leftover constants into a single number kk.
After those four steps the expression is in vertex form. The vertex is at (−b2, k)\left(-\frac{b}{2},\, k\right). Remember: vertex form is written as (x−h)2(x - h)^2, so if you get (x+3)2(x + 3)^2 that means h=−3h = -3, not h=3h = 3. Keep that sign rule in mind to read the vertex correctly.
When the leading coefficient aa is not 11, there is one extra step: factor aa out of the first two terms only before applying the procedure above. This lesson only covers cases where that factoring stays as whole numbers — for example, 2x2+8x2x^2 + 8x factors as 2(x2+4x)2(x^2 + 4x), and then you complete the square inside the brackets.
y=(x+b2)2−(b2)2+cy = (x + \frac{b}{2})^2 - (\frac{b}{2})^2 + c

Why the Vertex Form Is So Useful

Once an equation is in vertex form y=a(x−h)2+ky = a(x - h)^2 + k, you can read off important information without any further calculation. The vertex (h,k)(h, k) is the turning point of the parabola. If a>0a > 0 the parabola opens upward and the vertex is the minimum point. If a<0a < 0 it opens downward and the vertex is the maximum point.
The axis of symmetry is the vertical line x=hx = h. It passes right through the vertex and divides the parabola into two mirror-image halves. Knowing the vertex and the direction of opening is enough to sketch a reasonable parabola.
These facts make vertex form a powerful tool. Whenever you need the vertex or the axis of symmetry quickly, complete the square to convert from standard form.

Completing the Square — Step Comparison for Both Examples

StageExample 1: x2−10x+3x^2 - 10x + 3Example 2: 2x2+12x−42x^2 + 12x - 4
Factor out aa (if a≠1a \neq 1)Not needed (a=1a = 1)2(x2+6x)−42(x^2 + 6x) - 4
Find magic number (b2)2\left(\frac{b}{2}\right)^2(−5)2=25(-5)^2 = 2532=93^2 = 9
Add and subtract magic numberx2−10x+25−25+3x^2 - 10x + 25 - 25 + 32(x2+6x+9−9)−42(x^2 + 6x + 9 - 9) - 4
Move subtracted term outside bracketsAlready outside: −25+3-25 + 32(x2+6x+9)−18−42(x^2 + 6x + 9) - 18 - 4
Factor trinomial and simplify(x−5)2−22(x-5)^2 - 222(x+3)2−222(x+3)^2 - 22
Vertex(5, −22)(5,\ -22)(−3, −22)(-3,\ -22)

Worked example

Example 1 — Leading Coefficient of 1

Rewrite y=x2−10x+3y = x^2 - 10x + 3 in vertex form, then state the vertex and axis of symmetry.
  1. Identify b and find the magic number
    The coefficient of xx is b=−10b = -10. Compute b2=−102=−5\frac{b}{2} = \frac{-10}{2} = -5, then square it: (−5)2=25(-5)^2 = 25. This is the number you will add and subtract.
    (−102)2=(−5)2=25(\frac{-10}{2})^2 = (-5)^2 = 25
  2. Add and subtract 25 inside the expression
    Write the original expression and insert +25+25 and −25-25 immediately after the −10x-10x term. Because you are adding and subtracting the same value, the expression has not changed.
    y=x2−10x+25−25+3y = x^2 - 10x + 25 - 25 + 3
  3. Factor the perfect-square trinomial
    The first three terms x2−10x+25x^2 - 10x + 25 form a perfect-square trinomial. Factor them as (x−5)2(x - 5)^2, since (−5)2=25(-5)^2 = 25 and 2×(−5)=−102 \times (-5) = -10.
    y=(x−5)2−25+3y = (x - 5)^2 - 25 + 3
  4. Combine the constants
    Simplify the two leftover numbers: −25+3=−22-25 + 3 = -22. The expression is now in vertex form.
    y=(x−5)2−22y = (x - 5)^2 - 22
  5. State the vertex and axis of symmetry
    Vertex form is y=(x−h)2+ky = (x - h)^2 + k. Here h=5h = 5 and k=−22k = -22, so the vertex is (5,−22)(5, -22). The axis of symmetry is the vertical line x=5x = 5.
Answer: y=(x−5)2−22y = (x - 5)^2 - 22; vertex (5, −22)(5,\,-22); axis of symmetry x=5x = 5.
Check: Expand (x−5)2−22=x2−10x+25−22=x2−10x+3(x - 5)^2 - 22 = x^2 - 10x + 25 - 22 = x^2 - 10x + 3. This matches the original expression, so the answer is correct.

Worked example

Example 2 — Leading Coefficient Greater Than 1

Rewrite y=2x2+12x−4y = 2x^2 + 12x - 4 in vertex form, then state the vertex.
  1. Factor the leading coefficient out of the first two terms only
    The leading coefficient is a=2a = 2. Factor 22 out of 2x2+12x2x^2 + 12x only; leave the constant −4-4 outside the brackets for now.
    y=2(x2+6x)−4y = 2(x^2 + 6x) - 4
  2. Find the magic number for the expression inside the brackets
    Inside the brackets, b=6b = 6. Compute 62=3\frac{6}{2} = 3, then 32=93^2 = 9. You will add and subtract 99 inside the brackets.
    (62)2=32=9(\frac{6}{2})^2 = 3^2 = 9
  3. Add and subtract 9 inside the brackets
    Insert +9+9 and −9-9 inside the brackets after the 6x6x term. The expression is still equal to the original.
    y=2(x2+6x+9−9)−4y = 2(x^2 + 6x + 9 - 9) - 4
  4. Separate the -9 from inside the brackets
    Move the −9-9 outside the brackets. Because it was inside brackets multiplied by 22, it becomes 2×(−9)=−182 \times (-9) = -18 when it comes out. The three terms that remain inside the brackets form a perfect square.
    y=2(x2+6x+9)−18−4y = 2(x^2 + 6x + 9) - 18 - 4
  5. Factor the trinomial and combine the constants
    Factor x2+6x+9=(x+3)2x^2 + 6x + 9 = (x + 3)^2. Then combine the outside constants: −18−4=−22-18 - 4 = -22.
    y=2(x+3)2−22y = 2(x + 3)^2 - 22
  6. State the vertex
    Vertex form is y=a(x−h)2+ky = a(x - h)^2 + k. Here 2(x+3)2−22=2(x−(−3))2+(−22)2(x + 3)^2 - 22 = 2(x - (-3))^2 + (-22), so h=−3h = -3 and k=−22k = -22. The vertex is (−3,−22)(-3, -22).
Answer: y=2(x+3)2−22y = 2(x + 3)^2 - 22; vertex (−3, −22)(-3,\,-22).
Check: Expand: 2(x+3)2−22=2(x2+6x+9)−22=2x2+12x+18−22=2x2+12x−42(x + 3)^2 - 22 = 2(x^2 + 6x + 9) - 22 = 2x^2 + 12x + 18 - 22 = 2x^2 + 12x - 4. This matches the original, confirming the answer is correct.

Common mistakes and how to avoid them

Forgetting to subtract the magic number after adding it, which changes the value of the expression.
Correction: Always add and subtract (b2)2\left(\frac{b}{2}\right)^2 in the same step. The net effect is adding zero, so the expression stays equal to the original.
When a≠1a \neq 1, not multiplying the subtracted magic number by aa when bringing it outside the brackets.
Correction: Whatever sits inside brackets that are multiplied by aa must be multiplied by aa when moved outside. If you add and subtract 99 inside brackets with a factor of 22, the term that comes out is −18-18, not −9-9.
Reading the vertex sign incorrectly from vertex form — for example, writing the vertex as (−5,−22)(-5, -22) for (x−5)2−22(x - 5)^2 - 22.
Correction: Vertex form is (x−h)2+k(x - h)^2 + k. In (x−5)2−22(x - 5)^2 - 22, the value inside is −5-5, so h=+5h = +5. The vertex is (5,−22)(5, -22).
Using an odd value of bb (such as b=7b = 7) and creating a fraction 72\frac{7}{2} without realising the question required whole numbers.
Correction: In Q13 problems, bb is always even or aa divides evenly into bb, so check that your division by 22 stays a whole number. If it does not, re-read the question — you may have copied a coefficient incorrectly.
Trying to include the constant term cc inside the brackets when factoring out aa.
Correction: When a≠1a \neq 1, factor aa out of only the first two terms. Leave the constant cc outside the brackets and deal with it at the end when combining constants.

Lesson summary

Check your understanding

Question 1

What number must be added and subtracted to complete the square in x2+8xx^2 + 8x?
  1. 44
  2. 88
  3. 1616
  4. 6464
Show answer and explanation
1616
Take half of the coefficient of xx: 82=4\frac{8}{2} = 4. Then square it: 42=164^2 = 16. The magic number is 1616.

Question 2

Which of the following is the correct vertex form of y=x2−6x+2y = x^2 - 6x + 2?
  1. y=(x−3)2+2y = (x - 3)^2 + 2
  2. y=(x−3)2−7y = (x - 3)^2 - 7
  3. y=(x+3)2−7y = (x + 3)^2 - 7
  4. y=(x−6)2−34y = (x - 6)^2 - 34
Show answer and explanation
y=(x−3)2−7y = (x - 3)^2 - 7
Half of −6-6 is −3-3, and (−3)2=9(-3)^2 = 9. Add and subtract 99: x2−6x+9−9+2=(x−3)2−7x^2 - 6x + 9 - 9 + 2 = (x-3)^2 - 7. The vertex form is y=(x−3)2−7y = (x-3)^2 - 7.

Question 3

What is the vertex of the parabola y=3(x+4)2−5y = 3(x + 4)^2 - 5?
  1. (4,−5)(4, -5)
  2. (−4,5)(-4, 5)
  3. (−4,−5)(-4, -5)
  4. (4,5)(4, 5)
Show answer and explanation
(−4,−5)(-4, -5)
Vertex form is a(x−h)2+ka(x - h)^2 + k. Here 3(x+4)2−5=3(x−(−4))2+(−5)3(x + 4)^2 - 5 = 3(x - (-4))^2 + (-5), so h=−4h = -4 and k=−5k = -5. The vertex is (−4,−5)(-4, -5).

Question 4

A student rewrites y=2x2+8x+1y = 2x^2 + 8x + 1 and gets y=2(x+2)2−7y = 2(x + 2)^2 - 7. Is this correct?
  1. Yes, it is fully correct.
  2. No — the magic number was not multiplied by 22 when brought outside the brackets.
  3. No — the student should have factored 22 out of all three terms.
  4. No — the student used the wrong sign inside the bracket.
Show answer and explanation
Yes, it is fully correct.
Check by expanding: 2(x+2)2−7=2(x2+4x+4)−7=2x2+8x+8−7=2x2+8x+12(x+2)^2 - 7 = 2(x^2 + 4x + 4) - 7 = 2x^2 + 8x + 8 - 7 = 2x^2 + 8x + 1. This matches the original, so the student's answer is correct.

Key terms

Standard form
A quadratic written as y=ax2+bx+cy = ax^2 + bx + c, where aa, bb, and cc are real numbers and a≠0a \neq 0.
Vertex form
A quadratic written as y=a(x−h)2+ky = a(x - h)^2 + k, where the vertex of the parabola is the point (h,k)(h, k).
Perfect-square trinomial
A three-term polynomial that results from squaring a binomial, such as x2+10x+25=(x+5)2x^2 + 10x + 25 = (x + 5)^2.
Completing the square
An algebraic method that rewrites a quadratic expression by adding and subtracting the same carefully chosen constant so that part of the expression becomes a perfect-square trinomial.
Vertex
The turning point of a parabola — its highest point if the parabola opens down, or its lowest point if it opens up.
Axis of symmetry
The vertical line that passes through the vertex and divides the parabola into two mirror-image halves. Its equation is x=hx = h.
Leading coefficient
The number aa in front of the x2x^2 term in a quadratic expression. It controls how wide or narrow the parabola is and whether it opens up or down.

Continue through MPM2D

View the complete Ontario Grade 10 Mathematics learning path

About this lesson

Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 10 Mathematics (MPM2D), study topic Q13. It is a study resource, not an official curriculum publication.

Official curriculum reference

Report a correction or ask a question