Find $$\int \dfrac{dt}{t-\sqrt{1-t^2}}$$
MY APPROACH :
Substitute $t = \sin x$
Multiply numerator and denominator by $\cos x+\sin x$
then rewrite everything in terms in $\sin2x$ and $\cos2x$, we get Integrable functions.
But may be there is a better way. Can anyone think of anything smarter, thanks :)
$$\begin{align}\int\dfrac{dt}{t-\sqrt{1-t^2}} &\stackrel{\small t=\sin x}\equiv\int\frac{\cos xdx}{\sin x-\cos x}\\ &=\frac12\left(\int\frac{\cos x+\sin x}{\sin x-\cos x}dx-\int\frac{\sin x-\cos x}{\sin x-\cos x}dx\right)\\ &=\frac12(\ln(t-\sqrt{1-t^2})-\arcsin t)+C\end{align}$$