How this calculation works
Expanding a(x−r₁)(x−r₂) gives the same coefficients and explains both identities.
r₁ + r₂ = −b/a, r₁r₂ = c/aA worked example
For 2x²−7x+3, the root sum is 7/2 and the product is 3/2.
Good to know
The identities apply to complex roots too.
Reference: OpenStax Algebra and Trigonometry (opens in a new tab) ↗
Read root relationships from the coefficients
For 2x² − 7x + 3, the root sum is −b/a = −(−7)/2 = 7/2, and the root product is c/a = 3/2. The roots themselves are 1/2 and 3. Adding them gives 3.5 and multiplying gives 1.5, checking both identities.
To derive the identities, expand a(x − r₁)(x − r₂). The result is ax² − a(r₁ + r₂)x + ar₁r₂. Comparing the linear and constant coefficients with ax² + bx + c gives the two formulas directly.
Use the identities even when roots are complex
The polynomial x² + 1 has roots i and −i. Their sum is zero and their product is one, matching −b/a = 0 and c/a = 1. Real coefficients can therefore give real sum and product even when the individual roots have nonzero imaginary parts.
A common nonzero scaling of a, b and c leaves both ratios unchanged because it preserves the polynomial’s roots. A zero leading coefficient is excluded because the equation would lose its quadratic degree. The Quadratic through three points calculator can supply coefficients from observations, after which these identities describe the fitted polynomial’s roots without explicitly solving for them. A sum and product alone do not establish that the roots are real.
A few questions, answered
What happens when c is zero?
The product is zero, so at least one root is zero. The other root follows from the sum, with multiplicity handled normally.
Why does the sum have a minus sign?
The expansion of (x − r₁)(x − r₂) has linear coefficient −(r₁ + r₂), which produces the sign in −b/a.