### Video Transcript

Use partial fractions to evaluate the integral of six π₯ plus seven over π₯ plus two all squared with respect to π₯.

We are told to use partial fractions to evaluate this integral. So, weβll begin by splitting the fraction into its parts. And we can only do this once the denominator is in factorised form. Our denominator is already in factorised form. So, we can say that our expression is equal to some number over π₯ plus two plus some other number over π₯ plus two all squared.

Remember, since the fact that π₯ plus two actually appears twice, we account for this by forming fractions containing increasing powers of π₯ plus two, as shown. What we do next is multiply both sides of this identity by the denominator of our fraction on the left-hand side. This has the effect of cancelling out each of the denominators. And on the left-hand side, weβre left with six π₯ plus seven.

On the right, itβs a little trickier. When we multiply by π₯ plus two all squared, one factor of π₯ plus two cancels in this first term. And weβre just left with π΄ multiplied by π₯ plus two. And with the second partial fraction, π₯ plus two all squared cancels through on both the numerator and the denominator. And so, weβre simply left with π΅. And we can now say that six π₯ plus seven is equal to π΄ multiplied by π₯ plus two plus π΅. And in fact, this is an identity. Itβs true for all values of π₯.

Next, there are several methods for determining the coefficient of each term. The most efficient way here in my opinion is to equate coefficients. We begin by expanding this bracket. π΄ multiplied by π₯ is π΄π₯. And π΄ multiplied by two is two π΄. So, we see that six π₯ plus seven is always equal to π΄π₯ plus two π΄ plus π΅. And this method is called equating coefficients because we start to look at the coefficients of our various powers of π₯.

We can see in this example we have π₯ to the power of one and we have π₯ to the power of zero. Weβll begin by equating coefficients of π₯ to the power of one. On the left-hand side, thatβs six. And on the right-hand side, thatβs π΄. So, we can see that π΄ must be equal to six. Then, weβll equate the coefficient of π₯ to the power of zero. These are actually just the constants on both sides of our identity. On the left, thatβs seven. And on the right, thatβs two π΄ plus π΅. So, two π΄ plus π΅ must be equal to seven.

In fact though, weβve just seen that π΄ is equal to six. So, we can say that seven is equal to two multiplied by six plus π΅, or seven is equal to 12 plus π΅. And if we subtract 12 from both sides, we see that π΅ is equal to negative five. This means we can now substitute our values of π΄ and π΅ into our earlier equation. And we see that six π₯ plus seven over π₯ plus two all squared must be equal to six over π₯ plus two plus negative five π₯ plus two squared.

And all thatβs left is to integrate this with respect to π₯. It can be helpful to split this integral up. And in fact, I like to take the constant factor outside each integral sign. So, we have six lots of the integral of one over π₯ plus two with respect to π₯ minus five lots of the integral of one over π₯ plus two all squared with respect to π₯.

And here, we recall the fact that the integral of π dash of π₯ over π of π₯ with respect to π₯ is equal to ln of π of π₯ plus the constant of integration π. In the expression one over π₯ plus two, π₯ plus two is our function of π₯. And if we were to differentiate that function, weβd simply get one. And so, this is an example of where we can use this general rule. And we can say that the integral of one over π₯ plus two with respect to π₯ is ln of π₯ plus two plus that constant of integration.

And, of course, we took a constant six outside the integral sign, so we have to remember to multiply that all by six. Now notice, weβve used to π one as our constant of integration because weβre going to be integrating a couple of different expressions here.

Next, we need to integrate one over π₯ plus two all squared. Here, weβre going to integrate using substitution. And weβre going to let π’ be equal to π₯ plus two. dπ’ dπ₯ here is, therefore, equal to one. And we can say that dπ’ must, therefore, be equal to dπ₯. And then, we replace π₯ plus two with π’ and dπ₯ with dπ’. And now weβre integrating one over π’ squared with respect to π’. In fact, itβs often easier to think about this as the integral of π’ to the power of negative two with respect to π’.

When we integrate, we raise the power by one and then divide by that number. So, negative two plus one is negative one. And we have π’ to the power of negative one divided by negative one, which we can say is negative π’ to the negative one plus a second constant of integration. And then, we can replace this with that integral. And weβre left with six of ln of π₯ plus two plus our first constant minus five multiplied by negative π₯ plus two to the power of negative one plus our second constant of integration.

And whatβs going to happen with these constants of integration is one is going to be multiplied by six. The other is going to be multiplied by negative five. And weβre going to add them together to form a new constant of integration. Letβs call that π.

And distributing the other part of our first bracket, we get six multiplied by ln of π₯ plus two. And negative five multiplied by negative π₯ plus two to the power of negative one is positive five multiplied by π₯ plus two to the power of negative one. And there we go. Weβve used partial fractions to evaluate our integral. Itβs six ln of π₯ plus two plus five multiplied by π₯ plus two to the power of negative one plus π.