当分式1/x^2-2/(x+1)-1/(x-1)=0,则x=?