Algebra · real student question

Factor x^3 + 3x^2 - 4 completely.

Question

Factor completely

x3+3x24x^3+3x^2-4

Step-by-step solution

  1. List the rational root candidates. The leading coefficient is 11, so any rational root divides the constant 4-4:

    ±1, ±2, ±4\pm 1,\ \pm 2,\ \pm 4

  2. Test the small candidates. With f(x)=x3+3x24f(x)=x^3+3x^2-4:

    f(1)=1+34=0f(1)=1+3-4=0

    So x=1x=1 is a root and (x1)(x-1) is a factor. (Note the missing xx term — its coefficient is 00, which matters for the division.)

  3. Divide by (x1)(x-1) using synthetic division. Bring down the coefficients 1,3,0,41,\,3,\,0,\,-4 with divisor 11:

    144    01\quad 4\quad 4\ \ |\ \ 0

    The zero remainder confirms the root, and the quotient is x2+4x+4x^2+4x+4.

  4. Factor the quotient. It is a perfect square: 4=224=2^2 and 2x2=4x2\cdot x\cdot 2=4x:

    x2+4x+4=(x+2)2x3+3x24=(x1)(x+2)2x^2+4x+4=(x+2)^2\quad\Longrightarrow\quad x^3+3x^2-4=(x-1)(x+2)^2

  5. Check by expansion and by the double root. (x1)(x+2)2=(x1)(x2+4x+4)=x3+3x24(x-1)(x+2)^2=(x-1)(x^2+4x+4)=x^3+3x^2-4 \checkmark. Also f(2)=8+124=0f(-2)=-8+12-4=0, and since 2-2 is a double root the graph touches the axis there without crossing.

Answer

x3+3x24=(x1)(x+2)2x^3+3x^2-4=(x-1)(x+2)^2

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