Partial Fractions

 

Distinct Linear Factors

Repeated Linear Factors

Distinct Quadratic Factors

Repeated Quadratic Factors

 

 

The method of Partial Fractions is an extremely useful tool whenever you need to integrate a fraction with polynomials in both the numerator and denominator; something like this:

PF.IMAGE.01

If you were asked to integrate

PF.IMAGE.02

you shouldn’t have too much trouble, because if you don’t have a variable in the numerator of your fraction, then your integral is simply the numerator multiplied by the natural log (ln) of the absolute value of the denominator, like this:

PF.IMAGE.03

where C is the constant of integration. Not too hard, right?

Don’t forget to use Chain Rule and divide by the derivative of your denominator. In the case above, the derivatives of both of our denominators are 1, so this step didn’t appear.

But if your integral is

PF.IMAGE.04

then your answer will look like this:

PF.IMAGE.05

The derivative of our denominator is 2, so we have to divide by 2, according to Chain Rule. Anyway, back to our original example. We said at the beginning of this section that

PF.IMAGE.06

would be difficult to integrate, but that we wouldn’t have as much of a problem with

PF.IMAGE.07

In fact, these two are actually the same function. If we try adding 3/(x+1) and 4/(x-1) together, you’ll see that we get back our original function.

PF.IMAGE.08

Again, attempting to integrate

PF.IMAGE.09

is extremely difficult. But if you can express this function as

PF.IMAGE.10

then integrating is much simpler. This method of converting complicated fractions into simpler fractions that are easier to integrate is called decomposition into “partial fractions”.

Partial Fractions Example 1

Long Division to Make Your Function “Proper”

Let’s start talking about how to perform a partial fractions decomposition. Before we move forward it’s important to remember that you must perform long division with your polynomials whenever the degree (value of the greatest exponent) of your denominator is not greater than the degree of your numerator, as is the case in the example on the left.

Okay. So now that you’ve either performed long division or confirmed that the degree of your denominator is greater than the degree of your numerator (such that you don’t have to perform long division), it’s time for full-blown partial fractions. Oh goodie! I hope you’re excited.

The first step is to factor your denominator as much as you can. Your second step will be determining which type of fraction you’re dealing with, depending on how your denominator broke down. Your fraction will be one of these four types:

1. The denominator is a product of distinct linear functions.

2. The denominator is a product of linear functions, some of which are repeated.

3. The denominator is a product of distinct quadratic functions.

4. The denominator is a product of quadratic functions, some of which are repeated.

Let’s take a look at an example of each of these four cases so that you understand the difference between them. In the first example below, we’ll look at the first case above, in which the denominator will be a product of distinct linear functions.

1. The Denominator is a Product of Distinct Linear Functions

Since the degree of the denominator is higher than the degree of the numerator, we don’t have to perform long division before we start. Instead, we can move straight to factoring the denominator, as follows.

PF.IMAGE.14

We can see that our denominator is a product of distinct linear functions because our three factors, (x-1), (x+1), and (x-2), are all different.

Once we have it factored, we set our fraction equal to the sum of its component parts, assigning new variables to the numerator of each of our fractions. Since our denominator can be broken down into three different factors, we need three variables, A, B and C to go on top of each one of our new fractions, like so:

PF.IMAGE.15

Now that we’ve separated our original function into its partial fractions, we multiply both sides by the denominator of the left-hand side. The denominator will cancel on the left-hand side, and on the right, each of the three partial fractions will end up multiplied by all the factors other than the one that was previously included in its denominator.

PF.IMAGE.17

Our next step is to multiply out all of these terms.

PF.IMAGE.18

Now we collect like terms together, meaning that we re-order them, putting all the x^2 terms next to each other, all the x terms next to each other, and then all the constants next to each other.

PF.IMAGE.19

Finally, we factor out the x^2 and the x.

PF.IMAGE.20

Doing this allows us to equate coefficients on the left and right sides. Do you see how the coefficient on the x^2 term on the left-hand side of the equation is 1? Well, the coefficient on the x^2 term on the right-hand side is (A+B+C), which means those two must be equal. We can do the same for the x term, as well as the constants. We get the following three equations:

PF.IMAGE.21

Now that we have these equations, our goal will be to solve for each of the three variables. This can easily get confusing, but with practice, you should get the hang of it. If you have one equation with only two variables instead of all three, like our second equation, that’s a good place to start. Adding A to both sides of our second equation gives us

PF.IMAGE.22

Now we’ll plug in 2A everywhere we find B in our first and third equations and simplify.

