Menu

Math Lesson 15.2.2 - Using the Completing-the-Square-Method to Plot Quadratic Graphs

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

[ 1 Votes ]

Welcome to our Math lesson on Using the Completing-the-Square-Method to Plot Quadratic Graphs, this is the second lesson of our suite of math lessons covering the topic of Quadratic Graphs Part Two, you can find links to the other lessons within this tutorial and access additional Math learning resources below this lesson.

Using the Completing-the-Square-Method to Plot Quadratic Graphs

In tutorial 9.5, we explained that some quadratic equations with one variable can be solved by completing the square according to the formula

(x + p)2 + q = 0

where a = 1, p = b/2 and q is the remaining part of the original constant c.

The next step involves expressing the new constant as the square of a number, i.e. the constant q in the above formula is the square of a number preceded by a negative sign. In this way, we complete the square. Then, we solve the equation by sending the new constant on the other side. Since it is preceded by a negative sign, it becomes positive when

For example, in the quadratic equation

x2 - 6x + 8 = 0

we first identify the original coefficients and constant (a = 1, b = -6 and c = 8), then we identify the (x + b/2)2 part, i.e.

(x + b/2)2 = [x + (-6/2)]2
= (x - 3)2
= x2 - 6x + 9

then, we identify the rest of the constant by comparing the new expression with the left part of the original equation, i.e.

x2 - 6x + 9 = x2 - 6x + 8 + 1

Therefore, we can express the original equation as

x2 - 6x + 8 = 0
x2 - 6x + 9-1 = 0
(x - 3)2 - 1 = 0
(x - 3)2 - 12 = 0
(x - 3)2 = 12
x - 3)2 = 1

This equation is true for

(x - 3) = 1

and

-(x - 3) = 1

The first equation gives

x - 3 = 1
x = 1 + 3

Thus, the first root is

x1 = 4

and the second equation gives

-(x - 3) = 1
-x + 3 = 1
-x = 1 - 3
-x = -2

Thus, the second root is

x2 = 2

In this way, using the known form of factorisation for quadratic equations with a = 1

(x - x1 )(x - x2 ) = 0

we obtain after substituting the values found above:

(x - 4)(x - 2) = 0

Proof: Expanding the last equation yields

(x - 4)(x - 2) = 0
x ∙ x - x ∙ 2 - 4 ∙ x - 4 ∙ (-2) = 0
x2 - 2x - 4x + 8 = 0
x2 - 6x + 8 = 0

which is identical to the original equation.

What if the coefficient a is different from 1? Well, in this case, we must try to write the simplified version of the quadratic equation (without the variable y)

ax2 + bx + c = 0

in the form

a(x + m)2 + n = 0

where

m = b/2a and n = c - b2/4a

In this way, we obtain

a(x + b/2a)2 + (c - b2/4a) = 0

Why did we stop here with this? Well, the objective of this tutorial is to know how to plot the graph of a quadratic equation with two variables having the general form

y = ax2 + bx + c

Thus, after expressing this equation in the form

y = a(x + m)2 + n

to complete the square, we find the roots (if any) that indicate the x-intercepts and then, we find the rest of the points as in the other cases discussed so far.

Example 4

Plot the graph of the quadratic equation

y = 3x2 + 5x + 2

Solution 4

First, let's identify the original coefficients and constant. We have a = 3, b = 5 and c = 2. Thus, since the coefficient a is different from 1, we must write the equation in the form

y = a(x + m)2 + n

to complete the square. Given that

m = b/2a and n = c - b2/4a

we obtain after substituting the known values

m = b/2a
= 5/2 ∙ 3
= 5/6

and

n = c-b2/4a
= 2 - 52/4 ∙ 3
= 2 - 25/12
= 24/12 - 25/12
= -1/12

Therefore, we write the equation in the form

y = 3 ∙ (x + 5/6)2 - 1/12

We calculate the roots by reducing this equation to the simplified form that contains a single variable, i.e.

3 ∙ (x + 5/6)2 - 1/12 = 0

Solving this equation yields

3 ∙ (x + 5/6)2 = 1/12
(x + 5/6)2 = 1/3 ∙ 12
(x + 5/6)2 = 1/36
(x + 5/6)2 = (±1/6)2

