Sum of the roots $= -b/a$, product of the roots $= c/a$ — compute the sum and product directly from the coefficients without finding the roots
The two roots $x_{1}, x_{2}$ of a quadratic equation are placed symmetrically about the axis of symmetry $x = -b/2a$. Since they're the same distance from the center of symmetry, the sum is twice the center: $x_{1} + x_{2} = 2 \times (-b/2a) = -b/a$. The intuition "the average of the two roots = the axis of symmetry" is the basis of the sum formula.
The product of the roots $c/a$ also comes out structurally: $ax^{2} + bx + c = a(x - x_{1})(x - x_{2})$ — substitute $x = 0$ (the constant term) to get $c = a \cdot x_{1} \cdot x_{2}$ → $x_{1} x_{2} = c/a$. That is, the constant term $c$ is "the product of the two roots × a" — the coefficients carry the product of the roots.
Let's build the result step by step, instead of memorizing.
$x_{1} = \frac{-b + \sqrt{D}}{2a}$, $x_{2} = \frac{-b - \sqrt{D}}{2a}$ ($D = b^{2}-4ac$). Sum: $x_{1} + x_{2} = \frac{-2b}{2a} = -\frac{b}{a}$ — the $\pm\sqrt{D}$ cancels.
Product: $x_{1} x_{2} = \frac{(-b + \sqrt{D})(-b - \sqrt{D})}{4a^{2}} = \frac{b^{2} - D}{4a^{2}} = \frac{b^{2} - (b^{2} - 4ac)}{4a^{2}} = \frac{4ac}{4a^{2}} = \frac{c}{a}$. (Used the difference of squares.)
$x^{2} + bx + c = 0$: sum $= -b$, product $= c$. That is, $x^{2} - (\text{sum})x + (\text{product}) = 0$ — given two numbers, you can build a quadratic equation right away. Example: roots 2, −3 → $x^{2} - (2 + (-3))x + (2 \times -3) = x^{2} + x - 6 = 0$.
Each step also shows the "why".
The classic ways to lose points on a test.
Three questions to check the core idea. Click an option to see the explanation.
The formula is hiding in familiar scenes. Read it as a story and it sticks.
Problems asking for functions of the roots like "sum, product, $x_{1}^{2} + x_{2}^{2}$, $1/x_{1} + 1/x_{2}$ of the two roots" are far faster with the root-coefficient relations than with the quadratic formula (√ computations). $x_{1}^{2} + x_{2}^{2} = (\text{sum})^{2} - 2(\text{product})$, $1/x_{1} + 1/x_{2} = (\text{sum})/(\text{product})$ — just substitute if you have the sum and product. The computation stays integer arithmetic and doesn't spiral into irrationals (√).
"Building a quadratic equation from the sum and product of two numbers" is the reverse direction too: $x^{2} - (\text{sum})x + (\text{product}) = 0$. "Packaging" the sum and product of two integers (e.g., 5 and −2) into a quadratic equation — this structure appears when compressing cases by sum and product in combinatorics/probability (cases of drawing two numbers).