I have a curve defined by $y=\sec^2(x)$ for $-\frac{\pi}{2} < x < \frac{\pi}{2}$. I'm looking to do a change of variable from $x$ to $l$, where $l(x)$ is defined as the signed arclength of this curve starting at $x=0$, that is $l(0)=0$. Then we will have $l(-\frac{\pi}{2})=-\infty$ and $l(\frac{\pi}{2}) = +\infty$. I would like to find a closed form for $y$ as a function of $l$.
Here is what I have tried:
I only need to do it for the positive side, the other side follows by symmetry.
First invert the equation to find $$x(y) = \cos^{-1}\left(\frac{1}{\sqrt{y}}\right)$$ then calculate the arclength as a function of $y$ $$ l(y) = \int_1^y \sqrt{1 + \left(\left.\frac{dx}{dy}\right|_{y'}\right)^2}dy' = \int_1^y \sqrt{1+\frac{1}{4y'^2(y'-1)}}dy' $$ and if I could explicitly compute this integral, then I could invert it, but I can't.
So, the question is: (1) is there a closed form for this integral, or since I don't need the integral itself, I just need its inverse function, (2) is there another way to directly calculate $y(l)$?