## 17Calculus - Integration Using Partial Fractions

The idea of using partial fractions to integrate is to convert the integrand into a form that we can integrate using techniques we've learned so far. As you know by now, integration is much more difficult that differentiation. When we have a fraction with polynomials in the denominator that can be factored, we can sometimes separate the fraction into two or more fractions that we use substitution or another known technique to integrate.

If you want a complete lecture on this topic, we recommend this video.

### Prof Leonard - Calculus 2 Lecture 7.4: Integration By Partial Fractions [2hrs-55mins-42secs]

video by Prof Leonard

Partial Fraction Expansion Precalculus Review

The problem most students have when using this technique is recalling how to do partial fraction expansion that they learned in precalculus. So the first section on this page contains a lot of information to refresh your skills on this technique.

Here are some panels containing a review of partial fraction expansion (decomposition) from precalculus. For practice problems and more discussion, see the precalculus partial fraction expansion page.

### Steps

Using Partial Fractions In Integration

Okay, so now that you are comfortable with partial fraction expansion, how can you use it to evaluate integrals. You will need to be able to evaluate integrals with polynomials in the denominator. The idea is to factor the denominator, expand into partial fractions and then evaluate each integral individually, almost always using integration by substitution.

When you have simple factors like $$\displaystyle{ \int{ \frac{1}{x+a} } }$$, the substitution is pretty obvious. You let $$u=x+a$$ and evaluate, usually ending up with natural logarithms in your answer.

Okay, let's watch a video clip to see how this works. In this video, she explains the technique while going through a specific example. If you don't understand all the steps toward the end, don't worry about it. Specifically, there is an integration that ends up with an inverse trig function. If you haven't had that material yet, you can still get a lot out of this video.

### Krista King Math - Solving Integrals - Partial Fractions Clip [3min-3secs]

video by Krista King Math

Rather than continuing to explain this technique in general, it is better to look at an example. Try to work this example on your own before looking at the solution.

Evaluate $$\displaystyle{ \int{ \frac{dx}{x^2+3x+2} } }$$.

$$\displaystyle{ \int{ \frac{dx}{x^2+3x+2} } = \ln \abs{\frac{x+1}{x+2}} + C }$$

Problem Statement: Evaluate $$\displaystyle{ \int{ \frac{dx}{x^2+3x+2} } }$$.
Solution: Notice we can't use substitution since, if we let $$u=x^2+3x+2$$, then $$du=(2x+3)dx$$ and we don't have $$2x+3$$ in the integrand (and there is no way to get it). So we use the result above (in the steps panel) to expand the integrand and the result is
$$\displaystyle{ \int{ \frac{dx}{x^2+3x+2} } = }$$ $$\displaystyle{ \int{ \frac{1}{x+1} + \frac{-1}{x+2} dx } = }$$ $$\displaystyle{ \int{ \frac{1}{x+1} dx } + \int{ \frac{-1}{x+2} dx } = }$$ $$\displaystyle{ \ln \abs{x+1} - \ln \abs{x+2} + C = }$$ $$\displaystyle{ \ln \abs{\frac{x+1}{x+2}} + C }$$
In this work, we used integration by substitution but we didn't write out the steps. Here are the details for one of the integrals. You can figure out the other one easily after understanding this one.
$$\displaystyle{ \int{ \frac{dx}{x+1} } }$$
Substitution, let $$u = x+1 ~~~ \to ~~~ du = dx$$
$$\displaystyle{ \int{ \frac{dx}{x+1} } = }$$ $$\displaystyle{ \int{ \frac{1}{u}du} = }$$ $$\displaystyle{ \ln \abs{u} + c_1 = }$$ $$\displaystyle{ \ln \abs{x+1} + c_1 }$$
Notice in the above solution that, once we expanded the integrand using partial fractions, we had two fractions that we could then use integration by substitution to solve. THAT'S the point of integration using partial fractions.

$$\displaystyle{ \int{ \frac{dx}{x^2+3x+2} } = \ln \abs{\frac{x+1}{x+2}} + C }$$

Things To Watch For

1. Before actually starting to do partial fraction expansion, take a quick look at your integrand and make sure that the highest power in the denominator is larger than the highest power in the numerator. If it isn't, you need to do long division of polynomials or synthetic division to reduce the power in the numerator. This will often make the integral much easier to evaluate before doing any partial fraction expansion.
2. Some problems that do not look like they are candidates for partial fractions may be able to be converted to partial fraction form using substitution. You will often see them when you have $$e^x$$ terms. See the practice problems for examples of this.

### Practice

Instructions - Evaluate the following integrals using partial fractions. Give your answers in exact simplified terms.

Basic Problems

$$\displaystyle{ \int{ \frac{du}{u^2-1} } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{du}{u^2-1} } }$$

