Solve quadratic equations using the Quadratic Formula
Use the discriminant to predict the number and type of solutions of a quadratic equation
Identify the most appropriate method to use to solve a quadratic equation
Before you get started, take this readiness quiz.
Evaluate \(b^{2}-4 a b\) when \(a=3\) and \(b=−2\).
Simplify \(\sqrt{108}\).
Simplify \(\sqrt{50}\).
Solve Quadratic Equations Using the Quadratic Formula
When we solved quadratic equations in the last section by completing the square, we took the same steps every time. By the end of the exercise set, you may have been wondering ‘isn’t there an easier way to do this?’ The answer is ‘yes’. Mathematicians look for patterns when they do things over and over in order to make their work easier. In this section we will derive and use a formula to find the solution of a quadratic equation.
We have already seen how to solve a formula for a specific variable ‘in general’, so that we would do the algebraic steps only once, and then use the new formula to find the value of the specific variable. Now we will go through the steps of completing the square using the general form of a quadratic equation to solve a quadratic equation for \(x\).
We start with the standard form of a quadratic equation and solve it for \(x\) by completing the square.
\(ax^2 + bx + c = 0, \quad a \ne 0\)
Isolate the variable terms on one side.
\(ax^2 + bx \quad = -c\)
Make the coefficient of \(x^{2}\) equal to \(1\), by dividing by \(a\).
The final equation is called the "Quadratic Formula."
Definition \(\PageIndex{1}\): Quadratic Formula
The solutions to a quadratic equation of the form \(a x^{2}+b x+c=0\), where \(a≠0\) are given by the formula:
\[x=\dfrac{-b \pm \sqrt{b^{2}-4 a c}}{2 a} \label{quad}\]
To use the Quadratic Formula, we substitute the values of \(a,b\), and \(c\) from the standard form into the expression on the right side of the formula. Then we simplify the expression. The result is the pair of solutions to the quadratic equation.
Notice the Quadratic Formula (Equation \ref{quad}) is an equation. Make sure you use both sides of the equation.
Example \(\PageIndex{1}\) How to Solve a Quadratic Equation Using the Quadratic Formula
Solve by using the Quadratic Formula: \(2 x^{2}+9 x-5=0\).
Solution:
Step 1: Write the quadratic equation in standard form. Identify the \(a,b,c\) values.
Solve by using the Quadratic Formula: \(3 y^{2}-5 y+2=0\).
Answer
\(y=1, y=\dfrac{2}{3}\)
Exercise \(\PageIndex{2}\)
Solve by using the Quadratic Formula: \(4 z^{2}+2 z-6=0\).
Answer
\(z=1, z=-\dfrac{3}{2}\)
HowTo: Solve a Quadratic Equation Using the Quadratic Formula
Write the quadratic equation in standard form, \(a x^{2}+b x+c=0\). Identify the values of \(a,b\), and \(c\).
Write the Quadratic Formula. Then substitute in the values of \(a,b\), and \(c\).
Simplify.
Check the solutions.
If you say the formula as you write it in each problem, you’ll have it memorized in no time! And remember, the Quadratic Formula is an EQUATION. Be sure you start with “\(x=\)”.
Example \(\PageIndex{2}\)
Solve by using the Quadratic Formula: \(x^{2}-6 x=-5\).
Solution:
\(x^{2}-6 x=-5\)
Write the equation in standard form by adding \(5\) to each side.
Solve by using the Quadratic Formula: \(a^{2}-2 a=15\).
Answer
\(a=-3, a=5\)
Exercise \(\PageIndex{4}\)
Solve by using the Quadratic Formula: \(b^{2}+24=-10 b\).
Answer
\(b=-6, b=-4\)
When we solved quadratic equations by using the Square Root Property, we sometimes got answers that had radicals. That can happen, too, when using the Quadratic Formula. If we get a radical as a solution, the final answer must have the radical in its simplified form.
Example \(\PageIndex{3}\)
Solve by using the Quadratic Formula: \(2 x^{2}+10 x+11=0\).
Solution:
This equation is in standard form.
Identify the values of \(a,b\) and \(c\).
Write the Quadratic Formula.
\(x=\dfrac{-b \pm \sqrt{b^{2}-4 a c}}{2 a}\)
Then substitute in the values of \(a, b\), and \(c\).
When we substitute \(a, b\), and \(c\) into the Quadratic Formula and the radicand is negative, the quadratic equation will have imaginary or complex solutions. We will see this in the next example.
Example \(\PageIndex{4}\)
Solve by using the Quadratic Formula: \(3 p^{2}+2 p+9=0\).
Solution:
This equation is in standard form.
Identify the values of \(a,b,c\).
Write the Quadratic Formula.
Then substitute in the values of \(a,b,c\).
Simplify.
Simplify the radical using complex numbers.
Simplify the radical.
Factor the common factor in the numerator.
Remove the common factors.
Rewrite in standard \(a+bi\) form.
Write as two solutions.
Table 9.3.5
Exercise \(\PageIndex{7}\)
Solve by using the Quadratic Formula: \(4 a^{2}-2 a+8=0\).
Answer
\(a=\dfrac{1}{4}+\dfrac{\sqrt{31}}{4} i, \quad a=\dfrac{1}{4}-\dfrac{\sqrt{31}}{4} i\)
Exercise \(\PageIndex{8}\)
Solve by using the Quadratic Formula: \(5 b^{2}+2 b+4=0\).
Answer
\(b=-\dfrac{1}{5}+\dfrac{\sqrt{19}}{5} i, \quad b=-\dfrac{1}{5}-\dfrac{\sqrt{19}}{5} i\)
Remember, to use the Quadratic Formula, the equation must be written in standard form, \(a x^{2}+b x+c=0\). Sometimes, we will need to do some algebra to get the equation into standard form before we can use the Quadratic Formula.
Example \(\PageIndex{5}\)
Solve by using the Quadratic Formula: \(x(x+6)+4=0\).
Solution:
Our first step is to get the equation in standard form.
Distribute to get the equation in standard form.
This equation is now in standard form.
Identify the values of \(a,b,c\).
Write the Quadratic Formula.
Then substitute in the values of \(a,b,c\).
Simplify.
Simplify the radical.
Factor the common factor in the numerator.
Remove the common factors.
Write as two solutions.
Check:
We leave the check for you!
Table 9.3.6
Exercise \(\PageIndex{9}\)
Solve by using the Quadratic Formula: \(x(x+2)−5=0\).
Answer
\(x=-1+\sqrt{6}, x=-1-\sqrt{6}\)
Exercise \(\PageIndex{10}\)
Solve by using the Quadratic Formula: \(3y(y−2)−3=0\).
Answer
\(y=1+\sqrt{2}, y=1-\sqrt{2}\)
When we solved linear equations, if an equation had too many fractions we cleared the fractions by multiplying both sides of the equation by the LCD. This gave us an equivalent equation—without fractions— to solve. We can use the same strategy with quadratic equations.
Example \(\PageIndex{6}\)
Solve by using the Quadratic Formula: \(\dfrac{1}{2} u^{2}+\dfrac{2}{3} u=\dfrac{1}{3}\).
Solution:
Our first step is to clear the fractions.
Multiply both sides by the LCD, \(6\), to clear the fractions.
Multiply.
Subtract \(2\) to get the equation in standard form.
Identify the values of \(a, b\), and \(c\).
Write the Quadratic Formula.
Then substitute in the values of \(a, b,\) and \(c\).
Simplify.
Simplify the radical.
Factor the common factor in the numerator.
Remove the common factors.
Rewrite to show two solutions.
Check:
We leave the check for you!
Table 9.3.7
Exercise \(\PageIndex{11}\)
Solve by using the Quadratic Formula: \(\dfrac{1}{4} c^{2}-\dfrac{1}{3} c=\dfrac{1}{12}\).
Think about the equation \((x-3)^{2}=0\). We know from the Zero Product Property that this equation has only one solution, \(x=3\).
We will see in the next example how using the Quadratic Formula to solve an equation whose standard form is a perfect square trinomial equal to \(0\) gives just one solution. Notice that once the radicand is simplified it becomes \(0\), which leads to only one solution.
Example \(\PageIndex{7}\)
Solve by using the Quadratic Formula: \(4 x^{2}-20 x=-25\).
Solution:
Add \(25\) to get the equation in standard form.
Identify the values of \(a, b\), and \(c\).
Write the quadratic formula.
Then substitute in the values of \(a, b\), and \(c\).
Simplify.
Simplify the radical.
Simplify the fraction.
Check:
We leave the check for you!
Table 9.3.8
Did you recognize that \(4 x^{2}-20 x+25\) is a perfect square trinomial. It is equivalent to \((2 x-5)^{2}\)? If you solve \(4 x^{2}-20 x+25=0\) by factoring and then using the Square Root Property, do you get the same result?
Exercise \(\PageIndex{13}\)
Solve by using the Quadratic Formula: \(r^{2}+10 r+25=0\).
Answer
\(r=-5\)
Exercise \(\PageIndex{14}\)
Solve by using the Quadratic Formula: \(25 t^{2}-40 t=-16\).
Answer
\(t=\dfrac{4}{5}\)
Use the Discriminant to Predict the Number and Type of Solutions of a Quadratic Equation
When we solved the quadratic equations in the previous examples, sometimes we got two real solutions, one real solution, and sometimes two complex solutions. Is there a way to predict the number and type of solutions to a quadratic equation without actually solving the equation?
Yes, the expression under the radical of the Quadratic Formula makes it easy for us to determine the number and type of solutions. This expression is called the discriminant.
Definition \(\PageIndex{2}\)
Discriminant
Let’s look at the discriminant of the equations in some of the examples and the number and type of solutions to those quadratic equations.
Using the Discriminant \(b^{2}-4ac\), to Determine the Number and Type of Solutions of a Quadratic Equation
For a quadratic equation of the form \(ax^{2}+bx+c=0\), \(a \neq 0\),
If \(b^{2}-4 a c>0\), the equation has \(2\) real solutions.
if \(b^{2}-4 a c=0\), the equation has \(1\) real solution.
if \(b^{2}-4 a c<0\), the equation has \(2\) complex solutions.
Example \(\PageIndex{8}\)
Determine the number of solutions to each quadratic equation.
\(3 x^{2}+7 x-9=0\)
\(5 n^{2}+n+4=0\)
\(9 y^{2}-6 y+1=0\)
Solution:
To determine the number of solutions of each quadratic equation, we will look at its discriminant.
a.
\(3 x^{2}+7 x-9=0\)
The equation is in standard form, identify \(a, b\), and \(c\).
\(a=3, \quad b=7, \quad c=-9\)
Write the discriminant.
\(b^{2}-4 a c\)
Substitute in the values of \(a, b\), and \(c\).
\((7)^{2}-4 \cdot 3 \cdot(-9)\)
Simplify.
\(49+108\)
\(157\)
Since the discriminant is positive, there are \(2\) real solutions to the equation.
b.
\(5 n^{2}+n+4=0\)
The equation is in standard form, identify \(a, b\), and \(c\).
\(a=5, \quad b=1, \quad c=4\)
Write the discriminant.
\(b^{2}-4 a c\)
Substitute in the values of \(a, b\), and \(c\).
\((1)^{2}-4 \cdot 5 \cdot 4\)
Simplify.
\(1-80\)
\(-79\)
Since the discriminant is negative, there are \(2\) complex solutions to the equation.
c.
\(9 y^{2}-6 y+1=0\)
The equation is in standard form, identify \(a, b\), and \(c\).
\(a=9, \quad b=-6, \quad c=1\)
Write the discriminant.
\(b^{2}-4 a c\)
Substitute in the values of \(a, b\), and \(c\).
\((-6)^{2}-4 \cdot 9 \cdot 1\)
Simplify.
\(36-36\)
\(0\)
Since the discriminant is \(0\), there is \(1\) real solution to the equation.
Exercise \(\PageIndex{15}\)
Determine the number and type of solutions to each quadratic equation.
\(8 m^{2}-3 m+6=0\)
\(5 z^{2}+6 z-2=0\)
\(9 w^{2}+24 w+16=0\)
Answer
\(2\) complex solutions
\(2\) real solutions
\(1\) real solution
Exercise \(\PageIndex{16}\)
Determine the number and type of solutions to each quadratic equation.
\(b^{2}+7 b-13=0\)
\(5 a^{2}-6 a+10=0\)
\(4 r^{2}-20 r+25=0\)
Answer
\(2\) real solutions
\(2\) complex solutions
\(1\) real solution
Identify the Most Appropriate Method to Use to Solve a Quadratic Equation
We summarize the four methods that we have used to solve quadratic equations below.
Methods for Solving Quadratic Equations
Factoring
Square Root Property
Completing the Square
Quadratic Formula
Given that we have four methods to use to solve a quadratic equation, how do you decide which one to use? Factoring is often the quickest method and so we try it first. If the equation is \(ax^{2}=k\) or \(a(x−h)^{2}=k\) we use the Square Root Property. For any other equation, it is probably best to use the Quadratic Formula. Remember, you can solve any quadratic equation by using the Quadratic Formula, but that is not always the easiest method.
What about the method of Completing the Square? Most people find that method cumbersome and prefer not to use it. We needed to include it in the list of methods because we completed the square in general to derive the Quadratic Formula. You will also use the process of Completing the Square in other areas of algebra.
Identify the Most Appropriate Method to Solve a Quadratic Equation
Try Factoring first. If the quadratic factors easily, this method is very quick.
Try the Square Root Property next. If the equation fits the form \(ax^{2}=k\) or \(a(x−h)^{2}=k\), it can easily be solved by using the Square Root Property.
Use the Quadratic Formula. Any other quadratic equation is best solved by using the Quadratic Formula.
The next example uses this strategy to decide how to solve each quadratic equation.
Example \(\PageIndex{9}\)
Identify the most appropriate method to use to solve each quadratic equation.
\(5 z^{2}=17\)
\(4 x^{2}-12 x+9=0\)
\(8 u^{2}+6 u=11\)
Solution:
a.
\(5z^{2}=17\)
Since the equation is in the \(ax^{2}=k\), the most appropriate method is to use the Square Root Property.
b.
\(4 x^{2}-12 x+9=0\)
We recognize that the left side of the equation is a perfect square trinomial, and so factoring will be the most appropriate method.
c.
\(8 u^{2}+6 u=11\)
Put the equation in standard form.
\(8 u^{2}+6 u-11=0\)
While our first thought may be to try factoring, thinking about all the possibilities for trial and error method leads us to choose the Quadratic Formula as the most appropriate method.
Exercise \(\PageIndex{17}\)
Identify the most appropriate method to use to solve each quadratic equation.
\(x^{2}+6 x+8=0\)
\((n-3)^{2}=16\)
\(5 p^{2}-6 p=9\)
Answer
Factoring
Square Root Property
Quadratic Formula
Exercise \(\PageIndex{18}\)
Identify the most appropriate method to use to solve each quadratic equation.
\(8 a^{2}+3 a-9=0\)
\(4 b^{2}+4 b+1=0\)
\(5 c^{2}=125\)
Answer
Quadratic Formula
Factoring or Square Root Property
Square Root Property
Access these online resources for additional instruction and practice with using the Quadratic Formula.
The solutions to a quadratic equation of the form \(a x^{2}+b x+c=0, a \neq 0\) are given by the formula:
\(x=\dfrac{-b \pm \sqrt{b^{2}-4 a c}}{2 a}\)
How to solve a quadratic equation using the Quadratic Formula.
Write the quadratic equation in standard form, \(a x^{2}+b x+c=0\). Identify the values of \(a, b, c\).
Write the Quadratic Formula. Then substitute in the values of \(a, b, c\).
Simplify.
Check the solutions.
Using the Discriminant, \(b^{2}-4 a c\), to Determine the Number and Type of Solutions of a Quadratic Equation
For a quadratic equation of the form \(a x^{2}+b x+c=0, a \neq 0\),
If \(b^{2}-4 a c>0\), the equation has \(2\) real solutions.
If \(b^{2}-4 a c=0\), the equation has \(1\) real solution.
If \(b^{2}-4 a c<0\), the equation has \(2\) complex solutions.
Methods to Solve Quadratic Equations:
Factoring
Square Root Property
Completing the Square
Quadratic Formula
How to identify the most appropriate method to solve a quadratic equation.
Try Factoring first. If the quadratic factors easily, this method is very quick.
Try the Square Root Property next. If the equation fits the form \(a x^{2}=k\) or \(a(x-h)^{2}=k\), it can easily be solved by using the Square Root Property.
Use the Quadratic Formula. Any other quadratic equation is best solved by using the Quadratic Formula.
Glossary
discriminant
In the Quadratic Formula, \(x=\dfrac{-b \pm \sqrt{b^{2}-4 a c}}{2 a}\), the quantity \(b^{2}-4 a c\) is called the discriminant.