Find the integral $$I=\int\dfrac{\sqrt{x-1}-\sqrt{x+1}}{\sqrt{x-1}-3\sqrt{x+1}}dx$$
My try: $$I=\int\dfrac{x-1-x-1}{\left(\sqrt{x-1}-3\sqrt{x+1}\right)\left(\sqrt{x-1}+\sqrt{x+1}\right)}dx\\=-2\int\dfrac{1}{x-1+\sqrt{x^2-1}-3\sqrt{x^2-1}-3x-3}dx\\=-2\int\dfrac{1}{-2x-4-2\sqrt{x^2-1}}dx\\=\int\dfrac{1}{x+\sqrt{x^2-1}+2}dx$$ I am not sure what to do now. I thought about integrating by parts but the first derivative of $\dfrac{1}{x+\sqrt{x^2-1}+2}$ is $\dfrac{-\sqrt{x^2-1}-x}{(x+\sqrt{x^2-1}+2)^2\sqrt{x^2-1}}$ which doesn't seem very clear.
We can avoid trigonometric and Euler substitutions. The integrand is defined for $x\ge1$, and dividing through by $\sqrt{x+1}$ and substituting $y=\sqrt{\dfrac{x-1}{x+1}}$ (note that $y\ge0$) gives
$$\int \frac{\sqrt{\frac{x-1}{x+1}} - 1}{\sqrt{\frac{x-1}{x+1}} - 3} \, dx = \int \frac{4y}{(y-1)(y-3)(y+1)^2} \, dy$$