Solve x⁴ − 2x³ − 7x² + 8x + 12 = 0

The solutions of x4−2x3−7x2+8x+12=0x^{4} - 2 x^{3} - 7 x^{2} + 8 x + 12 = 0 are x1=−2,x2=−1,x3=2,x4=3x_{1} = -2,\quad x_{2} = -1,\quad x_{3} = 2,\quad x_{4} = 3

Answer

Polynomial equation
x1=−2,x2=−1,x3=2,x4=3x_{1} = -2,\quad x_{2} = -1,\quad x_{3} = 2,\quad x_{4} = 3

Checked numerically before it is shown

Step-by-step solution

  1. Rational root test

    Try the divisors of the constant term: −1-1 makes the polynomial 0, so it is a root:

    x=−1:(−1)4−2⋅(−1)3−7⋅(−1)2+8⋅(−1)+12=0x = -1:\quad \left(-1\right)^{4} - 2 \cdot \left(-1\right)^{3} - 7 \cdot \left(-1\right)^{2} + 8 \cdot \left(-1\right) + 12 = 0
  2. Polynomial division

    Divide the polynomial by x+1x + 1:

    (x+1)(x3−3x2−4x+12)=0\left(x + 1\right) \left(x^{3} - 3 x^{2} - 4 x + 12\right) = 0
  3. Rational root test

    Try the divisors of the constant term: 22 makes the polynomial 0, so it is a root:

    x=2:23−3⋅22−4⋅2+12=0x = 2:\quad 2^{3} - 3 \cdot 2^{2} - 4 \cdot 2 + 12 = 0
  4. Polynomial division

    Divide the polynomial by x−2x - 2:

    (x−2)(x2−x−6)=0\left(x - 2\right) \left(x^{2} - x - 6\right) = 0
  5. Coefficients

    Read off the coefficients:

    a=1,b=−1,c=−6a = 1,\quad b = -1,\quad c = -6
  6. Discriminant

    Compute the discriminant:

    Δ=b2−4ac=1−4⋅1⋅(−6)=25\Delta = b^{2} - 4ac = 1 - 4 \cdot 1 \cdot \left(-6\right) = 25
  7. Positive discriminant

    The discriminant 2525 is positive: two real solutions.

  8. Quadratic formula

    Apply the quadratic formula:

    x=−b±Δ2a=1±252x = \frac{-b \pm \sqrt{\Delta}}{2a} = \frac{1 \pm \sqrt{25}}{2}
  9. Square root

    Work out the square root:

    25=5\sqrt{25} = 5
  10. Two solutions

    Take the + sign and the − sign in turn:

    x1=1+52=3,x2=1−52=−2x_{1} = \frac{1 + 5}{2} = 3,\quad x_{2} = \frac{1 - 5}{2} = -2

Check

  • (−2)4−2⋅(−2)3−7⋅(−2)2+8⋅(−2)+12=0  ✓\left(-2\right)^{4} - 2 \cdot \left(-2\right)^{3} - 7 \cdot \left(-2\right)^{2} + 8 \cdot \left(-2\right) + 12 = 0\;\checkmark
  • (−1)4−2⋅(−1)3−7⋅(−1)2+8⋅(−1)+12=0  ✓\left(-1\right)^{4} - 2 \cdot \left(-1\right)^{3} - 7 \cdot \left(-1\right)^{2} + 8 \cdot \left(-1\right) + 12 = 0\;\checkmark
  • 24−2⋅23−7⋅22+8⋅2+12=0  ✓2^{4} - 2 \cdot 2^{3} - 7 \cdot 2^{2} + 8 \cdot 2 + 12 = 0\;\checkmark
  • 34−2⋅33−7⋅32+8⋅3+12=0  ✓3^{4} - 2 \cdot 3^{3} - 7 \cdot 3^{2} + 8 \cdot 3 + 12 = 0\;\checkmark

Change the problem in the solver Equation solver

Related solved examples