# Video: Integration of Rational Functions by Partial Fractions

Use partial fractions to evaluate β« (π₯ + 4)/((π₯ + 6)(π₯ β 1)) dπ₯.

05:32

### Video Transcript

Use partial fractions to evaluate the indefinite integral of π₯ plus four over π₯ plus six times π₯ minus one with respect to π₯.

Remember, we need to rewrite this integrand using partial fractions. So we begin by reversing the process we would take when adding algebraic fractions. We write it as π΄ over π₯ plus six plus π΅ over π₯ minus one. And there are two ways for us to work out the constants π΄ and π΅. Theyβre substitution and equating coefficients.

Letβs begin by looking at the substitution method. Letβs imagine weβre adding these fractions. We multiply the numerator and denominator of the first fraction by π₯ minus one and the numerator and denominator of the second fraction by π₯ plus six. So we see that π₯ plus four over π₯ plus six times π₯ minus one is equal to π΄ times π₯ minus one plus π΅ times π₯ plus six all over π₯ plus six times π₯ minus one.

Notice that the denominator of the fractions on both sides of our equation are equal. This means that, for the fractions themselves to be equal, their numerators must be. And we can say that π₯ plus four is equal to π΄ times π₯ minus one plus π΅ times π₯ plus six. Okay, so far, so good.

Now we want to find a way to eliminate one of the constants from this equation. Well, we see that if we set π₯ to be equal to one, this bit here becomes π΄ times one minus one, which is π΄ times zero, which is zero. So letβs set π₯ be equal to one. When we do, we see that one plus four is equal to π΄ times zero plus π΅ times one plus six, which simplifying gives us five equals seven π΅. And now we have an equation in π΅.

So we can solve this by dividing both sides by seven. And we see that π΅ is equal to five-sevenths. Brilliant, so letβs repeat this process to help us establish the value of π΄. And you might wish to pause the video for a moment and think about what substitution would eliminate π΅ from this equation.

If we let π₯ be equal to negative six, then the second term over here becomes π΅ times zero. So the π΅βs going to be eliminated. And if we let π₯ be equal to negative six, our entire equation becomes negative six plus four equals π΄ times negative six minus one plus π΅ times zero, which simplifies to negative two equals negative seven π΄. Now we have an equation in π΄. And dividing both sides by negative seven, we obtain π΄ to be equal to two-sevenths. And weβve successfully decomposed into partial fractions.

We can say that π₯ plus four over π₯ plus six times π₯ minus one is equal to two over seven times π₯ plus six plus five over seven times π₯ minus one. And weβre now of course able to integrate our expression with respect to π₯. Remembering that the integral of the sum of functions is the same as the sum of the integrals of those respective functions. And of course, we can take out any constant factors. And we see that our integral is equal to two-sevenths of the integral of one over π₯ plus six dπ₯ plus five-sevenths of the integral of one over π₯ minus one dπ₯.

Well, the integral of one over π₯ plus six is the natural log of the absolute value of π₯ plus six. And the integral of one over π₯ minus one is the natural log of the absolute value of π₯ minus one. And of course, since this is an indefinite integral, we must add that constant π. And weβre done. The indefinite integral of π₯ plus four over π₯ plus six times π₯ minus one with respect to π₯ is two-sevenths times the natural log of the absolute value of π₯ plus six plus five-sevenths of the natural log of the absolute value of π₯ minus one plus the constant π.

We are now going to consider how we couldβve got here using the method of equating coefficients. The starting process is the same. We need to get to this stage here. We want to distribute the parentheses on the right-hand side. And when we do, we see that π₯ plus four is equal to π΄π₯ minus π΄ plus π΅π₯ plus six π΅.

Now this next step isnβt entirely necessary. But it can help us figure out what to do next. We collect together like terms. And we see that π₯ plus four is equal to π΄ plus π΅ times π₯ plus negative π΄ plus six π΅ or six π΅ minus π΄. And now we have two families of terms, if you will. We have π₯ to the power of ones, and then we have these constants. And we can say that those are π₯ to the power of zeros.

We want to equate coefficients for these terms. Letβs begin by equating the coefficients of π₯ to the power of zero, or just the constants. On the left-hand side, we have four. And on the right-hand side, we have six π΅ minus π΄. Next, weβll equate the coefficients of π₯ to the power of one. The coefficient of π₯ on the left-hand side is one. And on the right-hand side, thatβs π΄ plus π΅. So we now have a pair of simultaneous equations which we can begin to solve by first adding.

Negative π΄ plus π΄ is zero. So we see that when we add our pair of simultaneous equations, we end up with five equals seven π΅. And solving this equation for π΅, we find that π΅ is equal to five-sevenths. Weβre gonna then substitute this value of π΅ into either of our original equations. Iβm going to choose this one here. So one is equal to π΄ plus five-sevenths. Then subtracting five-sevenths from both sides, we obtain π΄ to be equal to two-sevenths. And the rest of the process is exactly the same.

We have our partial fractions, and we can integrate each of them. And we obtain the indefinite integral to be equal to two-sevenths of the natural log of π₯ plus six plus five-sevenths of the natural log of π₯ minus one plus π.