$$\int \dfrac{dx}{x\sqrt{x^4-1}}$$
I need to solve this integration. I solved and got $\dfrac12\tan^{-1}(\sqrt{x^4-1}) + C$, however the answer given in my textbook is $\dfrac12\sec^{-1}(x^2) + C$
How can I prove that both quantities are equal? Is there something wrong with my answer?
EDIT:
Here's my work: $$\int\dfrac{dx}{x\sqrt{x^4-1}}= \dfrac{1}{4}\int\dfrac{4x^3 dx}{x^4\sqrt{x^4-1}}$$
Let $x^4 - 1 = t^2$ $$\dfrac{1}{2}\int\dfrac{dx}{1 + t^2}$$
$$\dfrac12 \tan^{-1}(\sqrt{x^4 -1 }) + C$$