### Video Transcript

Use partial fractions to evaluate the indefinite integral of one over π₯ times π₯ plus two with respect to π₯.

Weβve been told to evaluate this integral using partial fractions. Remember, using partial fractions makes the fraction much simpler and therefore much easier to integrate. Weβre already dealing with a fully factorized denominator, and so we separate one over π₯ times π₯ plus two into two separate fractions. Letβs call them π΄ over π₯ plus π΅ over π₯ plus two, where π΄ and π΅ are real constants. Now, letβs look at what we need to do to the right-hand side to make it look like the left. Well, to create a common denominator, we multiply each denominator and, in fact, the numerator by the denominator of the other fraction. So, weβre going to multiply π΄ over π₯ by π₯ plus two and π΅ over π₯ plus two times π₯.

That gives us π΄ times π₯ plus two over π₯ times π₯ plus two plus π΅ times π₯ over π₯ times π₯ plus two. And now, since the denominators are the same, we can simply add the numerators. So, we get π΄ times π₯ plus two plus π΅π₯ over π₯ times π₯ plus two. And of course, this is equal to the original fraction, one over π₯ times π₯ plus two. Notice that their denominators are now the same. And we can therefore say that for these two fractions to be equal, their numerators must be equal. That is, one is equal to π΄ times π₯ plus two plus π΅π₯. Our job is to find the values of the constants π΄ and π΅, and there are a couple of ways we can do this. We could distribute the parentheses and equate coefficients. That would give us a pair of simultaneous equations, which we could solve for π΄ and π΅.

Alternatively, we substitute the roots or the zeroes of the equation π¦ equals π₯ times π₯ plus two. That is, we let π₯ be equal to negative two and π₯ be equal to zero. And weβll see why this method could be quite nice in a moment. When we let π₯ be equal to negative two, we get one equals π΄ times negative two plus two plus π΅ times negative two. Well, negative two plus two is zero. So, we get one equals π΅ times negative two. And then, we divide through by negative two. And we see that π΅ is equal to negative one-half. Notice how by letting π₯ be equal to negative two, the expression π΄ times π₯ plus two became zero, leaving us an equation purely in terms of π΅. Next, we let π₯ be equal to zero. Thatβs one equals π΄ times zero plus two plus π΅ times zero. This time, we get π΅ times zero being equal to zero.

And so, weβre left with one equals π΄ times zero plus two or one equals two π΄. We solve for π΄ by dividing through by two to give us π΄ equals one-half. We now go back to the original identity, where we replace π΄ with one-half and π΅ with negative one-half. And so, to find the integral of one over π₯ times π₯ plus two with respect to π₯, we need to integrate one over two π₯ minus one over two times π₯ plus two with respect to π₯. Now remember, the integral of the sum or difference of two functions is equal to the sum or difference of the integrals of each respective function. So, we can write this as the integral of one over two π₯ with respect to π₯ minus the integral of one over two times π₯ plus two with respect to π₯. We can then take out any constant factors.

Here, we can take out a factor of one-half from our first integral and a factor of one-half from the second. And weβre now ready to integrate. The integral of one over π₯ with respect to π₯ is the natural log of the absolute value of π₯. Similarly, the integral of one over π₯ plus two with respect to π₯ is the natural log of the absolute value of π₯ plus two. And since weβre dealing with an indefinite integral, we need to add that constant of integration π. Now, weβre going to factor by one-half. Well, we get half times the natural log of the absolute value of π₯ minus the natural log of the absolute value of π₯ plus two. And then, we recall one of our laws of logs. This says that the log of π΄ minus the log of π΅ is equal to the log of π΄ divided by π΅.

And so, the natural log of the absolute value of π₯ minus the natural log of the absolute value of π₯ plus two is equal to the natural log of the absolute value of π₯ over the absolute value of π₯ plus two. But we also know that π΄ times the log of π΅ can be written as the log of π΅ to the power of π΄. So, we can write this as the natural log of the absolute value of π₯ over the absolute value of π₯ plus two to the power of one-half plus that constant of integration π. But the power of one-half is a square root. And so, we found that the indefinite integral of one over π₯ times π₯ plus two with respect to π₯ is the natural log of the square root of the absolute value of π₯ over the absolute value of π₯ plus two plus a constant of integration π.