home icon
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.


simple example showing how to add or subtract rational expressions with different denominators   partial fraction decomposition as the reverse of adding or subtracting rational expressions


Examples: Express each given rational expression into partial fractions


1) example 1: (2x-3)/(x^2+x) See solution
2) example 2: (x-1)/(x^2+8x+15) See solution
3) example 3: (5x-7)/(x-1)^3 See solution
4) example 4: x^2/ [(x-2)(x-3)^2] See solution
5) example 5: (x+4)/(x^3-2x) See solution


Example 1: Find the partial fraction decomposition of the rational expression (2x-3)/(x^2+x).

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.


(2x-3)/ (x^2+x) = Given problem
[2x-3]/[x(x+1]= Factor out the denominator
[2x-3]/[x(x+1]=(A/x) + [B/(x+1)] Create individual fractions on the right side having each of the factor acting as the denominator. I have two partial fractions here with two unknown values of numerators represented by variables A and B.
x(x+1){[2x-3]/[x(x+1]=(A/x) + [B/(x+1)]}x(x+1)

I want to eliminate all the denominators. It can be done by multiplying both sides of the equation by the LCD = x (x+1).

cancel out common factors: both x and (x+1)

Next, I distribute the LCD to each side of the equation.  At this stage, I try to be very careful in keeping track of the cancellation process. I want to make sure that I get this step right to prevent any unnecessary headaches later.

2x-3 = A(x+1) + Bx This is the simplified equation after doing the above step correctly.
rearrange the terms: start with linear term followed by the constant term

Now, I will multiply things out and collect common terms by writing them side by side. It's time to compare the coefficients of the polynomials. The idea is to equate the corresponding coefficients of the similar terms.

equate the constant terms together

I equate the coefficients of the "x-term" emphasized by yellow highlight. In addition, I equate the constant terms as shown by green highlight.

A+B=2, A=-2 I then arrive at solving two equations with two unknowns. Use Substitution Method to solve for B.
A = -3 and B = 5 These are the final values of variables A and B.
final answer for example 1: [2x-3]/[x(x+1)] = -3/x + 5/(x+1) Plug in the solved values of A and B back into the original setup to get the final answer.


Example 2: Find the partial fraction decomposition of the rational expression (x-1)/(x^2+8x+15).

This problem is similar to example 1. The only difference is that the factors of the denominator are two linear binomials.

(x-1)/(x^2+8x+15)= Given problem
(x-1)/(x^2+8x+15)=A/(x+5) + B/(x+3)

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.

(x+5)(x+3)[(x-1)/(x^2+8x+15)=A/(x+5) + B/(x+3)](x+5)(x+3) I want to eliminate all the denominators so I will multiply both sides of the equation by the LCD (in blue).
cancel out common factors: (x+5) and (x+3)

I am being careful in cancelling common factors.

shows the leftovers after cancellation, apply distributive property and then group similar terms

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!

produces system of linear equations with two variables: A+B= 1 and 3A+5B = -1

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.

algebra tip Multiply the top equation by either −3 or −5 then add them together to eliminate one of the variables.

A = 3 and B = -2

These are the correct values of A and B.

final answer to example 2: (x-1)/(x+5)(x+3) = 3/(x+5) + -2/(x+3) 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 (5x-7)/(x-1)^3.

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.

(5x-7)/(x-1)^3= Given problem
shows both the correct and wrong setups for partial decomposition process

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.

[(5x-7)/(x-1)^3= A/(x-1) + B/(x-1)^2+C/(x-1)^3 Remove all the denominators by distributing the LCD into the equation.

cancel out common factors: (x-1)^3

5x-7 = A(x-1)^2+B(x-1)+C

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

5x-7=Ax^2+(-2A+B)x + A-B+C

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 side-by-side.

Finally, I'll group the "x2" , "x" and "constant" coefficients together.

correspond the contants together

Use arrows, if necessary, to create correspondence among coefficients of similar terms.

warning I introduced a zero placeholder to the missing x2 term on the left side. This is a very critical step.

creates a system of linear equations with three variables: A=0, -2A+B=5 and A-B+C = -7

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.

final answer to example 3: A=0, B=5 and C=-2

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?

(5x-7)/(x-1)^3 = 5/(x-1)^2 + -2/(x-1)^3

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  x^2/ [(x-2)(x-3)^2].

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.

 x^2/ [(x-2)(x-3)^2]= Given problem
 x^2/ [(x-2)(x-3)^2]= A/(x-2) + B(x-3) + C/(x-3)^2

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.

multiply both sides by (x-2) (x-3)^2

I will eliminate all denominators by multiplying the equation with the respective LCD.

Again, I have to be careful with my cancellations.

cancel out common factors in the numerator and denominator


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 "x2" , "x" and "constant" terms together.

identify the constants terms

Only the left side has the x2 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.

A+B = 1, -6A-5B+C=0, and 9A+6B-2C = 0

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 back-substitution

final answer to example 4: A=4, B=-3 and C=9

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

x^2/[(x-2)(x-3)^2 = A/(x-2) + B/(x-3) + C/(x-3)^2 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 (x+4)/(x^3-2x).

This is another type of problem in partial fraction decomposition. Factoring the denominator, I get...

shows the factorization of the cubic expression: x^3-2x

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 non-repeating.


(x+4)/(x^3-2x)= Given problem
(x+4)/(x)(x^2-2) = A/x + (Bx+C)/(x^2-2)

Two kinds of factors here.

Linear factor: x

Irreducible quadratic: x2−2

tip 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 x2−2 is a linear term Bx+C.

shows that x^2-2 is an irreducible factor Get rid of the denominators by multiplying both sides by the LCD.
multiply both sides by (x) (x^2-2)

Cancel common factors to clean it up!

cancel out common factors

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

find correspondence for the constants

Provide a zero placeholder for the x2 on the left side.

Observe the correspondence of the coefficients on both sides of the equation.

A+B=0, C=1 and -2A = 4

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.

A=-2, B=2 and C=1

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

(x+4)/[(x0(x^2-2)] = -2/x + (2x+1)/(x^2-2) Substitute back the values into the original setup of the partial fraction decomposition, and we're done!



Practice Problems with Answers
Worksheet 1 Worksheet 2


Top of Page
Custom Search
Algebra Lessons
Algebra Lessons (A-Z)
Algebra Worksheets
Free Math Solver
Find Local Math Tutors
Math Games




© Copyright 2011-2013   ChiliMath   All Rights Reserved