Appendix K: Quadratic Formula

OpenStax

Solve Quadratic Equations Using the Quadratic Formula

Learning Objectives

By the end of this section, you will be able to:

  • 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

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.

.
Isolate the variable terms on one side. .
Make the coefficient of {x}^{2} equal to 1, by

dividing by a.

.
Simplify. .
To complete the square, find {\left(\frac{1}{2}·\frac{b}{a}\right)}^{2} and add it to both sides of the equation.
{\left(\frac{1}{2}\frac{b}{a}\right)}^{2}=\frac{{b}^{2}}{4{a}^{2}} .
The left side is a perfect square, factor it. .
Find the common denominator of the right

side and write equivalent fractions with

the common denominator.

.
Simplify. .
Combine to one fraction. .
Use the square root property. .
Simplify the radical. .
Add -\frac{b}{2a} to both sides of the equation. .
Combine the terms on the right side. .
This equation is the Quadratic Formula.
Quadratic Formula

The solutions to a quadratic equation of the form ax2 + bx + c = 0, where a\ne 0 are given by the formula:

x=\frac{\text{−}b±\sqrt{{b}^{2}-4ac}}{2a}

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 formula is an equation. Make sure you use both sides of the equation.

How to Solve a Quadratic Equation Using the Quadratic Formula

Solve by using the Quadratic Formula: 2{x}^{2}+9x-5=0.

Step 1 is to write the quadratic equation in standard form, a times x squared plus b x plus c equals zero, and identify the values a, b, and c. The equation 2 x squared plus 9 x minus 5 equals zero is in standard form. A equals 2, b equals 9, and c equals negative 5.Step 2. Write the quadratic formula. Then substitute the values of a, b, and c. Substitute a equals 2, b equals 9, and c equals negative 5 into the equation x equals the quotient negative b plus or minus the square root of the difference b squared minus 4 a c divided by 2 a. So x equals the quotient negative 9 plus or minus the square root of the difference 9 squared minus the product 4 times 2 times negative 5 divided by the product 2 times 2.In step 3, simplify the fraction and solve for x. x equals the quotient negative 9 plus or minus the square root of the difference 81 minus negative 40 divided by 4. Simplify the radicand. x equals the quotient negative 9 plus or minus the square root of 121 divided by 4. Simplify the square root. x equals the quotient negative 9 plus or minus 11 divided by 4. Separate into two equations. The first equation is x equals the quotient negative 9 plus 11 divided by 4 which simplifies to 2 divided by 4. The first solution is x equals one half. The second equation is x equals the quotient negative 9 minus 11 divided by 4 which simplifies to negative 20 divided by 4. The second solution is x equals negative 5.The fourth, and final, step is to check the solution. Put each answer into the original equation to check. First, substitute x equals one half into the original equation, 2 x squared plus 9 x minus 5 equals 0. This yields 2 times the square of one half plus nine times one half minus 5. We need to show that this expression equals 0. Simplify the square. 2 times one fourth plus nine times one half minus 5 equals one half plus 9 halves minus 5, or 10 halves minus 5. 5 minus 5 equals 0, so x equals one half is indeed a solution. Next substitute x = negative 5 into the equation 2 x squared plus 9 x minus 5 equals 0. This yields 2 times the square of negative 5 plus 9 times negative 5 minus 5. We need to show that this expression equals 0. Simplify the square. 2 times 25 plus nine times negative 5 minus 5 equals 50 minus 45 minus 5, or 0. x equals negative 5 is a solution as well.

Solve by using the Quadratic Formula: 3{y}^{2}-5y+2=0.

y=1,y=\frac{2}{3}

Solve by using the Quadratic Formula: 4{z}^{2}+2z-6=0.

z=1,z=-\frac{3}{2}

Solve a quadratic equation using the quadratic formula.
  1. Write the quadratic equation in standard form, ax2 + bx + c = 0. Identify the values of a, b, and c.
  2. Write the Quadratic Formula. Then substitute in the values of a, b, and c.
  3. Simplify.
  4. 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 =”.

Solve by using the Quadratic Formula: {x}^{2}-6x=-5.

.
Write the equation in standard form by adding

5 to each side.

.
This equation is now in standard form. .
Identify the values of a,\text{\hspace{0.17em}}\text{\hspace{0.17em}}b,\text{\hspace{0.17em}}\text{\hspace{0.17em}}c. .
Write the Quadratic Formula. .
Then substitute in the values of a,\text{\hspace{0.17em}}\text{\hspace{0.17em}}b,\text{\hspace{0.17em}}\text{\hspace{0.17em}}c. .
Simplify. .

.

.

Rewrite to show two solutions. .
Simplify. .
.
Check:

