Using the Quadratic Formula and the Discriminant

This is a refresher on using the quadratic formula to solve quadratic equations. This section will introduce the discriminant and explain how to use it to classify the number and type of solutions to a quadratic equation. This analysis is an essential step in learning how to analyze the behavior of functions using algebraic and graphical methods.

Using the Quadratic Formula

The fourth method of solving a quadratic equation is by using the quadratic formula, a formula that will solve all quadratic equations. Although the quadratic formula works on any quadratic equation in standard form, it is easy to make errors in substituting the values into the formula. Pay close attention when substituting, and use parentheses when inserting a negative number.

We can derive the quadratic formula by completing the square. We will assume that the leading coefficient is positive; if it is negative, we can multiply the equation by -1 and obtain a positive a. Given a x^{2}+b x+c=0, a \neq 0, we will complete the square as follows:

1. First, move the constant term to the right side of the equal sign:

a x^{2}+b x=-c

2. As we want the leading coefficient to equal 1, divide through by a :

x^{2}+\dfrac{b}{a} x=-\dfrac{c}{a}

3. Then, find \dfrac{1}{2} of the middle term, and add \left(\dfrac{1}{2} \dfrac{b}{a}\right)^{2}=\dfrac{b^{2}}{4 a^{2}} to both sides of the equal sign:

x^{2}+\dfrac{b}{a} x+\dfrac{b^{2}}{4 a^{2}}=\dfrac{b^{2}}{4 a^{2}}-\dfrac{c}{a}

4. Next, write the left side as a perfect square. Find the common denominator of the right side and write it as a single fraction:

\left(x+\dfrac{b}{2 a}\right)^{2}=\dfrac{b^{2}-4 a c}{4 a^{2}}

5. Now, use the square root property, which gives


\begin{aligned}
&x+\dfrac{b}{2 a}=\pm \sqrt{\dfrac{b^{2}-4 a c}{4 a^{2}}} \\
&x+\dfrac{b}{2 a}=\dfrac{\pm \sqrt{b^{2}-4 a c}}{2 a}
\end{aligned}

6. Finally, add -\dfrac{b}{2 a} to both sides of the equation and combine the terms on the right side. Thus,

x=\dfrac{-b \pm \sqrt{b^{2}-4 a c}}{2 a}


THE QUADRATIC FORMULA

Written in standard form, a x^{2}+b x+c=0, any quadratic equation can be solved using the quadratic formula:

x=\dfrac{-b \pm \sqrt{b^{2}-4 a c}}{2 a}

where a, b, and c are real numbers and a \neq 0.


HOW TO

Given a quadratic equation, solve it using the quadratic formula

1. Make sure the equation is in standard form: a x^{2}+b x+c=0.

2. Make note of the values of the coefficients and constant term, a, b, and c.

3. Carefully substitute the values noted in step 2 into the equation. To avoid needless errors, use parentheses around each number input into the formula.

4. Calculate and solve.


EXAMPLE 9

Solve the Quadratic Equation Using the Quadratic Formula

Solve the quadratic equation: x^{2}+5 x+1=0.


Solution

Identify the coefficients: a=1, b=5, c=1. Then use the quadratic formula.

\begin{aligned}x &=\dfrac{-(5) \pm \sqrt{(5)^{2}-4(1)(1)}}{2(1)} \\&=\dfrac{-5 \pm \sqrt{25-4}}{2} \\&=\dfrac{-5 \pm \sqrt{21}}{2}\end{aligned}


EXAMPLE 10

Solving a Quadratic Equation with the Quadratic Formula

Use the quadratic formula to solve x^{2}+x+2=0.


Solution

First, we identify the coefficients: a=1, b=1, and c=2.

Substitute these values into the quadratic formula.

\begin{aligned}x &=\dfrac{-b \pm \sqrt{b^{2}-4 a c}}{2 a} \\&=\dfrac{-(1) \pm \sqrt{(1)^{2}-(4) \cdot(1) \cdot(2)}}{2 \cdot 1} \\&=\dfrac{-1 \pm \sqrt{1-8}}{2} \\&=\dfrac{-1 \pm \sqrt{-7}}{2} \\&=\dfrac{-1 \pm i \sqrt{7}}{2}\end{aligned}

The solutions to the equation are \dfrac{-1+i \sqrt{7}}{2} and \dfrac{-1-i \sqrt{7}}{2}


TRY IT #8

Solve the quadratic equation using the quadratic formula: 9 x^{2}+3 x-2=0.



Source: Rice University, https://openstax.org/books/college-algebra/pages/2-5-quadratic-equations
Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 License.