22.4k views
0 votes
Solve for x when x^2+x-2=0

User GtotheB
by
3.4k points

1 Answer

5 votes

We can solve the equation as:


x^2+x-2=0
\begin{gathered} x=\frac{-1\pm\sqrt[]{1^2-4\cdot1\cdot(-2)}}{2\cdot1} \\ x=\frac{-1\pm\sqrt[]{1+8}}{2} \\ x=\frac{-1\pm\sqrt[]{9}}{2} \\ x=(-1\pm3)/(2) \\ x_1=(-1-3)/(2)=-(4)/(2)=-2 \\ x_2=(-1+3)/(2)=(2)/(2)=1 \end{gathered}

Answer: The solution for this equation is x=-2 and x=1.

User Atereshkov
by
3.7k points