Learning Objectives
In this section you will:
5.6.1 – Solve quadratic equations by using the quadratic formula.
5.6.1 – 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 [latex]\,-1\,[/latex] and obtain a positive a. 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 a:
[latex]$${x}^{2}+\frac{b}{a}x=-\frac{c}{a}$$[/latex] -
Then, find [latex]\,\frac{1}{2}\,[/latex] of the middle term, and add [latex]\,{\left(\frac{1}{2}\frac{b}{a}\right)}^{2}=\frac{{b}^{2}}{4{a}^{2}}\,[/latex] to both sides of the equal sign:
[latex]$${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]$${\left(x+\frac{b}{2a}\right)}^{2}=\frac{{b}^{2}-4ac}{4{a}^{2}}$$[/latex] -
Now, use the square root property, which gives
[latex]$$\begin{array}{ccc}\hfill x+\frac{b}{2a}& =& \pm\sqrt{\frac{{b}^{2}-4ac}{4{a}^{2}}}\hfill \\ \hfill x+\frac{b}{2a}& =& \frac{\pm\sqrt{{b}^{2}-4ac}}{2a}\hfill \end{array}$$[/latex] -
Finally, add [latex]\,-\frac{b}{2a}\,[/latex] to both sides of the equation and combine the terms on the right side. Thus,
[latex]$$x=\frac{-b\pm\sqrt{{b}^{2}-4ac}}{2a}$$[/latex]
The Quadratic Formula
Written in standard form, [latex]\,a{x}^{2}+bx+c=0,[/latex] any quadratic equation can be solved using the quadratic formula:
where a, b, and c are real numbers and [latex]\,a\ne 0.[/latex]
How To
Given a quadratic equation, solve it using the quadratic formula
- Make sure the equation is in standard form: [latex]\,a{x}^{2}+bx+c=0.[/latex]
- Make note of the values of the coefficients and constant term, [latex]\,a,b,[/latex] and [latex]\,c.[/latex]
- Carefully substitute the values noted in step 2 into the equation. To avoid needless errors, use parentheses around each number input into the formula.
- Calculate and solve.
Example 1 – Solving a Quadratic Equation with the Quadratic Formula
Solve the quadratic equation: [latex]\,{x}^{2}+5x+1=0.[/latex]
Identify the coefficients: [latex]\,a=1,b=5,c=1.\,[/latex] Then use the quadratic formula.
Example 2 – Solving a Quadratic Equation with the Quadratic Formula
Use the quadratic formula to solve [latex]\,{x}^{2}+x+2=0.[/latex]
First, we identify the coefficients: [latex]\,a=1,b=1,[/latex] and [latex]\,c=2.[/latex]
Substitute these values into the quadratic formula.
The solutions to the equation are [latex]\,\frac{-1+i\sqrt{7}}{2}\,[/latex] and [latex]\,\frac{-1-i\sqrt{7}}{2}\,[/latex] or [latex]\,\frac{-1}{2}+\frac{i\sqrt{7}}{2}\,[/latex] and [latex]\,\frac{-1}{2}-\frac{i\sqrt{7}}{2}.[/latex]
Try It
Solve the quadratic equation using the quadratic formula: [latex]\,9{x}^{2}+3x-2=0.[/latex]
Show answer
[latex]x=-\frac{2}{3}[/latex]
[latex]x=\frac{1}{3}[/latex]
Try It
Solve the quadratic equation using the quadratic formula: [latex]\,2{x}^{2}-5x+3=0.[/latex]
Show answer
[latex]x=1[/latex]
[latex]x=\frac{3}{2}[/latex]
Try It
Solve the quadratic equation using the quadratic formula: [latex]$$\,\frac{1}{2}{x}^{2}-5x+3=0.$$[/latex]
Show answer
[latex]x=5 - \sqrt{19}[/latex]
[latex]x=5 + \sqrt{19}[/latex]
Access these online resources for additional instruction and practice with quadratic equations.
Key Equations
quadratic formula | [latex]x=\frac{-b\pm\sqrt{{b}^{2}-4ac}}{2a}[/latex] |
Key Concepts
- A highly dependable method for solving quadratic equations is the quadratic formula, based on the coefficients and the constant term in the equation. See (Example 1) and see (Example 2)
Glossary
- quadratic formula
- a formula that will solve all quadratic equations