The indefinite integration of $\frac{1}{\sqrt{n^4-1}}$ I need the indefinite integral:

$$\int\frac{1}{\sqrt{n^4-1}}dn $$

I know it has a relation with the $\tanh^{-1}$ function, but can't find a proper substitution.
Introduce variables $c, s$ and $\theta$ such that

$$\cos\theta = c = \frac{1}{n}\quad\text{ and }\quad \sin\theta = s = \sqrt{1-c^2} = \frac{\sqrt{n^2-1}}{n}.$$
We have
$$\begin{align}
\int \frac{dn}{\sqrt{n^4-1}} 
&amp;= - \int \frac{dc}{c^2\sqrt{\frac{1}{c^4}-1}}
= - \int \frac{dc}{\sqrt{1-c^4}}\\
&amp;= - \frac{1}{\sqrt{2}} \int \frac{dc}{\sqrt{(1-c^2)(1 - \frac12(1-c^2))}}\\
&amp;= \frac{1}{\sqrt{2}}\int \frac{ds}{\sqrt{(1-s^2)(1-\frac12 s^2)}}\\
&amp;= \frac{1}{\sqrt{2}}\int \frac{d\theta}{\sqrt{1-\frac12 \sin^2\theta}}\\
\end{align}$$
The integrals in last two lines are in the Jacobi's form and regular form of the incomplete elliptic integral of the first kind for modulus $m = \frac12$:

$$
\begin{align}
F(x;m)     &amp;= \int_0^x \frac{dt}{\sqrt{(1-t^2)(1-mt^2)}}\\
F(\phi\mid m) &amp;= \int_0^\phi \frac{d\theta}{\sqrt{1-m\sin^2\theta}} = F(\sin\phi;m)
\end{align}
$$

As a result

$$\int_1^x \frac{dn}{\sqrt{n^4-1}}
= \frac{1}{\sqrt{2}}F\left(\frac{\sqrt{x^2-1}}{x};\frac12\right)
= \frac{1}{\sqrt{2}}F\left(\cos^{-1}\frac{1}{x}\bigg|\frac12\right)
$$
On WolframAlpha, the regular form of the incomplete elliptic integral can be accessed with the function EllipticF. The integral can be evaluated using following expression (for real $x &gt; 1$):
$$\bf 1/\text{Sqrt}[2]*\text{EllipticF}[\text{ArcCos}[1/x],1/2]$$
Put n=tanx, after making substitution you will be left with a cosine function which is easy to integrate