Algebra · real student question

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

Question

Solve

x33x2+4=0x^3 - 3x^2 + 4 = 0

Step-by-step solution

  1. Test the rational candidates. By the rational root theorem the possibilities are ±1,±2,±4\pm1, \pm2, \pm4. Checking: f(1)=13+4=2f(1) = 1 - 3 + 4 = 2, f(1)=13+4=0f(-1) = -1 - 3 + 4 = 0, f(2)=812+4=0f(2) = 8 - 12 + 4 = 0. Two candidates work straight away, which already hints at a repeated factor.

  2. Divide by (x − 2) using synthetic division. Write the coefficients including the missing linear term: 1, 3, 0, 41,\ -3,\ 0,\ 4. Bringing down 11 and multiplying by 22 at each step gives the row 1, 1, 21,\ -1,\ -2 with remainder 00, so

    x33x2+4=(x2)(x2x2)x^3 - 3x^2 + 4 = (x-2)\left(x^2 - x - 2\right)

    Inserting the 00 placeholder is essential — omitting it shifts every subsequent coefficient.

  3. Factor the quadratic. Two numbers with product 2-2 and sum 1-1 are 2-2 and 11:

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

  4. Write the complete factorisation.

    x33x2+4=(x2)2(x+1)x^3 - 3x^2 + 4 = (x-2)^2(x+1)

    The factor (x2)(x-2) appeared twice, confirming the earlier hint.

  5. State the roots and their multiplicities.

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

  6. Verify. Expanding (x2)2(x+1)=(x24x+4)(x+1)=x33x2+4(x-2)^2(x+1) = \left(x^2 - 4x + 4\right)(x+1) = x^3 - 3x^2 + 4 — the xx terms 4x-4x and +4x+4x cancel, which is why the original has no linear term. Since x=2x = 2 has even multiplicity the curve touches the axis there without crossing, while it crosses at x=1x = -1.

Answer

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

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