Consider the indefinite integral 3x3+4x26x12x24,dx\displaystyle \int{\frac{{{3}{x}^{{3}}+{4}{x}^{{2}}-{6}{x}-{12}}}{{{x}^{{2}}-{4}}}},{\left.{d}{x}\right.}


Then the integrand decomposes into the form
ax+b+cx2+dx+2\displaystyle {a}{x}+{b}+{\frac{{{c}}}{{{x}-{2}}}}+{\frac{{{d}}}{{{x}+{2}}}}
where
a\displaystyle {a} =
b\displaystyle {b} =
c\displaystyle {c} =
d\displaystyle {d} =
Integrating term by term, we obtain that
3x3+4x26x12x24,dx=\displaystyle \int{\frac{{{3}{x}^{{3}}+{4}{x}^{{2}}-{6}{x}-{12}}}{{{x}^{{2}}-{4}}}},{\left.{d}{x}\right.}=
  +C\displaystyle +{C}