Consider the indefinite integral 4x3+5x296x125x225,dx\displaystyle \int{\frac{{{4}{x}^{{3}}+{5}{x}^{{2}}-{96}{x}-{125}}}{{{x}^{{2}}-{25}}}},{\left.{d}{x}\right.}


Then the integrand decomposes into the form
ax+b+cx5+dx+5\displaystyle {a}{x}+{b}+{\frac{{{c}}}{{{x}-{5}}}}+{\frac{{{d}}}{{{x}+{5}}}}
where
a\displaystyle {a} =
b\displaystyle {b} =
c\displaystyle {c} =
d\displaystyle {d} =
Integrating term by term, we obtain that
4x3+5x296x125x225,dx=\displaystyle \int{\frac{{{4}{x}^{{3}}+{5}{x}^{{2}}-{96}{x}-{125}}}{{{x}^{{2}}-{25}}}},{\left.{d}{x}\right.}=
  +C\displaystyle +{C}