$\int \sin^{-1}\dfrac{2x}{1+x^2}dx$
My attempt is as follows:-
$$x=\tan\theta$$ $$dx=\sec^2\theta d\theta$$
$$\int \sin^{-1}(\sin2\theta) \cdot\sec^2\theta d\theta$$
So here should we make cases on the basis of values of $\theta$ or can we write $\sin^{-1}(\sin2\theta)$ as $2\theta$?
The fact that $\arcsin(\sin(2\theta))=2\theta$ holds or not depends on the range of $\theta$, hence on the range of $x$.
Actually $\arcsin(\sin z)=z$ holds for $z\in\left[-\frac{\pi}{2},\frac{\pi}{2}\right]$, so we get $\theta\in\left[-\frac{\pi}{4},\frac{\pi}{4}\right]$ and if the integration range is a subrange of $[-1,1]$ we are allowed to state $$ \int \arcsin\left(\frac{2x}{1+x^2}\right)\,dx \stackrel{x\mapsto \tan\theta}{=}\int \frac{2\theta}{\cos^2\theta}\,d\theta\stackrel{\text{IBP}}{=}C+2\left[\log\cos\theta+\theta\tan\theta\right] $$ and $$2\left[\log\cos\theta+\theta\tan\theta\right]=2\left[\log\cos\arctan(x)+x\arctan(x)\right]=2x\arctan(x)-\log(1+x^2). $$