Find
Complete the square under the radical. The radicand is
so the integral is real only for , i.e. , and . The appearance of both outside and inside is the clue to the right substitution.
Use the reciprocal substitution. For an integrand of the form , set . Here
(Note the minus sign: differentiating gives . Dropping it flips the sign of the whole answer.)
Rewrite the radical. With ,
Assemble the transformed integral.
The messy factors cancel completely — the point of the substitution.
Integrate the standard form and substitute back. Since , and , the sign factor combines with the logarithm to give the single formula
valid on both and .
Verify by differentiating and by a numerical check. Differentiating the answer returns . Numerically, , and the closed form gives ✓; on the other branch, and the formula also gives ✓.
Watch two sign traps. Because , the alternative form differs only by a constant and is equally valid; but the version without the leading minus sign is wrong on the branch , and using instead of negates the whole antiderivative.
Need to solve a different problem like this? Open the solver →