Use the square root property to solve a quadratic equation
Complete the square to solve a quadratic equation
Quadratic equations can be solved in many ways. You may already be familiar with factoring to solve some quadratic equations. However, not all quadratic equations can be factored. In this topic, you will use square roots to learn another way to solve quadratic equations—and this method will work with all quadratic equations.
Solve a Quadratic Equation by the Square Root Property
One way to solve the quadratic equation x2=9 is to subtract 9 from both sides to get one side equal to 0: x2−9=0. The expression on the left can be factored, it is a difference of squares: (x+3)(x–3)=0. Using the zero factor property, you know this means x+3=0 or x–3=0, so x=−3 or 3.
Another property would let you solve that equation more easily is called the square root property.
The Square Root Property
If x2=a, then x=a or −a.
The property above says that you can take the square root of both sides of an equation, but you have to think about two cases: the positive square root of a and the negative square root of a.
A shortcut way to write “a” or “−a” is ±a. The symbol ± is often read “positive or negative.” If it is used as an operation (addition or subtraction), it is read “plus or minus.”
Example
Solve using the Square Root Property. x2=9
Answer: Since one side is simply x2, you can take the square root of both sides to get x on one side. Don’t forget to use both positive and negative square roots!
x2=9x=±9x=±3
Answer
x=±3 (that is, x=3 or −3)
Notice that there is a difference here in solving x2=9 and finding 9. For x2=9, you are looking for all numbers whose square is 9. For 9, you only want the principal (nonnegative) square root. The negative of the principal square root is −9; both would be ±9. Unless there is a symbol in front of the radical sign, only the nonnegative value is wanted!
In the example above, you can take the square root of both sides easily because there is only one term on each side. In some equations, you may need to do some work to get the equation in this form. You will find that this involves isolating x2.
In our first video we will show more examples of using the square root property to solve a quadratic equation.
https://youtu.be/Fj-BP7uaWrI
Example
Solve. 10x2+5=85
Answer: If you try taking the square root of both sides of the original equation, you will have 10x2+5 on the left, and you can’t simplify that. Subtract 5 from both sides to get the x2 term by itself.
10x2+5=85
You could now take the square root of both sides, but you would have 10 as a coefficient, and you would need to divide by that coefficient. Dividing by 10 before you take the square root will be a little easier.
10x2=80
Now you have only x2 on the left, so you can use the Square Root Property easily.
Be sure to simplify the radical if possible.
x2=8x=±8=±(4)(2)=±42=±22
Answer
x=±22
Sometimes more than just the x is being squared:
Example
Solve. (x–2)2–50=0
Answer: Again, taking the square root of both sides at this stage will leave something you can’t work with on the left. Start by adding 50 to both sides.
(x−2)2−50=0
Because (x–2)2 is a squared quantity, you can take the square root of both sides.
(x−2)2=50x−2=±50
To isolate x on the left, you need to add 2 to both sides.
Be sure to simplify the radical if possible.
x=2±50=2±(25)(2)=2±252=2±52
Answer
x=2±52
In the next video you will see more examples of using square roots to solve quadratic equations.
https://youtu.be/4H5qZ_-8YM4
Solve a Quadratic Equation by Completing the Square
Not all quadratic equations can be factored or solved in their original form using the square root property. In these cases, we may use a method for solving a quadratic equation known as completing the square. Using this method, we add or subtract terms to both sides of the equation until we have a perfect square trinomial on one side of the equal sign. We then apply the square root property.
First, let's make sure we can recognize a perfect square trinomial and how factor it.
Example
Factor 9x2–24x+16.
Answer:
First notice that the x2 term and the constant term are both perfect squares.
9x2=(3x)216=42
Then notice that the middle term (ignoring the sign) is twice the product of the square roots of the other terms.
24x=2(3x)(4)
A trinomial in the form r2−2rs+s2 can be factored as (r–s)2.
In this case, the middle term is subtracted, so subtract r and s and square it to get (r–s)2.
r=3xs=49x2−24x+16=(3x−4)2
If this were an equation, we could solve using either the square root property or the zero product property. If you don't start with a perfect square trinomial, you can complete the square to make what you have into one.
To complete the square, the leading coefficient, a, must equal 1. If it does not, then divide the entire equation by a. Then, we can use the following procedures to solve a quadratic equation by completing the square.
Steps for Completing The Square
We will use the example x2+4x+1=0 to illustrate each step.
Given a quadratic equation that cannot be factored, and with a=1, first add or subtract the constant term to the right side of the equal sign.
x2+4x=−1
Multiply the b term by 21 and square it.
21(4)=222=4
Add (21b)2 to both sides of the equal sign and simplify the right side. We have
x2+4x+4=−1+4x2+4x+4=3
The left side of the equation can now be factored as a perfect square.
x2+4x+4=3(x+2)2=3
Use the square root property and solve.
(x+2)2=±3x+2=±3x=−2±3
The solutions are x=−2+3, x=−2−3.
Example
Solve by completing the square. x2–12x–4=0
Answer: Since you cannot factor the trinomial on the left side, you will use completing the square to solve the equation.
First, move the constant term to the right side of the equal sign.Identify b.
x2−12x=4b=−12
Then, take 21 of the b term and square it. Add (2b)2 to complete the square, so (2b)2=(2−12)2=(−6)2=36.
Add the value to both sides of the equation and simplify.
x2−12x+36=4+36x2−12x+36=40
Rewrite the left side as a squared binomial.
(x−6)2=40
Use the Square Root Property. Remember to include both the positive and negative square root, or you’ll miss one of the solutions.
x−6=±40
Solve for x by adding 6 to both sides. Simplify as needed.
x=6±40=6±410=6±210
Answer
x=6±210
Example
Solve by completing the square: x2−3x−5=0.
Answer:
First, move the constant term to the right side of the equal sign.
x2−3x=5
Identify b. b=−3
Then, take 21 of the b term and square it.
21(−3)=−23(−23)2=49
Add the result to both sides of the equal sign.
x2−3x+(−23)2=5+(−23)2x2−3x+49=5+49
Factor the left side as a perfect square and simplify the right side.
(x−23)2=429
Use the square root property and solve.
(x−23)2(x−23)x=±429=±229=23±229
The solutions are x=23+29, x=23−29.
In the next video you will see more examples of how to use completing the square to solve a quadratic equation.
https://youtu.be/PsbYUySRjFo
You may have noticed that because you have to use both square roots, all the examples have two solutions. Here is another example that’s slightly different.
Example
Solve by completing the square. x2+16x+17=−47.
Answer: Rewrite the equation so the left side has the form x2+bx. Identify b.
x2+16x=−64b=16
Add (2b)2, which is (216)2=82=64, to both sides.
x2+16x+64=−64+64x2+16x+64=0
Write the left side as a squared binomial.
(x+8)2=0
Take the square roots of both sides. Normally both positive and negative square roots are needed, but 0 is neither positive nor negative. 0 has only one root.
x+8=0
Solve for x.
x=−8
Answer
x=−8
Take a closer look at this problem and you may see something familiar. Instead of completing the square, try adding 47 to both sides in the equation. The equation x2+16x+17=−47 becomes x2+16x+64=0. Can you factor this equation using grouping? (Think of two numbers whose product is 64 and whose sum is 16).
It can be factored as (x+8)(x+8)=0, of course! Knowing how to complete the square is very helpful, but it is not always the only way to solve an equation.
In our last video, we show an example of how to use completing the square to solve a quadratic equation whose solutions are rational.
https://youtu.be/IjCjbtrPWHM
Summary
Completing the square is used to change a binomial of the form x2+bx into a perfect square trinomial x2+bx+(2b)2, which can be factored to (x+2b)2. When solving quadratic equations by completing the square, be careful to add (2b)2 to both sides of the equation to maintain equality. The Square Root Property can then be used to solve for x. With the Square Root Property, be careful to include both the principal square root and its opposite. Be sure to simplify as needed.
Licenses & Attributions
CC licensed content, Shared previously
College Algebra.Provided by: OpenStaxAuthored by: Abramson, Jay, et al..Located at: https://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1/Preface.License: CC BY: Attribution. License terms: Download for free at: http://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1/Preface.
Ex 1: Solving Quadratic Equations Using Square Roots.Authored by: James Sousa (Mathispower4u.com) for Lumen Learning.License: CC BY: Attribution.
Ex 2: Solving Quadratic Equations Using Square Roots.Authored by: James Sousa (Mathispower4u.com) for Lumen Learning.License: CC BY: Attribution.
Ex 1: Completing the Square - Real Rational Solutions.Authored by: James Sousa (Mathispower4u.com) for Lumen Learning.License: CC BY: Attribution.
Ex 2: Completing the Square - Real Irrational Solutions.Authored by: James Sousa (Mathispower4u.com) for Lumen Learning.License: CC BY: Attribution.