Menu

Math Lesson 9.5.4 - Solving a Quadratic Equation by Completing the Square

Please provide a rating, it takes seconds and helps us to keep this resource free for all to use

[ 3 Votes ]

Welcome to our Math lesson on Solving a Quadratic Equation by Completing the Square, this is the fourth lesson of our suite of math lessons covering the topic of Quadratic Equations, you can find links to the other lessons within this tutorial and access additional Math learning resources below this lesson.

Solving a Quadratic Equation by Completing the Square

So far, we tried to solve a quadratic equation by trying to guess the coefficients and constant of the binomial expression. However, it was a bit challenging to find the right values, as we had to also take into account the rest of the expression, which must also fit the binomial expression. Another limitation of our reasoning consists of the fact that the coefficient a is not always a perfect square. Therefore, we must find a standard method for solving quadratic equations, that consists of completing the square. We must therefore try to express a given quadratic equation

ax2 + bx + c = 0

in the form

(x + p)2 + q = 0

where p and q are numbers.

The procedure applied to complete the square is as follows:

Step 1: First of all, we find the expression in the brackets. For this, we must express the squared part in the form

(x + B/2)2

where b is the coefficient preceding x in the original equation. Thus, it is obvious that p = B/2.

Step 2: Expanding the last expression yields

(x + B/2)2
= x2 + 2 ∙ x ∙ B/2 + (B/2)2
= x2 + bx + b2/4

Step 3: Check the difference between the old and new constant.

For example, in the equation x2 - 4x + 3 = 0, we have a = 1, b = -4 and c = 3. Thus,

(x + B/2)2
= (x - 4/2)2
= (x - 2)2
= x2 - 2 ∙ x ∙ 2 + 22
= x2 - 4x + 4

Given that the original equation is

x2 - 4x + 3 = 0

we have q = -1 because

x2 - 4x + 3
= x2 - 4x + 4 - 1

Therefore, the original quadratic equation is factorized by completing the square as

(x - 2)2 - 1 = 0

You may wonder why one needs to complete the square in quadratic equations. In fact, completing the square gives us the possibility to solve the quadratic equation by solving two first - order equations with one variable. In our example, we have

(x - 2)2 - 1 = 0
(x - 2)2 = 1
x - 2 = √1

Thus, since √1 = -1 or +1, we obtain two different first - order equations with one variable:

x - 2 = - 1

and

x - 2 = 1

The first equation gives x1 = - 1 + 2 = 1, while the second one gives x2 = 1 + 2 = 3.

Example 4

Solve the following quadratic equations by completing the square.

  1. x2 - 2x - 3 = 0
  2. x2 - 8x + 7 = 0

Solution 4

  1. We have a = 1, b = -2 and c = -3. Thus, since B/2 = -1, we have for the part in brackets of the quadratic equation when trying to complete the square:
    (x + B/2)2 = (x - 1)2
    = x2 - 2x + 1
    The original equation was
    x2 - 2x - 3 = 0
    Thus, we have
    x2 - 2x - 3
    = (x2 - 2x + 1) - 4
    = (x + B/2)2 - 4
    = (x - 1)2 - 4
    Therefore, this quadratic equation after completing the square is
    (x - 1)2 - 4 = 0
    To solve this equation, we have to express it as
    (x - 1)2 = 4
    Thus,
    x - 1 = √4
    = ± 2
    Hence,
    x1 - 1 = - 2
    x1 = - 2 + 1
    x1 = - 1
    and
    x2 - 1 = 2
    x2 = 2 + 1
    x2 = 3
  2. We have a = 1, b = -8 and c = 7. Thus, since B/2 = -8/2 = -4, we have for the part in brackets of the quadratic equation when trying to complete the square:
    (x + B/2)2 = (x - 4)2
    = x2 - 8x + 16
    The original equation was
    x2 - 8x + 7 = 0
    Thus, we have
    x2 - 8x + 7 = 0
    (x2 - 8x + 16) - 9 = 0
    (x + B/2)2 - 9 = 0
    (x - 4)2 - 9 = 0
    To solve this equation, we have to express it as
    (x - 4)2 = 9
    Thus,
    x - 4 = √9
    = ± 3
    Hence,
    x1 - 4 = - 3
    x1 = - 3 + 4
    x1 = 1
    and
    x2 - 4 = 3
    x2 = 3 + 4
    x2 = 7

Remark! You can quickly check your work by substituting the roots found in the original equation. Thus, since the roots in the exercise 4a were - 1 and 3, we have

x2 - 2x - 3 = 0
( - 1)2 - 2 ∙ ( - 1) - 3 = 0
1 + 2 - 3 = 0
0 = 0

and

32 - 2 ∙ 3 - 3 = 0
9 - 6 - 3 = 0
0 = 0

More Quadratic Equations Lessons and Learning Resources

Equations Learning Material
Tutorial IDMath Tutorial TitleTutorialVideo
Tutorial
Revision
Notes
Revision
Questions
9.5Quadratic Equations
Lesson IDMath Lesson TitleLessonVideo
Lesson
9.5.1Solving Quadratic Equations by Factorizing
9.5.2Special Cases of Quadratic Equations
9.5.3Solving Quadratic Equations by Factorization Part Two
9.5.4Solving a Quadratic Equation by Completing the Square

Whats next?

Enjoy the "Solving a Quadratic Equation by Completing the Square" math lesson? People who liked the "Quadratic Equations lesson found the following resources useful:

  1. Completing The Square Feedback. Helps other - Leave a rating for this completing the square (see below)
  2. Equations Math tutorial: Quadratic Equations. Read the Quadratic Equations math tutorial and build your math knowledge of Equations
  3. Equations Video tutorial: Quadratic Equations. Watch or listen to the Quadratic Equations video tutorial, a useful way to help you revise when travelling to and from school/college
  4. Equations Revision Notes: Quadratic Equations. Print the notes so you can revise the key points covered in the math tutorial for Quadratic Equations
  5. Equations Practice Questions: Quadratic Equations. Test and improve your knowledge of Quadratic Equations with example questins and answers
  6. Check your calculations for Equations questions with our excellent Equations calculators which contain full equations and calculations clearly displayed line by line. See the Equations Calculators by iCalculator™ below.
  7. Continuing learning equations - read our next math tutorial: The Quadratic Formula

Help others Learning Math just like you

Please provide a rating, it takes seconds and helps us to keep this resource free for all to use

[ 3 Votes ]

We hope you found this Math tutorial "Quadratic Equations" useful. If you did it would be great if you could spare the time to rate this math tutorial (simply click on the number of stars that match your assessment of this math learning aide) and/or share on social media, this helps us identify popular tutorials and calculators and expand our free learning resources to support our users around the world have free access to expand their knowledge of math and other disciplines.

Equations Calculators by iCalculator™