### Video Transcript

Determine the indefinite integral of 𝑥 squared plus seven over 𝑥 cubed plus 21𝑥 minus five with respect to 𝑥.

In order to solve this problem, we will be using integration by substitution. The way that we can spot this is if we take our denominator and call it 𝑔 of 𝑥. So we have 𝑔 of 𝑥 is equal to 𝑥 cubed plus 21𝑥 minus five.

Now, we differentiate this to find 𝑔 prime of 𝑥. Differentiating the 𝑥 cubed, we get three 𝑥 squared. Differentiating 21𝑥, we get 21 and minus five differentiates to give zero. So 𝑔 prime of 𝑥 is equal to three 𝑥 squared plus 21, which we can also write as three times by 𝑥 squared plus seven since we just factor out the three. And at this point, we notice that we have some constant which is three multiplied by the numerator of our fraction in the integral.

Now, we can rearrange this to write that 𝑥 squared plus seven is equal to one-third times 𝑔 prime of 𝑥. So we can write our integral as one-third timesed by 𝑔 prime of 𝑥 over 𝑔 of 𝑥 with respect to 𝑥. And since that one-third is just a constant, we can factor out of the integral. And so that leaves us with this.

Now, our integral is of the form: the integral of 𝐹 of 𝑔 of 𝑥 times 𝑔 prime of 𝑥 with respect to 𝑥, where in our case the 𝐹 is 𝐹 of 𝑔 of 𝑥 is equal to one over 𝑔 of 𝑥. So now, our integral is of this form, we can use what is called a 𝑢 substitution. And in this substitution, we’re going to let 𝑢 equal 𝑔 of 𝑥.

Now, we’re going to need to find 𝑑𝑢 in terms of 𝑑𝑥. We can use the fact that 𝑑𝑢 is equal to 𝑑𝑢 by 𝑑𝑥 times 𝑑𝑥. Now, since 𝑢 is equal to 𝑔 of 𝑥, 𝑑𝑢 𝑑𝑥 is therefore equal to 𝑔 prime of 𝑥. And so we get 𝑑𝑢 is equal to 𝑔 prime of 𝑥 times 𝑑𝑥.

We can rewrite our integral one-third lots of the integral times 𝑔 prime of 𝑥 over 𝑔 of 𝑥 𝑑𝑥 as one-third lots of the integral of one over 𝑔 of 𝑥 times 𝑔 prime of 𝑥 with respect to 𝑥. And now, we notice that we have 𝑔 prime of 𝑥 times 𝑑 of 𝑥 which is the same as 𝑑𝑢 of 𝑥.

So we are ready to make the substitution, remembering that 𝑢 equals 𝑔 of 𝑥 and 𝑑𝑢 is equal to 𝑔 prime times 𝑑 of 𝑥. And so we get that this is equal to one-third times the integral of one over 𝑢 𝑑𝑢. Now, all we need to do is calculate one-third times the integral of one over 𝑢 𝑑𝑢. And we get that is equal to one-third times the natural logarithm of the absolute value of 𝑢. Now, since this was an indefinite integral, we mustn’t forget to add on the constant of integration. So we get plus 𝑐 on the end.

Next, we can do the inverse of our substitution. So we have that 𝑢 is equal to 𝑔 of 𝑥. So we can substitute this back in, giving us one-third times the natural logarithm of the absolute value of 𝑔 of 𝑥 plus 𝑐. And for our final step, we can substitute back in that 𝑔 of 𝑥 is equal to 𝑥 cubed plus 21𝑥 minus five.

We get the final answer that the indefinite integral of 𝑥 squared plus seven over 𝑥 cubed plus 21𝑥 minus five with respect to 𝑥 is equal to one-third times the natural logarithm of the absolute value of 𝑥 cubed plus 21𝑥 minus five plus 𝑐.