$$\displaystyle{ \int{ \frac{du}{u^2-1}} = \frac{1}{2} \ln\abs{\frac{u-1}{u+1}} + C }$$

Problem Statement

$$\displaystyle{ \int{ \frac{du}{u^2-1} } }$$

Solution

 First, we rewrite the integrand using partial fraction expansion. $$\displaystyle{ \frac{1}{u^2-1} = \frac{A}{u-1} + \frac{B}{u+1} }$$ Now solve for A and B. $$1 = A(u+1) + B(u-1)$$ $$u = 1 ~~~ 1 = A(2) ~~~ \to ~~~ A = 1/2$$ $$u = -1 ~~~ 1 = B(-2) ~~~ \to ~~~ B = -1/2$$ Rewrite the integral and evaluate. $$\displaystyle{ \int{\frac{du}{u^2-1}} = \int{ \frac{1/2}{u-1} + \frac{-1/2}{u+1} du} }$$ $$\displaystyle{ \frac{1}{2} \ln \abs{u-1} - \frac{1}{2} \ln\abs{u+1} + C }$$ $$\displaystyle{ \frac{1}{2} \ln \abs{\frac{u-1}{u+1}}+ C }$$

$$\displaystyle{ \int{ \frac{du}{u^2-1}} = \frac{1}{2} \ln\abs{\frac{u-1}{u+1}} + C }$$

$$\displaystyle{ \int{ \frac{x+3}{(x+2)^3} dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{x+3}{(x+2)^3} dx } }$$

Solution

### 1028 video

video by Dr Chris Tisdell

$$\displaystyle{ \int{ \frac{(2x^2+2x+6)~dx}{(x-1)(x+1)(x-2)} } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{(2x^2+2x+6)~dx}{(x-1)(x+1)(x-2)} } }$$

Solution

### 1029 video

video by Dr Chris Tisdell

$$\displaystyle{ \int{ \frac{x+5}{x^2-2x-3} ~dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{x+5}{x^2-2x-3} ~dx } }$$

$$-\ln|x+1|+2\ln|x-3|+C$$

Problem Statement

$$\displaystyle{ \int{ \frac{x+5}{x^2-2x-3} ~dx } }$$

Solution

Here is the link to the blog page for this problem with the written out solution. [link]

### 2317 video

$$-\ln|x+1|+2\ln|x-3|+C$$

$$\displaystyle{ \int{ \frac{2x-1}{x^2+5x+6} dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{2x-1}{x^2+5x+6} dx } }$$

Solution

### 1031 video

video by Dr Chris Tisdell

$$\displaystyle{ \int{ \frac{5}{(2x+1)(x-2)} dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{5}{(2x+1)(x-2)} dx } }$$

Solution

### 1036 video

video by Krista King Math

$$\displaystyle{ \int{ \frac{dx}{x^2+x} } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{dx}{x^2+x} } }$$

Solution

### 1038 video

video by Krista King Math

$$\displaystyle{ \int{ \frac{dx}{x^3+x} } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{dx}{x^3+x} } }$$

Solution

### 1041 video

video by Krista King Math

$$\displaystyle{ \int{ \frac{5x-4}{(x+1)(x-2)^2} dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{5x-4}{(x+1)(x-2)^2} dx } }$$

Solution

### 1847 video

video by Dr Chris Tisdell

Intermediate Problems

$$\displaystyle{ \int{ \frac{1+e^x}{1-e^x}dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{1+e^x}{1-e^x}dx } }$$

Hint

Let $$u=e^x$$ and convert the integral in terms of u. This yields an integral where you can use partial fractions.

Problem Statement

$$\displaystyle{ \int{ \frac{1+e^x}{1-e^x}dx } }$$

Hint

Let $$u=e^x$$ and convert the integral in terms of u. This yields an integral where you can use partial fractions.

Solution

### 493 video

video by PatrickJMT

$$\displaystyle{ \int{ \frac{dx}{x(x+1)^3} } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{dx}{x(x+1)^3} } }$$

Solution

### 1027 video

video by Dr Chris Tisdell

$$\displaystyle{ \int{ \frac{8x+9}{(x-2)(x+3)^2} dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{8x+9}{(x-2)(x+3)^2} dx } }$$

Solution

### 1030 video

video by Dr Chris Tisdell

$$\displaystyle{ \int{ \frac{\sqrt{x+1}}{x} dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{\sqrt{x+1}}{x} dx } }$$

Solution

### 1033 video

video by Krista King Math

$$\displaystyle{ \int{ \frac{1}{x-\sqrt{x+2}} dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{1}{x-\sqrt{x+2}} dx } }$$

Solution

### 1034 video

video by PatrickJMT

