Loading…

Vieta's Formulas Analyzer

Math Algebra • Polynomial and Rational Functions

View all topics

Enter an expanded polynomial in \(x\) (no trig/log/exp). Use ^ for powers and optional *. Examples: x^3 - 6x^2 + 11x - 6, 2x^2+3, -x^4+2x. The tool extracts Vieta relations and verifies them numerically.

Ready
Enter a polynomial and press Calculate.
  • Extracts Vieta identities from coefficients.
  • Computes approximate roots (real/complex) to verify the identities numerically.
  • Plots \(y=p(x)\) and labels intercepts as coordinates.

Drag to pan. Mouse wheel zooms (cursor-centered). Double-click resets view. Intercepts are labeled as \((x,0)\) and \((0,p(0))\) when enabled.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What are Vieta's formulas for a polynomial?

Vieta's formulas relate the coefficients of p(x) = a_n x^n + a_{n-1} x^{n-1} + ... + a_0 to symmetric sums of the roots r1, ..., rn. For example, r1 + ... + rn = -a_{n-1}/a_n and r1 r2 ... rn = (-1)^n a_0/a_n.

How does this calculator find Vieta relations from my polynomial?

It reads the coefficients of your expanded polynomial and matches them to the standard Vieta identities for elementary symmetric sums. The relations are exact from coefficients even when roots are irrational or complex.

Why do I see tiny imaginary parts for roots that should be real?

Numerical root-finding can introduce small rounding errors, so a real root may appear with a very small imaginary component. The tolerance setting helps decide when a root should be treated as real.

What do the intercept labels on the graph represent?

Real roots r correspond to x-intercepts (r, 0) on the plot of y = p(x). The y-intercept is (0, p(0)) which equals (0, a_0) for an expanded polynomial.

Do Vieta's formulas work with repeated or complex roots?

Yes, the identities include all roots counted with multiplicity, and complex roots are included in the sums and products. Complex roots do not appear as x-intercepts on a real graph, but they still satisfy the Vieta relations.