I don't understand why this doesn't work:
Problem:
$$x^{2}+x-2=0$$
Solution:
$$x^{2}+x=2$$
$$x+x=\sqrt{2}$$
$$2x≈1.4$$
$$x≈1.4/2$$
$$x≈0.7$$
Checking: (Note: I made the calculation with more decimals than the amount I wrote here; that explain $0.7^{2}=0.5$)
$$0.7^{2}+0.7-2≈0.5+0.7-2≈-0.79$$
This method doesn't work...it gives $-0.79$ and it must give 0.
Instead I must do:
Good Solution: $$\frac{-b±\sqrt{b^{2}-4ac}}{2a}=0$$ $$\frac{-1±\sqrt{1^{2}-4\times1\times(-2)}}{2\times 1}=0$$ $$\frac{-1±\sqrt{1+8}}{2}=0$$ $$\frac{-1±\sqrt{9}}{2}=0$$ $$\frac{-1±3}{2}=0$$ $$x_{1}=\frac{-1+3}{2}=\frac{2}{2}=1$$ $$x_{2}=\frac{-1-3}{2}=\frac{-4}{2}=-2$$ Checking: $$1^{2}+1-2=1+1-2=0$$ $$(-2)^{2}+(-2)-2=4-2-2=0$$ And that gives a good result.
- I don't understand why my first attempt doesn't work.
- Also, I don't understand why it has 2 possible results, $1$ and $-2$.
This is wrong :
$$x^2 + x = 2 \Rightarrow x + x = \sqrt{2}$$
The square root applies to the whole term :
$$x^2+x=2 \Rightarrow \sqrt{x^2+x} = \sqrt2$$
if $x^2 + x \geq 0$.
This is why your attempt is mistaken.
The equation $x^2 + x - 2=0$ has two roots (not two possible results, this is mistaken as a phrase), because of the square power. Explaining why this form means $2$ solutions, can be done in a lot of ways.
Graphically and geometrically, an equation of the form : $ax^2 + bx + c = 0$ describes a parabola, which due to its geometric form, if it has one solution, it needs to have another one, thus two roots, either on the real plane, or in the complex plane, based on the sign of its discriminant.
Alternatively, you can observe two numbers that satisfy the equation, by factorization : $(x-1)(x+2)=0$, which means that either for $x=1$ or $x=-2$ the equation/expression is satisfied.
Equations of the form $ax^2 + bx + c = 0$, which is the ones your post is interested in, always have a straight-forward solution and are of the most common in entry mathematics.
You can read up on some more stuff for the quadratic equation here.