Partial Fraction Decomposition  Step by Step 
This method is used to decompose a given rational expression into simpler fractions. In other words, if I am given a single complicated fraction, my goal is to break it down into a series of "smaller" components or parts.
Previously on adding/subtracting rational expressions, we want to combine two or more rational expressions into a single fraction just like the example below. However, partial fraction decomposition (also known as partial fraction expansion) is precisely the reverse process of that. The following is an illustrative diagram to show the main concept. After that, I will go over five (5) examples to demonstrate the steps involved in decomposing a single fraction into parts.
Examples: Express each given rational expression into partial fractions
Example 1: Find the partial fraction decomposition of the rational expression .
This problem is easy so think of this as an introductory example. I will start by factoring the denominator (take out x from the binomial). Next, I will setup the decomposition process by placing A and B for each of the unique or distinct linear factor. The subsequent steps then involve getting rid of all the denominators by multiplying out the LCD (which is just the original denominator of the problem) throughout the entire equation.
I should end up with a simple equation where I can easily compare the coefficients of the similar terms from both sides of the equation. As a result, I will get a system of linear equations with variables A and B that can be solved by either Substitution Method or Elimination Method, whichever I prefer.
Example 2: Find the partial fraction decomposition of the rational expression .
This problem is similar to example 1. The only difference is that the factors of the denominator are two linear binomials.

Given problem 

I start by factoring out the trinomial in the denominator.
Then, I setup up the partial fraction decomposition by putting A and B as numerators. The two distinct linear factors will take the position of the denominators. 

I want to eliminate all the denominators so I will multiply both sides of the equation by the LCD (in blue). 

I am being careful in cancelling common factors. 

The steps here are pretty much part of the "cleaning up" process and reorganization of common terms. 

It's time to create the correspondence between the two sides of the equation.
For x terms, the coefficients (A+B)=1 while the pure numbers I have 3A+5B=−1. I hope the arrows and color coding helps! 

We have two equations with two unknowns. From this point forward, it should be easy to handle, right? I suggest we use the Elimination Method to solve for A and B.
Multiply the top equation by either −3 or −5 then add them together to eliminate one of the variables. 

These are the correct values of A and B. 

I will come back to the original setup of the partial fractions to replace the values of A and B with actual numbers. 
Example 3: Find the partial fraction decomposition of the rational expression .
In this problem, the denominator is the product of a distinct linear factor which is repeated three times denoted by the exponent 3. Don't commit the error of writing three partial fractions with a common denominator of just (x−1). That is not correct.
Instead, think of three possibilities on how the denominator may look like after solving it. Possible denominators include (x−1), (x−1)^{2}, and (x−1)^{3}. Check out the detailed solution below.

Given problem 

Since I have a repeated linear factor (x−1) raised to the 3rd power, I need to account for each power starting from lowest (1) to highest (3).
Do you see why this setup is wrong? Hint: Add the partial fractions then compare their denominators. 

Remove all the denominators by distributing the LCD into the equation. 


This is the simplified version after the cancellations of common factors. 

Like in our previous problem, I will distribute A and B into the parenthesis. Then, rearrange them in such a way that similar terms are sidebyside.
Finally, I'll group the "x^{2}" , "x" and "constant" coefficients together. 

Use arrows, if necessary, to create correspondence among coefficients of similar terms.
I introduced a zero placeholder to the missing x^{2} term on the left side. This is a very critical step. 

Now, I can clearly extract the required equations that will be used to solve for the missing variables.
The equation A = 0 is a nice freebie since I don't have to sweat solving for it algebraically. 

Use the fact that A = 0, plug that to the second equation (−2A + B = 5 ) to get B. Finally, solve for C using the third equation using the solved values of A and B.
Did you get the same answers? 

Write down the original setup of partial fraction decomposition, and replace the solved values for A, B and C.
The fraction where the numerator is A = 0 will disappear. This leaves us with two fractions as the final answer. 
Example 4: Find the partial fraction decomposition of the rational expression .
This is the case where the denominator is a product of distinct linear factors where some are repeated.
Notice that the denominator of this rational expression is composed of two distinct linear factors. The first one is (x−2) which appears once, while the second factor is (x−3) appears twice, thus repeated.

Given problem 

I have two distinct linear factors here.
(x−2) appears once
(x−3) appears twice denoted by power 2
Therefore, I will write (x−2) in one partial faction, while (x−3) in two partial fractions with increasing exponents from 1 to 2. 

I will eliminate all denominators by multiplying the equation with the respective LCD.
Again, I have to be careful with my cancellations. 


You might say that this looks "horrible" at the surface. However, if you look at each step patiently, you should realize that it's not that bad.
I simply distribute A, B and C into the parenthesis. Then, rearrange them so that similar terms are adjacent to each other.
Finally, I'll group the coefficients of "x^{2}" , "x" and "constant" terms together. 

Only the left side has the x^{2} term. This means I must provide zero placeholders for the missing x term and the constant term.
By doing so, it becomes easy to compare the coefficients of similar terms in both sides of the equation.
The arrows and color coding should guide you with this process. 

I can solve this in several ways. One way is to use the Elimination Method to get rid of C between the 2nd and 3rd equations.
I will multiply the 2nd equation by 2 then add that to the 3rd equation. I should end up with an equation containing A and B only. Use this "new" equation with the 1st equation to solve for the values of A and B. I suggest that you try it on paper so you can follow.
Once you get the values of A and B, you can solve for C using either of the 2nd or 3rd equation using backsubstitution 

These are the correct values of A, B, and C. 

Substitute the values into the original partial fraction setup to obtain the final answer. 
Example 5: Find the partial fraction decomposition of the rational expression .
This is another type of problem in partial fraction decomposition. Factoring the denominator, I get...
Notice that this time around I have a quadratic factor. The question is, can I still factor it out further into linear terms? I can try, but it's obvious that it can't be factored out anymore. This, in fact, has a special name called irreducible quadratic.
This problem, therefore, is a case where the denominator is a product of distinct linear factor, and an irreducible quadratic factor which are both nonrepeating.

Given problem 

Two kinds of factors here.
Linear factor: x
Irreducible quadratic: x^{2}−2
Notice that the degree of the numerator is always one less than the degree of the denominator.
The numerator of the linear factor x is a constant A.
The numerator of the quadratic factor x^{2}−2 is a linear term Bx+C. 

Get rid of the denominators by multiplying both sides by the LCD. 

Cancel common factors to clean it up! 

I will distribute, rearrange, and group the coefficients of similar terms. 

Provide a zero placeholder for the x^{2} on the left side.
Observe the correspondence of the coefficients on both sides of the equation. 

By quick analysis, I know that C = 1 and A = −2.
Since A + B = 0, and A = −2, therefore (−2) + B = 0 implies B = 2. 

These are the correct values of A, B and C. 

Substitute back the values into the original setup of the partial fraction decomposition, and we're done! 

