Method of integration

Common substitution:

Expression in integrand

Substitution

Identity

$1+x^2$

$x=\tan\theta$

$1+\tan^2\theta = \sec^2\theta$

$1+x^2$

$x=\sinh\theta$

$1+\sinh^2\theta = \cosh^2\theta$

$1-x^2$

$x=\sin\theta$

$1-\sin^2\theta = \cos^2\theta$

$1-x^2$

$x=\tanh\theta$

$1-\tanh^2\theta = \mathrm{sech}^2\theta$

$x^2-1$

$x=\sec\theta$

$\sec^2\theta-1 = \tan^2\theta$

$x^2-1$

$x=\cosh\theta$

$\cosh^2\theta-1 = \sinh^2\theta$

Specify the range of $\theta$ to be more rigorous.