Quadratic Formula Calculator
Enter the coefficients a, b, and c of a quadratic equation in the form ax² + bx + c = 0. The calculator will find all real and complex roots, the discriminant, vertex, and more.
What Is a Quadratic Equation?
A quadratic equation is any polynomial equation of degree 2 — meaning the highest power of the variable is 2. It takes the standard form:
where a, b, and c are real numbers called coefficients, and a ≠ 0. If a were equal to zero, the x² term would vanish and the equation would no longer be quadratic — it would become a simple linear equation.
The solutions to a quadratic equation are the values of x that make the equation true. These solutions are called roots, zeros, or x-intercepts — because they are the points where the corresponding parabola crosses the x-axis.
The Quadratic Formula
The quadratic formula is the universal method for solving any quadratic equation. It was derived by completing the square on the general form ax² + bx + c = 0, and it gives the roots directly from the coefficients a, b, and c:
The ± symbol means there are two separate solutions — one using addition (x₁) and one using subtraction (x₂). These correspond to the two points where the parabola meets the x-axis.
The Discriminant: b² − 4ac
The expression under the square root — b² − 4ac — is called the discriminant. It is one of the most important values in quadratic equations because it tells you exactly how many real solutions exist before you even finish the calculation.
The parabola crosses the x-axis at two different points.
The parabola just touches the x-axis at one point (the vertex).
The parabola does not cross the x-axis at all. Roots involve imaginary numbers.
The Parabola and Its Properties
Every quadratic equation ax² + bx + c = 0 corresponds to a parabola — a U-shaped curve — when graphed as y = ax² + bx + c. Understanding the parabola helps you visualize the roots.
Methods for Solving Quadratic Equations
There are four main methods to solve a quadratic equation. Each has its own strengths and is suited to different types of equations.
Vieta’s Formulas: Relationship Between Roots and Coefficients
A beautiful and useful property of quadratic equations is that the sum and product of the roots are directly related to the coefficients. These are known as Vieta’s Formulas:
Real-World Applications of Quadratic Equations
Quadratic equations appear throughout science, engineering, economics, and everyday life. Whenever a quantity depends on the square of another — such as area, speed, or acceleration — a quadratic equation is likely involved.
Complex Roots and Imaginary Numbers
When the discriminant is negative (b² − 4ac < 0), the square root of a negative number appears in the formula. This does not mean there is no solution — it means the solutions are complex numbers involving the imaginary unit i = √(−1).
Complex roots always come in conjugate pairs: if one root is p + qi, the other is always p − qi, where p = −b/(2a) is the real part and q = √(|Δ|)/(2a) is the imaginary part.
History of the Quadratic Formula
The quadratic formula has a rich history spanning over 4,000 years. Ancient Babylonian mathematicians (circa 2000 BCE) could solve specific quadratic problems using geometric methods, though they had no symbolic algebra. The Indian mathematician Brahmagupta (628 CE) gave the first explicit general solution for positive roots. The Persian scholar Al-Khwarizmi (820 CE) — whose name gave us the word “algorithm” — systematically classified and solved quadratic equations in his landmark text Al-Kitab al-mukhtasar fi hisab al-jabr wal-muqabala, which also gave us the word “algebra.” The modern symbolic form of the formula was developed in Europe during the 16th and 17th centuries.