The integral is
.
Let
, then
.
Substitute corresponding values in
.

Solve the above integral by using partial fractions.
\Partial fractions decomposition.
\

Equate coefficients of
terms.

Equate coefficients of
terms.

Equate coefficients of
terms.

Equate constant terms.
\
If
, then
.
If
, then
.
Substitute
,
,
and
in equation (1).


Substitute
in above equation.

.
.