.

Solve by using the Quadratic Formula: {a}^{2}-2a=15.

a=-3,a=5

Solve by using the Quadratic Formula: {b}^{2}+24=-10b.

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.

Solve by using the Quadratic Formula: 2{x}^{2}+10x+11=0.

.
This equation is 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 out the common factor in the numerator. .
Remove the common factors. .
Rewrite to show two solutions. .
Check:

We leave the check for you!

Solve by using the Quadratic Formula: 3{m}^{2}+12m+7=0.

m=\frac{-6+\sqrt{15}}{3},m=\frac{-6-\sqrt{15}}{3}

Solve by using the Quadratic Formula: 5{n}^{2}+4n-4=0.

n=\frac{-2+2\sqrt{6}}{5},n=\frac{-2-2\sqrt{6}}{5}

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.

Solve by using the Quadratic Formula: 3{p}^{2}+2p+9=0.

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

Solve by using the Quadratic Formula: 4{a}^{2}-2a+8=0.

a=\frac{1}{4}+\frac{\sqrt{31}}{4}i,\phantom{\rule{0.2em}{0ex}}\text{}\phantom{\rule{0.2em}{0ex}}a=\frac{1}{4}-\frac{\sqrt{31}}{4}i

Solve by using the Quadratic Formula: 5{b}^{2}+2b+4=0.

b=-\frac{1}{5}+\frac{\sqrt{19}}{5}i,\phantom{\rule{0.2em}{0ex}}\text{}\phantom{\rule{0.2em}{0ex}}b=-\frac{1}{5}-\frac{\sqrt{19}}{5}i

Remember, to use the Quadratic Formula, the equation must be written in standard form, ax2 + bx + c = 0. Sometimes, we will need to do some algebra to get the equation into standard form before we can use the Quadratic Formula.

Solve by using the Quadratic Formula: x\left(x+6\right)+4=0.

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!

Solve by using the Quadratic Formula: x\left(x+2\right)-5=0.

x=-1+\sqrt{6},x=-1-\sqrt{6}

Solve by using the Quadratic Formula: 3y\left(y-2\right)-3=0.

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.

Solve by using the Quadratic Formula: \frac{1}{2}{u}^{2}+\frac{2}{3}u=\frac{1}{3}.

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!

Solve by using the Quadratic Formula: \frac{1}{4}{c}^{2}-\frac{1}{3}c=\frac{1}{12}.

c=\frac{2+\sqrt{7}}{3},\phantom{\rule{0.2em}{0ex}}\text{}\phantom{\rule{0.2em}{0ex}}c=\frac{2-\sqrt{7}}{3}

Solve by using the Quadratic Formula: \frac{1}{9}{d}^{2}-\frac{1}{2}d=-\frac{1}{3}.

d=\frac{9+\sqrt{33}}{4},\phantom{\rule{0.2em}{0ex}}\text{d}=\frac{9-\sqrt{33}}{4}

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.

Solve by using the Quadratic Formula: 4{x}^{2}-20x=-25.

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

Did you recognize that 4x2 − 20x + 25 is a perfect square trinomial. It is equivalent to (2x − 5)2? If you solve

4x2 − 20x + 25 = 0 by factoring and then using the Square Root Property, do you get the same result?

Solve by using the Quadratic Formula: {r}^{2}+10r+25=0.

r=-5

Solve by using the Quadratic Formula: 25{t}^{2}-40t=-16.

