is shown at right. By reading the graph, we estimate the \(x\)-intercepts at approximately \(1.5\) and \(3.5\text{.}\) To find their exact values, we must solve the equation
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.
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 first identify the coefficients \(a,~b,\) and \(c\text{:}\)
\begin{gather*}
a=1,~~b=2,~~c=-5
\end{gather*}
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*}
And 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.
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.
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.
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.