Nishu_Coder's blog

By Nishu_Coder, history, 16 months ago, In English

I know it may not be relevant to cp but i see some editorials talk about this formula. And how can we generalize it for polynomial of nth degree.

  • Vote: I like it
  • -13
  • Vote: I do not like it

| Write comment?
»
16 months ago, # |
Rev. 3   Vote: I like it +8 Vote: I do not like it

Basically, it manifests the relationship between the coefficients and roots of a polynomial. Consider a quadratic equation $$$ax^2 + bx + c$$$. Lets suppose that $$$\alpha$$$ and $$$\beta$$$ are the roots of this equation, then:

$$$\alpha + \beta$$$ = $$$-b / a$$$

$$$\alpha \beta$$$ = $$$c / a$$$

I am pretty sure that you are familiar with this relationship without knowing the fact that it is called the "Vieta's formula"