Section8.4The Quadratic Formula
¶We have learned how to solve quadratic equations using factoring and the square root property. In this section, we will learn a third method, the quadratic formula. We will also learn when to use each method and to distinguish between linear and quadratic equations.
Subsection8.4.1Solving Quadratic Equations with the Quadratic Formula
The standard form of a quadratic equation is
Let's look at two examples as a review of solving quadratic equations.
First, let's look at when \(b=0\) and the equation looks like \(ax^2+c=0\text{.}\) One way to solve this type of equation is with the square root property.
Example8.4.2
Solve for \(x\) in \(x^24=0\text{.}\)
The solution set is \(\{2,2\}\text{.}\)
Second, if we can factor the left side of the equation in \(ax^2+bx+c=0\text{,}\) then we can solve the equation by factoring.
Example8.4.3
Solve for \(x\) in \(x^24x12=0\text{.}\)
The solution set is \(\{2,6\}\text{.}\)
A third method for solving a quadratic equation is to use what is known as the quadratic formula.
Fact8.4.4The Quadratic Formula
For any quadratic equation \(ax^2+bx+c=0\text{,}\) the solutions are given by
As we have seen from solving quadratic equations, there can be at most two solutions. Both of the solutions are included in the quadratic formula with the \(\pm\) symbol. We could write the two solutions separately as
but it is more efficient to simplify them together.
This method for solving quadratic equations will work to solve every quadratic equation. It is most helpful when \(b\ne0\) and when \(ax^2+bx+c\) cannot be factored. In this section, we will only focus on how to use the formula.
In Section 8.1, we saw an example where a physics class launched a tennis ball off the roof of a building. In that example, the numbers were simplified so we could solve it by factoring. Now we will solve a similar example with more realistic numbers.
Example8.4.5
A physics class launches a tennis ball from a rooftop that is \(90.2\) feet above the ground. They fire it directly upward at a speed of \(14.4\) feet per second and measure the time it takes for the ball to hit the ground below. We can model the height of the tennis ball, \(h\text{,}\) in feet, with the quadratic equation \(h=16x^2+14.4x+90.2\text{,}\) where \(x\) represents the time in seconds after the launch. According to the model, when should the ball hit the ground? Round the time to one decimal place.
The ground has a height of \(0\) feet. Substituting \(0\) for \(h\) in the equation, we have this quadratic equation:
We cannot solve this equation with factoring or the square root property, so we will use the quadratic formula. First we will identify that \(\highlight{a=16}\text{,}\) \(\highlight{b=14.4}\) and \(\highlight{c=90.2}\text{,}\) and substitute them into the formula:
These are the exact solutions but because we have a context we want to approximate the solutions with decimals.
\begin{align*} x\amp\approx2.0\text{ or }x\approx2.9 \end{align*}We don't use the negative solution because a negative time does not make sense in this context. The ball will hit the ground approximately \(2.9\) seconds after it is launched.
The quadratic formula can be used to solve any quadratic equation, but it requires that you don't make any slipup with remembering the formula, that you correctly identify \(a\text{,}\) \(b\text{,}\) and \(c\text{,}\) and that you don't make any arithmetic mistakes when you calculate and simplify. We recommend that you always check whether you can factor or use the square root property before using the quadratic formula. Here is another example.
Example8.4.6
Solve for \(x\) in \(2x^29x+5=0\text{.}\)
First, we check and see that we cannot factor the left side (because we can't find two numbers that multiply to \(10\) and add to \(9\)) or use the square root property (because \(b\neq0\)) so we must use the quadratic formula. Next we identify that \(\highlight{a=2}\text{,}\) \(\highlight{b=9}\) and \(\highlight{c=5}\text{.}\) We will substitute them into the quadratic formula:
This is fully simplified because we cannot simplify \(\sqrt{41}\) or reduce the fraction. The solution set is \(\left\{\frac{9\sqrt{22}}{4},\frac{9+\sqrt{22}}{4}\right\}\text{.}\) We do not have a context here so we leave the solutions in their exact form.
When a quadratic equation is not in standard form we must convert it before we can identify the values of \(a\text{,}\) \(b\) and \(c\text{.}\) We will show that in the next example.
Example8.4.7
Solve for \(x\) in \(x^2=10x3\text{.}\)
First, we convert the equation into standard form by adding \(10x\) and \(3\) to each side of the equation:
Next, we check and see that we cannot factor the left side or use the square root property so we must use the quadratic formula. We identify that \(\highlight{a=1}\text{,}\) \(\highlight{b=10}\) and \(\highlight{c=3}\text{.}\) We will substitute them into the quadratic formula:
Now we need to simplify the square root:
Lastly we need to reduce the fractions, which can be done by separating terms:
\begin{align*} x\amp=\frac{10}{2}\pm\frac{2\sqrt{22}}{2}\\ x\amp=5\pm\sqrt{22} \end{align*}The solution set is \(\{5\sqrt{22}, 5+\sqrt{22}\}\text{.}\)
Remark8.4.8
The irrational solutions to quadratic equations can be checked, although doing so can sometimes involve a lot of simplification and is not shown throughout this section. As an example, to check the solution of \(5+\sqrt{22}\) from Example 8.4.7, we would replace \(x\) with \(5+\sqrt{22}\) and check that the two sides of the equation are equal. This check is shown here:
When the radicand from the quadratic formula (which is called the discriminant) is a negative number, the quadratic equation has no real solution. Example 8.4.9 shows what happens in this case.
Example8.4.9
Solve for \(y\) in \(y^24y+8=0\text{.}\)
Identify that \(\highlight{a=1}\text{,}\) \(\highlight{b=4}\) and \(\highlight{c=8}\text{.}\) We will substitute them into the quadratic formula:
The square root of a negative number is not a real number, so we will simply state that this equation has no real solutions.
Subsection8.4.2Recognizing Linear and Quadratic Equations
Now that we have solved both linear and quadratic equations, it is important to identify each type of equation. Recall that a linear equation has a degree of one and a quadratic equation has a degree of two. If there is any other operation on the variable such as division or a square root then it is not linear or quadratic. We can have other operations on numbers, but not the variables. Let's look at an example.
Checkpoint8.4.10
Identify whether each equation is linear, quadratic or neither.
Subsection8.4.3Solving Linear and Quadratic Equations
When an equation is linear, we move all variable terms to one side of the equation and all constant terms to the other side. Then we use division if needed to solve for the variable. This is outlined in List 3.1.4.
When an equation is quadratic, we have three different methods we can use. Here is an outline of the general process for determining which method to use.
Algorithm8.4.11Solving Quadratic Equations
First, check whether there is a linear term, or whether there is only a squared expression and a constant. If there is only a squared expression and a constant, isolate the squared quantity and use the square root method.

If there is a linear term, put the equation in standard form with all of the terms on one side and zero on the other side.
If the polynomial factors, solve the equation by factoring.
If the polynomial does not factor, use the quadratic formula.
Here are some examples:
Example8.4.12
Solve for \(x\) in \(x^2=7x^212\text{.}\)
This is a quadratic equation because there are \(x^2\) terms. There are no \(x\) terms so we will use the square root method. We start by combining the \(x^2\) terms on the left.
The solution set is \(\{\sqrt{2},\sqrt{2}\}.\)
Example8.4.13
Solve for \(p\) in \(p^2=2p+2\text{.}\)
This is a quadratic equation that also contains a linear term so we will put the equation in standard form. Then we see that the left side does not factor so we will use the quadratic formula.
The solution set is \(\{1\sqrt{3},1+\sqrt{3}\}.\)
Example8.4.14
Solve for \(t\) in \(7t=9t+11\text{.}\)
This is a linear equation so we will combine the linear terms on one side and the constant terms on the other side.
The solution set is \(\left\{\frac{2}{5}\right\}.\)
Example8.4.15
Solve for \(z\) in \(z^2+10=3z30\text{.}\)
This is a quadratic equation with a linear term so we will put it in standard form. Then we see that the left side factors so we solve by factoring.
The solution set is \(\{5, 8\}\text{.}\)
SubsectionExercises
Solve the Quadratic Equations Using the Quadratic Formula
1
Solve the equation.
\({x^{2}+10x+13}= 0\)
2
Solve the equation.
\({x^{2}2x6}= 0\)
3
Solve the equation.
\({8x^{2}+22x+15}=0\)
4
Solve the equation.
\({42x^{2}23x5}=0\)
5
Solve the equation.
\({x^{2}}= {3x+1}\)
6
Solve the equation.
\({x^{2}}= {7x9}\)
7
Solve the equation.
\({x^{2}+x11}= 0\)
8
Solve the equation.
\({x^{2}+7x+1}= 0\)
9
Solve the equation.
\({3x^{2}+x1}= 0\)
10
Solve the equation.
\({3x^{2}+7x+3}= 0\)
11
Solve the equation.
\({7x^{2}10x+1}= 0\)
12
Solve the equation.
\({7x^{2}+2x1}= 0\)
13
Solve the equation.
\({4x^{2}7x+5}= 0\)
14
Solve the equation.
\({3x^{2}2x+10}= 0\)
Choose the proper method to solve each linear or quadratic equation, and then solve it.
15
Solve the equation.
\(7x^2  28 = 0\)
16
Solve the equation.
\(8x^2  128 = 0\)
17
Solve the equation.
\({7n+4} = {n+58}\)
18
Solve the equation.
\({6p+7} = {p+42}\)
19
Solve the equation.
\({25x^{2}144}=0\)
20
Solve the equation.
\({9x^{2}16}=0\)
21
Solve the equation.
\(135y^2 = 10\)
22
Solve the equation.
\(25y^2 = 1\)
23
Solve the equation.
\(x^2  5x= 0\)
24
Solve the equation.
\(x^2+15x= 0\)
25
Solve the equation.
\({7C+7} = {7C+74C}\)
26
Solve the equation.
\({4n+10} = {5n+104n}\)
27
Solve the equation.
\({x^{2}+4x} = {45}\)
28
Solve the equation.
\({x^{2}4x} = {60}\)
29
Solve the equation.
\(\left(x  8\right)^2 = 16\)
30
Solve the equation.
\(\left(x  5\right)^2 = 121\)
31
Solve the equation.
\({x^{2}}= {x+4}\)
32
Solve the equation.
\({x^{2}}= {5x2}\)
33
Solve the equation.
\({2x^{2}}= {2x}\)
34
Solve the equation.
\({4x^{2}}= {9x4}\)
35
Solve the equation.
\(26  2 ( t  7 )^2 = 8\)
36
Solve the equation.
\(7  5 ( t  7 )^2 = 2\)
37
Solve the equation.
\({17}={5x7x}\)
38
Solve the equation.
\({20}={2y10y}\)
Quadratic Formula Applications
39
Two numbers’ sum is \(1\text{,}\) and their product is \(56\text{.}\) Find these two numbers.
These two numbers are .
40
Two numbers’ sum is \(2\text{,}\) and their product is \(48\text{.}\) Find these two numbers.
These two numbers are .
41
Two numbers’ sum is \({5.7}\text{,}\) and their product is \({4.32}\text{.}\) Find these two numbers.
These two numbers are . (Use a comma to separate your numbers.)
42
Two numbers’ sum is \({6.5}\text{,}\) and their product is \({10.14}\text{.}\) Find these two numbers.
These two numbers are . (Use a comma to separate your numbers.)
43
A rectangle’s base is \({6\ {\rm cm}}\) longer than its height. The rectangle’s area is \({112\ {\rm cm^{2}}}\text{.}\) Find this rectangle’s dimensions.
The rectangle’s height is .
The rectangle’s base is .
44
A rectangle’s base is \({9\ {\rm cm}}\) longer than its height. The rectangle’s area is \({136\ {\rm cm^{2}}}\text{.}\) Find this rectangle’s dimensions.
The rectangle’s height is .
The rectangle’s base is .
45
A rectangle’s base is \({9\ {\rm in}}\) shorter than four times its height. The rectangle’s area is \({55\ {\rm in^{2}}}\text{.}\) Find this rectangle’s dimensions.
The rectangle’s height is .
The rectangle’s base is .
46
A rectangle’s base is \({4\ {\rm in}}\) shorter than three times its height. The rectangle’s area is \({4\ {\rm in^{2}}}\text{.}\) Find this rectangle’s dimensions.
The rectangle’s height is .
The rectangle’s base is .
47
You will build a rectangular sheep pen next to a river. There is no need to build a fence along the river, so you only need to build three sides.
You have a total of \(500\) feet of fence to use, and the area of the pen must be \(30000\) square feet. Find the dimensions of the pen.
There should be two solutions:
When the width is feet, the length is feet.
When the width is feet, the length is feet.
48
You will build a rectangular sheep pen next to a river. There is no need to build a fence along the river, so you only need to build three sides.
You have a total of \(480\) feet of fence to use, and the area of the pen must be \(28600\) square feet. Find the dimensions of the pen.
There should be two solutions:
When the width is feet, the length is feet.
When the width is feet, the length is feet.
49
There is a rectangular lot in the garden, with \({8\ {\rm ft}}\) in length and \({6\ {\rm ft}}\) in width. You plan to expand the lot by an equal length around its four sides, and make the area of the expanded rectangle \({120\ {\rm ft^{2}}}\text{.}\) How long should you expand the original lot in four directions?
You should expand the original lot by in four directions.
50
There is a rectangular lot in the garden, with \({10\ {\rm ft}}\) in length and \({6\ {\rm ft}}\) in width. You plan to expand the lot by an equal length around its four sides, and make the area of the expanded rectangle \({96\ {\rm ft^{2}}}\text{.}\) How long should you expand the original lot in four directions?
You should expand the original lot by in four directions.
51
One car started at Town A, and traveled due north at \(60\) miles per hour. \(2\) hours later, another car started at the same spot and traveled due east at \(55\) miles per hour. Assume both cars don’t stop, after how many hours since the second car starts would the distance between them be \(307\) miles? Round your answer to two decimal places if needed.
Approximately hours since the second car starts, the distance between those two cars would be \(307\) miles.
52
One car started at Town A, and traveled due north at \(60\) miles per hour. \(3.5\) hours later, another car started at the same spot and traveled due east at \(45\) miles per hour. Assume both cars don’t stop, after how many hours since the second car starts would the distance between them be \(341\) miles? Round your answer to two decimal places if needed.
Approximately hours since the second car starts, the distance between those two cars would be \(341\) miles.
53
An object is launched upward at the height of \(360\) meters. It’s height can be modeled by \(h=4.9t^2+100t+360\text{,}\) where \(h\) stands for the object’s height in meters, and \(t\) stands for time passed in seconds since its launch. The object’s height will be \(380\) meters twice before it hits the ground. Find how many seconds since the launch would the object’s height be \(380\) meters. Round your answers to two decimal places if needed.
The object’s height would be \(380\) meters the first time at seconds, and then the second time at seconds.
54
An object is launched upward at the height of \(390\) meters. It’s height can be modeled by \(h=4.9t^2+70t+390\text{,}\) where \(h\) stands for the object’s height in meters, and \(t\) stands for time passed in seconds since its launch. The object’s height will be \(430\) meters twice before it hits the ground. Find how many seconds since the launch would the object’s height be \(430\) meters. Round your answers to two decimal places if needed.
The object’s height would be \(430\) meters the first time at seconds, and then the second time at seconds.
55
Currently, an artist can sell \(290\) paintings every year at the price of \({\$90.00}\) per painting. Each time he raises the price per painting by \({\$10.00}\text{,}\) he sells \(5\) fewer paintings every year.
Assume he will raise the price per painting \(x\) times, then he will sell \(2905x\) paintings every year at the price of \(90+10x\) dollars. His yearly income can be modeled by the equation:
\(\displaystyle{ i=(90+10x)(2905x) }\)
where \(i\) stands for his yearly income in dollars. If the artist wants to earn \({\$40{,}800.00}\) per year from selling paintings, what new price should he set?
To earn \({\$40{,}800.00}\) per year, the artist could sell his paintings at two different prices. The lower price is per painting, and the higher price is per painting.
56
Currently, an artist can sell \(230\) paintings every year at the price of \({\$120.00}\) per painting. Each time he raises the price per painting by \({\$5.00}\text{,}\) he sells \(5\) fewer paintings every year.
Assume he will raise the price per painting \(x\) times, then he will sell \(2305x\) paintings every year at the price of \(120+5x\) dollars. His yearly income can be modeled by the equation:
\(\displaystyle{ i=(120+5x)(2305x) }\)
where \(i\) stands for his yearly income in dollars. If the artist wants to earn \({\$29{,}725.00}\) per year from selling paintings, what new price should he set?
To earn \({\$29{,}725.00}\) per year, the artist could sell his paintings at two different prices. The lower price is per painting, and the higher price is per painting.