Algebra · real student question

Factor or find the roots of x3 - 5x2 - 7x + 41.

Question

Find all real roots of

f(x)=x35x27x+41f(x)=x^3-5x^2-7x+41

and decide whether it factors over the rationals.

Step-by-step solution

  1. Test for rational roots. By the rational root theorem, with leading coefficient 11 any rational root must divide the constant term 4141 — and 4141 is prime, so the only candidates are ±1\pm1 and ±41\pm41:

    f(1)=157+41=30,f(1)=15+7+41=42f(1)=1-5-7+41=30,\qquad f(-1)=-1-5+7+41=42

    and f(±41)f(\pm 41) is dominated by 41341^3, nowhere near zero. So there is no rational root, and the cubic does not factor over Q\mathbb{Q}.

  2. Do not stop there — count the sign changes. Irrational roots still exist, and a cubic always has at least one. Tabulating ff:

    f(3)=10,f(0)=41,f(3)=2,f(4)=3,f(5)=6f(-3)=-10,\quad f(0)=41,\quad f(3)=2,\quad f(4)=-3,\quad f(5)=6

    That is three sign changes: on (3,0)(-3,0), on (3,4)(3,4) and on (4,5)(4,5). So this cubic has three distinct real roots, not one — the common claim that it has a single real root near 2.721-2.721 is wrong twice over, since f(2.721)=2.88f(-2.721)=2.88 as well.

  3. Confirm three roots with the discriminant of the derivative. f(x)=3x210x7f'(x)=3x^2-10x-7 has roots x=10±1846x=\frac{10\pm\sqrt{184}}{6}, i.e. a local maximum near x=0.60x=-0.60 and a local minimum near x=3.93x=3.93. Since f(0.60)43.2>0f(-0.60)\approx 43.2>0 and f(3.93)3.1<0f(3.93)\approx -3.1<0, the curve rises above the axis, dips below it, and rises again — exactly the configuration for three real crossings.

  4. Locate each root by bisection. Narrowing each bracket to machine precision:

    x1=2.7875545,x2=3.2205249,x3=4.5670296x_1=-2.7875545,\qquad x_2=3.2205249,\qquad x_3=4.5670296

  5. Verify with Vieta's formulas. For x35x27x+41x^3-5x^2-7x+41 the three roots must satisfy xi=5\sum x_i=5, i<jxixj=7\sum_{i<j}x_ix_j=-7 and x1x2x3=41x_1x_2x_3=-41. Numerically the values give 5.0005.000, 7.000-7.000 and 41.000-41.000 ✓, so all three roots are correct and none is missing.

  6. State the conclusion. The polynomial is irreducible over the rationals, yet it factors over the reals as

    f(x)(x+2.7875545)(x3.2205249)(x4.5670296)f(x)\approx (x+2.7875545)(x-3.2205249)(x-4.5670296)

Answer

x2.7875545,x3.2205249,x4.5670296 (no rational root)x\approx -2.7875545,\quad x\approx 3.2205249,\quad x\approx 4.5670296\ \text{(no rational root)}

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