📐 Sums and products of roots
Quadratic ax² + bx + c = 0, roots α, β
α + β = −b/a αβ = c/a
Cubic ax³ + bx² + cx + d = 0, roots α, β, γ
α + β + γ = −b/a
αβ + βγ + γα = c/a
αβγ = −d/a
The signs alternate: −, +, −. Divide every coefficient by a first.