Quadratic Formula Calculator
Enter the coefficients that form a quadratic equation to solve for x using the quadratic formula.
On this page:
How to Use the Quadratic Formula
The quadratic formula can be used to calculate the solution for x in a quadratic equation. A quadratic equation is a second-degree polynomial equation.
The quadratic formula uses numerical coefficients from a quadratic equation to allow you to solve for the value of x. In the quadratic formula, a is the quadratic coefficient, b is the linear coefficient, and c is the constant.
You can solve a quadratic equation of the form ax² + bx + c = 0 using a quadratic equation solver like the one above or using the quadratic formula:
Thus, the value of x is equal to -b plus or minus the square root of b squared minus 4 times a times c over 2 times a, where a is not equal to 0.
When the discriminant b² – 4ac is equal to 0 then there will be a single solution for x, otherwise, there will be two possible solutions for x.
To use the quadratic formula, replace a, b, and c with the coefficients from the ax² + bx + c = 0 equation, then solve.
The value of a cannot be equal to zero as that would indicate the formula is missing the quadratic term x², which would mean it’s not a quadratic equation.
Let’s solve the equation
Start by substituting the coefficients into the formula:
Begin solving the equation:
Next, simplify the fraction:
Thus, there are two solutions for x:
Why Are There Two Solutions to the Quadratic Equation?
However, whenever one takes the square root of a positive value, there are always two possible answers, a positive answer and a negative answer. That is because two positive numbers multiplied together results in a positive number, but two negative numbers multiplied together also results in a positive number.
For example, the square root of 9 is plus or minus 3, because 3 x 3 = 9 and -3 x -3 = 9 as well. Therefore, whenever you take a square root of an expression, it is good practice to write +/- √ to express that there are two possible solutions.
Therefore, because the quadratic formula contains the square root of (
The one exception to this rule is if
You may be wondering, though, what if the discriminant is less than zero? Can you take the square root of a negative number? The answer is yes, it simply requires the use of imaginary numbers.
The imaginary number,
As an example of when you may encounter imaginary numbers, let’s solve
Therefore, the solutions to the above equation are
When using imaginary numbers, however, you cannot graph a parabola on an x-y plane like usual. Instead, you can graph it on a Real-Complex plane, but that is a topic beyond the scope of this discussion.
How to Graph a Quadratic Equation
When graphed, the quadratic formula forms a parabola, or a curve in the shape of a U.
Note that smaller values of a form a wider parabolic curve, and larger values of a form a thinner parabola. A negative a value results in an upside-down parabola.
By setting y = 0 in the equation and solving for x, the resulting x values are the x-intercepts where the parabola crosses the x-axis.
How to Find the Vertex
The general expression f(x) = ax² + bx + c is known as the standard form of a quadratic equation. But, you can also express a quadratic equation using vertex form.
A quadratic equation expressed in vertex form has the formula:
The values of h and k in vertex form define the coordinates of the vertex point (h, k).
You might be interested in using our vertex form calculator to convert from standard form to vertex form.
How to Find the Axis of Symmetry
The quadratic equation also defines an axis of symmetry, which is a vertical line at the center of the parabola passing through its vertex. The formula to calculate the axis of symmetry is:
Thus, the x coordinate of the axis of symmetry is equal to negative b divided by 2 times a.
Frequently Asked Questions
Why is the quadratic formula important?
The quadratic formula is important because it allows us to solve quadratic equations, which are commonly found in many different disciplines. For example, the quadratic formula is often used to calculate profits, determine areas of construction projects, and the velocity of moving objects.
When is the quadratic formula used?
The quadratic formula is used whenever we want to solve a quadratic equation for the unknown variable.
What are the three quadratic forms?
The three quadratic forms are standard form, factored form, and vertex form.
y = ax² + bx + c
y = a(x – r1)(x – r2)
y = a(x – h)² + k