# Complex Analysis/Residue Theory/Partial Fractions

This is probably the most basic technique, and doesn't require a lot of theory, mainly just algebraic manipulation. However, it does have its limitations, namely it really only works with polynomials. It is more of a cookbook method: here's the recipe, follow the steps.

Given two polynomial functions $P(z)$ and $Q(z)$ , where the degree of Q is greater than the degree of P, we define another function to be the quotient of the two polynomials:

$f(z)={\frac {P(z)}{Q(z)}}$ And we note that if we factor Q we obtain:

$Q(z)=(z-z_{0})^{a_{0}}\cdot (z-z_{1})^{a_{1}}\cdot ...$ Then depending on the form of $(z-z_{0})^{a_{0}}$ we can reduce the function into a limited series of simple or m-th order poles as so:

$f(z)={\frac {P(z)}{Q(z)}}={\frac {A_{0}(x)(+B_{0})}{(z-z_{0})^{a_{0}}}}+{\frac {A_{0}(x)(+B_{0})}{(z-z_{0})^{a_{0}-1}}}+...+{\frac {A_{1}(x)(+B_{1})}{(z-z_{1})^{a_{1}}}}+{\frac {A_{1}(x)(+B_{1})}{(z-z_{1})^{a_{1}-1}}}+...$ And then the coefficients $A_{0},...,B_{0},...$ can be solved for and the function can be stated into an explicit form with readable residues.

Of course, this is taught a lot better by example and case.

## Case 1, simple one-order factors

We begin with the function:

$f(z)={\frac {1}{z^{2}+3z+2}}$

And note that it can be factored thusly:

$f(z)={\frac {1}{z^{2}+3z+2}}={\frac {1}{(z+1)(z+2)}}$

For this case the correct form we "guess" is like so:

${\frac {1}{(z+1)(z+2)}}={\frac {A_{0}}{z+1}}+{\frac {A_{1}}{z+2}}$

The remaining portion is by algebra, we multiply both sides by $(z+1)(z+2)$ :

$1=A_{0}z+2A_{0}+A_{1}z+A_{1}$

Which gives us two equations:

$0=A_{0}z+A_{1}z$

$1=2A_{0}+A_{1}$

Thus:

$A_{0}=1$  and $A_{1}=-1$

And our function can be rewritten as:

$f(z)={\frac {1}{z+1}}-{\frac {1}{z+2}}$

The remainder of this section discusses suggests fractional forms that aid in separation, since the actual method and theory hold.

## The Other Two Cases

Case 1, Unfactorable Terms. In our generic expression, there is A(x)+B term, but really should include an additional polynomial for possible "unfactorable" terms (i.e., terms that can't be factored with only real numbers, although if the terms are factored correctly with imaginary numbers, the method works). To account for this the "guessed" fraction, include these extra terms. For example,

$f(z)={\frac {1}{(z^{2}+4)(z-1)}}={\frac {A_{0}x+B_{0}}{z^{2}+4}}+{\frac {A_{1}}{z-1}}$

With $A_{0}$ , $B_{0}$ , and $A_{1}$  to be solved.

Case 2, Term(s) Raised To A Power, The correct "guess" will include a trailing series of decreasing powers of the factor. For example,

$f(z)={\frac {1}{(z+1)^{2}(z-1)}}={\frac {A_{0}}{(z+1)^{2}}}+{\frac {A_{1}}{z+1}}+{\frac {A_{2}}{z-1}}$

## Remark

Again, partial fractioning only really works with polynomials, and can be a huge hassle for large denominators. The next section looks at a more general way of determining the residue.