is shown at right. By reading the graph, we estimate the \(x\)-intercepts at approximately 1.5 and 3.5. To find their exact values, we must solve the equation
\begin{equation*}
x^2+2x-5=0
\end{equation*}
But, as you can check, the trinomial \(x^2+2x-5\) cannot be factored.
So far we know two methods for solving quadratic equations: extracting roots and factoring. Neither of these methods applies to every quadratic equation. In this Lesson we consider a technique that works on all quadratic equations.
SubsectionUsing the Quadratic Formula
The graph of the quadratic equation
\begin{equation*}
y=ax^2+bx+c
\end{equation*}
depends upon its coefficients, \(a,~b,\) and \(c\text{.}\) In particular, the \(x\)-intercepts of the graph are determined by the values of these coefficients. In fact, there is a formula that uses the coefficients to calculate the solutions of the equation \(ax^2+bx+c=0\text{.}\) It is called the quadratic formula.
We substitute the values of \(a,~b,\) and \(c\) into the quadratic formula, and simplify according to the order of operations. We start with the expression under the radical.
\begin{align*}
x \amp =\dfrac{-b \pm \sqrt{b^2-4ac}}{2a}\\
\amp =\dfrac{-\alert{2} \pm \sqrt{\alert{2}^2-4(\alert{1})(\alert{-5})}}{2(\alert{1})} \amp \amp \blert{\text{Simplify under the radical.}}\\
\amp = \dfrac{-2 \pm \sqrt{4+20}}{2} = \dfrac{-2 \pm \sqrt{24}}{2}
\end{align*}
The solutions of the equation are \(\dfrac{-2 + \sqrt{24}}{2}\) and \(\dfrac{-2 - \sqrt{24}}{2}\text{.}\) These are the exact values of the solutions. We can use a calculator to approximate each solution to hundredths.
These values are very close to our estimates from the graph.
Reading QuestionsReading Questions
1.
What should you do if a quadratic equation cannot be solved by factoring?
Answer.
Use the quadratic formula.
Caution6.24.
Before we use the quadratic formula, we must write the equation in standard form so that we can identify the coefficients \(a,~b,\) and \(c\text{.}\)
Reading QuestionsReading Questions
1.
How do we find the values of \(a,~b,\) and \(c\) in the quadratic formula?
Answer.
They are the coefficients of \(x^2\) and \(x\) and the constant term, respectively.
If some of the coefficients are fractions, it helps to clear the fractions before applying the quadratic formula. The fastest way to clear all the fractions is to multiply each term of the equation by the lowest common denominator, or LCD, of all the fractions involved.
Example6.25.
Solve \(~x=\dfrac{2}{3}-\dfrac{x^2}{6}\)
Find decimal approximations to two decimal places for the solutions.
Solution.
We multiply each term of the equation by the LCD, \(\blert{6}\text{,}\) to get
To two decimal places the solutions are \(0.61\) and \(-6.61\text{.}\)
Reading QuestionsReading Questions
3.
If the coefficients in a quadratic equation are fractions, what should you do?
Answer.
Multiply each term of the equation by their LCD.
Of course, if a quadratic equation can be solved by factoring, then the quadratic formula will give the same solutions. You can use whichever technique seems faster for a particular equation.
SubsectionNon-Real Solutions
The graph of
\begin{equation*}
y=x^2-4x+5
\end{equation*}
has no \(x\)-intercepts, as you can see in the figure at right. Nonetheless, we can use the quadratic formula to solve the equation
\begin{equation*}
x^2-4x+5=0
\end{equation*}
Applying the formula with \(a=1,~b=-4,\) and \(c=5\text{,}\) we find
We cannot continue with the calculation because \(\sqrt{-4}\) is undefined; it is not equal to any real number. This quadratic equation does not have any real-valued solutions, and that is why the graph of \(y=x^2-4x+5\) does not have any \(x\)-intercepts.
The solutions to the equation above are a type of number called complex numbers. If a quadratic equation does not have real-valued solutions, then its graph will not have \(x\)-intercepts.
Every quadratic equation has two solutions. The nature of those solutions determines the nature of the \(x\)-intercepts of the graph.
\(x\)-Intercepts of \(y=ax^2+bx+c\).
The \(x\)-intercepts of the graph of \(y=ax^2+bx+c\) are the solutions of
\begin{equation*}
ax^2+bx+c=0
\end{equation*}
There are three possibilities.
If both solutions are real numbers, and unequal, the graph has two \(x\)-intercepts.
If the solutions are real and equal, the graph has one \(x\)-intercept, which is also its vertex.
If both solutions are non-real complex numbers, the graph has no \(x\)-intercepts.
Reading QuestionsReading Questions
4.
If a quadratic equation has no real solutions, what does that tell you about the graph?
Answer.
It has no \(x\)-intercepts.
Example6.26.
How many \(x\)-intercepts does the parabola have?
\(\displaystyle y=x^2+5\)
\(\displaystyle y=x^2-6x+9\)
Solution.
To find the \(x\)-intercepts, we solve the equation
\begin{align*}
x^2+5 \amp = 0 \amp \amp \blert{\text{Solve by extraction of roots.}}\\
x^2 \amp = -5\\
x \amp = \pm \sqrt{-5}
\end{align*}
Because the square root of a negative number is undefined, this parabola has no \(x\)-intercepts.
Give approximate values for your solutions, rounded to hundredths.
1.
\(x^2-8x+4=0\)
Answer.
\(\displaystyle \dfrac{8\pm\sqrt{48}}{2} \)
\(0.54 \text{,}\)\(7.46\)
2.
\(3s^2+2s=2\)
3.
\(n^2=n+1\)
Answer.
\(\displaystyle \dfrac{1\pm\sqrt{5}}{2} \)
\(-0.62\text{,}\)\(1.62\)
4.
\(-4z^2+2z+1-0\)
Exercise Group.
For Problems 5–7, solve the equation two ways:
Use the quadratic formula.
Use either factoring or extracting roots.
5.
\(3t^2-5=0\)
Answer.
\(\displaystyle \dfrac{\pm\sqrt{60}}{6} \)
\(\displaystyle \pm\sqrt{\frac{5}{3} } \)
6.
\(z=3z^2\)
7.
\(2w^2+6=7w\)
Answer.
\(\dfrac{3}{2} \text{,}\)\(2\)
\(\dfrac{3}{2} \text{,}\)\(2\)
Exercise Group.
For Problems 8–11, solve the equation.
8.
\(\dfrac{x^2}{6}+x=\dfrac{2}{3}\)
9.
\(v^2+3v-2=9v^2-12v+5\)
Answer.
\(\dfrac{7}{8} \text{,}\)\(1\)
10.
\(m^2-3m=\dfrac{1}{3}(m^2-1)\)
11.
\(-0.2x^2+3.6x-9=0\)
Answer.
\(3 \text{,}\)\(15\)
12.
Delbert throws a penny from the top of the Texas Building in Fort Worth. After \(t\) seconds, the height of the penny is given in feet by
\begin{equation*}
h=-16t^2+8t+380
\end{equation*}
When does the penny pass a window 300 feet above the ground?
How long does it take the penny to reach the ground?
13.
The volume of a cedar chest is 12,000 cubic inches. The chest is 20 inches high, and its length is 5 inches less than three times its width. Find the dimensions of the chest.
Answer.
width: 15 in, length: 40 in, height: 20 in
14.
The perimeter of a rectangle is 42 inches and its diagonal is 15 inches. Find the dimensions of the rectangle.
Exercise Group.
For Problems 15–16, the figure is a right triangle. Find the unknown sides.
15.
Answer.
\(x=8\text{;}\)\(2x-1=15\)
16.
Exercise Group.
For Problems 17–20,
Find the \(x\)-intercepts of the parabola. (Round your answers to hundredths.)