I see that nobody has mentioned a Euler Substitution. So I’ll go ahead and add that here. An Euler Substitution is essentially some kind of algebraic substitution for evaluating integrals of the form$$\int\mathrm dx\, R\left(x,\sqrt{ax^2+bx+c}\right)$$
First Substitution of Euler: If $a>0$ then make the substitution$$\sqrt{ax^2+bx+c}=\pm x\sqrt a+t$$where either the positive and negative sign can be chosen.
Second Substitution of Euler: If $c>0$ then let$$\sqrt{ax^2+bx+c}=xt\pm\sqrt c$$Solve for $x$ and differentiate to find what $\mathrm dx$ is equal to.$$x=\frac {\pm2t\sqrt c-b}{a-t^2}$$
Third Substitution of Euler: If the polynomial inside the square root has real roots $\alpha$ and $\beta$, then let$$\sqrt{ax^2+bx+c}=\sqrt{a(x-\alpha)(x-\beta)}=(x-\alpha)t$$Therefore$$x=\frac {\alpha\beta-\alpha t^2}{a-t^2}$$
Now let’s take an example. Say we wanted to evaluate the integral$$\int\frac {\mathrm dx}{\sqrt{x^2+1}}$$Here, it’s evident that $a=c=1$ and $b=0$. Of course, we can use the second substitution, but I’ll use the first substitution because it’s nicer. Take$$\sqrt{x^2+1}=-x+t$$So that$$x=\frac {t^2-1}{2t}\qquad\qquad\mathrm dx=\frac {t^2+1}{2t^2}\,\mathrm dt$$Hence$$\int\frac {\mathrm dx}{\sqrt{x^2+1}}=\int\frac {\mathrm dt}t=\log\left(x+\sqrt{x^2+1}\right)+C$$