Mark M. answered 01/26/24
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
∫ [1 / √(-(x2+2x-3))]dx = ∫ [1 / √(-(x2+2x+1-4))]dx = ∫ [1 / √(4 - (x+1)2)dx = ∫ [ 1 / (√(4(1 - (x+1)2/4)) dx]
= (1/2) ∫ [1 / √(1 - ((x+1)/2)2)]dx
Let u = (x+1)/2. Then du = (1/2)dx
So, we have ∫ [1 / √(1 - u2)] du = Arcsin u + C = Arcsin [ (x+1)/2 ] + C