So the integral question is:

Int(1/((1-x^2)^(-3/2)))

I thought I would substitute in x=cos(u) dx=-sin(u)du ...

Wolfram Alpha uses x=sin(u)

But ultimately, I end up with cot(u), and wolfram gets tan(u) ... Last time I checked, these two are not the same function

What went wrong?