A/x+2+1/x-1=【A(X-1)+x+2】/(X+2)(X-1)=(AX-A+X+2)/(X+2)(X-1)又因为10x-7/(x+2)(x-1)所以AX+X=10x,-A+2=-7
联立得A=9