TITLE: How to integrate $\int \frac{dx}{x\sqrt{x^4-1}}$?
QUESTION [5 upvotes]: $$\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$$

REPLY [2 votes]: I think your problem is already solved with B. Goddard's answer, Here's an easy way to solve the given integral.

We have,
$$\int\dfrac{dx}{x\sqrt{x^4-1}}$$
Let $x^2 = \sec(\theta) \implies 2x \, dx = \sec(\theta) \tan(\theta) \, d\theta$
Which further implies that, $dx = \dfrac{\sqrt{\sec(\theta)}\tan(\theta)}{2}\, d\theta$
After substitution, the given integral changes to:
$$\dfrac12\int\dfrac{\sqrt{\sec(\theta)}\tan(\theta)}{\sqrt{\sec(\theta)}\cdot\sqrt{\sec^2(\theta) - 1}}\, d\theta$$
$$=\dfrac12\int\dfrac{\sqrt{\sec(\theta)}\tan(\theta)}{\sqrt{\sec(\theta)}\cdot\sqrt{\tan^2(\theta)}}\, d\theta$$
$$=\dfrac12\int\dfrac{\sqrt{\sec(\theta)}\tan(\theta)}{\sqrt{\sec(\theta)}\tan(\theta)}\, d\theta$$
$$=\dfrac12\int d\theta$$
$$=\dfrac12\theta + C$$
$$=\boxed{\dfrac12\sec^{-1}(x^2) + C}$$