Polynomial from its Roots

This tool calculates a Polynomial given its roots or zeros.
Enter roots separated by spaces.


How to use this calculator ?

Enter the zeros (or roots) of the polynomial to be calculated following these rules,
- Allowed numbers are integer numbers, fractions and decimal numbers
- Separate the roots by a comma (example: 4,6,7)
- Multiple roots : enter twice a double root, three times a triple root and so on.
For example, roots of the polynomial `(x-1)^2(x-3)` are : 1,1,3 since 1 is a double root.

Examples
- Input = 1,4,2
`P(x) = (x-1)(x-4)(x-2)`
`P(x) = x^3 - 7*x^2 + 14*x - 8`

- Input = 2,4/5,7/3
`P(x) = (x-2)(x-4/5)(x-7/3)`
`P(x) = x^3 - 77/15*x^2 + 122/15*x - 56/15`

- Input = 2,2,2,3
`P(x) = (x-2)^3(x-3)`
`P(x) = x^4 - 9*x^3 + 30*x^2 - 44*x + 24`

- Input = 1.2,5.7,2.89
`P(x) = (x-1.2)(x-5.7)(x-2.89)`
`P(x) = x^3 - 9.79*x^2 + 26.781*x - 19.7676`

See also

Polynomial calculators
Math Calculators