Algebra · real student question

Factor 2x^3 - x^2 - 5x - 2 completely.

Question

Factor

2x3x25x22x^3-x^2-5x-2

completely.

Step-by-step solution

  1. Try grouping first, and see it fail. Pairing gives (2x3x2)+(5x2)=x2(2x1)(5x+2)\left(2x^3-x^2\right)+(-5x-2)=x^2(2x-1)-(5x+2). The two brackets (2x1)(2x-1) and (5x+2)(5x+2) are different, so grouping does not apply here — which is the signal to switch to the Rational Root Theorem.

  2. List the candidate rational roots. A rational root pq\tfrac{p}{q} needs p2p\mid2 (the constant) and q2q\mid2 (the leading coefficient), so the candidates are

    ±1, ±2, ±12\pm1,\ \pm2,\ \pm\tfrac12

    The halves appear precisely because the leading coefficient is 22 rather than 11 — a step often skipped.

  3. Test the candidates.

    f(2)=2(8)4102=1616=0 f(2)=2(8)-4-10-2=16-16=0\ \checkmark

    so x=2x=2 is a root and (x2)(x-2) is a factor.

  4. Divide by (x - 2) with synthetic division. Using the root 22 on the coefficients 2, 1, 5, 22,\ -1,\ -5,\ -2:

    2  1+4=3  5+6=1  2+2=02\ \to\ -1+4=3\ \to\ -5+6=1\ \to\ -2+2=0

    Zero remainder ✓, and the quotient is 2x2+3x+12x^2+3x+1:

    2x3x25x2=(x2)(2x2+3x+1)2x^3-x^2-5x-2=(x-2)\left(2x^2+3x+1\right)

  5. Factor the quadratic with the AC method. We need two numbers with product 2×1=22\times1=2 and sum 33: they are 11 and 22. Splitting and grouping:

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

  6. Write the complete factorisation and roots.

    2x3x25x2=(x2)(2x+1)(x+1)2x^3-x^2-5x-2=(x-2)(2x+1)(x+1)

    The roots are x=2x=2, x=12x=-\tfrac12 and x=1x=-1 — note that 12-\tfrac12 is one of the fractional candidates, which is why they had to be on the list.

  7. Verify. Comparing the original with the triple product at every integer from 30-30 to 2929 gives exact agreement ✓. Vieta also checks: the roots sum to 2121=12=b/a2-\tfrac12-1=\tfrac12=-b/a ✓ and their product is 2(12)(1)=1=d/a2\cdot\left(-\tfrac12\right)\cdot(-1)=1=-d/a ✓.

Answer

2x3x25x2=(x2)(2x+1)(x+1)2x^3-x^2-5x-2=(x-2)(2x+1)(x+1)

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