1、
x²-x-2=0
(x-2)(x+1)=0
x=2
x=-1
2、x²-x-2=0
x²-2×1/2x+1/4-9/4=0
(x-1/2)²=9/4
x-1/2=±3/2
x-1/2=3/2 x=2
x-1/2=-3/2 x=-1