I've been toiling for hours trying to answer this one:
Find $\int \frac{1}{x\sqrt{a - bx^2}}\,dx$
It's from Silvanus Thompson's 'Calculus Made Easy' (apparently not easy enough for me!).
The answer given is $\frac {1}{\sqrt{a}}\log\left(\frac{\sqrt{a}-\sqrt{a-bx^2}}{x\sqrt{a}}\right)$
I've attempted the question by letting $x=\sqrt{\frac ab}\sin(u)$, which I think is on the right track as I end up with the $\frac1{\sqrt a}$ term in my answer, but nothing else falls into place in terms of the given answer.
Thank you in advance for any help!
Andrew
Hint Your method seems to work, provided anyway that $a, b > 0$: The substitution $x = \sqrt{\frac{a}{b}} \sin \theta$, $dx = \sqrt{\frac{a}{b}} \cos \theta \,d\theta$ transforms the integral to $$\frac{1}{\sqrt{a}} \int \csc \theta \,d\theta .$$
Another option avoids trigonometric functions altogether: Rewrite the integral as $$\int \frac{x \,dx}{x^2 \sqrt{a - b x^2}} .$$
What substitution does this form of the integrand suggest?