Learning Objectives
- (10.1.1) – Use the zero product principle to solve quadratic equations that can be factored
- (10.1.2) – Solve a Quadratic Equation by the Square Root Property
- (10.1.3) – Solve a Quadratic Equation by Completing the Square
- (10.1.4) – The Quadratic Formula
- Use the Quadratic Formula to find solutions of a quadratic equation, (rational, irrational and complex)
- (10.1.5) – Use the discriminant to classify solutions of quadratic equations
An equation containing a second-degree polynomial is called a quadratic equation. For example, equations such as [latex]2{x}^{2}+3x - 1=0[/latex] and [latex]{x}^{2}-4=0[/latex] are quadratic equations. They are used in countless ways in the fields of engineering, architecture, finance, biological science, and, of course, mathematics.
(10.1.1) – Use the zero product principle to solve quadratic equations that can be factored
Often the easiest method of solving a quadratic equation is by factoring. Factoring means finding expressions that can be multiplied together to give the expression on one side of the equation. Note that we will not spend a lot of time explaining how to factor in this section. You may want to seek help if you don’t feel confident about factoring.
Solving by factoring depends on the zero-product property, which states that if [latex]a\cdot b=0[/latex], then [latex]a=0[/latex] or [latex]b=0[/latex], where a and b are real numbers or algebraic expressions.
The process of factoring a quadratic equation depends on the leading coefficient, whether it is 1 or another integer. We will look at both situations; but first, we want to confirm that the equation is written in standard form, [latex]a{x}^{2}+bx+c=0[/latex], where a, b, and c are real numbers, and [latex]a\ne 0[/latex]. The equation [latex]{x}^{2}+x - 6=0[/latex] is in standard form.
We can use the zero-product property to solve quadratic equations in which we first have to factor out the greatest common factor (GCF), and for equations that have special factoring formulas as well, such as the difference of squares, both of which we will see later in this section.
The Zero-Product Property and Quadratic Equations
The zero-product property states
where [latex]a[/latex] and [latex]b[/latex] are real numbers or algebraic expressions.
A quadratic equation is an equation containing a second-degree polynomial; for example
where [latex]a[/latex], [latex]b[/latex], and [latex]c[/latex] are real numbers, and if [latex]a\ne 0[/latex], it is in standard form.
Solving Quadratics with a Leading Coefficient of 1
In the quadratic equation [latex]{x}^{2}+x - 6=0[/latex], the leading coefficient, or the coefficient of [latex]{x}^{2}[/latex], is 1. We have one method of factoring quadratic equations in this form.
Reminder: Given a quadratic equation with the leading coefficient of 1, factor it.
- Find two numbers whose product equals [latex]c[/latex] and whose sum equals [latex]b[/latex].
- Use those numbers to write two factors of the form [latex]\left(x+k\right)\text{ or }\left(x-k\right)[/latex], where [latex]k[/latex] is one of the numbers found in step 1. Use the numbers exactly as they are. In other words, if the two numbers are 1 and [latex]-2[/latex], the factors are [latex]\left(x+1\right)\left(x - 2\right)[/latex].
- Solve using the zero-product property by setting each factor equal to zero and solving for the variable.
Example
Factor and solve the equation: [latex]{x}^{2}+x - 6=0[/latex].
In the following video we provide more examples of factoring to solve quadratic equations.
In our next example, we will solve a quadratic equation that is written as a difference of squares.
Example
Solve the difference of squares equation using the zero-product property: [latex]{x}^{2}-9=0[/latex].
Solving Quadratics with a Leading Coefficient of [latex]\ne1[/latex]
Recall that when the leading coefficient is not 1, we factor a quadratic equation using the method called grouping, which requires four terms. With the equation in standard form, let’s review the grouping procedures:
- With the quadratic in standard form, [latex]a{x}^{2}+bx+c=0[/latex], multiply [latex]a\cdot c[/latex].
- Find two numbers whose product equals [latex]ac[/latex] and whose sum equals [latex]b[/latex].
- Rewrite the equation replacing the [latex]bx[/latex] term with two terms using the numbers found in step 1 as coefficients of [latex]x[/latex].
- Factor the first two terms and then factor the last two terms. The expressions in parentheses must be exactly the same to use grouping.
- Factor out the expression in parentheses.
- Set the expressions equal to zero and solve for the variable.
Example
Use grouping to factor and solve the quadratic equation: [latex]4{x}^{2}+15x+9=0[/latex].
The following video contains another example of solving a quadratic equation using factoring with grouping.
Sometimes, we may be given an equation that does not look like a quadratic at first glance. In our next examples we will solve a cubic polynomial equation where the GCF of each term is [latex]x[/latex], and can be factored. The result is a quadratic equation that we can solve.
Example
Solve the equation by factoring: [latex]-3{x}^{3}-5{x}^{2}-2x=0[/latex].
In this last video example, we solve a quadratic equation with a leading coefficient of [latex]-1[/latex] using a shortcut method of factoring and the zero product principle.
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.
(10.1.2) – Solve a Quadratic Equation by the Square Root Property
One way to solve the quadratic equation [latex]x^{2}=9[/latex] is to subtract 9 from both sides to get one side equal to 0: [latex]x^{2}-9=0[/latex]. The expression on the left can be factored, it is a difference of squares: [latex]\left(x+3\right)\left(x–3\right)=0[/latex]. Using the zero factor property, you know this means [latex]x+3=0[/latex] or [latex]x–3=0[/latex], so [latex]x=−3[/latex] or 3.
Another property would let you solve that equation more easily is called the square root property.
The Square Root Property
If [latex]x^{2}=a[/latex], then [latex] x=\sqrt{a}[/latex] or [latex] -\sqrt{a}[/latex].
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 [latex]a[/latex] and the negative square root of [latex]a[/latex].
A shortcut way to write “[latex] \sqrt{a}[/latex]” or “[latex] -\sqrt{a}[/latex]” is [latex] \pm \sqrt{a}[/latex]. The symbol [latex]\pm[/latex] 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. [latex]x^{2}=9[/latex]
Notice that there is a difference here in solving [latex]x^{2}=9[/latex] and finding [latex] \sqrt{9}[/latex]. For [latex]x^{2}=9[/latex], you are looking for all numbers whose square is 9. For [latex] \sqrt{9}[/latex], you only want the principal (nonnegative) square root. The negative of the principal square root is [latex] -\sqrt{9}[/latex]; both would be [latex] \pm \sqrt{9}[/latex]. 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 [latex]x^{2}[/latex].
In our first video we will show more examples of using the square root property to solve a quadratic equation.
Example
Solve. [latex]10x^{2}+5=85[/latex]
Sometimes more than just the [latex]x[/latex] is being squared:
Example
Solve. [latex]\left(x–2\right)^{2}–50=0[/latex]
In the next video you will see more examples of using square roots to solve quadratic equations.
(10.1.3) – 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 [latex]9x^{2}–24x+16[/latex].
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, [latex]a[/latex], must equal 1. If it does not, then divide the entire equation by [latex]a[/latex]. 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 [latex]{x}^{2}+4x+1=0[/latex] to illustrate each step.
- Given a quadratic equation that cannot be factored, and with [latex]a=1[/latex], first add or subtract the constant term to the right side of the equal sign.
[latex]{x}^{2}+4x=-1[/latex]
- Multiply the [latex]b[/latex] term by [latex]\frac{1}{2}[/latex] and square it.
[latex]\begin{array}{l}\frac{1}{2}\left(4\right)=2\hfill \\ {2}^{2}=4\hfill \end{array}[/latex]
- Add [latex]{\left(\frac{1}{2}b\right)}^{2}[/latex] to both sides of the equal sign and simplify the right side. We have
[latex]\begin{array}{l}{x}^{2}+4x+4=-1+4\hfill \\ {x}^{2}+4x+4=3\hfill \end{array}[/latex]
- The left side of the equation can now be factored as a perfect square.
[latex]\begin{array}{l}{x}^{2}+4x+4=3\hfill \\ {\left(x+2\right)}^{2}=3\hfill \end{array}[/latex]
- Use the square root property and solve.
[latex]\begin{array}{l}\sqrt{{\left(x+2\right)}^{2}}=\pm \sqrt{3}\hfill \\ x+2=\pm \sqrt{3}\hfill \\ x=-2\pm \sqrt{3}\hfill \end{array}[/latex]
- The solutions are [latex]x=-2+\sqrt{3}[/latex], [latex]x=-2-\sqrt{3}[/latex].
Example
Solve by completing the square. [latex]x^{2}–12x–4=0[/latex]
Example
Solve by completing the square: [latex]{x}^{2}-3x - 5=0[/latex].
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’s slightly different.
Example
Solve by completing the square. [latex]x^{2}+16x+17=-47[/latex].
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 [latex]x^{2}+16x+17=−47[/latex] becomes [latex]x^{2}+16x+64=0[/latex]. 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 [latex](x+8)(x+8)=0[/latex], 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.
(10.1.4) – The Quadratic Formula
You can solve any quadratic equation by completing the square—rewriting part of the equation as a perfect square trinomial. If you complete the square on the generic equation [latex]ax^{2}+bx+c=0[/latex] and then solve for [latex]x[/latex], you find that [latex]\displaystyle x=\frac{-b\pm \sqrt{{{b}^{2}}-4ac}}{2a}[/latex]. This equation is known as the Quadratic Formula.
We can derive the quadratic formula by completing the square. First, assume that the leading coefficient is positive; if it is negative, we can multiply the equation by [latex]-1[/latex] and obtain a positive [latex]a[/latex]. Given [latex]a{x}^{2}+bx+c=0[/latex], [latex]a\ne 0[/latex], we will complete the square as follows:
- First, move the constant term to the right side of the equal sign:
[latex]a{x}^{2}+bx=-c[/latex]
- As we want the leading coefficient to equal 1, divide through by [latex]a[/latex]:
[latex]\displaystyle {x}^{2}+\frac{b}{a}x=-\frac{c}{a}[/latex]
- Then, find [latex]\displaystyle \frac{1}{2}[/latex] of the middle term, and add [latex]\displaystyle {\left(\frac{1}{2}\frac{b}{a}\right)}^{2}=\frac{{b}^{2}}{4{a}^{2}}[/latex] to both sides of the equal sign:
[latex]\displaystyle {x}^{2}+\frac{b}{a}x+\frac{{b}^{2}}{4{a}^{2}}=\frac{{b}^{2}}{4{a}^{2}}-\frac{c}{a}[/latex]
- Next, write the left side as a perfect square. Find the common denominator of the right side and write it as a single fraction:
[latex]\displaystyle {\left(x+\frac{b}{2a}\right)}^{2}=\frac{{b}^{2}-4ac}{4{a}^{2}}[/latex]
- Now, use the square root property, which gives
[latex]\Large \begin{array}{l}x+\frac{b}{2a}=\pm \sqrt{\frac{b^2-4ac}{4a^2}}\hfill \\x+\frac{b}{2a}=\frac{\pm \sqrt{b^2-4ac}}{2a}\hfill \end{array}[/latex]
- Finally, add [latex]\displaystyle -\frac{b}{2a}[/latex] to both sides of the equation and combine the terms on the right side. Thus,
[latex]\displaystyle x=\frac{-b\pm \sqrt{{b}^{2}-4ac}}{2a}[/latex]
This formula is very helpful for solving quadratic equations that are difficult or impossible to factor, and using it can be faster than completing the square. The Quadratic Formula can be used to solve any quadratic equation of the form [latex]ax^{2}+bx+c=0[/latex].
The form [latex]ax^{2}+bx+c=0[/latex] is called standard form of a quadratic equation. Before solving a quadratic equation using the Quadratic Formula, it’s vital that you be sure the equation is in this form. If you don’t, you might use the wrong values for [latex]a[/latex], [latex]b[/latex], or [latex]c[/latex], and then the formula will give incorrect solutions.
Solving a Quadratic Equation using the Quadratic Formula
The Quadratic Formula will work with any quadratic equation, but only if the equation is in standard form, [latex]ax^{2}+bx+c=0[/latex]. To use it, follow these steps.
- Put the equation in standard form first.
- Identify the coefficients, [latex]a[/latex], [latex]b[/latex], and [latex]c[/latex]. Be careful to include negative signs if the [latex]bx[/latex] or [latex]c[/latex] terms are subtracted.
- Carefully substitute the values noted in step 2 into the equation. To avoid needless errors, use parentheses around each number input into the formula.
- Simplify as much as possible.
- Use the [latex]\pm[/latex] in front of the radical to separate the solution into two values: one in which the square root is added, and one in which it is subtracted.
- Simplify both values to get the possible solutions.
That’s a lot of steps. Let’s try using the Quadratic Formula to solve a relatively simple equation first; then you’ll go back and solve it again using another factoring method.
Example
Use the quadratic formula to solve the equation [latex]x^{2}+4x=5[/latex].
You can check these solutions by substituting [latex]1[/latex] and [latex]−5[/latex] into the original equation.
[latex]\begin{array}{r}x=1\\x^{2}+4x=5\\\left(1\right)^{2}+4\left(1\right)=5\\1+4=5\\5=5\end{array}[/latex] | [latex]\begin{array}{r}x=-5\\x^{2}+4x=5\,\,\,\,\,\\\left(-5\right)^{2}+4\left(-5\right)=5\,\,\,\,\,\\25-20=5\,\,\,\,\,\\5=5\,\,\,\,\,\end{array}[/latex] |
You get two true statements, so you know that both solutions work: [latex]x=1[/latex] or [latex]-5[/latex]. You’ve solved the equation successfully using the quadratic formula!
Watch this video to see an example of how to use the quadratic formula to solve a quadratic equation that has two real, rational solutions.
Sometimes, it may be easier to solve an equation using conventional factoring methods, like finding number pairs that sum to one number (in this example, 4) and that produce a specific product (in this example [latex]−5[/latex]) when multiplied. The power of the Quadratic Formula is that it can be used to solve any quadratic equation, even those where finding number combinations will not work.
In the next video example we show that the quadratic formula is useful when a quadratic equation has two irrational solutions that could not have been obtained by factoring.
Most of the quadratic equations you’ve looked at have two solutions, like the one above. The following example is a little different.
Example
Use the quadratic formula to solve the equation [latex]x^{2}-2x=6x-16[/latex].
Quadratic equations with complex solutions
Next, we will show that some quadratic equations can have complex solutions. As we simplify with the quadratic formula, we may end up with a negative number under a square root, which, as we know, is not defined for real numbers.
We have seen two outcomes for solutions to quadratic equations, either there was one or two real number solutions. We have also learned that it is possible to take the square root of a negative number by using imaginary numbers. Having this new knowledge allows us to explore one more possible outcome when we solve quadratic equations. Consider this equation:
[latex]2x^2+3x+6=0[/latex]
Using the quadratic formula to solve this equation, we first identify [latex]a[/latex], [latex]b[/latex], and [latex]c[/latex].
[latex]a = 2,b = 3,c = 6[/latex]
We can place [latex]a[/latex], [latex]b[/latex] and [latex]c[/latex] into the quadratic formula and simplify to get the following result:
[latex]\displaystyle x=-\frac{3}{4}+\frac{\sqrt{-39}}{4}, x=-\frac{3}{4}-\frac{\sqrt{-39}}{4}[/latex]
Up to this point, we would have said that [latex]\sqrt{-39}[/latex] is not defined for real numbers and determine that this equation has no solutions. But, now that we have defined the square root of a negative number, we can also define a solution to this equation as follows.
[latex]\displaystyle x=-\frac{3}{4}+i\frac{\sqrt{39}}{4}, x=-\frac{3}{4}-i\frac{\sqrt{39}}{4}[/latex]
In the following example we will work through the process of solving a quadratic equation with complex solutions. Take note that we be simplifying complex numbers – so if you need a review of how to rewrite the square root of a negative number as an imaginary number, now is a good time.
Example
Use the quadratic formula to solve the equation [latex]x^{2}+2x=-5[/latex].
We can check these solutions in the original equation. Be careful when you expand the squares, and replace [latex]i^{2}[/latex] with [latex]-1[/latex].
[latex]\begin{array}{r}x=-1+2i\\x^{2}+2x=-5\\\left(-1+2i\right)^{2}+2\left(-1+2i\right)=-5\\1-4i+4i^{2}-2+4i=-5\\1-4i+4\left(-1\right)-2+4i=-5\\1-4-2=-5\\-5=-5\end{array}[/latex] | [latex]\begin{array}{r}x=-1-2i\\x^{2}+2x=-5\\\left(-1-2i\right)^{2}+2\left(-1-2i\right)=-5\\1+4i+4i^{2}-2-4i=-5\\1+4i+4\left(-1\right)-2-4i=-5\\1-4-2=-5\\-5=-5\end{array}[/latex] |
Example
Use the quadratic formula to solve [latex]{x}^{2}+x+2=0[/latex].
Example
Use the quadratic formula to solve the equation [latex]x^2+x=-x-3[/latex]
Try It
(10.1.5) – Use the discriminant to classify solutions of quadratic equations
The quadratic formula not only generates the solutions to a quadratic equation, it tells us about the nature of the solutions. When we consider the discriminant, or the expression under the radical, [latex]{b}^{2}-4ac[/latex], it tells us whether the solutions are real numbers or complex numbers, and how many solutions of each type to expect. In turn, we can then determine whether a quadratic function has real or complex roots. The table below relates the value of the discriminant to the solutions of a quadratic equation.
Value of Discriminant | Results |
---|---|
[latex]{b}^{2}-4ac=0[/latex] | One repeated rational solution |
[latex]{b}^{2}-4ac>0[/latex], perfect square | Two rational solutions |
[latex]{b}^{2}-4ac>0[/latex], not a perfect square | Two irrational solutions |
[latex]{b}^{2}-4ac<0[/latex] | Two complex solutions |
A General Note: The Discriminant
For [latex]a{x}^{2}+bx+c=0[/latex], where [latex]a[/latex], [latex]b[/latex], and [latex]c[/latex] are real numbers, the discriminant is the expression under the radical in the quadratic formula: [latex]{b}^{2}-4ac[/latex]. It tells us whether the solutions are real numbers or complex numbers and how many solutions of each type to expect.
Example
Use the discriminant to find the nature of the solutions to the following quadratic equations:
- [latex]{x}^{2}+4x+4=0[/latex]
- [latex]8{x}^{2}+14x+3=0[/latex]
- [latex]3{x}^{2}-5x - 2=0[/latex]
- [latex]3{x}^{2}-10x+15=0[/latex]
We have seen that a quadratic equation may have two real solutions, one real solution, or two complex solutions.
Let’s summarize how the discriminant affects the evaluation of [latex] \sqrt{{{b}^{2}}-4ac}[/latex], and how it helps to determine the solution set.
- If [latex]b^{2}-4ac>0[/latex], then the number underneath the radical will be a positive value. You can always find the square root of a positive, so evaluating the quadratic formula will result in two real solutions (one by adding the positive square root, and one by subtracting it).
- If [latex]b^{2}-4ac=0[/latex], then you will be taking the square root of 0, which is 0. Since adding and subtracting 0 both give the same result, the “[latex]\pm[/late]'' portion of the formula doesn't matter. There will be one real repeated solution.
- If [latex]b^{2}-4ac<0[/latex], then the number underneath the radical will be a negative value. Since you cannot find the square root of a negative number using real numbers, there are no real solutions. However, you can use imaginary numbers. You will then have two complex solutions, one by adding the imaginary square root and one by subtracting it.
Example
Use the discriminant to determine how many and what kind of solutions the quadratic equation [latex]x^{2}-4x+10=0[/latex] has.