WordGPT

Solve x⁴ + 2x³ - 31x² - 32x + 240 = 0

The solutions of x⁴ + 2x³ - 31x² - 32x + 240 = 0 are x = -5, -4, 3, 4.

Graph of y = x⁴ + 2x³ - 31x² - 32x + 240-6-4-224-5050100150200250300350x = -5x = -4x = 3x = 4y
Graph of y = x⁴ + 2x³ - 31x² - 32x + 240. The curve crosses the x-axis at x = -5, x = -4, x = 3, x = 4, the roots found above.

How to work it out

  1. 1

    A quartic has up to 4 real roots. The rational root theorem says that any integer root of a polynomial with integer coefficients and leading coefficient 1 divides the constant term 240, so the candidates are ±1, ±2, ±3, ±4, ±5, ±6, ±8, ±10, ±12, ±15, ±16, ±20, ±24, ±30, ±40, ±48, ±60, ±80, ±120, ±240.

    x4+2x3−31x2−32x+240=0x^{4} + 2x^{3} - 31x^{2} - 32x + 240 = 0
  2. 2

    Test the candidates until one gives 0. x = 3 is a root. Divide by (x − 3) with synthetic division; the bottom row is the quotient and a 0 remainder.

    312−31−322400315−48−24015−16−800\begin{array}{c|ccccc} 3 & 1 & 2 & -31 & -32 & 240 \\ & 0 & 3 & 15 & -48 & -240 \\ \hline & 1 & 5 & -16 & -80 & 0 \end{array}
  3. 3

    x = 4 is a root. Divide by (x − 4) with synthetic division; the bottom row is the quotient and a 0 remainder.

    415−16−8004368019200\begin{array}{c|cccc} 4 & 1 & 5 & -16 & -80 \\ & 0 & 4 & 36 & 80 \\ \hline & 1 & 9 & 20 & 0 \end{array}
  4. 4

    What is left is the quadratic x² + 9x + 20 = 0. Solve it (factoring or the quadratic formula):

    x2+9x+20=0⇒x=−4, −5x^{2} + 9x + 20 = 0 \Rightarrow x = -4,\ -5
  5. 5

    So the polynomial factors as

    x4+2x3−31x2−32x+240=(x+5)(x+4)(x−3)(x−4)x^{4} + 2x^{3} - 31x^{2} - 32x + 240 = (x + 5)(x + 4)(x - 3)(x - 4)
LaTeX source of the formulas on this page
\[ x^{4} + 2x^{3} - 31x^{2} - 32x + 240 = (x + 5)(x + 4)(x - 3)(x - 4) = 0 \]
\[ x^{4} + 2x^{3} - 31x^{2} - 32x + 240 = 0 \]
\[ \begin{array}{c|ccccc} 3 & 1 & 2 & -31 & -32 & 240 \\ & 0 & 3 & 15 & -48 & -240 \\ \hline & 1 & 5 & -16 & -80 & 0 \end{array} \]
\[ \begin{array}{c|cccc} 4 & 1 & 5 & -16 & -80 \\ & 0 & 4 & 36 & 80 \\ \hline & 1 & 9 & 20 & 0 \end{array} \]
\[ x^{2} + 9x + 20 = 0 \Rightarrow x = -4,\ -5 \]
\[ x^{4} + 2x^{3} - 31x^{2} - 32x + 240 = (x + 5)(x + 4)(x - 3)(x - 4) \]

Candidates tested (computed)

Candidate xp(x)Root?
1180no
-1240no
284no
-2180no
30root

Vieta's formulas check the answer (computed)

RelationFrom the rootsFrom the coefficients
Sum of the roots-2-2
Product of the roots240240

Questions

What are the roots of x⁴ + 2x³ - 31x² - 32x + 240 = 0?

The solutions of x⁴ + 2x³ - 31x² - 32x + 240 = 0 are x = -5, -4, 3, 4.

How do you factor x⁴ + 2x³ - 31x² - 32x + 240?

(x + 5)(x + 4)(x − 3)(x − 4).

What is the sum of the roots?

-2 (it equals −2 by Vieta's formulas).

Similar equations

    Solve x⁴ + 2x³ - 31x² - 32x + 240 = 0: x = -5, -4, 3, 4 | WordGPT