Any rational function f(x)/g(x)f(x)/g(x) is equal to:
∙\bullet a polynomial p(x)p(x),
∙\bullet plus a sum of terms
where Q(x)Q(x) is an irreducible quadratic such that Q(x)rQ(x)^{r} divides g(x)g(x),
∙\bullet plus a sum of terms of the form
where bb is a root of g(x)g(x) and (x-b)m(x-b)^{m} divides g(x)g(x).