Consider the integral is
.
Solve the integral by using partial fractions.
\

Cancel common terms.
\
Find the values of
and
.
Equate
coefficients.

.
Equate constant terms.
\
.
Substitute
in
.
.
.
Substitute
and
in
.
.
.
Apply sum and difference rule in integration
.


Apply formula:
.

Apply formula:
.




.
.