Baharak Z. answered 02/25/13
Do you want to learn math?
If you want to solve the equation x^2-x+2x-2=0 then first simplify it to x^2-x-2 = 0.
If we have ax^2+ 2bx + c =0 we can solve the equation as follow in two steps:
step one ) calculate Δ = sqrt(b^2 - 4 ac) if Δ≥0 then the equation can be solved. go to step two.
note1: In our case Δ = sqrt(1+8) = 3 ≥0 then go to note2.
step two) calculate the roots as x1 = (-b + Δ)/2 and x2 = (-b - Δ)/2
note2: x1 = (-(-1) +3)/2 = 1 and x2 = (-(-1) - 3)/2 = -2
Now you not only have the roots of the equation but also can rewrite your equation as
x^2-x+2x-2 = (x-x1) (x-x2) = (x-1)(x+2)