Algebra · real student question

Factor x^3 + 4x^2 - 5 over the rationals, then over the reals.

Question

Factor

x3+4x25x^3+4x^2-5

first over the rationals, then over the reals.

Step-by-step solution

  1. Search for a rational root. The constant is 5-5 and the leading coefficient is 11, so the candidates are ±1,±5\pm 1,\pm 5. Testing x=1x=1:

    1+45=01+4-5=0

    so (x1)(x-1) is a factor.

  2. Divide out (x1)(x-1). Writing the cubic with its missing linear term as x3+4x2+0x5x^3+4x^2+0x-5 and dividing:

    x3+4x25=(x1)(x2+5x+5)x^3+4x^2-5=(x-1)\left(x^2+5x+5\right)

  3. Test the quadratic factor for rational roots. Its discriminant is

    D=524(1)(5)=2520=5D=5^2-4(1)(5)=25-20=5

    55 is positive but not a perfect square, so x2+5x+5x^2+5x+5 is irreducible over the rationals while still having two real roots. That is the exact boundary between the two answers.

  4. Factor over the reals. The roots are 5±52\tfrac{-5\pm\sqrt5}{2}, so

    x2+5x+5=(x+5+52)(x+552)x^2+5x+5=\left(x+\frac{5+\sqrt5}{2}\right)\left(x+\frac{5-\sqrt5}{2}\right)

  5. Verify both forms. Expanding (x1)(x2+5x+5)(x-1)(x^2+5x+5) gives x3+5x2+5xx25x5=x3+4x25x^3+5x^2+5x-x^2-5x-5=x^3+4x^2-5 \checkmark. For the real form, the two constants sum to 55 and multiply to 2554=5\tfrac{25-5}{4}=5, matching the coefficients of x2+5x+5x^2+5x+5 \checkmark.

Answer

x3+4x25=(x1)(x2+5x+5)=(x1)(x+5+52)(x+552)x^3+4x^2-5=(x-1)\left(x^2+5x+5\right)=(x-1)\left(x+\tfrac{5+\sqrt5}{2}\right)\left(x+\tfrac{5-\sqrt5}{2}\right)

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