<meta http-equiv="refresh" content="1; url=/nojavascript/"> Solving Quadratic Equations by Completing the Square | CK-12 Foundation
You are reading an older version of this FlexBook® textbook: CK-12 Algebra - Basic Go to the latest version.

# 10.4: Solving Quadratic Equations by Completing the Square

Created by: CK-12

There are several ways to write an equation for a parabola:

• Standard form: $y=ax^2+bx+c$
• Factored form: $y=(x+m)(x+n)$
• Vertex form: $y=a(x-h)^2+k$

Vertex form of a quadratic equation: $y=a(x-h)^2+k$, where $(h,k)=$ vertex of the parabola and $a=$ leading coefficient

Example 1: Determine the vertex of $y=-\frac{1}{2} (x-4)^2-7$. Is this a minimum or a maximum point of the parabola?

Solution: Using the definition of vertex form, $h=4, k=-7$.

• The vertex is (4, –7).
• Because $a$ is negative, the parabola opens downward.
• Therefore, the vertex (4, –7) is a maximum point of the parabola.

Once you know the vertex, you can use symmetry to graph the parabola.

$x$ $y$
2
3
4 –7
5
6

Example 2: Write the equation for a parabola with $a=3$ and vertex (–4, 5) in vertex form.

Solution: Using the definition of vertex form $y=a(x-h)^2+k, h=-4$ and $k=5$.

$y &= 3(x-(-4))^2+5\\y &= 3(x+4)^2+5$

Consider the quadratic equation $y=x^2+4x-2$. What is its vertex? You could graph this using your calculator and determine the vertex or you could complete the square.

## Completing the Square

Completing the square is a method used to create a perfect square trinomial, as you learned in the previous chapter.

A perfect square trinomial has the form $a^2+2(ab)+b^2$, which factors into $(a+b)^2$.

Example: Find the missing value to create a perfect square trinomial: $x^2+8x+?$.

Solution: The value of $a$ is $x$. To find $b$, use the definition of the middle term of the perfect square trinomial.

$&& 2(ab) &= 8x\\a \ \text{is} \ x, && 2(xb) &= 8x\\\text{Solve for} \ b: && \frac{2xb}{2x} &= \frac{8x}{2x} \rightarrow b=4$

To complete the square you need the value of $b^2$.

$b^2=4^2=16$

The missing value is 16.

To complete the square, the equation must be in the form: $y=x^2+\left(\frac{1}{2} b \right )x+b^2$.

Looking at the above example, $\frac{1}{2}(8)=4$ and $4^2=16$.

Example 3: Find the missing value to complete the square of $x^2+22x+$?. Then factor.

Solution: Use the definition of the middle term to complete the square.

$\frac{1}{2} (b)=\frac{1}{2} (22)=11$

Therefore, $11^2=121$ and the perfect square trinomial is $x^2+22x+121$. Rewriting in its factored form, the equation becomes $(x+11)^2$.

## Solve Using Completing the Square

Once you have the equation written in vertex form, you can solve using the method learned in the last lesson.

Example: Solve $x^2+22x+121=0$.

Solution: By completing the square and factoring, the equation becomes:

$&& (x+11)^2 &= 0\\\text{Solve by taking the square root:} && x+11 &= \pm0\\\text{Separate into two equations:} && x+11 &=0 \ or \ x+11=0\\\text{Solve for} \ x: && x &= -11$

Example: Solve $x^2+10x+9=0$.

Solution: Using the definition to complete the square, $\frac{1}{2}(b)=\frac{1}{2}(10)=5$. Therefore, the last value of the perfect square trinomial is $5^2=25$. The equation given is

$x^2+10x+9=0, \ and \ 9 \neq 25$

Therefore, to complete the square, we must rewrite the standard form of this equation into vertex form.

Subtract 9: $x^2+10x=-9$

Complete the square: Remember to use the Addition Property of Equality.

$&& x^2+10x+25 &= -9+25\\\text{Factor the left side.} && (x+5)^2 &= 16\\\text{Solve using square roots.} && \sqrt{(x+5)^2} &= \pm \sqrt{16}\\&& x+5 &=4 \ or \ x+5=-4\\&& x &= -1 \ or \ x=-9$

Example: An arrow is shot straight up from a height of 2 meters with a velocity of 50 m/s. What is the maximum height that the arrow will reach and at what time will that happen?

Solution: The maximum height is the vertex of the parabola. Therefore, we need to rewrite the equation in vertex form.

