The Solution
Calculation: Vieta's Formulas Calculator
Vieta's Formulas Calculator
Enter your polynomial coefficients above and click "Apply Vieta's Formulas" to see results.Cubic Equation Solver
Find real and complex roots, discriminant, and cubic graphs in seconds with our precision solver.
Provide coefficients to verify Vieta's relationships between the roots and the equation's coefficients.
Calculation: Vieta's Formulas Calculator
Vieta's Formulas Calculator
Enter your polynomial coefficients above and click "Apply Vieta's Formulas" to see results.The Treatise
The Formula
The Method
The Illustration
The Deep Dive
The proof is a single expansion. Write a(x − r₁)(x − r₂)(x − r₃) and multiply out: the x² coefficient collects −a(r₁ + r₂ + r₃), the x coefficient collects a(r₁r₂ + r₁r₃ + r₂r₃), and the constant term is −ar₁r₂r₃. Matching against ax³ + bx² + cx + d gives all three relations at once. This argument generalizes word for word to degree n, producing the alternating-sign pattern students meet again with quartics and beyond.
Newton's identities extend Vieta from elementary sums to power sums. With p₁ = r₁ + r₂ + r₃, p₂ = r₁² + r₂² + r₃², the identities give p₁ = −b/a and p₂ = (b/a)² − 2(c/a). For roots 1, 2, 3: p₂ = 1 + 4 + 9 = 14, and (−6)² − 2(11) = 36 − 22 = 14. These let you compute symmetric expressions like the sum of squares directly from coefficients, a staple of contest problems asking for quantities no one wants to compute root by root.
Vieta runs backward as a construction tool. Want a cubic with roots summing to 0 and product 6? The relations give b = 0, d = −6 immediately, and choosing the pairwise sum fixes c. This is how textbooks manufacture "nice" problems and how engineers impose constraints: specify the desired root relationships, read off the required coefficients. Our factorization tool then confirms the construction factors as intended.
Even the discriminant speaks Vieta's language: Δ = a⁴(r₁ − r₂)²(r₁ − r₃)²(r₂ − r₃)² is symmetric in the roots, so the fundamental theorem of symmetric polynomials guarantees it can be rewritten purely in b, c, d. That rewriting is exactly the five-term formula. Vieta's relations are thus the dictionary translating between the world of roots and the world of coefficients, with the discriminant as its most famous entry.
François Viète published these relations in 1591, before modern algebraic notation existed: he wrote them out in words. The deeper significance emerged later: the coefficients are precisely the polynomial expressions in the roots that survive every permutation of the roots. Galois theory starts from this observation, asking which non-symmetric expressions survive some permutations. Vieta's formulas are the degree-three doorway into one of mathematics' deepest theories.
The Applications
The single most common use: verify candidate roots in seconds. If your three numbers do not sum to −b/a, at least one is wrong, no substitution needed. Teachers grade with it, students self-check with it, and software uses it as a cheap assertion after the cubic roots calculator finishes.
Olympiad problems love asking for symmetric expressions like r₁² + r₂² + r₃² or 1/r₁ + 1/r₂ + 1/r₃ without giving the roots. Vieta plus Newton's identities answer these directly from the coefficients. Whole problem sets are built on this trick.
Need a cubic with specific root properties, say roots summing to zero for a centered design? Vieta converts root specifications into coefficient requirements instantly. Control engineers use this when placing system poles to meet performance targets.
In physics, sums over eigenvalues often have closed forms via Vieta-style relations on characteristic polynomials. From coupled oscillators to tight-binding models, the sum of the roots is frequently the only aggregate the theory needs, readable straight from one coefficient.
Symbolic systems use Vieta relations to simplify expressions in roots without computing the roots themselves. Resultants, discriminants, and elimination theory all run on symmetric-polynomial machinery that starts with these three formulas.
The Cautions
Sign errors on −b/a and −d/a: The number-one Vieta mistake. The sum is −b/a and the product is −d/a, with the minus signs. For x³ − 6x² + 11x − 6 the root sum is +6, not −6. Memorize the −, +, − pattern.
Forgetting to divide by a: The relations need the monic-normalized coefficients. For 2x³ − 12x² + …, the root sum is −(−12)/2 = 6, not 12. Either divide the equation by a first or let the tool normalize it.
Mixing up c/a: The pairwise sum r₁r₂ + r₁r₃ + r₂r₃ equals +c/a, positive. Students often attach a minus by false analogy with the other two relations. Only the odd positions (sum, product) carry the minus.
Applying to non-polynomials: Vieta's formulas are statements about polynomial coefficients. They say nothing about roots of transcendental equations like x³ = eˣ. Confirm you have a genuine polynomial first.
Assuming integer roots: The relations hold for irrational and complex roots too. A product of 6 does not force integer roots: try 1, 2, 3 versus ∛2, ∛4/… style triples. Use the formulas as constraints, not as a promise of niceness.
The Reference
The Questions
Three relations linking a cubic's coefficients to its roots: the roots sum to −b/a, their pairwise products sum to c/a, and their product is −d/a.
Because expanding a(x − r₁)(x − r₂)(x − r₃) introduces a minus with each factor. Odd-position relations inherit the minus; the even one does not.
Yes, after dividing by the leading coefficient a. The relations are stated with /a precisely so they hold for every cubic.
The three relations are three equations in three unknowns, so in principle yes, but solving that system is itself hard. In practice use them to check roots found by the cubic roots calculator or guessed via the rational root theorem.
François Viète (1540–1603), French mathematician who published the relations in 1591 and pioneered symbolic algebra, using letters for both unknowns and parameters.
Yes. For degree n there are n relations with alternating signs, each an elementary symmetric sum of the roots. The cubic case is the most used.
Absolutely. The relations are pure algebra and hold for complex roots unchanged. Check examples with our complex roots calculator.
Add your three candidate roots: the sum must equal −b/a. This one addition catches the majority of arithmetic slips before you ever substitute back.