We have learned a couple of methods for solving quadratic equations algebraically:
Some equations can be solved quickly with one of these methods, but many cannot. Here is an example: 5x2−3x−1=0. The expression on the left cannot be rewritten in factored form with rational coefficients. Because the coefficient of the squared term is not a perfect square, and the coefficient of the linear term is an odd number, completing the square would be inconvenient and would result in a perfect square with fractions.
The quadratic formula can be used to find the solutions to any quadratic equation, including those that are tricky to solve with other methods.
For an equation of the form ax2+bx+c=0, where a, b, and c are numbers and a=0, the solutions are given by:
x=2a-b±b2−4ac
For the equation 5x2−3x−1=0, we see that a=5, b=-3, and c=-1. Let’s solve it!
xxxx=2a-b±b2−4ac=2(5)-(-3)±(-3)2−4(5)(-1)=103±9+20=103±29the quadratic formulaSubstitute the values of a,b,and c.Evaluate each part of the expression.
A calculator gives approximate solutions of 0.84 and -0.24 for 103+29 and 103−29.
We can also use the formula for simpler equations like x2−9x+8=0, but it may not be the most efficient way. If the quadratic expression can be easily rewritten in factored form or made into a perfect square, those methods may be preferable. For example, rewriting x2−9x+8=0 as (x−1)(x−8)=0 immediately tells us that the solutions are 1 and 8.