Vieta's Formulas Calculator
Solve quadratic relations using Vieta's formulas. Step-by-step logic for sum and product of roots, including reconstruction of equations.
Enter coefficients for ax2 + bx + c = 0
Enter the two roots x1 and x2
About
Vieta's formulas provide a direct relationship between the roots of a polynomial and its coefficients. This tool focuses on Quadratic Equations (ax2 + bx + c = 0). Instead of just solving for x, it demonstrates the algebraic link: the sum of the roots equals -b/a and the product equals c/a.
This utility features a dual-mode interface. The "Coefficients to Roots" mode verifies sums and products, often used to check mental math or homework. The "Roots to Equation" mode is a reverse engineering tool: input two roots (real or complex), and the calculator reconstructs the original integer coefficients of the quadratic equation.
Formulas
Quadratic Equation:
Vieta's Relations:
Reference Data
| Relation | Formula | Description |
|---|---|---|
| Sum of Roots | x1 + x2 = −b/a | Negated linear coeff over quadratic coeff |
| Product of Roots | x1 ⋅ x2 = c/a | Constant term over quadratic coeff |
| Quadratic Form | ax2 + bx + c = 0 | Standard Form |
| Factored Form | a(x − x1)(x − x2) = 0 | Using roots directly |
| Discriminant | Δ = b2 − 4ac | Determines root type |
| Root Type | Δ > 0 | 2 Distinct Real Roots |
| Root Type | Δ = 0 | 1 Repeated Real Root |
| Root Type | Δ < 0 | 2 Complex Conjugate Roots |