Travou nisso? Resolva com IA
Algebra · real student question

Solve the quadratic equation x² + 17x - 120 = 0.

Question

Solve for xx:

x2+17x−120=0x^2+17x-120=0

Step-by-step solution

  1. Try integer factoring first, and watch it fail. Factoring needs two integers whose product is −120-120 and whose sum is +17+17. Run through the factor pairs of 120120: (24,−5)(24,-5) sums to 1919, (30,−4)(30,-4) sums to 2626, (20,−6)(20,-6) sums to 1414, (40,−3)(40,-3) sums to 3737, (15,−8)(15,-8) sums to 77. Nothing lands on 1717, so no integer factorization exists. A frequently repeated wrong answer here is (x+24)(x−5)(x+24)(x-5) — but that expands to x2+19x−120x^2+19x-120, not x2+17x−120x^2+17x-120.

  2. Confirm the failure with the discriminant. For ax2+bx+cax^2+bx+c with a=1a=1, b=17b=17, c=−120c=-120,

    Δ=b2−4ac=172−4(1)(−120)=289+480=769\Delta=b^2-4ac=17^2-4(1)(-120)=289+480=769

    Since 272=72927^2=729 and 282=78428^2=784, the value 769769 sits strictly between two consecutive squares, so it is not a perfect square. That is exactly the algebraic reason the integer search above could never succeed: rational roots require a square discriminant.

  3. Apply the quadratic formula. With Δ=769>0\Delta=769>0 there are two distinct irrational roots:

    x=−b±Δ2a=−17±7692x=\frac{-b\pm\sqrt{\Delta}}{2a}=\frac{-17\pm\sqrt{769}}{2}

    This is the exact answer; 769769 is prime, hence free of square factors, so 769\sqrt{769} cannot be simplified further.

  4. Convert to decimals. 769≈27.7308\sqrt{769}\approx 27.7308, so

    x1=−17+27.73082≈5.3654,x2=−17−27.73082≈−22.3654x_1=\frac{-17+27.7308}{2}\approx 5.3654,\qquad x_2=\frac{-17-27.7308}{2}\approx -22.3654

    Note how far x2x_2 is from the tempting −24-24: the two are not interchangeable.

  5. Check with Vieta's formulas. The sum of the roots must be −b/a=−17-b/a=-17 and the product must be c/a=−120c/a=-120. Indeed 5.3654+(−22.3654)=−175.3654+(-22.3654)=-17, and exactly,

    x1x2=(−17)2−7694=289−7694=−4804=−120x_1x_2=\frac{(-17)^2-769}{4}=\frac{289-769}{4}=\frac{-480}{4}=-120

    Both conditions hold, so the roots are correct.

Answer

x=−17+7692≈5.3654orx=−17−7692≈−22.3654x=\frac{-17+\sqrt{769}}{2}\approx 5.3654\quad\text{or}\quad x=\frac{-17-\sqrt{769}}{2}\approx -22.3654

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