I must solve the following integral, where $c$ is a constant $$\int{\frac{dr}{r\sqrt{c^{2}r^4 -1}}}$$ When I compute and do the calculations, I obtain that $$\int{\frac{dr}{r\sqrt{c^{2}r^4 -1}}} = \frac{1}{2} \arctan \left(\sqrt{c^{2}r^4 -1} \right)$$ I have rectified my calculations many times and I always get the same result, but in the book I'm studying I have that $$\int{\frac{dr}{r\sqrt{c^{2}r^4 -1}}} = -\frac{1}{2} \arcsin\left(\frac{1}{cr^2}\right)$$ Why? Is it some mistake in the book or is it my own mistake? The book I mention is: The calculus of variations by Van Brunt page 47, there the equation arises through an example on the invariance of the Eule-Lagrange equation.
Attached images:


