x² + 5x + 6 = 0 has roots −2 and −3, and the sum explains them

Two numbers that multiply to 6 and add to −5 — the check that needs no formula at all.

Equations and algebra · Level: Classroom · Updated on 2026-11-10

The solver prints x₁ = -2, x₂ = -3. No square root is needed to find that: two numbers whose product is 6 and whose sum is −5. Note which side the signs sit on — the factoring pair is +2 and +3, which add to the +5x in the middle of the polynomial, while the roots are their negatives — and that single sign flip is the fastest demonstration on this site that the roots live in the coefficients rather than in the method used to extract them.

The sum and product are also the cheapest typo detector in algebra: −2 + −3 really is −5, and (−2) × (−3) really is 6, so whatever else is wrong here, the roots are not. The discriminant decides how the answer is written: b² − 4ac comes to 25 − 24 = 1, a perfect square, which is why the screen uses = here. Change the 6 to a 5 and the discriminant is still a square; change it to 7 and the roots turn surd and the sign becomes ≈.

Answer

x₁ = -2, x₂ = -3

How to read it

Both roots are exact, because the discriminant 5² − 4·6 = 1 is a perfect square — the same check the golden ratio fails.

Source

Viète's formulas (1591, In Artem Analyticam Isagoge): for x² + px + q the roots have sum −p and product q

Work it in the calculator

These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.

This is an independent third-party tool site. It is not affiliated with, sponsored by, or authorised by Casio, Texas Instruments or their distributors. Model names and product names are trademarks of their respective owners and appear here only to identify devices.

The keystroke sequences in these manuals were written from this site's own layout data — the same data the online calculator renders — plus publicly available product facts. Specifications and regional configurations are confirmed against the physical device and the manufacturer's most recent material.