Solve LaTeX:  \displaystyle x^{2} + x - 2=0

Since LaTeX:  \displaystyle a=1 we need to find factors of LaTeX:  \displaystyle -2 that add up to LaTeX:  \displaystyle 1 . The factors are LaTeX:  \displaystyle -1 and LaTeX:  \displaystyle 2 . This gives LaTeX:  \displaystyle (x - 1)(x + 2)=0 . The solutions are LaTeX:  \displaystyle x = 1 and LaTeX:  \displaystyle x = -2