00:01
So using integration by parts, we are going to prove a formula to be true.
00:09
So the formula, what we're going to be starting off with, is the indefinite integral of cosine to the nx, dx.
00:20
So when we perform an integration by parts, we want to pick our u, dv, d, u, and v.
00:27
So let's see what that's going to be.
00:29
We'll have a u equaling the cosine to the n minus one x that makes dv cosine cosine x dx we do that because if we combine them then it's just the same thing as this we ultimately want to get it into the form of the integral of u dv then we'll have a d u of negative n minus one cosine of n minus, uh, cosine to the n minus 2, x, sine x, x, x, and this is by taking the derivative of this right here and using chain rule.
01:25
And then we want our v, which is just going to be by taking the anti -derivative of this right here, and that's obviously just going to be the sign of x.
01:35
So now with this in mind, we want to look at our integration by parts formula, which is uv minus the integral of vdu.
01:43
So when we combine all these components, what we're going to have is uv is going to be sinex times cosine to the n minus 1x.
02:01
That's uv, and then we'll have minus the integral of vdu.
02:10
So again, we have sine x and then times du, which is just this large expression right here.
02:24
So we'll duplicate that and multiply it there.
02:28
Now that we have this in place, we can replace the sign of the sine squared of x, which will come about through multiplying these, with the equivalent expression of 1 minus cosine squared x.
02:48
So what we end up getting as a result is that this is equal to the exact same thing.
03:01
This is going to be the same.
03:03
It's going to be minus the integral.
03:08
We'll factor out the negative, so we'll make it plus the integral of n minus 1, cosine to the n minus 2 x 1 minus cosine squared x instead of sine squared x d x now that we have this uh we're going to be able to separate it into two different uh integrals because we'll multiply these out and uh that's through the distributive property that we're able to do that.
03:49
So now what we end up having is that it's equal to cosine to the n minus 1x sine x plus n minus 1 factored out times the integral of cosine n minus 2 x dx minus 1 times the integral of cosine n of n, cosine to the n of x d x.
04:28
So now that we have that in place, we see that if we add the n minus one cosine portion, we can add it right here...