$x^{2}$ -40x+122=0

asked by guest
on Nov 23, 2024 at 9:53 pm



You asked:

Solve the equation \({x}^{2} - 40 x + 122 = 0\) for the variable \(x\).

MathBot Answer:

\[\begin{aligned}x &= 20 + \sqrt{278} \approx 36.673332\\x &= 20 - \sqrt{278} \approx 3.326668\end{aligned}\]

Solve by quadratic formula:

Given a quadratic equation \(a x^{2} + b x + c = 0\), where \(a\), \(b\), \(c\) are constants and \(a \ne 0\), the solutions are given by the quadratic formula: \[x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}\] In this case \(a=1\), \(b=-40\), and \(c=122\).

The discriminant is the quantity under the square root sign in the quadratic formula, and its sign determines the number of solutions to the quadratic equation when the coefficients are real. The discriminant is:\[b^{2}-4ac = \left(-40\right)^{2} - 4 \cdot 122=1112 > 0\] The discriminant is greater than zero, so this quadratic equation has two real solutions.

The two solutions are: \[x = \frac{\left(-1\right) \left(-40\right) + \sqrt{1112}}{2 \cdot 1} = 20 + \sqrt{278} \approx 36.673332\] \[x = \frac{\left(-1\right) \left(-40\right) - \sqrt{1112}}{2 \cdot 1} = 20 - \sqrt{278} \approx 3.326668\]