The integral is
.
Let
, then
.

Substitute corresponding values in
.

Consider
.
Partial fractions decomposition of the function :
\
Compare
coefficients on each side.
.
Compare constant terms on each side.
\
.
Substitute
in above equation.

.
If
, then
.
Substitute the values of
and
in equation (1).


Substitute
in above equation.
.
Thus,
.
.