Polynomial Roots Calculator

Enter a polynomial to find all of its roots, with repeated roots counted.

Use one variable, brackets and whole powers, up to degree 6.

Try

Result

You enteredx3−3x2+3x−1=0x^{3} - 3x^{2} + 3x - 1 = 0

x=1 (multiplicity 3)\displaystyle x = 1\ \left(\text{multiplicity } 3\right)

Factored form

(x−1)3\displaystyle \left(x - 1\right)^{3}
Show the work
  1. Roots of a polynomial

    A root of PP is a number that makes P(x)=0P(x) = 0. A polynomial of degree 3 has 3 roots when each is counted as often as it repeats, and complex roots come in pairs.

    P(x)=x3−3x2+3x−1=0\begin{aligned} P\left(x\right) &= x^{3} - 3x^{2} + 3x - 1 \\ &= 0 \end{aligned}
  2. Rational root theorem

    If a polynomial with whole-number coefficients has a rational root pq\frac{p}{q} in lowest terms, then pp divides the constant term and qq divides the leading coefficient. Here that gives 2 candidates, and substituting each shows that one is a root.

    Using x=±pqx = \pm\frac{p}{q}

    p∣−1q∣1⇒±pq∈{−1, 1}\begin{gathered} p \mid -1 \\ q \mid 1 \\ \Rightarrow \\ \pm\frac{p}{q} \in \left\{-1,\ 1\right\} \end{gathered}
  3. Synthetic division

    Because P(1)=0P\left(1\right) = 0, the expression x−1x - 1 is a factor. Dividing by it, 3 times because the root repeats, leaves a polynomial of lower degree.

    x3−3x2+3x−1=(x−1)3x^{3} - 3x^{2} + 3x - 1 = \left(x - 1\right)^{3}
  4. Result

    So the roots of PP are x=1 (×3)x = 1\ \left(\times 3\right).

Worked examples