6.1 Solving Quadratic Equations

Learning Outcomes

  • Solve quadratic equations using the square root principle for equations with integer, rational, irrational, or complex number solutions.
  • Solve quadratic equations by the method of completing the square for equations with integer, rational, irrational, or complex number solutions.

Quadratic equations can be solved using many methods. You should already be familiar with factoring to solve some quadratic equations. However, not all quadratic equations can be factored. In this section, you will learn two other ways to solve quadratic equations.

Solve a Quadratic Equation by the Square Root Property

In this lesson we will solve quadratic equations where the variable is raised to the second power, x2x2 . Examples of the types of quadratic equations that will be solved include:

  • x2=25x2=25
  • (x3)2=64(x3)2=64
  • 3(x+1)2=483(x+1)2=48

Whenever there is a way to do something in math, there is always a way to undo it. Every operation in mathematics has an inverse operation. The inverse operation of subtraction is addition. The inverse operation of multiplication is division. The inverse operation of taking the square root is squaring (raising to the power of 2). When we take the square root, we must remember to take both the positive AND the negative square roots.

One way to solve the quadratic equation x2=9x2=9 is to subtract 99 from both sides to get right side of the equation equal to 0.

x29=0x29=0

Notice that the expression on the left can be factored; it is a difference of squares. Now you can solve this quadratic equation is by factoring the left side of the equation and then using the zero-product property.

(x+3)(x3)=0(x+3)(x3)=0.

Using the zero-product property, x+3=0x+3=0 or x3=0x3=0, so x=3x=3 or 33.

Another property that would let you solve this equation more easily is called the square root property.

The Square Root Property

If x2=px2=p,

then x=px=p or x=px=p.

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 pp and the negative square root of pp.

When using the Square Root Property to solve an equation such as the one above (x2=px2=p), the solutions can be abbreviated as x=±px=±p. This is read as “x equals plus or minus the square root of p.” These still represent the same solutions of x=px=p or x=px=p.

Example

Solve using the Square Root Property. x2=9x2=9

Notice that there is a difference here in solving x2=9x2=9 and simplifying 99. For x2=9x2=9, you are looking for all numbers whose square is 99. For 99, you only want the principal (nonnegative) square root.

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 x2x2.

In our first video, we will show more examples of using the square root property to solve a quadratic equation.

Example

Solve. 10x2+5=8510x2+5=85

In the next example, we have a quantity squared and that is what we need to isolate to solve this using the Square Root Property.

Example

Solve. (x2)250=0(x2)250=0

In the next video, you will see more examples of using square roots to solve quadratic equations.

Solve a Quadratic Equation by Completing the Square

When you square a number, the product is called a perfect square. For example, 52=55=2552=55=25 so 25 is a perfect square. Here is a list of some integers that are also perfect squares: 1,4,9,16,25,36,49,64,81,100...1,4,9,16,25,36,49,64,81,100.... We can also visualize integers that are perfect squares by arranging equal rows and columns to form a square, as shown below.

Take a closer look at the perfect square trinomials below. What do you notice about the constant terms? How are those constant terms related to the factored form and the binomial squared?

Perfect Square Trinomial

Factored Form

Binomial Squared

x2+10x+25x2+10x+25 (x+5)(x+5)(x+5)(x+5) (x+5)2(x+5)2
x26x+9x26x+9 (x3)(x3)(x3)(x3) (x3)2(x3)2
x28x+16x28x+16 (x4)(x4)(x4)(x4) (x4)2(x4)2

Did you notice in the first example that the constant term, 2525, of the trinomial is a perfect square? We know that 25=55=5225=55=52 and this helps us to confirm why there are 55‘s in the factored form and the 55 in the binomial squared form. Did you notice that the constant term of the trinomial is always positive, even when the xx term is negative? Notice that this same idea applies to the other two examples above.

Let’s take a look at the xx term (middle term) of the trinomial. How is it related to the binomial that is being squared? Looking at the first example above, did you notice that if you find half of the coefficient of the middle term of the trinomial, 1010, that it is equal to 55? Which is also the second term of the binomial squared. Does this same pattern hold true for the other above examples? Yes it does. In the second example, if we take half of 66, we get 33 and in the third example if we take half of 88 we get 44.

Not all trinomials can be factored and not all trinomials in the form of ax2+bx+cax2+bx+c are perfect square trinomials. When they are not, we will need to change these trinomials into perfect square trinomials so that we can use this method to solve quadratic equations. 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. In this course, we will only be completing the square on trinomials that have a leading coefficient of 11. In later courses you will learn how to complete the square when the leading coefficient does not equal 1.