$$\displaystyle{ \int{ \frac{4x^2-3x-4}{x^3+x^2-2x} dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{4x^2-3x-4}{x^3+x^2-2x} dx } }$$

Solution

### 1037 video

video by Krista King Math

$$\displaystyle{ \int{ \frac{x^2}{(x+2)^3} dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{x^2}{(x+2)^3} dx } }$$

Solution

### 1039 video

video by Krista King Math

$$\displaystyle{ \int{ \frac{x^2+x+1}{(2x+1)(x^2+1)} dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{x^2+x+1}{(2x+1)(x^2+1)} dx } }$$

Solution

### 1040 video

video by Krista King Math

$$\displaystyle{ \int{ \frac{x^2-x+6}{x^3+3x} dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{x^2-x+6}{x^3+3x} dx } }$$

Solution

### 1035 video

video by PatrickJMT

$$\displaystyle{ \int{ \frac{x^3-2x^2+x+1}{x^4+5x^2+4} dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{x^3-2x^2+x+1}{x^4+5x^2+4} dx } }$$

Solution

### 1042 video

video by Krista King Math

$$\displaystyle{ \int_{1}^{2}{ \frac{x^4+1}{x(x^2+1)^2} dx } }$$

Problem Statement

$$\displaystyle{ \int_{1}^{2}{ \frac{x^4+1}{x(x^2+1)^2} dx } }$$

Solution

### 1043 video

video by Krista King Math

$$\displaystyle{\int{\frac{x+6}{x(x^2+2x+3)}dx}}$$

Problem Statement

$$\displaystyle{\int{\frac{x+6}{x(x^2+2x+3)}dx}}$$

Solution

In the video he does not show the details for the partial fraction expansion.
$$\displaystyle{ \frac{x+6}{x(x^2+2x+3)} = \frac{A}{x}+\frac{Bx+C}{x^2+2x+3} }$$
$$x+6=A(x^2+2x+3)+x(Bx+C)$$

 $$x=0$$ $$6=A(3)+0 \to A=2$$ $$x=1$$ $$7=2(1+2+3)+1(B+C) \to B+C=-5$$ $$x=-1$$ $$5=2(1-2+3)-(-B+C) \to B-C=1$$

Adding $$B+C=-5$$ to $$B-C=1$$ gives us $$2B=-5 \to B=-2$$, and since $$B-C=1 \to -2-C=1 \to C=-3$$.
This problem also requires you to know how to get an inverse trig function out of an integral.

### 1032 video

video by Dr Chris Tisdell

$$\displaystyle{ \int{ \frac{4x}{x^3+x^2+x+1} ~dx } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{4x}{x^3+x^2+x+1} ~dx } }$$

Solution

### 1823 video

video by Krista King Math

$$\displaystyle{ \int{ \frac{x~dx}{(a+bx)(c+fx)} } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{x~dx}{(a+bx)(c+fx)} } }$$

Solution

### 2211 video

video by Michel vanBiezen

$$\displaystyle{ \int{ \frac{dx}{x^2(a+bx)^2} } }$$

Problem Statement

$$\displaystyle{ \int{ \frac{dx}{x^2(a+bx)^2} } }$$

Solution

### 2214 video

video by Michel vanBiezen

You CAN Ace Calculus

 precalculus - partial fractions integrals integration by substitution definite integrals

integration by partial fractions youtube playlist

### Calculus Topics Listed Alphabetically

Single Variable Calculus

Multi-Variable Calculus

### Search Practice Problems

Do you have a practice problem number but do not know on which page it is found? If so, enter the number below and click 'page' to go to the page on which it is found or click 'practice' to be taken to the practice problem.

 The 17Calculus and 17Precalculus iOS and Android apps are no longer available for download. If you are still using a previously downloaded app, your app will be available until the end of 2020, after which the information may no longer be available. However, do not despair. All the information (and more) is now available on 17calculus.com for free.
 Partial Fraction Expansion Review Using Partial Fractions In Integration Things To Watch For Practice

When using the material on this site, check with your instructor to see what they require. Their requirements come first, so make sure your notation and work follow their specifications.

DISCLAIMER - 17Calculus owners and contributors are not responsible for how the material, videos, practice problems, exams, links or anything on this site are used or how they affect the grades or projects of any individual or organization. We have worked, to the best of our ability, to ensure accurate and correct information on each page and solutions to practice problems and exams. However, we do not guarantee 100% accuracy. It is each individual's responsibility to verify correctness and to determine what different instructors and organizations expect. How each person chooses to use the material on this site is up to that person as well as the responsibility for how it impacts grades, projects and understanding of calculus, math or any other subject. In short, use this site wisely by questioning and verifying everything. If you see something that is incorrect, contact us right away so that we can correct it.