Ask the solver for the roots of x^3-6x^2+11x-6=0 and the answer line reads x = 1, x₁ = 3, x₂ = 2 — all three integers, listed in the order the factoriser found them. Ask the same expression to factor instead, and it prints (x - 1) · (x - 2) · (x - 3), which is the cubic in the shape most people memorise it in.
The coefficients are the roots' bookkeeping: −6 is minus (1 + 2 + 3), +11 is 1·2 + 2·3 + 3·1, and −6 at the end is minus 1·2·3. Note that the first and the last coefficient are the same number, which is not a rule but a property of these particular roots — adding 1, 2 and 3 gives the same 6 as multiplying them. Change any one of the roots and both coefficients move, which is what makes this cubic the standard worked example for Viète's formulas.
Answer
x = 1, x₁ = 3, x₂ = 2
How to read it
The solver's answer line for x³ − 6x² + 11x − 6 = 0. The second link is the same polynomial factored; the third adds the three roots.
Source
(x − 1)(x − 2)(x − 3) expands to x³ − 6x² + 11x − 6; Viète's relations: sum of roots 6, sum of pairwise products 11, product 6
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.