Hi I am working on a integral involving u substiution and inverse trig forms.

Complete the square of the numberator of the radical:

Partially expand the square-completed numerator:

Simplify the expression in the radical by elimating the denominator:

Factor the portion in parenthesis in the radical:

Let

then

.

So now we have:

Notice this is the general arcsec integral formula, and so we have:

So substituting back in for

, we have:

I was pretty confident this was right but when I checked it using mathematica I got:

, which I checked as not being equivalent to my answer. Where might I have gone wrong?

Thanks for your help,

James