इस पर अटक गए? इसे AI से हल करें
Algebra · real student question

Solve the cubic equation x^3 + 3x^2 + 2x - 504 = 0.

Question

Solve the cubic equation

x3+3x2+2x−504=0x^3+3x^2+2x-504=0

Step-by-step solution

  1. Factor the variable part and read the structure. The first three terms share an xx:

    x3+3x2+2x=x(x2+3x+2)=x(x+1)(x+2)x^3+3x^2+2x=x\left(x^2+3x+2\right)=x(x+1)(x+2)

    so the equation is

    x(x+1)(x+2)=504x(x+1)(x+2)=504

    That is: find three consecutive integers whose product is 504504. Recognising this shape turns a cubic into a one-line search.

  2. Search near the cube root. Three consecutive integers near nn multiply to roughly n3n^3, and 5043≈7.96\sqrt[3]{504}\approx7.96, so try the triple centred near 88:

    7×8×9=504 ✓7\times8\times9=504\ \checkmark

    Hence x=7x=7 is a root. Confirming directly: 343+147+14−504=0343+147+14-504=0 ✓.

  3. Depress the cubic by synthetic division. Dividing by x−7x-7 with coefficients 1, 3, 2, −5041,\ 3,\ 2,\ -504:

    1→3+7=10→2+70=72→−504+504=01\quad\to\quad 3+7=10\quad\to\quad 2+70=72\quad\to\quad -504+504=0

    The zero remainder confirms the root, and the quotient is x2+10x+72x^2+10x+72:

    x3+3x2+2x−504=(x−7)(x2+10x+72)x^3+3x^2+2x-504=(x-7)\left(x^2+10x+72\right)

  4. Solve the quadratic factor. Its discriminant is

    102−4(1)(72)=100−288=−188<010^2-4(1)(72)=100-288=-188<0

    so the remaining two roots are complex — meaning x=7x=7 is the only real solution.

  5. Simplify the complex roots. Since −188=i4⋅47=2i47\sqrt{-188}=i\sqrt{4\cdot47}=2i\sqrt{47}:

    x=−10±2i472=−5±i47x=\frac{-10\pm2i\sqrt{47}}{2}=-5\pm i\sqrt{47}

  6. Verify all three roots. Substituting x=7x=7 gives exactly 00 ✓. Substituting −5±i47-5\pm i\sqrt{47} gives 00 to within 1.1×10−141.1\times10^{-14} in complex arithmetic ✓. As a structural check, the three roots sum to 7+(−5)+(−5)=−3=−b/a7+(-5)+(-5)=-3=-b/a ✓ and multiply to 7(25+47)=504=−d/a7\left(25+47\right)=504=-d/a ✓.

Answer

x=7,x=−5+i47,x=−5−i47(only real root: x=7)x=7,\qquad x=-5+i\sqrt{47},\qquad x=-5-i\sqrt{47}\qquad(\text{only real root: }x=7)

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