I am looking for a quick and intuitive way to evaluate this indefinite integral without resorting to any trigonometric functions. I'm not sure if it is at all possible to do so, but I was just wondering if the integration can be done in a more straightforward manner. This integral arises in the problem of calculating the electric potential of a finite line charge.
$$\int \dfrac{1}{\sqrt{x^2 + a^2}}\, dx$$
Although the two standard substitutions are:
the trigonometric substitution $x=a\tan t$
the hyperbolic substitution $x=a\sinh t$,
since the integrand is a rational function of $x$ and $\sqrt{Ax^2+Bx+C}$ you can always use an algebraic substitution called the Euler substitution \begin{equation*} \sqrt{x^{2}+a^{2}}=x+t\Leftrightarrow t=\sqrt{x^{2}+a^{2}}-x. \end{equation*} As a matter of fact, since
\begin{equation*} x=\frac{a^{2}-t^{2}}{2t} \end{equation*} and \begin{equation*} dx=-\frac{a^{2}+t^{2}}{2t^{2}}dt \end{equation*} we have that \begin{eqnarray*} \int \frac{dx}{\sqrt{x^{2}+a^{2}}} &=&\int \frac{1}{\frac{a^{2}-t^{2}}{2t}+t} \left( -\frac{a^{2}+t^{2}}{2t^{2}}\right) dt=-\int \frac{1}{t}dt \\ &=&-\ln \left\vert t\right\vert +C=-\ln \left\vert \sqrt{x^{2}+a^{2}} -x\right\vert +C. \end{eqnarray*}