In this explainer, we will learn how to solve quadratic equations using the quadratic formula.
Mathematicians have been working with quadratic equations in different forms for several thousand years, with the first records of these in 500 BC by Pythagoras and 300 BC by Euclid. However, it was in the 17th Century that the mathematician Rene Descartes first recorded the quadratic formula in the form we know. The quadratic formula is an efficient way to solve a quadratic equations, especially those which cannot be solved by factoring.
Definition: Quadratic Formula
If , where , , and are constants and , then
It is most important to know how to use this formula. However, knowing how to derive it is also of interest. We therefore, include a derivation of this formula at the end of the explainer. To use the quadratic formula to solve an equation, we substitute in the values of , , and from our equation into the quadratic formula. In the box below, we detail how to use the quadratic formula.
How to Use the Quadratic Formula
- We first need to have an equation in the form . We may need to expand any brackets or transform the terms to obtain this. It is often helpful to write the terms in our equation in the same order as in , with the , , and constant terms in that order. Writing it in this form can help us ensure that we take the correct , , and values. It is also useful to list our values , , , so that these can be referenced when substituting.
- We should start our working by writing the quadratic formula fully. This will help avoid errors and ensure that the positive and negative values are consistently applied throughout our working.
- We substitute our , , and values into the quadratic formula. It is important to write any negative number substitutions in brackets as this will help maintain the accuracy of the positive and negative values as we go through the steps of the solution.
We will now look at some examples where the quadratic formula can be used to solve an equation.
Example 1: Solving an Equation Using the Quadratic Formula
Solve the equation .
An equation of the form can be solved using the quadratic formula
In the equation , we have , , and . Therefore, we can substitute these values into the formula and simplify the terms, giving us
Simplifying the terms, paying careful attention to the negative signs, we have
Hence, we have the solution set
Example 2: Solving an Equation Using the Quadratic Formula
Find the solution set of the equation , giving values in to one decimal place.
In order to begin solving this, we first expand the brackets to give us an equation in the form :
This equation can now be solved using the quadratic formula
In the equation , we have the values , , and . Therefore, we can substitute these values into the formula, giving us
However, we can see that our calculation includes taking the square root of a negative number, , which will have no real solutions. If we were to input this into a calculator, we would get a mathematical error. Therefore, there are no real solutions to . Hence, the solution set of the equation is the empty set .
It is important to note that although the quadratic formula breaks down when the discriminant, , of the calculation is less than zero, it simply means that the graph of this function would not pass through the -axis, meaning that there are no solutions for . If we were to draw a graph of , it would look as below.
Example 3: Finding the Roots of an Equation Using the Quadratic Formula
Given that is one of the roots of the equation , find the other root and the value of .
We find the roots of an equation by calculating what the values of are when the -value is equal to zero. When we have an equation in the form , where , , and are constants, we can find the the values of , the roots, by using the quadratic formula
Although we do not yet know the value of in the equation , we can substitute in the values , , and into the quadratic formula, giving us
Simplifying our terms, we have
We were given that one of the roots was , so we can substitute into our equation, giving
Multiplying both sides of the equation by , we have
Subtracting 9 from both sides gives us
Squaring both sides, we have
We can then subtract 81 from both sides and simplify the terms in order to find the value of , which gives us
We can substitute into our earlier workings where . This gives us
So our solutions are
Therefore, the roots of the equation are and . As we were given the root , this means that our answer is and .
In the next example, we will see a question where it is not immediately obvious that there is a quadratic equation. It is always useful to set out the information given in a problem and write it mathematically. In the following question, the presence of an unknown, denoted , and a multiplication leads us to forming a quadratic equation which can then be solved using the quadratic formula.
Example 4: Solving a Problem Using the Quadratic Formula
The dimensions of a rectangle are 5 m and 12 m. When both dimensions are increased by a given amount, the area of the rectangle will double. What is the amount?
The area, , of the original rectangle can be written as
Let the amount of increase be . We are given that the area is doubled when is added to the dimensions of the rectangle, so the new area would be
We can expand the brackets and rearrange the equation into the form , with constants , , and , giving us which we can rewrite as
Quadratic equations in the form can be solved using the quadratic formula
We can substitute the values , , and into the quadratic formula and simplify, giving us
Simplifying the terms, paying careful attention to the negative signs within the square root, we have
In this question, we are solving to find the dimension, , of the rectangle. Therefore, we require a positive value of , so . The increase is 3 m.
In this question, we could have solved using an alternative method of factoring, as the rearranged equation has simple factors. We can factor the equation and solve to give
In the same way as above, we require a positive dimension and reject the negative value of . So the required answer is ; therefore, the increase is 3 m.
Let us now look at an example of an equation in a real-life context, which is not a quadratic in . We follow the same process of using the quadratic formula with the coefficients for values , , and in the same way as we do for a quadratic in .
Example 5: Solving a Real-Life Problem Using the Quadratic Formula
A stone is thrown upward from the top of a cliff and lands in the sea some time later. The height, , above sea level at any time, seconds, is given by the formula .
After how many seconds will the stone reach the sea? Give your answer to the nearest tenth of a second.
The equation is a quadratic equation in . We can rewrite it into the form
When the stone reaches the sea, this will mean that the height above sea level is zero, , so this gives us
Recall that a quadratic equation in , in the form , can be solved using the quadratic formula
Since we have the form , we can solve with the quadratic formula written as
Now we can substitute the values, , and into the quadratic formula and simplify, which gives us
Simplifying the terms in our square root, paying careful attention to the negative values, we have
Therefore, our two solutions are
Using a calculator, we can evaluate the values as
We can round to the nearest tenth of a second, giving us
As the time in seconds must be a positive value, we can reject the negative value of . Hence, our final answer is that the stone reaches the sea at 3.1 seconds, to the nearest tenth of a second.
How to Derive the Quadratic Formula
Suppose we have a quadratic equation in the general form where , , and are constants. We can start our process of solving this equation by dividing all the terms by , which gives us
To begin isolating the - and -terms, we subtract from both sides of the equation, giving us
On the left-hand side of the equation, we can now follow the process for completing the square. To complete the square of a quadratic, we need to write the quadratic in the form of a binomial squared.
Recall that we can rewrite an expression , with constants and , as
So, comparing the left-hand side of our equation, we can equate and .
Therefore, we can substitute into our equation, giving us
Expanding , we have
Adding to both sides gives us
Using as a common denominator on the right-hand side, we can simplify to give
We can now take the square root of both sides, remembering the positive and negative values, giving us
Next, we subtract from both sides, which gives us
As both terms on the right-hand side have the same denominator, we can write this in the simplified form as
And so we have derived the quadratic formula, which gives a concise solution for all quadratic equations in the form .
- If we have a quadratic equation in the form , where , , and are constants and , we can use the quadratic formula, , to solve for . We use the quadratic formula to solve any quadratic equation, even if the equation is not in .
- When we solve a quadratic equation, , to find the values of , we are finding the values of for which . If we were to draw a graph of our equation, the -value found by solving using the quadratic formula would give us the points where the graph crosses the -axis.
- When using the quadratic formula, there may be occasions where the value given by , the discriminant of the equation, is less than zero. That is, . This would mean that in the formula we would be attempting to take the square root of a negative value, so the solution would not be a real number. At this point, the quadratic formula would cease to work. If we think in terms of a graph of this equation, a discriminant where means that the graph would not pass through the -axis. So, in these cases, there are no real values of for which .