## Method of Partial FractionsEdit

**All supplementary chapters contain materials that are part of the standard high school mathematics curriculum, therefore the material is only provided for completeness and should mostly serve as revision.**

### IntroductionEdit

Before we begin, consider the following:

How do we calculate this sum? At first glance it may seem difficult, but if you use variables instead of numbers each term in the sum above would take the form:

which you can rewrite as

Thus we can rewrite the original problem as follows:

We can regroup this sum as:

So all terms except the first and the last cancel out giving us:

In fact, you've just done partial fractions!

Partial fractions is a method of breaking down complex fractions that involve products into sums of simpler fractions.

### MethodEdit

So, how do we do partial fractions? Look at the example below:

Factorize the denominator.

Then we suppose we **can** break it down into the fractions with denominator (z-1) and (z-2) respectively. We let their numerators be a and b.

Therefore by matching coefficients of like power of z, we have:

(2)-(1):a=1

Substitute a=1 into (1):b=3

Therefore

(Need Exercises!)

## More on partial fractionEdit

### Repeated factorsEdit

On the last section we have talked about factorizing the denominator, and have each factor as the denominators of each term. But what happens when there are repeating factors? Can we apply the same method? See the example below:

Indeed, a factor is missing! Can we multiply both the denominator and the numerator by that factor? No! Because the numerator is of degree 1, multiplying with a linear factor will make it become degree 2! (You may think:can't we set A+B+C=0? Yes, but by substituting A+B=-C, you will find out that this is impossible)

From the above failed example, we see that the old method of partial fraction seems not to be working. You may ask, can we actually break it down? Yes, but before we finally attack this problem, let's look at the denominators at more detail.

Consider the following example:

We can see that the power of a prime factor in the product denominator is the maximum power of that prime factor in all term's denominator.

Similarly, let there be factor , then we may have in general case:

If we turn it into one big fraction, the denominator will be:

Back to our example, since the factor (x+2) has a power of 2, at least one of the term has as the denominator's factor. You may then try as follows:

But again, we can't set B=0, since that would means the latter term is 0! What is missing? To handle it properly, let's use a table to show all possible combinations of the denominator:

Power of (x+2) | Power of (x-1) | Result | Used? |

0 | 0 | 1 | Not useful |

1 | 0 | (x+2) | Not used |

2 | 0 | (x+2)^2 | Used |

0 | 1 | (x-1) | Used |

1 | 1 | (x+2)(x-1) | Not useful |

2 | 1 | (x+2)^2(x-1) | Not useful |

So, we now know that X/(x+2) is missing, we can finally happily get the answer:

Therefore by matching coefficient of like power of x, we have

As a conclusion, for a repeated factor of power n, we will have n terms with their denominator being X^n, X^(n-1), ...,X^2, X

Works continuing, don't distrub :)

### Alternate method for repeated factorsEdit

Other than the method suggested above, we would like to use another approach to handle the problem. We first leave out some factor to make it into non-repeated form, do partial fraction on it, then multiply the factor back, then apply partial fraction on the 2 fractions.

Then we do partial fraction on the latter part:

By matching coefficients of like powers of x, we have

Substitute A=4-B into (2),

Hence B = 1 and A = 3.

We carry on:

Now we do partial fraction once more:

By matching coefficients of like powers of x , we have:

Substitute A=-B into (2), we have:

2B-(-B) = 1

Hence B=1/3 and A=-1/3

So finally,