x-\frac{1}{x}-2\sqrt{(x-\frac{1}{x})(1-\frac{1}{x})}+1-\frac{1}{x}=\frac{(x-1)^2}{x^2}