Solving simple quadratic - Wolfram Alpha confusion?

101 Views Asked by At

enter image description hereI have the following quadratic

$$(2\sqrt 2 - 2)x^2 + \sqrt8 x + (1+\sqrt 2)=0$$

Now the discriminant of this is $0$, so it has one real repeated root. A plot on Desmos confirms this.

However, Wolfram Alpha displays the following (see image). The solution contains $i$ and doesn't agree with what it should be $= -1.707...$

What is happening?

[Solution should be as I said above because $x = \frac{-\sqrt8 \pm 0 }{2\sqrt2 - 2} = -1 - \frac{1}{2} \sqrt 2 \approx -1.707...$ after simplifying]

1

There are 1 best solutions below

0
On BEST ANSWER

That $\pm4.21468\times10^{-8}i$ results from a rounding error and should be seen as $0$. So, the numerical answer is actually $.603553\times(-2.82843)$, which is indeed about $-1.707$.