x1+x2=-2,x1*x2=-17,(x1-x2)^2=x1^2-2*x1*x2+x2^2=(x1+x2)^2-4*x1*x2=(-2)^2-4*(-17)=72,
所以|x1-x2|=√72=6√2.