x² − 5x + 6 = 0: the example every textbook starts with

Roots 3 and 2, and the two relations between them that made Viète famous — the sum is 5, the product is 6.

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

This is the quadratic that factors cleanly: x² − 5x + 6 = (x − 2)(x − 3), so the roots are 2 and 3. Viète's point was that you can read those numbers off the coefficients without solving anything — for x² + bx + c the roots sum to −b and multiply to c.

Open the step-by-step version and check the arithmetic against the coefficients: the solver writes the discriminant, the two roots, and the factorisation. Then change the constant to −1 and you get the golden ratio instead — same method, irrational answer.

Answer

x₁ = 3, x₂ = 2

How to read it

3 + 2 = 5 and 3 × 2 = 6 — the coefficients, read back out of the roots.

Source

François Viète, In artem analyticem isagoge (1591); the standard entry example in Grade 9 / GCSE / gaokao textbooks

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.