Factoring Calculator

Factor a polynomial over the rational numbers and see each step.

Use letters, brackets, + − × ÷ and whole powers.

Try

Result

You entered6x2+x−26x^{2} + x - 2

(2x−1)(3x+2)\displaystyle \left(2x - 1\right)\left(3x + 2\right)

Expanded form

6x2+x−2\displaystyle 6x^{2} + x - 2

Degree

2\displaystyle 2

Number of terms

3\displaystyle 3
Show the work
  1. Factor theorem

    Let P(x)P(x) be the polynomial. Test the rational number r=12r = \frac{1}{2}: since P(12)=0P(\frac{1}{2}) = 0, 2x−12x - 1 is a factor.

    Using P(r)=0  ⟹  (x−r)∣P(x)P(r) = 0 \implies \left(x - r\right) \mid P(x)

    P(12)=6×(12)2+12−2=0\begin{aligned} P(\frac{1}{2}) &= 6 \times \left(\frac{1}{2}\right)^{2} + \frac{1}{2} - 2 \\ &= 0 \end{aligned}
  2. Factor theorem

    Let P(x)P(x) be the polynomial. Test the rational number r=−23r = -\frac{2}{3}: since P(−23)=0P(-\frac{2}{3}) = 0, 3x+23x + 2 is a factor.

    Using P(r)=0  ⟹  (x−r)∣P(x)P(r) = 0 \implies \left(x - r\right) \mid P(x)

    P(−23)=6×(−23)2+(−23)−2=0\begin{aligned} P(-\frac{2}{3}) &= 6 \times \left(-\frac{2}{3}\right)^{2} + \left(-\frac{2}{3}\right) - 2 \\ &= 0 \end{aligned}
  3. Polynomial division

    Divide the polynomial by each factor found (2x−12x - 1, 3x+23x + 2). Each division has no remainder, because the factor theorem says it divides exactly.

  4. Every factor is linear

    Nothing is left after dividing, so the polynomial is a product of linear factors (and a number).

  5. Result

    So 6x2+x−2=(2x−1)(3x+2)6x^{2} + x - 2 = \left(2x - 1\right)\left(3x + 2\right).

Worked examples