mathleaks.com mathleaks.com Start chapters home Start History history History expand_more
{{ item.displayTitle }}
navigate_next
No history yet!
Progress & Statistics equalizer Progress expand_more
Student
navigate_next
Teacher
navigate_next
Expand menu menu_open Minimize
{{ filterOption.label }}
{{ item.displayTitle }}
{{ item.subject.displayTitle }}
arrow_forward
No results
{{ searchError }}
search
menu_open home
{{ courseTrack.displayTitle }}
{{ statistics.percent }}% Sign in to view progress
{{ printedBook.courseTrack.name }} {{ printedBook.name }}
search Use offline Tools apps
Login account_circle menu_open
Quadratic Equations

Completing the Square

Quadratic expressions, functions, and equations can all be manipulated in useful ways with a method called completing the square. This method is based on the concept of perfect square trinomials.
Concept

Perfect Square Trinomial

Just as a perfect square integer, such as can be written as the square of integer square roots, a perfect square trinomial is a trinomial which can be written as the square of a binomial.

There are two general types of perfect square trinomials that can be useful when dealing with quadratic functions or quadratic equations. This process involves factoring the quadratic trinomial and rewriting the perfect square trinomial as the square of a binomial.
Rule

Factoring a Perfect Square Trinomial

To be able to rewrite an expression to include a perfect square trinomial, it is first necessary to be able to recognize them. This can be achieved by expanding the square of a general binomial. The factoring is then done in the opposite direction. There are two kinds of perfect square trinomials, leading to different signs between the terms in the binomial.

Rule

If a trinomial is in the form where and are variables or positive numbers, it is a perfect square trinomial that can be factored as This is shown by expanding the squared binomial.

Thus, the trinomial and the square are equal.

Rule

If a trinomial instead is in the form it is also a perfect square trinomial and can be factored as This is shown by expanding the squared binomial.

The trinomial and the square are indeed equal.

fullscreen
Exercise

The expressions in the table are perfect square trinomials. Complete the expressions to ensure equivalence between corresponding standard forms and factored forms.

standard form factored form
__ ___
______
___ __ ___
___ __ ___
Show Solution
Solution

Here the same expressions are written both in standard form and in factored form, but one or more terms are missing in each expression. To identify the missing term(s) the rules for factoring a perfect square trinomial are useful.


and

To help us identify the terms in the rule in the first example, we can for the expression rewrite as and as


__ ___

To make the expressions match each other we will fill in where the blanks are.


We can use this reasoning to complete the other perfect square trinomials in the table. Next, we'll consider the second row.


______

To fill in the second blank we use that must be which gives us that When we study the first blank we can match with What is left is


This we prefer writing as Let's continue with the third row


_____ ___

Here the terms and match each other. Since the terms and must match each other we find that or Let's use this to fill in the blanks in the expression.


By squaring we get that the second row reads We are now going to deal with the last row in the table.


_____ ___

The lines match each other when giving us the first blank and the second blank Let's write them together with the blanks filled in.


We'll summarize our results by adding the found values to the table.

standard form factored form
Concept

Completing the Square

Completing the square is a method by which a quadratic expression is rewritten as a difference of a perfect square trinomial and a constant. Commonly this is done by adding and subtracting a constant, By choosing the constant, as the quadratic expression becomes a difference of a perfect square trinomial and a constant. The quadratic expression can then be factored and written and written in vertex form.

Extra

Completing the Square, In-Depth
Concept

Quadratic Expressions in the Form

When completing the square for a quadratic expression in the form the constant must also be taken into account. When adding and subtracting the term the quadratic expression gets a constant term of

Concept

Factoring

After completing its square, a quadratic expression can be rewritten into vertex form by factoring the perfect square trinomial.

Concept

Solving Quadratic Equations

Completing the square can be used when solving quadratic equations. An equation in the form is then rewritten by isolating the and terms. By adding the term to both sides of the equation, a perfect square trinomial is formed. The equation can then be rewritten by factoring the perfect square trinomial. When the equation is written on this form it can be solved with square roots.

Concept

Geometric Interpretation of Completing the Square

It can be helpful to visualize what's going on when completing the square. Press the button below to see an animation of this concept.
Complete the square

Method

Completing the Square

This is a method by which a quadratic expression is rewritten as a difference of a perfect square trinomial and a constant. To use the Completing the Square method, there are five steps to follow.

1

Factor the Coefficient of

It is easier to complete the square when the expression is written in the form Therefore, any coefficient of that does not equal should be factored out. For simplicity of the following steps, it will be assumed that For values of other than the same steps should be performed. The only difference is that the new coefficients instead of and instead of — will be used.

2

Identify the Constant Needed to Complete the Square

The constant needed to complete the square can now be identified by focusing on the and terms, while ignoring the rest. One way to find it is by squaring half the coefficient of the term, which in this case is Note that leaving the constant as a power makes the next steps easier to perform.

3

Complete the Square

The square can now be completed by adding and subtracting the constant found in Step Note that the value of the original expression will not be changed, since the result of adding and subtracting the same value is equal to The first three terms form a perfect square trinomial, which can be factored. The rest two terms do not contain the variable so their value is constant.

4

Factor the Perfect Square Trinomial
The perfect square trinomial can now be factored and written as the square of a binomial.
The process of completing the square is now finished.

5

Simplify the expression
Finally, if needed, the expression can be simplified. In case was not equal to now is a good time to remove the parentheses and multiply the obtained expression by
Complete the square
Distribute
The method of completing the square is often used to solve quadratic equations. To do so, the perfect square polynomial should be written on one side of the equation, while the constant should be on another side. Then the solutions are found by calculating the square roots of each side.

Why

Instead of a purely algebraic approach, it can be helpful to visualize the process of completing the square geometrically. Press the button below to see an animation of this method.
Complete the square

As it can be observed, the process of completing the square has the geometric meaning of finding a square that transforms a geometric figure compound of a square and a rectangle into another square.

fullscreen
Exercise

Consider the quadratic function Complete the square to determine the vertex and zeros of the parabola. Then, use them to draw the graph.

Show Solution
Solution
To begin, we'll complete the square on by focusing on the coefficient of which is Since is the constant term that will create a perfect square trinomial.
Notice that is now written in vertex form. It can be seen that 's vertex is To find the zeros we can set equal to and solve.
Thus, the zeros of the parabola are and Lastly, we can use the vertex and the zeros to draw the graph of
{{ 'mldesktop-placeholder-grade-tab' | message }}
{{ 'mldesktop-placeholder-grade' | message }} {{ article.displayTitle }}!
{{ grade.displayTitle }}
{{ exercise.headTitle }}
{{ 'ml-tooltip-premium-exercise' | message }}
{{ 'ml-tooltip-programming-exercise' | message }} {{ 'course' | message }} {{ exercise.course }}
Test
{{ 'ml-heading-exercise' | message }} {{ focusmode.exercise.exerciseName }}
{{ 'ml-btn-previous-exercise' | message }} arrow_back {{ 'ml-btn-next-exercise' | message }} arrow_forward