Algebra · real student question

Solve the cubic equation x^3 - 3x + 2 = 0.

Question

Solve the cubic equation

x33x+2=0x^3-3x+2=0

Step-by-step solution

  1. Hunt for a rational root. By the Rational Root Theorem, any rational root divides the constant 22, so the candidates are ±1,±2\pm1,\pm2. Testing x=1x=1:

    13+2=0 1-3+2=0\ \checkmark

    so x=1x=1 is a root and (x1)(x-1) is a factor. Note the missing x2x^2 term means its coefficient is 00 — that placeholder must be carried into the division.

  2. Divide by (x - 1) using synthetic division. With coefficients 1, 0, 3, 21,\ 0,\ -3,\ 2 and divisor root 11:

    1  0+1=1  3+1=2  22=01\ \to\ 0+1=1\ \to\ -3+1=-2\ \to\ 2-2=0

    The final 00 is the remainder, confirming the root, and the quotient is x2+x2x^2+x-2:

    x33x+2=(x1)(x2+x2)x^3-3x+2=(x-1)\left(x^2+x-2\right)

  3. Factor the quadratic. Two numbers multiplying to 2-2 and adding to +1+1 are +2+2 and 1-1:

    x2+x2=(x+2)(x1)x^2+x-2=(x+2)(x-1)

  4. Collect the repeated factor. The factor (x1)(x-1) appears twice:

    x33x+2=(x1)2(x+2)x^3-3x+2=(x-1)^2(x+2)

    That is the signal of a double root — worth stating explicitly rather than listing x=1x=1 twice as if it were two different answers.

  5. Read off the solutions.

    x=1 (multiplicity 2),x=2x=1\ \text{(multiplicity 2)},\qquad x=-2

    A cubic has three roots counted with multiplicity, so this accounts for all of them.

  6. Interpret the double root graphically. At a root of even multiplicity the curve touches the axis without crossing: x=1x=1 is a local minimum of f(x)=x33x+2f(x)=x^3-3x+2 (indeed f(x)=3x23=0f'(x)=3x^2-3=0 at x=1x=1, so ff and ff' vanish together there). At x=2x=-2 the graph crosses normally.

  7. Verify the factorisation and the roots. Comparing x33x+2x^3-3x+2 with (x1)2(x+2)(x-1)^2(x+2) at every integer from 40-40 to 3939 gives exact agreement ✓, and substituting x=1x=1 and x=2x=-2 each returns exactly 00 ✓. Vieta also checks out: the roots sum to 1+12=0=b/a1+1-2=0=-b/a ✓.

Answer

x33x+2=(x1)2(x+2)=0x=1 (double), x=2x^3-3x+2=(x-1)^2(x+2)=0\quad\Longrightarrow\quad x=1\ \text{(double)},\ x=-2

Need to solve a different problem like this? Open the solver →