This equation is true for

x + 5/6 = -1/6

and

x + 5/6 = 1/6

Solving the first equation yields

x1 + 5/6 = -1/6
x1 = -1/6-5/6
= -6/6
= -1

and solving the second equation yields

x2 + 5/6 = 1/6
x1 = 1/6 - 5/6
= -4/6
= -2/3

Hence, the two x-intercepts of the graph are: A(-1, 0) and B(-2/3, 0).

As we said before, the rest of the solution is the same as in the other methods. Thus, first, we find the vertex V. The x-coordinate of this point is (as usual)

xV = x1 + x2/2
= -1 + (-2/3)/2
= -3/3 + -2/3/2
= -5/3/2
= -5/3/2/1
= -5/31/2
= -5/6

The corresponding y-value of the vertex is

yV = axV2 + bxV + c
= 3 ∙ (-5/6)2 + 5 ∙ (-5/6) + 2
= 3 ∙ 25/36 - 25/6 + 2
= 75/36 - 25/6 + 2
= 75/36 - 150/36 + 72/36
= -3/36
= -1/12

Hence, the vertex of the parabola is at V(-5/6, -1/12).

Another special point you already know how to find is the y-intercept (where x = 0). Thus, substituting x = 0 in the original equation we obtain y = c = 2. Therefore, point C(0, 2) is another point on the graph.

The last point we need to plot the graph is point D, which is symmetrical to point C concerning the vertical line drawn from the vertex. This point will have the same y-coordinate as C as it is symmetrical, so we have yD.

As for the x-coordinate of point D, we use the half-segment formula for the horizontal direction, where one of the endpoints of the segment is xC, the midpoint is xV and the other endpoint (to be found) is xD. Thus, we have

xV = xC + xD/2
= -5/6 = 0 + xD/2
= xD = 2 ∙ (-5/6)
= -10/6
= -5/3

Hence, point D is at D(-5/3, 2).

Inserting all the above five points in the coordinates system and connecting them smoothly gives the graph of the equation y = 3x2 + 5x + 2, as shown in the figure below.

Math Tutorials: Quadratic Graphs Part Two Example

You have reached the end of Math lesson 15.2.2 Using the Completing-the-Square-Method to Plot Quadratic Graphs. There are 2 lessons in this physics tutorial covering Quadratic Graphs Part Two, you can access all the lessons from this tutorial below.

More Quadratic Graphs Part Two Lessons and Learning Resources

Types of Graphs Learning Material
Tutorial IDMath Tutorial TitleTutorialVideo
Tutorial
Revision
Notes
Revision
Questions
15.2Quadratic Graphs Part Two
Lesson IDMath Lesson TitleLessonVideo
Lesson
15.2.1Using Simple Factorisation to Plot Quadratic Graphs
15.2.2Using the Completing-the-Square-Method to Plot Quadratic Graphs

Whats next?

Enjoy the "Using the Completing-the-Square-Method to Plot Quadratic Graphs" math lesson? People who liked the "Quadratic Graphs Part Two lesson found the following resources useful:

  1. Square Method Feedback. Helps other - Leave a rating for this square method (see below)
  2. Types of Graphs Math tutorial: Quadratic Graphs Part Two. Read the Quadratic Graphs Part Two math tutorial and build your math knowledge of Types of Graphs
  3. Types of Graphs Revision Notes: Quadratic Graphs Part Two. Print the notes so you can revise the key points covered in the math tutorial for Quadratic Graphs Part Two
  4. Types of Graphs Practice Questions: Quadratic Graphs Part Two. Test and improve your knowledge of Quadratic Graphs Part Two with example questins and answers
  5. Check your calculations for Types of Graphs questions with our excellent Types of Graphs calculators which contain full equations and calculations clearly displayed line by line. See the Types of Graphs Calculators by iCalculator™ below.
  6. Continuing learning types of graphs - read our next math tutorial: Cubic Graphs

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

[ 1 Votes ]

We hope you found this Math tutorial "Quadratic Graphs Part Two" 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.

Types of Graphs Calculators by iCalculator™