0
$\begingroup$

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]

$\endgroup$
  • $\begingroup$ What image? I don't see one. $\endgroup$ – Cameron Williams Mar 12 at 17:43
  • $\begingroup$ Those are different expressions. One involves $2\sqrt 2 - 2$ which is positive and the other involves $\sqrt 2 - 2$ which is negative. So they'll have different solutions. $\endgroup$ – fleablood Mar 12 at 17:46
  • $\begingroup$ No sorry, I've changed it now!! $\endgroup$ – PhysicsMathsLove Mar 12 at 17:46
  • 1
    $\begingroup$ Wolfram Alpha tends to do numerical solutions with certain kinds of polynomials and if you look at the imaginary part, it's $10^{-8}$, so it's doing a numerical solution and getting a really small imaginary part. For all intents and purposes, consider it to be pure real. $\endgroup$ – Cameron Williams Mar 12 at 17:46
  • 1
    $\begingroup$ A plot on Desmos confirms this --- To me this is like checking that the city has picked up your garbage by looking to see that your garbage can at the end of your driveway is empty, and then confirming that your garbage can must be empty by going online to see if today was a garbage pickup day. $\endgroup$ – Dave L. Renfro Mar 12 at 18:08
4
$\begingroup$

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$.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.