Блог пользователя Nishu_Coder

Автор Nishu_Coder, история, 9 месяцев назад, По-английски

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.

  • Проголосовать: нравится
  • -13
  • Проголосовать: не нравится

»
9 месяцев назад, # |
Rev. 3   Проголосовать: нравится +8 Проголосовать: не нравится

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"