Library/Algebra/Polynomials/Vieta's theorem

Vieta's theorem

Overview
Important

Vieta's theorem generalizes to polynomials of any degree. For a quadratic ax2+bx+c=0ax^2 + bx + c = 0 with roots rr and ss:

  • r+s=bar + s = -\frac{b}{a}
  • rs=cars = \frac{c}{a} For a cubic ax3+bx2+cx+d=0ax^3 + bx^2 + cx + d = 0 with roots rr, ss, tt:
  • r+s+t=bar + s + t = -\frac{b}{a}
  • rs+rt+st=cars + rt + st = \frac{c}{a}
  • rst=darst = -\frac{d}{a}

Important properties

  • Relates sums and products of roots to coefficients

  • Works for polynomials of any degree

  • Can be used to construct polynomials with given roots