$\text{We rewrite the equation in vertext form.} && y &= -4.9t^2+50t+2\\&& y-2 &= -4.9t^2+50t\\&& y-2 &= -4.9(t^2-10.2t)\\\text{Complete the square inside the parentheses.} && y-2-4.9(5.1)^2 &= -4.9(t^2-10.2t+(5.1)^2)\\&& y-129.45 &= -4.9(t-5.1)^2$

The maximum height is 129.45 meters.

Multimedia Link: Visit the http://www.mathsisfun.com/algebra/completing-square.html - mathisfun webpage for more explanation on completing the square.

## Practice Set

Sample explanations for some of the practice exercises below are available by viewing the following video. Note that there is not always a match between the number of the practice exercise in the video and the number of the practice exercise listed in the following exercise set.  However, the practice exercise is the same in both.

1. What does it mean to “complete the square”?
2. Describe the process used to solve a quadratic equation by completing the square.
3. Using the equation from the arrow in the lesson,
1. How high will an arrow be four seconds after being shot? After eight seconds?
2. At what time will the arrow hit the ground again?

Write the equation for the parabola with the given information.

1. $a=a$, vertex $=(h, k)$
2. $a=\frac{1}{3}$, vertex $=(1, 1)$
3. $a=-2$, vertex $=(-5, 0)$
4. Containing (5, 2) and vertex (1, –2)
5. $a=1$, vertex $=(-3, 6)$

Complete the square for each expression.

1. $x^2+5x$
2. $x^2-2x$
3. $x^2+3x$
4. $x^2-4x$
5. $3x^2+18x$
6. $2x^2-22x$
7. $8x^2-10x$
8. $5x^2+12x$

Solve each quadratic equation by completing the square.

1. $x^2-4x=5$
2. $x^2-5x=10$
3. $x^2+10x+15=0$
4. $x^2+15x+20=0$
5. $2x^2-18x=0$
6. $4x^2+5x=-1$
7. $10x^2-30x-8=0$
8. $5x^2+15x-40=0$

Rewrite each quadratic function in vertex form.

1. $y=x^2-6x$
2. $y+1=-2x^2-x$
3. $y=9x^2+3x-10$
4. $y=32x^2+60x+10$

For each parabola, find:

1. The vertex
2. $x-$intercepts
3. $y-$intercept
4. If it opens up or down
5. The graph the parabola
1. $y-4=x^2+8x$
2. $y=-4x^2+20x-24$
3. $y=3x^2+15x$
4. $y+6=-x^2+x$
5. $x^2-10x+25=9$
6. $x^2+18x+81=1$
7. $4x^2-12x+9=16$
8. $x^2+14x+49=3$
9. $4x^2-20x+25=9$
10. $x^2+8x+16=25$
11. Sam throws an egg straight down from a height of 25 feet. The initial velocity of the egg is 16 ft/sec. How long does it take the egg to reach the ground?
12. Amanda and Dolvin leave their house at the same time. Amanda walks south and Dolvin bikes east. Half an hour later they are 5.5 miles away from each other and Dolvin has covered three miles more than the distance that Amanda covered. How far did Amanda walk and how far did Dolvin bike?
13. Two cars leave an intersection. One car travels north; the other travels east. When the car traveling north had gone 30 miles, the distance between the cars was 10 miles more than twice the distance traveled by the car heading east. Find the distance between the cars at that time.

Mixed Review

1. A ball dropped from a height of four feet bounces 70% of its previous height. Write the first five terms of this sequence. How high will the ball reach on its $8^{th}$ bounce?
2. Rewrite in standard form: $y=\frac{2}{7} x-11$.
3. Graph $y=5 \left( \frac{1}{2} \right)^x$. Is this exponential growth or decay? What is the growth factor?
4. Solve for $r: |3r-4| \le 2$.
5. Solve for $m:-2m+6=-8(5m+4)$.
6. Factor $4a^2+36a-40$.

Quick Quiz

1. Graph $y=-3x^2-12x-13$ and identify:
1. The vertex
2. The axis of symmetry
3. The domain and range
4. The $y-$intercept
5. The $x-$intercepts estimated to the nearest tenth
2. Solve $y=x^2+9x+20$ by graphing.
3. Solve for $x: 74=x^2-7$.
4. A baseball is thrown from an initial height of 5 feet with an initial velocity of 100 ft/sec.
1. What is the maximum height of the ball?
2. When will the ball reach the ground?
3. When is the ball 90 feet in the air?
5. Solve by completing the square: $v^2-20v+25=6$

8 , 9

Feb 22, 2012

Aug 21, 2014