Algebra · real student question

Factor 21x^3 - 49x^2 - 18x + 42 completely, and find its roots.

Question

Factor

21x349x218x+4221x^{3}-49x^{2}-18x+42

completely, and find its roots.

Step-by-step solution

  1. Try grouping before hunting for roots. A four-term cubic is the classic candidate for factoring in pairs. Split it down the middle:

    (21x349x2)+(18x+42).\left(21x^{3}-49x^{2}\right)+\left(-18x+42\right).

    Testing integers such as x=2x=2 (giving 22-22) and x=3x=3 (giving 114114) finds nothing, which is why a root-first approach stalls here — the only rational root is the fraction 73\tfrac73, easy to overlook among the many candidates ±pq\pm\frac{p}{q} with p42p\mid42, q21q\mid21.

  2. Factor each pair. From the first pair take out 7x27x^{2}, and from the second take out 6-6:

    21x349x2=7x2(3x7),18x+42=6(3x7).21x^{3}-49x^{2}=7x^{2}(3x-7),\qquad -18x+42=-6(3x-7).

    The sign matters: pulling out 6-6 rather than 66 is what makes the second bracket 3x73x-7 instead of 73x7-3x.

  3. Extract the common binomial. Both pieces now share the factor (3x7)(3x-7):

    7x2(3x7)6(3x7)=(3x7)(7x26).7x^{2}(3x-7)-6(3x-7)=(3x-7)\left(7x^{2}-6\right).

    Expanding back confirms it: 21x349x218x+4221x^{3}-49x^{2}-18x+42 ✓.

  4. Check whether the quadratic factors further. Over the rationals, 7x267x^{2}-6 is irreducible because 67\tfrac67 is not the square of a rational. Over the reals it does split:

    7x26=7(x67)(x+67).7x^{2}-6=7\left(x-\sqrt{\tfrac67}\right)\left(x+\sqrt{\tfrac67}\right).

    So the complete rational factorisation is (3x7)(7x26)(3x-7)(7x^{2}-6).

  5. Read off the roots and verify. Setting each factor to zero:

    x=732.3333,x=±67=±427±0.92582.x=\frac{7}{3}\approx2.3333,\qquad x=\pm\sqrt{\frac67}=\pm\frac{\sqrt{42}}{7}\approx\pm0.92582.

    Substituting each into the cubic returns 00 to within 101410^{-14} ✓, and Vieta agrees: the roots sum to 73+0=73=4921\tfrac73+0=\tfrac73=\tfrac{49}{21} ✓.

Answer

21x349x218x+42=(3x7)(7x26);x=73, ±427±0.9258221x^{3}-49x^{2}-18x+42=(3x-7)\left(7x^{2}-6\right);\qquad x=\frac73,\ \pm\frac{\sqrt{42}}{7}\approx\pm0.92582

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