Video Transcript
Use partial fractions to evaluate the indefinite integral of 𝑥 squared over 𝑥 minus one times 𝑥 squared plus two 𝑥 plus one with respect to 𝑥.
We begin by recalling that we can only write a fraction in its partial fractions when its denominator is fully factored. Here, we have a quadratic expression: 𝑥 squared plus two 𝑥 plus one. We’re going to need to factor this fully before we can use partial fractions. Well, we can write 𝑥 squared plus two 𝑥 plus one as 𝑥 plus one times 𝑥 plus one, which is, of course, 𝑥 plus one squared. And so, we’re going to write 𝑥 squared over 𝑥 minus one times 𝑥 plus one squared in partial fraction form.
Notice here, we have a factor which has an exponent. We have 𝑥 plus one squared. This means in partial fraction form, we write 𝐴 over 𝑥 minus one plus 𝐵 over 𝑥 plus one plus 𝐶 over 𝑥 plus one squared. Our job is to make the expression on the right look a little more like the expression on the left. And so, we recall that to add algebraic fractions, we create a common denominator. To achieve this, we multiply the numerator and denominator of our first fraction by 𝑥 plus one squared. For our second fraction, we multiply by 𝑥 minus one times 𝑥 plus one. And for our third fraction, we multiply by 𝑥 minus one only.
And this means our first fraction becomes 𝐴 times 𝑥 plus one squared over 𝑥 minus one times 𝑥 plus one squared. Our second fraction is 𝐵 times 𝑥 minus one times 𝑥 plus one over 𝑥 minus one times 𝑥 plus one squared. And our third fraction becomes 𝐶 times 𝑥 minus one over 𝑥 minus one times 𝑥 plus one squared. And now that we have a common denominator, we can simply add the numerators. Notice that the denominators on the right- and left-hand side of our equation are now equal. And so, for these two fractions to be equal then, the numerators must themselves be equal. And so, we can say that 𝑥 squared equals 𝐴 times 𝑥 plus one squared plus 𝐵 times 𝑥 minus one times 𝑥 plus one plus 𝐶 times 𝑥 minus one.
Our job is to find the value of the constants 𝐴, 𝐵, and 𝐶. And we have two ways that we can go about this. We can distribute our parentheses and equate coefficients. So, that could be quite a long-winded method. Alternatively, we can substitute the roots or the zeros of 𝑥 minus one times 𝑥 plus one squared. That is, we let 𝑥 be equal to negative one. And we let 𝑥 be equal to one. When 𝑥 is equal to negative one, we get negative one squared equals 𝐴 times zero squared plus 𝐵 times negative two times zero plus 𝐶 times negative two. And in fact, 𝐴 times zero squared and 𝐵 times negative two times zero are themselves zero. And that’s the whole purpose of substituting the roots in. When we do, we get an equation in terms of one of our constants, this time in terms of 𝐶. When we simplify, we find that one is equal to negative two 𝐶. And dividing through by negative two, we find 𝐶 is equal to negative one-half.
Let’s repeat this process with 𝑥 equals one. This time, we get one squared equals 𝐴 times two squared plus 𝐵 times zero times two plus 𝐶 times zero. And this time, the terms involving 𝐵 and 𝐶 become zero. So, we get one equals four 𝐴, which means 𝐴 is equal to one-quarter. So, how do we find the value of 𝐵? Well, we can now choose any value of 𝑥, since we know the values of 𝐴 and 𝐶. Let’s let 𝑥 be equal to zero. By also letting 𝐶 be equal to negative one-half and 𝐴 be equal to a quarter, our equation becomes zero squared equals a quarter times one squared plus 𝐵 times negative one times one minus a half times negative one. This gives us zero equals a quarter minus 𝐵 plus one-half. And the expression on the right-hand side of this equation simplifies to three-quarters minus 𝐵. By adding three-quarters to both sides, we find 𝐵 to be equal to three-quarters.
And now that we know the values of 𝐴, 𝐵, and 𝐶, we’re going to rewrite our integral. A quarter over 𝑥 minus one can be written as one over four times 𝑥 minus one. Three-quarters over 𝑥 plus one can be written as three over four times 𝑥 plus one. And negative one-half over 𝑥 plus one squared can be written as negative one over two times 𝑥 plus one all squared. We then recall that the integral of the sum or difference of a number of functions is equal to the sum or difference of the integrals of each respective function. And we also know we can take any constant factors outside the integral sign. So, we can write this as a quarter times the integral of one over 𝑥 minus one d𝑥 plus three-quarters times the integral of one over 𝑥 plus one with respect to 𝑥 minus a half times the integral of one over 𝑥 plus one squared with respect to 𝑥.
Let’s now integrate each one in turn. The integral of one over 𝑥 minus one with respect to 𝑥 is the natural log of the absolute value of 𝑥 minus one. Now, this is an indefinite integral. So, there is a constant of integration. But actually, we’re going to combine each of these at the end. Then, the integral of one over 𝑥 plus one with respect to 𝑥 is the natural log of the absolute value of 𝑥 plus one. But how do we integrate one over 𝑥 plus one squared? Well, we’re going to perform a substitution. We’re going to let 𝑢 be equal to 𝑥 plus one. This means the derivative of 𝑢 with respect to 𝑥, d𝑢 by d𝑥, is equal to one. And whilst d𝑢 by d𝑥 isn’t a fraction, we’d treat it a little like one in this process. And we say that d𝑢 is equal to d𝑥.
And we’re now able to integrate one over 𝑢 squared with respect to 𝑢. If we consider one over 𝑢 squared as 𝑢 to the power of negative two, then its integral is 𝑢 to the power of negative one divided by negative one, which is negative one over 𝑢. Let’s replace 𝑢 now with 𝑥 plus one and we add that constant of integration. And in an unsimplified form, we have a quarter times the natural log of the absolute value of 𝑥 minus one plus three-quarters times the natural log of the absolute value of 𝑥 plus one minus a half times negative one over 𝑥 plus one plus 𝐶. We take out a common factor of a quarter in our first two terms. And then, we multiply negative a half by negative one over 𝑥 plus one. And we get one over two 𝑥 plus two.
Then, we recall one of our laws of logs. And that says that 𝑎 times log of 𝑏 is equal to the log of 𝑏 to the power of 𝑎. And this means we can write three times the natural log of 𝑥 plus one as the natural log of 𝑥 plus one to the power of three. But there’s another rule we can use. And that says that the log of 𝑎 plus the log of 𝑏 can be written as the log of 𝑎 times 𝑏. And so, we can write the natural log of the absolute value of 𝑥 minus one plus three times the natural log of the absolute value of 𝑥 plus one as the natural log of the absolute value of 𝑥 minus one times 𝑥 plus one cubed.
Now, in fact, in this question, we’re required to give our constant as a 𝑘. So, the indefinite integral of 𝑥 squared over 𝑥 minus one times 𝑥 squared plus two 𝑥 plus one with respect to 𝑥 is a quarter times the natural log of the absolute value of 𝑥 minus one times 𝑥 plus one cubed plus one over two 𝑥 plus two plus 𝑘.