Vieta's Formula for polynomial of small degrees. #
theorem
Polynomial.eq_neg_mul_add_of_aroots_quadratic_eq_pair
{T : Type u_2}
{S : Type u_3}
[CommRing T]
[CommRing S]
[IsDomain S]
[Algebra T S]
{a b c : T}
{x1 x2 : S}
(haroots : (C a * X ^ 2 + C b * X + C c).aroots S = {x1, x2})
:
(algebraMap T S) b = -(algebraMap T S) a * (x1 + x2)
Vieta's formula for quadratics (aroots version).
theorem
Polynomial.eq_mul_mul_of_aroots_quadratic_eq_pair
{T : Type u_2}
{S : Type u_3}
[CommRing T]
[CommRing S]
[IsDomain S]
[Algebra T S]
{a b c : T}
{x1 x2 : S}
(haroots : (C a * X ^ 2 + C b * X + C c).aroots S = {x1, x2})
:
(algebraMap T S) c = (algebraMap T S) a * x1 * x2
Vieta's formula for quadratics (aroots version).
theorem
Polynomial.aroots_quadratic_eq_pair_iff_of_ne_zero
{T : Type u_2}
{S : Type u_3}
[CommRing T]
[CommRing S]
[IsDomain S]
[Algebra T S]
{a b c : T}
{x1 x2 : S}
(ha : (algebraMap T S) a ≠ 0)
:
(C a * X ^ 2 + C b * X + C c).aroots S = {x1, x2} ↔ (algebraMap T S) b = -(algebraMap T S) a * (x1 + x2) ∧ (algebraMap T S) c = (algebraMap T S) a * x1 * x2
Vieta's formula for quadratics as an iff (aroots version).
theorem
Polynomial.aroots_quadratic_eq_pair_iff_of_ne_zero'
{T : Type u_2}
{S : Type u_3}
[CommRing T]
[Field S]
[Algebra T S]
{a b c : T}
{x1 x2 : S}
(ha : (algebraMap T S) a ≠ 0)
:
(C a * X ^ 2 + C b * X + C c).aroots S = {x1, x2} ↔ x1 + x2 = -(algebraMap T S) b / (algebraMap T S) a ∧ x1 * x2 = (algebraMap T S) c / (algebraMap T S) a
Vieta's formula for quadratics as an iff (aroots, Field version).