y=[(x-1)^2/(x+1)(x-1)]÷[x(x-1)/(x+1)]-1/x+1
=[(x-1)/(x+1)]×[(x+1)/x(x-1)]-1/x+1
=1/x-1/x+1
=1
所以不论x为何值,y值都不变