$$\frac{d}{dx} \ln ( x - \sqrt { x^2 - 1} )$$
I was trying to do the differentiation for HW. I managed to get $$\frac{ 2 \sqrt{x^2 - 1} - x}{ 2 \sqrt{x^2 - 1} \, (x - \sqrt{x^2 - 1} ) }.$$ But the answer is supposed to be $$\frac{-1}{\sqrt{x^2 - 1}}.$$
Need a hint on what to do next.