(Vieta's formulas for quadratics)Let $x_1$ and $x_2$ be the roots of $ax^2+bx+c=0$ ($a\ne0$). Then\[x_1+x_2=-\frac ba, x_1\cdot x_2=\frac ca,\]since $ax^2+bx+c=a(x-x_1)(x-x_2)$. Consequently $x_1^2+x_2^2=(x_1+x_2)^2-2x_1x_2$ and $(x_1-x_2)^2=(x_1+x_2)^2-4x_1x_2$.
← Back to Problem 953