Rational Zeros Calculator

Enter a polynomial to list the possible rational zeros and find the ones that work.

Use one variable, brackets and whole powers.

Try

Result

You enteredx2−5x+6=0x^{2} - 5x + 6 = 0

x=2, x=3\displaystyle x = 2,\ x = 3

Candidates

−6, −3, −2, −1, 1, 2, 3, 6\displaystyle -6,\ -3,\ -2,\ -1,\ 1,\ 2,\ 3,\ 6
Show the work
  1. Rational root theorem

    A rational zero pq\frac{p}{q} in lowest terms must have pp dividing the constant term 66 and qq dividing the leading coefficient 11. Listing every such fraction with both signs gives 8 candidates.

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

    p∈{1, 2, 3, 6}q∈{1}\begin{gathered} p \in \left\{1,\ 2,\ 3,\ 6\right\} \\ q \in \left\{1\right\} \end{gathered}
  2. Testing the candidates

    Substitute each candidate into PP. A candidate is a zero exactly when the value is 0.

    P(−6)=72P(−3)=30P(−2)=20P(−1)=12P(1)=2P(2)=0P(3)=0P(6)=12\begin{array}{l} P\left(-6\right) = 72 \\ P\left(-3\right) = 30 \\ P\left(-2\right) = 20 \\ P\left(-1\right) = 12 \\ P\left(1\right) = 2 \\ P\left(2\right) = 0 \\ P\left(3\right) = 0 \\ P\left(6\right) = 12 \end{array}
  3. Result

    The candidates that give 0 are the rational zeros: x=2x = 2, x=3x = 3.

Worked examples