$\sqrt{a^2-x^2} \Rightarrow x = a\sin\theta$, $dx = a\cos\theta \, d\theta$
$\sqrt{a^2+x^2} \Rightarrow x = a\tan\theta$, $dx = a\sec^2\theta \, d\theta$
$\sqrt{x^2-a^2} \Rightarrow x = a\sec\theta$, $dx = a\sec\theta\tan\theta \, d\theta$
Key Identity
$\sin^2\theta + \cos^2\theta = 1$
$\sec^2\theta - \tan^2\theta = 1$
Draw right triangle to convert back