I have the following integral which I am trying to solve, but I am unsure of how to proceed! Any help is much appreciated!
\begin{equation} -\int \frac{dy}{y(ay^2+by+c)^{1/2}} \end{equation}
My strategy is to complete the square on the denominator and find a viable trig substitution. I am currently at stage of having completed the square, and performed a substitution. \begin{equation} -\int \frac{du}{\bigg(u-\frac{b}{2a}\bigg)\bigg(u^2+ \frac c a -\frac 1 4 \bigg(\frac ba \bigg)^2\bigg)^{\frac 12}} \end{equation}
where \begin{equation} u=y + \left(\dfrac{b}{2a}\right) \end{equation}
The result should take the form \begin{equation} \frac{1}{\sqrt{-c}} \cos ^{-1}\frac{by +2c}{y\sqrt{b^2-4ac}} \end{equation} Where $c<0$.
Assuming $a, c\gt0, 4ac-b^2>0$.
Switching to $x$ as a variable because I'm used to it and denoting the integral with $I$.
First complete the square:
$$ -I=\int\frac{dx}{x\sqrt{(\sqrt ax+\frac{b}{2\sqrt a})^2+c-\frac{b^2}{4a}}}=2\sqrt a\int\frac{dx}{x\sqrt{(2ax+b)^2+4ac-b^2}}$$
Now perform substitution $u=2ax+b$ and you get
$$2\sqrt a\int\frac{du}{(u-b)\sqrt{u^2+4ac-b^2}}$$
Now substitution $u=\sqrt{4ac-b^2}\sinh (v)$ and simplifying you get $$2\sqrt a\int\frac{dv}{\sqrt{4ac-b^2}\sinh(v)-b}$$
Now half-angle hyperbolic substitution $w=\tanh(\frac v2)$ yields $$2\sqrt a\int\frac{2\,dw}{bw^2+2\sqrt{(4ac-b^2)}w-b}$$
Now factor the denominator (a bit tedious) and perform PFD, and you'll get a few easy integrals, undo the substitutions and you are done.