PF.IMAGE.23

Finally, if we add these two equations together, our Cs will cancel and we can solve for A. Depending on your equations, you may have to multiply both sides of one equation by some constant before adding or subtracting will cancel a variable for you.

PF.IMAGE.24

Once we find the value of one variable, luckily it becomes much easier to determine the values of the others. For example, remember that B=2A. Plugging in our known value for A lets us quickly solve for the value of B.

PF.IMAGE.25

Of course, knowing A and B, we now plug them into our first equation, A+B+C=1, and determine that the value of C is

PF.IMAGE.26

Having solved for the values of our three variables, we’re finally ready to plug them back into our partial fractions decomposition. Doing so should produce something that’s easier for us to integrate than our function was originally.

PF.IMAGE.27

Remembering that the integral of 1/x is ln|x|+C, we’ll get

PF.IMAGE.28

Let’s move now to the second of our four case types above, in which the denominator will be a product of linear functions, some of which are repeated.

2. The Denominator is a Product of Linear Functions, Some of Which are Repeated

PF.IMAGE.30

You’ll see that we need to carry out long division before we start factoring, since the degree of the numerator is five, which is greater than the degree of the denominator, which is 4.

PF.IMAGE.31

Now that the degree of the remainder is less than the degree of the original denominator, we can write our function as

PF.IMAGE.32

Integrating the 2x-3 will be simple, so for now, let’s focus on the fraction. We’ll factor the denominator.

PF.IMAGE.33

Given the factors involved in our denominator, you might think that the partial fractions decomposition would look like this

PF.IMAGE.34

However, the fact that we’re dealing with repeated factors, (x-1 is a factor twice and x+1 is a factor twice), our partial fractions decomposition is actually the following:

PF.IMAGE.35

When you have repeated factors, you have to include each degree of the factor that is of a degree lesser than or equal to the factor in your partial fractions decomposition. To use another, simpler example, if you were trying to perform a partial fractions decomposition on 1/x^3, your decomposition would be

PF.IMAGE.36

Let’s continue with our example.

PF.IMAGE.37

We’ll multiply both sides of our equation by the denominator on the left side, (x-1)^2(x+1)^2, which will cancel the denominator on the left and one of each of the four denominator terms on the right side.

PF.IMAGE.38

To simplify, we’ll start multiplying all terms on the right side together.

PF.IMAGE.39

Now we’ll group like terms together.

PF.IMAGE.40

Equating coefficients on both sides of the equation gives us the following equations.

PF.IMAGE.41

Now we’ll start solving for variables. If we subtract A from both sides of the first equation, A+C=9, we’ll get C=9-A. If we now plug in 9-A for C into our other three equations, we have:

PF.IMAGE.42

And simplifying, we get the following:

PF.IMAGE.43

Let’s now solve our second equation above for B.

PF.IMAGE.44

Now we’ll plug D-1 into our first (2A+B+D=6) and third (-2A+B+D=7) equations above for B.

PF.IMAGE.45

Simplifying both equations gives:

PF.IMAGE.46

Now let’s take the second equation, -2A+2D=8, and solve it for D.

PF.IMAGE.47

Finally, let’s take 4+A and plug it into our first equation, 2A+2D=7, for D. Then we can simplify and solve for A.

PF.IMAGE.48

At last! We’ve solved for one variable. Now it’s pretty quick to find the other three. Since we already know the value of A, we can use the equation D=4+A to solve for D.

PF.IMAGE.49

Moving back one more step, we can use our value for D and the equation from earlier, B=D-1, to solve for B.

PF.IMAGE.50

And last but not least, going all the way back to our original set of equations, we find the equation C=9-A which, along with our value for A, will allow us to easily find C.

PF.IMAGE.51

We’ll now take our values for A, B, C and D, and bring back the 2x+3 that we put aside following the long division earlier in this example, and write out our partial fractions decomposition.

PF.IMAGE.52

Now we can integrate. Using the rule from algebra that 1/x^n=x^-n, we’ll flip the second and fourth terms of the partial fractions decomposition so that they are easier to integrate.

PF.IMAGE.53

Now that we’ve simplified, we’ll integrate.

PF.IMAGE.54

At this point, you can try simplifying further, or just leave your answer as is.

3. The Denominator is a Product of Distinct Quadratic Functions

Now let’s take a look at an example in which the denominator is a product of distinct quadratic factors. When this is the case, you can represent your function as the product of factors of the form

PF.IMAGE.55

In order to integrate these terms, you’ll also need the following formula:

