Search for a tool
Polynomial Root

Tool to calculate/find the root of a polynomial. In mathematics, a root of a polynomial is a value for which the polynomial is 0. A polynomial of degree n can have between 0 and n roots.

Results

Polynomial Root -

Tag(s) : Functions

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Polynomial Root' tool for free! Thank you!

Polynomial Root

Root Calculator







Answers to Questions (FAQ)

What is a polynomial root? (Definition)

The roots of a polynomial $ P(x) $ whose values of $ x $ for which the polynomial is worth $ 0 $ (ie $ P(x) = 0 $).

How to calculate a polynomial root?

The general principle of root calculation is to evaluate the solutions of the equation polynomial = 0 according to the studied variable (where the curve crosses the y=0 zero axis)..

Example: Determinate the roots of the quadratic polynomial $ ax^2 + bx + c $, they are the solutions of the equation $ ax^2 + bx + c = 0 $ so $$ x=\frac{ \pm \sqrt{b^2-4 a c}-b}{2 a} $$

The calculation of polynomial roots generally involves the calculation of its discriminant.

Example: For a quadratic polynomial of the form $ ax^2 + bx + c $ the discriminant formula is $ \Delta = b^2 - 4 a c $

How to calculate a discriminant?

Use the polynomial discriminant calculator on dCode which automatically adapts to polynomials of degree 2, degree 3, etc. degree n.

How to find trivial roots?

A trivial root is an easily spotted polynomial root. Either because it is the simplest roots like 0, 1, -1, 2 or -2, or because the root is trivially deductible.

Example: The polynomial $ (x+3)^2 $ has $ -3 $ as trivial/obvious root

What is a zero for a polynomial?

A zero of a polynomial function $ P $ is a solution $ x $ such that $ P(x) = 0 $, so it is the other name of a root.

What is a nt degree polynomial?

The order of a polynomial (2nd order 2 or quadratic, 3rd order or cubic, 4th order, etc.) is the value of its largest exponent.

Example: $ x^3+x^2+x $ is a polynomial of 3rd order

How to find a polynomial with given roots/zeros?

A polynomial having $ n $ roots / zeros noted $ x_1, x_2, \cdots, x_n $ is a polynomial of degree $ n $ which can be written in the form: $$ P(x) = (x-x_1)(x-x_2) \cdots (x-x_n) $$

Example: Find a polynomial having the following roots: $ 1 $ and $ -2 $, answer is written $ P(x) = (x-1)(x+2) = x^2 + x − 2 $

Sometimes the roots are the same, or the degree is known but there is only one root, then this one is repeated.

Example: Find a polynomial of degree 2 having for unique root $ 1 $, answer is $ P(x) = (x-1)(x-1) = (x-1)^2 = x^2 − 2x + 1 $

What is the sum of the roots of a 2nd degree polynomial?

The sum of the real roots of a polynomial of degree 2 is $ -\frac{b}{a} $

What is the product of the roots of a 2nd degree polynomial?

The product of the real roots of a polynomial of degree 2 is $ \frac{c}{a} $

Source code

dCode retains ownership of the "Polynomial Root" source code. Any algorithm for the "Polynomial Root" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Polynomial Root" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Polynomial Root" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.

Cite dCode

The content of the page "Polynomial Root" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source. Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link: https://www.dcode.fr/polynomial-root
In a scientific article or book, the recommended bibliographic citation is: Polynomial Root on dCode.fr [online website], retrieved on 2025-04-16, https://www.dcode.fr/polynomial-root

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Polynomial Root' tool for free! Thank you!


https://www.dcode.fr/polynomial-root
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback