[cross-reference to target(s) "ccog-solve-by-completing-the-square" missing or not unique]
In this section, we will learn how to “complete the square” with a quadratic expression. This topic is useful for solving quadratic equations and putting quadratic functions in vertex form.
Figure13.3.1.Alternative Video Lessons
Subsection13.3.1Solving Quadratic Equations by Completing the Square
When we have an equation like , we can solve it quickly using the square root property:
oror
The method of completing the square allows us to solve any quadratic equation using the square root property.
Suppose you have a small quadratic expression in the form . It can be visualized as an “L”-shape as in Figure 2.
Figure13.3.2.
The “missing” square in the upper right corner of Figure 2 is on each side, so its area is . This means that if we have and add , we are “completing” the larger square.
Fact13.3.3.The Term that Completes the Square.
For a polynomial , the constant term needed to make a perfect square trinomial is .
Process13.3.4.Completing the Square.
For a quadratic equation simplified to the form , to solve for by completing the square,
Use Fact 3 to find the number to add to both sides of the equation to make the left hand side a perfect square. This number is always .
Add that number to both sides of to get
The left hand side is now a perfect square that factors as , so the equation becomes
Solve the quadratic equation by completing the square.
Explanation.
To solve the quadratic equation , on the left side we can complete the square by adding ; note that in this case, which makes . We add it to both sides to maintain equality.
Now that we have completed the square, we can solve the equation using the square root property.
oror
The solution set is .
Now let’s see the process for completing the square when the quadratic equation is given in standard form.
Example13.3.6.
Solve by completing the square.
Explanation.
We see that the polynomial on the left side is not a perfect square trinomial, so we need to complete the square. We subtract from both sides so we can add the missing term on the left.
Next comes the completing-the-square step. We need to add the correct number to both sides of the equation to make the left side a perfect square. Remember that Fact 3 states that we need to use for this. In our case, , so
oror
The solution set is .
Checkpoint13.3.7.
Complete the square to solve for in .
Explanation.
To complete the square, first move the constant term to the right side of the equation. Then use Fact 3 to find to add to both sides.
In our case, , so
oror
The solution set is .
So far, the value of has been even each time, which makes a whole number. When is odd, we end up adding a fraction to both sides. Here is an example.
Example13.3.8.
Complete the square to solve for in .
Explanation.
First move the constant term to the right side of the equation:
Next, to complete the square, we need to find the right number to add to both sides. According to Fact 3, we need to divide the value of by and then square the result to find the right number. First, divide by :
(13.3.1)
and then we square that result:
(13.3.2)
Now we can add the from Equation (13.3.2) to both sides of the equation to complete the square.
Now, to factor the seemingly complicated expression on the left, just know that it should always factor using the number from the first step in the completing the square process, Equation (13.3.1).
orororor
The solution set is .
In each of the previous examples, the value of was equal to . This is necessary for our missing term formula to work. When is not equal to we will divide both sides by . Let’s look at an example of that.
Example13.3.9.
Solve for in by completing the square.
Explanation.
Because there is a leading coefficient of , we divide both sides by .
Here, remember that we always factor with the number found in the first step of completing the square, Equation (13.3.3).
ororor
The solution set is .
Subsection13.3.2Deriving the Quadratic Formula by Completing the Square
In Section 7.2, we learned the Quadratic Formula. You may have wondered where the formula comes from, and now that we know how to complete the square, we can derive it. We will solve the standard form equation for .
First, we subtract from both sides and divide both sides by .
Next, we complete the square by taking half of the middle coefficient and squaring it. First,
Remember that the left side always factors with the value we found in Equation (13.3.5). So we have:
To find a common denominator on the right, we multiply by in the numerator and denominator on the second term.
Now that we have completed the square, we can see that the -value of the vertex is . That is the vertex formula. Next, we solve the equation using the square root property to find the Quadratic Formula.
This shows us that the solutions to the equation are .
Subsection13.3.3Putting Quadratic Functions in Vertex Form
In Section 2, we learned about the vertex form of a parabola, which allows us to quickly read the coordinates of the vertex. We can now use the method of completing the square to put a quadratic function in vertex form. Completing the square with a function is a little different than with an equation so we will start with an example.
Example13.3.10.
Write a formula in vertex form for the function defined by
Explanation.
The formula is in the form , so we need to add to complete the square by Fact 3. When we had an equation, we could add the same quantity to both sides. But now we do not wish to change the left side, since we are trying to end up with a formula that still says . Instead, we add and subtract the term from the right side in order to maintain equality. In this case,
To maintain equality, we both add and subtract on the same side of the equation. It is functionally the same as adding on the right, but the makes it possible to factor the expression in a particular way:
Now that we have completed the square, our function is in vertex form. The vertex is . One way to verify that our work is correct is to graph the original version of the function and check that the vertex is where it should be.
Figure13.3.11.Graph of
Let’s look at a function that has a constant term and see how to complete the square.
Example13.3.12.
Write a formula in vertex form for the function defined by
Explanation.
To complete the square, we need to add and subtract on the right side.
The vertex is .
In the first two examples, was equal to . When is not equal to one, we have an additional step. Since we are working with an expression where we intend to preserve the left side as , we cannot divide both sides by . Instead we factor out of the first two terms. Let’s look at an example of that.
Example13.3.13.
Write a formula in vertex form for the function defined by
Explanation.
Before we can complete the square, we factor the out of the first two terms.
Now we complete the square inside the parentheses by adding and subtracting .
Notice that the constant that we subtracted is inside the parentheses, but it will not be part of our perfect square trinomial. In order to bring it outside, we need to multiply it by . We are distributing the to that term so we can combine it with the outside term.
The vertex is .
Here is an example that includes fractions.
Example13.3.14.
Write a formula in vertex form for the function defined by
Explanation.
First, we factor the leading coefficient out of the first two terms.
Next, we complete the square for inside the grouping symbols by adding and subtracting the right number. To find that number, we divide the value of by two and square the result. That looks like:
Remember that when completing the square, the expression should always factor with the number found in the first step of the completing-the-square process, Equation (13.3.7).
The vertex is .
Completing the square can also be used to find a minimum or maximum in an application.
Example13.3.15.
In Example 5.4.16, we learned that artist Tyrone’s annual income from paintings can be modeled by , where is the number of times he will raise the price per painting by $20.00. To maximize his income, how should Tyrone set his price per painting? Find the maximum by completing the square.
Explanation.
To find the maximum is essentially the same as finding the vertex, which we can find by completing the square. To complete the square for , we start by factoring out the from the first two terms:
Next, we complete the square for by adding and subtracting .
The vertex is the point . This implies Tyrone should raise the price per painting times, which is dollars. He would sell paintings. This would make the price per painting dollars, and his annual income from paintings would become $22,500 by this model.
Subsection13.3.4Graphing Quadratic Functions by Hand
Now that we know how to put a quadratic function in vertex form, let’s review how to graph a parabola by hand.
Example13.3.16.
Graph the function defined by by determining its key features algebraically.
Explanation.
To start, we’ll note that this function opens upward because the leading coefficient, , is positive.
Now we may complete the square to find the vertex. We factor the out of the first two terms, and then add and subtract on the right side.
The vertex is so the axis of symmetry is the line .
To find the -intercept, we’ll replace with or read the value of from the function in standard form:
The -intercept is and we can find its symmetric point on the graph, which is .
Next, we’ll find the horizontal intercepts. We see this function factors so we write the factored form to get the horizontal intercepts.
The -intercepts are and .
Now we plot all of the key points and draw the parabola.
Figure13.3.17.The graph of .
Example13.3.18.
Write a formula in vertex form for the function defined by , and find the graph’s key features algebraically. Then sketch the graph.
Explanation.
In this function, the leading coefficient is negative so it will open downward. To complete the square we first factor out of the first two terms.
Now, we add and subtract the correct number on the right side of the function: .
The vertex is so the axis of symmetry is the line .
We find the -intercept by looking at the value of , which is . So, the -intercept is and we can find its symmetric point on the graph, .
The original expression, , does not factor so to find the -intercepts we need to set and complete the square or use the quadratic formula. Since we just went through the process of completing the square above, we can use that result to save several repetitive steps.
ororor
The -intercepts are approximately and . Now we can plot all of the points and draw the parabola.
Figure13.3.19.The graph of .
Reading Questions13.3.5Reading Questions
1.
For the expression , explain in words what is the next step to complete the square.
2.
Why is completing the square called completing the square?
3.
How can you check that they completed the square correctly?
Exercises13.3.6Exercises
Review and Warmup.
1.
Use a square root to solve .
2.
Use a square root to solve .
3.
Use a square root to solve .
4.
Use a square root to solve .
5.
Use a square root to solve .
6.
Use a square root to solve .
7.
Use a square root to solve .
8.
Use a square root to solve .
9.
Use a square root to solve .
10.
Use a square root to solve .
11.
Use a square root to solve .
12.
Use a square root to solve .
Completing the Square to Solve Equations.
13.
Solve the equation by completing the square.
14.
Solve the equation by completing the square.
15.
Solve the equation by completing the square.
16.
Solve the equation by completing the square.
17.
Solve the equation by completing the square.
18.
Solve the equation by completing the square.
19.
Solve the equation by completing the square.
20.
Solve the equation by completing the square.
21.
Solve the equation by completing the square.
22.
Solve the equation by completing the square.
23.
Solve the equation by completing the square.
24.
Solve the equation by completing the square.
25.
Solve the equation by completing the square.
26.
Solve the equation by completing the square.
27.
Solve the equation by completing the square.
28.
Solve the equation by completing the square.
Converting to Vertex Form.
29.
Consider .
Give the formula for in vertex form.
What is the vertex of the parabola graph of ?
30.
Consider .
Give the formula for in vertex form.
What is the vertex of the parabola graph of ?
31.
Consider .
Give the formula for in vertex form.
What is the vertex of the parabola graph of ?
32.
Consider .
Give the formula for in vertex form.
What is the vertex of the parabola graph of ?
33.
Consider .
Give the formula for in vertex form.
What is the vertex of the parabola graph of ?
34.
Consider .
Give the formula for in vertex form.
What is the vertex of the parabola graph of ?
Domain and Range.
35.
Complete the square to convert the quadratic function from standard form to vertex form, and use the result to find the function’s domain and range.
The domain of is
The range of is
36.
Complete the square to convert the quadratic function from standard form to vertex form, and use the result to find the function’s domain and range.
The domain of is
The range of is
37.
Complete the square to convert the quadratic function from standard form to vertex form, and use the result to find the function’s domain and range.
The domain of is
The range of is
38.
Complete the square to convert the quadratic function from standard form to vertex form, and use the result to find the function’s domain and range.
The domain of is
The range of is
39.
Complete the square to convert the quadratic function from standard form to vertex form, and use the result to find the function’s domain and range.
The domain of is
The range of is
40.
Complete the square to convert the quadratic function from standard form to vertex form, and use the result to find the function’s domain and range.
The domain of is
The range of is
41.
Complete the square to convert the quadratic function from standard form to vertex form, and use the result to find the function’s domain and range.
The domain of is
The range of is
42.
Complete the square to convert the quadratic function from standard form to vertex form, and use the result to find the function’s domain and range.
The domain of is
The range of is
Sketching Graphs of Quadratic Functions.
Graph each function by algebraically determining its key features. Then state the domain and range of the function.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
Information from Vertex Form.
63.
Find the minimum value of the function
64.
Find the minimum value of the function
65.
Find the maximum value of the function
66.
Find the maximum value of the function
67.
Find the range of the function
68.
Find the range of the function
69.
Find the range of the function
70.
Find the range of the function
71.
If a ball is throw straight up with a speed of , its height at time (in seconds) is given by
Find the maximum height the ball reaches.
72.
If a ball is throw straight up with a speed of , its height at time (in seconds) is given by
Find the maximum height the ball reaches.
Challenge.
73.
Let . Let and be real numbers. Complete the square to find the vertex of . Write in vertex form and then state the vertex.
You have attempted 1 of 2 activities on this page.