First, let’s make sure we remember how to factor a perfect square trinomial.

Example

Factor 9x224x+169x224x+16.

If this were an equation, we could solve using either the square root property or the zero product property. If you do not start with a perfect square trinomial, you can complete the square to make what you have into one.

In this course when we complete the square, the leading coefficient, a, will equal 1. Let’s look at an equation that does not have a perfect square trinomial.

x2+8x84=0x2+8x84=0

To change the left side of the equation into a perfect square trinomial, let’s start by adding 84 to both sides of the equation which is:

x2+8x=84x2+8x=84 and rewrite the equation to look like x2+8x+___=84+___x2+8x+___=84+___.

Now we need to figure out what to put in the blanks to make the left side of the equation a perfect square trinomial. To do this, we will find half of the coefficient of the middle term which is 82=482=4. Then take that answer and square it (4)2=16(4)2=16. So, 1616 is the number that we need to fill in the blanks with to make the left side into a perfect square trinomial.

x2+8x+16=84+16x2+8x+16=100x2+8x+16=84+16x2+8x+16=100

Now, rewrite the left side of the equation as a binomial squared. Then square root both sides of the equation (using the Square Root Property) to solve for xx.

(x+4)2=100(x+4)2=100x+4=±10(x+4)2=100(x+4)2=100x+4=±10

Now write as two equations and solve each equation by subtracting 44 from both sides of each of the equations.

x+4=10x+4=10 OR x+4=10x+4=10

x=6x=6 OR x=14x=14

You might be wondering why this method is called Completing the Square. The following video will help you visualize geometrically what is meant by Completing the Square.

We can use the following steps to solve a quadratic equation by completing the square.

Steps for Completing The Square

We will use the example x2+4x+1=0x2+4x+1=0 to illustrate each step.

  1. Given a quadratic equation that cannot be factored and with a=1a=1, first add or subtract the constant term to the right side of the equal sign.
    x2+4x=1x2+4x=1
  2. Multiply the bb term by 1212 and square it.
    12(4)=222=412(4)=222=4
  3. Add (12b)2(12b)2 to both sides of the equal sign and simplify the right side. In this case  we will add 4, then we have:
    x2+4x+4=1+4x2+4x+4=3x2+4x+4=1+4x2+4x+4=3
  4. The left side of the equation can now be factored as a perfect square trinomial.
    x2+4x+4=3(x+2)2=3x2+4x+4=3(x+2)2=3
  5. Use the square root property and solve.
    (x+2)2=3x+2=±3x=2±3(x+2)2=3x+2=±3x=2±3
  6. The exact solutions are x=2+3x=2+3, x=23x=23. Sometimes you might be asked to give approximated solutions to a given place value. The approximated solutions rounded to the nearest hundredth are x3.73,x0.27x3.73,x0.27.

 

Example

Solve by completing the square. x212x4=0x212x4=0

Example

Solve by completing the square: x23x5=0x23x5=0.

In the next video, you will see more examples of how to use completing the square to solve a quadratic equation.

You may have noticed that because you have to use both square roots, all the examples have two solutions. Here is another example that is slightly different.

Example

Solve by completing the square. x2+16x+17=47x2+16x+17=47.

Take a closer look at this problem and you may see something familiar. Instead of completing the square, try adding 4747 to both sides in the equation. The equation x2+16x+17=47x2+16x+17=47 becomes x2+16x+64=0x2+16x+64=0. Can you factor this equation using grouping? (Think of two numbers whose product is 64 and whose sum is 1616).

It can be factored as (x+8)(x+8)=0(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 irrational.

In the next example, take notice of the type and number of solutions.

Example

Solve by completing the square. x22x41=60x22x41=60.

 

Summary

Completing the square is used to change a binomial of the form x2+bxx2+bx into a perfect square trinomial x2+bx+(b2)2x2+bx+(b2)2 which can be factored to (x+b2)2(x+b2)2. When we have a quadratic equation that cannot be factored, we can use completing the square to solve it. When solving quadratic equations by completing the square, be careful to add (b2)2(b2)2 to both sides of the equation to maintain equality. The Square Root Property can then be used to solve for xx. With the Square Root Property, be careful to include both the principal square root and its opposite. Be sure to simplify as needed.