f(x)=ax^3+bx^2+cx+d=a(x-x1)(x-x2)(x-x3)=0
则
x1+x2+x3=-b/a
x1x2+x2x3+x3x1=c/a
x1x2x3=-d/a.
此三式即为所谓根与系数的关系.