t=\frac{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.

Discriminant

In the Quadratic Formula, x equals the quotient of negative b plus or minus the square root of b squared minus 4 times a times c and 2 a, the value under the radical, b squared minus 4 times a times c, is called the 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.

Quadratic Equation

(in standard form)

Discriminant

{b}^{2}-4ac

Value of the Discriminant Number and Type of solutions
2{x}^{2}+9x-5=0 \begin{array}{c}\hfill {9}^{2}-4·2\left(-5\right)\hfill \\ \hfill 121\hfill \end{array} + 2 real
4{x}^{2}-20x+25=0 \begin{array}{c}\hfill {\left(-20\right)}^{2}-4·4·25\hfill \\ \hfill 0\hfill \end{array} 0 1 real
3{p}^{2}+2p+9=0 \begin{array}{c}\hfill {2}^{2}-4·3·9\hfill \\ \\ \hfill -104\hfill \end{array} 2 complex

When the value under the radical in the Quadratic Formula, the discriminant, is positive, the equation has two real solutions. When the value under the radical in the Quadratic Formula, the discriminant, is zero, the equation has one real solution. When the value under the radical in the Quadratic Formula, the discriminant, is negative, the equation has two complex solutions.

Using the Discriminant, b2 − 4ac, to Determine the Number and Type of Solutions of a Quadratic Equation

For a quadratic equation of the form ax2 + bx + c = 0, a\ne 0,

  • If b2 − 4ac > 0, the equation has 2 real solutions.
  • if b2 − 4ac = 0, the equation has 1 real solution.
  • if b2 − 4ac < 0, the equation has 2 complex solutions.

Determine the number of solutions to each quadratic equation.

3{x}^{2}+7x-9=05{n}^{2}+n+4=09{y}^{2}-6y+1=0.

To determine the number of solutions of each quadratic equation, we will look at its discriminant.

\begin{array}{cccc}& & & \hfill 3{x}^{2}+7x-9=0\hfill \\ \begin{array}{c}\text{The equation is in standard form, identify}\hfill \\ a,b,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}c.\hfill \end{array}\hfill & & & \hfill a=3,\phantom{\rule{0.5em}{0ex}}b=7,\phantom{\rule{0.2em}{0ex}}c=-9\hfill \\ \text{Write the discriminant.}\hfill & & & \hfill {b}^{2}-4ac\hfill \\ \text{Substitute in the values of}\phantom{\rule{0.2em}{0ex}}a,b,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}c.\hfill & & & \hfill {\left(7\right)}^{2}-4·3·\left(-9\right)\hfill \\ \text{Simplify.}\hfill & & & \hfill 49+108\hfill \\ & & & \hfill 157\hfill \end{array}

Since the discriminant is positive, there are 2 real solutions to the equation.

\begin{array}{cccc}& & & \hfill 5{n}^{2}+n+4=0\hfill \\ \begin{array}{c}\text{The equation is in standard form, identify}\hfill \\ a,b,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}c.\hfill \end{array}\hfill & & & \hfill a=5,\phantom{\rule{0.5em}{0ex}}b=1,\phantom{\rule{0.5em}{0ex}}c=4\hfill \\ \text{Write the discriminant.}\hfill & & & \hfill {b}^{2}-4ac\hfill \\ \text{Substitute in the values of}\phantom{\rule{0.2em}{0ex}}a,b,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}c.\hfill & & & \hfill {\left(1\right)}^{2}-4·5·4\hfill \\ \text{Simplify.}\hfill & & & \hfill 1-80\hfill \\ & & & \hfill -79\hfill \end{array}

Since the discriminant is negative, there are 2 complex solutions to the equation.

\begin{array}{cccc}& & & \hfill 9{y}^{2}-6y+1=0\hfill \\ \begin{array}{c}\text{The equation is in standard form, identify}\hfill \\ a,b,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}c.\hfill \end{array}\hfill & & & \hfill a=9,b=-6,c=1\hfill \\ \text{Write the discriminant.}\hfill & & & \hfill {b}^{2}-4ac\hfill \\ \text{Substitute in the values of}\phantom{\rule{0.2em}{0ex}}a,b,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}c.\hfill & & & \hfill {\left(-6\right)}^{2}-4·9·1\hfill \\ \text{Simplify.}\hfill & & & \hfill 36-36\hfill \\ & & & \hfill 0\hfill \end{array}

Since the discriminant is 0, there is 1 real solution to the equation.

Determine the numberand type of solutions to each quadratic equation.

8{m}^{2}-3m+6=05{z}^{2}+6z-2=09{w}^{2}+24w+16=0.

2 complex solutions; 2 real solutions; 1 real solution

Determine the number and type of solutions to each quadratic equation.

{b}^{2}+7b-13=05{a}^{2}-6a+10=04{r}^{2}-20r+25=0.

2 real solutions; 2 complex solutions; 1 real solution

Key Takeaways

  • Quadratic Formula
    • The solutions to a quadratic equation of the form ax2 + bx + c = 0, a\ne 0 are given by the formula:
      x=\frac{\text{−}b±\sqrt{{b}^{2}-4ac}}{2a}
  • How to solve a quadratic equation using the Quadratic Formula.
    1. Write the quadratic equation in standard form, ax2 + bx + c = 0. Identify the values of a, b, c.
    2. Write the Quadratic Formula. Then substitute in the values of a, b, c.
    3. Simplify.
    4. Check the solutions.
  • Using the Discriminant, b2 − 4ac, to Determine the Number and Type of Solutions of a Quadratic Equation
    • For a quadratic equation of the form ax2 + bx + c = 0, a\ne 0,
      • If b2 − 4ac > 0, the equation has 2 real solutions.
      • if b2 − 4ac = 0, the equation has 1 real solution.
      • if b2 − 4ac < 0, the equation has 2 complex solutions.

License

Share This Book