PF.IMAGE.56So here’s our example for this section:

PF.IMAGE.57

As always, the first thing to notice is that the degree of the denominator is larger than the degree of the numerator, which means that we don’t have to perform long division before we can start factoring the denominator. So let’s get right to it.

PF.IMAGE.58

Since we cannot factor the denominator any further, using the first formula above we can write the partial fraction decomposition as

PF.IMAGE.59

Multiplying both sides of this equation by the denominator on the left gives

PF.IMAGE.60

Collecting like terms together gives

PF.IMAGE.61

Equating coefficients on both sides gives us the following equations:

PF.IMAGE.62

Solving the first equation for A looks like this:

PF.IMAGE.63

Plugging 1-B into the third equation for A leaves us with the following two equations.

PF.IMAGE.64

Simplifying these leaves us with

PF.IMAGE.65

Now if we solve the first of these equations for C, we’ll get

PF.IMAGE.66

Plugging this into our second equation gives

PF.IMAGE.67

Now that we’ve solved for the value of B, we can use the equation from just above, C=B-2, to solve for C.

PF.IMAGE.75

To find A, we’ll again use our value for B, as well as an equation from earlier, A=1-B.

PF.IMAGE.70

Now that we have all three, we can take these values and plug them back into our partial fractions decomposition, and then integrate.

PF.IMAGE.76

To integrate the second term, we’ll need to use u-substitution.

PF.IMAGE.77

Now that we’ve performed u-substitution on our second integral, integrating both the first and second integrals will be easy. We’ll need to use the formula from above to integrate the third term.

In our case, x=x and a=3. M=1 and N=3.

PF.IMAGE.78

Plugging back in for u and simplifying this whole thing gives us our final answer.

PF.IMAGE.74

You can either simplify further, or leave this as is.

4. The Denominator is a Product of Quadratic Functions, Some of Which are Repeated

Last but not least, let’s take a look at an example in which the denominator is a product of quadratic functions, at least some of which are repeated.

We’ll be using the same formulas we did for the last example. I’ll put them here again so we don’t have to go back.

PF.IMAGE.79

The problem we’ll use for this section is

PF.IMAGE.80

Remember, when we’re dealing with repeated factors, we have to include every lesser degree of that factor in our partial fractions decomposition, which will be

PF.IMAGE.81

Multiplying both sides by the denominator of the left-hand side gives us

PF.IMAGE.82

Multiplying all terms together will leave us with

PF.IMAGE.83

Grouping like terms together gives us

PF.IMAGE.84

Now we equate coefficients and write down the equations we’ll use to solve for each of our variables.

PF.IMAGE.85

Since the second and fifth equations give us the values of C and A, we’ll plug those values into our other three equations first.

PF.IMAGE.86

Simplifying these should allow us to solve for more variables.

PF.IMAGE.87

At this point, the only variable we haven’t solved for is D, but if we plug into the second equation the value that we just got for B, we can see that

PF.IMAGE.88PF.IMAGE.89

If we plug all five values back into our partial fractions decomposition, we’ll get

PF.IMAGE.90

We can now separate our terms into separate integrals, like so:

PF.IMAGE.91

Let’s use u-substitution on the second integral above.

PF.IMAGE.92

Our problem therefore becomes

PF.IMAGE.93

Cancelling the x in the second integral gives

PF.IMAGE.94

Let’s also use u-substitution for the fourth integral above, but let’s use the letter k instead of u, so that we don’t get confused.

Partial Fractions Image 95

Plugging back in and simplifying will give us a set of integrals we can finally integrate.

PF.IMAGE.96

In summary, in order to integrate by expressing rational functions (fractions) in terms of their partial fractions decomposition, you should follow these steps:

1. Ensure that the rational function is “proper”, such that the degree (greatest exponent) of the numerator is less than the degree of the denominator. If necessary, use long division to make it proper.

2. Perform the partial fractions decomposition by factoring the denominator, which will always be expressible as the product of either linear or quadratic factors, some of which may be repeated.

a. If the denominator is a product of distinct linear factors: This is the simplest kind of partial fractions decomposition. Nothing fancy here.

b. If the denominator is a product of linear factors, some of which are repeated: Remember to include factors of lesser degree than your repeated factors.

c. If the denominator is a product of distinct quadratic factors: You must use the following two equations:

PF.IMAGE.79

d. If the denominator is a product of quadratic factors, some of which are repeated: Use the two formulas above and remember to include factors of lesser degree than your repeated factors.

© 2012 integralCALC