1. Home
  2. Explore
  3. Mathematics
  4. Integration Techniques

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Integration Techniques

Transcript

In this lesson, we're gonna take a look at several integration techniques that are gonna help us evaluate integrals that we may not have been able to approach before. So the first thing we're gonna look at, or the first technique we're gonna look at is splitting up a fraction. So let's take a look at this integral. I'm asked to evaluate the integral from 2 to 4 of x + 2 over x. So in the past, perhaps you would have attempted to use u substitution on this problem. So let's see what happens if we try to do that. So we might try letting u = x + 2, in which case du = dx, right? So that would take care of the top of the fraction, and my dx becomes a du. But of course, I still have this x in the denominator that I need to do something with.

So, in the past, we've done something that is sometimes called back substitution. We could say that x = u- 2, right? If we just rearrange this expression here. And so we'd end up with this integral with some bounds of course, but we don't know how to solve this one either, right? So u substitution is not particularly helpful in this case. So, let me show you what it looks like to split up a fraction, and we'll see why that could be helpful in a lot of integrals.

So splitting up a fraction, any time you have multiple terms in the numerator, you can split up the fraction. So I can write this as x over x + 2 over x. And now, I will simplify this. This becomes 1 + 2 over x, dx and now I have an integral that I can evaluate. So I know the anti-derivative of 1 is just x and 2 over x is gonna give me +2. Natural log of the absolute value of x and then I'm evaluating between 2 and 4, so if I plug in 4, I get (4+2ln4)- (2+2ln2). So it looks like in the end, I've got a 4- 2. So 2 + 2ln4- 2ln2, and I can simplify this even a little bit more.

These coefficients here in front of my natural logs I can make those exponents. So this becomes then the natural log of 4 squared minus natural log of 2 squared. So that's the natural log of 16 minus the natural log of 4. And then I can use yet another property of natural logs to combine the subtraction, and write this as a natural log of 16 over 4. So, this becomes the end 2 + nl4.

Okay, so we see here how splitting up the fraction got us to a form that we could easily find the anti-derivative of. Let's look at one more example of splitting up a fraction. Here I have the integral of sine x + cosine cubed of x, all over cosecant x. So you could try using u substitutions on this problem, I don't think you'd get very far with it, but let's see what happens if we split up this integral.

So I can write this as the integral of sine x over cosecant x + cos cubed x over cosecant x. Now I wanted to show you this problem in particular because there's gonna be a lot of tricks using trig that we're gonna have to use. We're going to need to remember a lot of trig identities. So, the first thing we need to remember is that the cosecant is 1 over sine. So cosecant x equals 1 over sine of x.

So then, what I have for example in this first fraction, is sine x over, 1 over sine x. All right so, what I'm gonna do is I'm gonna flip this denominator, flip this denominator here. So then this is gonna become sine x times sine x for my first term. And then + cosine cubed x times sine x. Which I can then write as sine squared of x + sine x cosine cubed x. And we're actually gonna think about each of those terms separately. Because we're gonna have to use a different technique

to find the antiderivative of each term. So we'll think about the integral of sine squared of x, + the integral of sine x, cosine cubed x. So let's start with the integral of sine squared x. How in the world am I gonna integrate that, right? This is sine of x squared, but if I let u equal sine of x, then du would equal cosine x, but there's no cosine in this anti-derivative here for me to substitute for. So, u substitution doesn't look like it's going to be helpful. Actually what we're gonna wanna to use here is another trig identity.

This is called a half angle formula, and they come up fairly often in integrals, so it's a good thing to know. So sine squared of x is = to 1 minus cosine 2x over 2. There is a similar formula for the cosine squared, okay? These are called half angle formulas. So what I'm gonna do is I'm gonna rewrite my first integral using that half angle formula. So I'm gonna rewrite sine squared x as 1 minus cosine 2x all over 2 dx. And then I can pull a factor of one half out front and

I"ll simply have the integral of 1 minus cosine 2x dx. And let's go ahead and evaluate that. Of course the anti-derivative of 1 is just x. And here I'm gonna get a one half sine of 2x. So now we just need to go back and take care of this other integral. So we have the integral of sine x cosine cubed x. And actually use substitution is gonna work great here. What we can do is we can let u equal the cosine of x.

So du would be -sine of x. And I have a sine of x right here. All right so this is gonna become, I need to introduce a negative sign, negative integral of u cubed du. Which is going to give me negative one-fourth u to the fourth. + c and then of course u is cosine x. So it looks like we get then, + one-fourth cosine to the 4th x + c.

So here we had to both split up the fraction and use some trig identities to evaluate the integral. The next technique that we're gonna look at, I'm gonna call multiplying by 1. And that may sound a little strange but I'll show you what I mean. So let's take a look at this example here. I've got the integral of 1 over e to the x + e to the -x.

So you might first of all if you were just given this integral without any direction at all. Perhaps, you would try a u substitution. Okay, so maybe you'd let u = e to the x. Du then would = e to the x. So that doesn't look like it's gonna work. Maybe we let u equal e to the x + e to the -x. Well then, du would be e to the x- e to the -x dx. But I certainly don't have that factor anywhere in my integral to substitute for. So it doesn't look like we would get very far with the u substitution, at least not with the ones we tried. So let me show you a method that will be helpful here.

I'm gonna multiply top and bottom by the same thing, and that's what I mean when I say multiply by 1, can multiply the top and bottom of the fraction by the same thing. And in this case, what I am going to do is multiply the top and bottom by e to the x. Okay, so let's follow through with that. We'll have an e to the x on top. On the bottom, I will have to distribute. So I have e to the x times e to the x which is e to the 2x power.

And then e to the x times e to the x -x is 1. So I end up with this new fraction here. So now that we have a new expression. Let's try a u substitution again. So choosing what to make u here is perhaps a little challenging. Let me write this another way, we could also write this as e to the x over e to the x quantity squared + 1. That would be an equivalent way to write this. So let's see what happens if we let u just equal e to the x.

So if we do that, du is gonna be e to the x of course dx and that's nice, right? Because I see that right here on top. Okay, so let's see what happens if we make our substitution. So my e to the x dx here becomes du.

And then on the bottom I'm gonna have u squared + 1. Now hopefully you'll recognize this form. This is a form that we have a basic integration formula for so let me remind you of that. The integral of 1 over a squared + x squared = 1 over a, inverse tangent of x over a + c. And here we have this form. Right, u is our variable, we have u squared, that's like my x squared + 1. Okay, so here a just equals 1. Right, 1 squared is 1. So then what am I gonna get here? 1 over a, well that's just 1 over 1 inverse tangent of x over a. So here u over 1 and then + C and then as my last step, I just need to remember to put back in my original variable so

u was e to the x so this becomes inverse tangent e to the x + C, as my final answer. So, here multiplying both the top and the bottom by the same expression which is what we mean by multiplying by one, allowed us to get to the point where we could use a u substitution to solve the problem. Let's look at one more example where we have to multiply top and bottom by the same thing.

So here I'm asked to evaluate the integral from pi over 3 to 2 pi over 3 of 1 over 1 + cosine theta d theta. Now you can try u substitution in this case, but you're not gonna get very far. If you take the derivative of cosine theta, you're gonna get sine theta, but no sine theta appears in the problem. And so we have to try something different of some sort. So what I am going to do here, so I've got 1 over 1 + cosine theta, I'm gonna multiply top and bottom by the same thing, and what I'm gonna choose is 1 -cosine theta. And that might seem kind of a strange choice but in a second you'll see why it's going to make things work out really nicely for us.

All right, so if we follow through with this, we're going to have a 1- cosine theta on the top. And on the bottom, I'm gonna have to foil. Okay. So my first term's gonna give me 1. My outer terms are -cosine theta, +cosine theta. So those subtract away. And then I'm gonna have -cosine squared theta.

So here's another place that knowing trig identities is gonna come in really handy. There's a trig identity, a very famous one. It says that sine squared theta + cosine squared theta = 1. Which, of course, would imply that sine squared theta was 1- Cosine squared theta. So if I use that identity, I can rewrite the bottom of my fraction, so that I have 1- cosine theta over sine squared theta.

Now think about where we might want to go from here. Does this look like anything else we've looked at today? This looks like something where it might be helpful to try to break up the fraction, because I have these multiple terms in the numerator over a single term in the denominator. So it's at least something I could try. So let's see if it's helpful in this case. So if I break up this fraction, I'm going to get 1 over sine squared theta- cosine theta over sine squared theta.

Now I'm actually going to rewrite both of these using some trig identities. So, recall that 1 over the cosecant, or actually, let me back up and write this a different way. 1 over sine of theta is cosecant of theta. So then using that fact, I can rewrite this first term as the cosecant squared of theta.

What about the second term? Let's look at this out to the side for a second. I could write this as cosine theta over sine theta times 1 over sine theta. Now cosine theta over sine theta is the cotangent, right, the inverse, or I should say the reciprocal of the tangent. And then we just said 1 over sine of theta was cosecant of theta. So, then what I end up with is the integral of cosecant squared theta,- cosecant theta, cotangent theta.

Now I'm at a point where I can go ahead, and take the antiderivative because both of these terms just have a basic antiderivative formula. So the antiderivative of cosecant squared is the cotangent, the negative cotangent. So here I'm just gonna get negative cotangent of theta. And then the antiderivative of cosecant theta, cotangent theta, is -cosecant theta. So, minus a negative, it's gonna be giving me a positive cosecant theta.

And then I'm evaluating from pi over 3 to 2 pi over 3. So I just finish by plugging in these bounds. So negative cotangent of 2 pi over 3 + cosecant of 2 pi over 3- the quantity negative cotangent of pi over 3- cosecant of pi over 3, that is + cosecant of pi over 3.

And we'll stop here for this problem. So to review, what we did here was multiply top and bottom by the same expression and then from there we used a series of trig identities to rewrite this in a way we could take the antiderivative of. Let's take a look at another technique that can be useful in integration. So, what I have here is I have the integral of x squared + 3x- 2 over x + 7. So, what might you try in this case?

Well, perhaps you would try u substitution. Maybe you'd let u equal this quadratic, x squared + 3x- 2. In which case, du would be 2x + 3. Dx. But that doesn't really look promising. I have this x + 7 at the bottom but I never want my du to be the denominator so that's not gonna work. And if I were to let u equal x + 7, that wouldn't get me anywhere.

So it looks like I need some other approach. And the approach that we're gonna use here is actually What would we would call long division. So I'm actually going to do long division on x squared + 3x- 2 / x + 7 and that will allow me to rewrite this rational function and maybe then I can evaluate the integral.

So it's probably been a while since you've seen long division like this, so let's work through this. So I'm taking x squared + 3x- 2, and I'm dividing it by x + 7. So, how does this work? Well, what I'm gonna do, is I'm gonna look at this x here and this x squared. And I'm gonna ask myself, how many times doea x go into x squared or another way to think about it is x times what equals x squared. So, the answer to that question is x. So, I'm going to put an x right up here.

Then my next step is I'm going to take what I just wrote up here, x in this case, and I'm going to multiply it by x + 7. So x times x + 7 is gonna give me x squared + 7x. And then I'm gonna subtract that quantity down below here. Okay. So, x squared- x squared is just 0. And then I've got 3x- 7x so that gives me -4x and then I can bring down this -2. And then I do the same thing again but now I'm looking and asking myself. I'm still looking at x out here and

I'm asking myself how many times does x go into a negative 4x. Well, that's going to be -4, so I put my -4 up here. And then I take -4 and multiply by x + 7, which is going to give me -4x- 28.and I subtract that whole quantity. So, -4x- -4x is 0, so those cancel.

And then I have -2- -28, which gives me +26. And now I'm finished, because x will not go into 26. Okay. So what just happened is I divided these polynomials and the result was x- 4 with a remainder of 26. And the way I write my remainder is + 26 over x + 7.

So now I can rewrite my integral using this result. So I can say that my integral from before is equal to the integral of x- 4 + 26 over x+7. And that is something that I can evaluate pretty straightforwardly. So the anti-derivative of x, of course, is just 1/2 x squared. And then I have a -4x.

Plus, I have a constant of 26, and then the anti-derivative of 1 over x + 7 is gonna be the natural log of of the absolute value of x + 7 + c. So this is my result in this case. So once again, what we did here is we used long division to rewrite this rational function. Now long division is gonna work when the degree of the numerator is greater than the degree of the denominator.

Or also when the degree of the numerator and denominator are equal. Long division would also work in that case. Let's take a look at one last technique together. So here I've got the integral of 1 over x squared minus 6x plus 13dx. So, what's gonna happen here? Well, I could let u equal the denominator, but then du would be (2x-6)dx, but there's no other x's to substitute for in the problem.

Long division isn't gonna work. I don't have a polynomial in the numerator. So it looks like I need some other approach in this case. And what we're actually gonna do is we are going to complete the square in the denominator. So it's probably been awhile since you've completed a square, but this is a really, really useful skill.

So completing the square is just a way to rewrite a quadratic. Okay, so this is how it's gonna work. I am going to, I've got x squared + 6x +, and I'm gonna add something here. Some special magical number that's gonna make this all work out very nicely, but so that I don't change the expression, I'm gonna have to end up subtracting that number as well.

Okay, so let me tell you how to find that special magical number. So what you're gonna do is you're going to look at the coefficient of the x, of the linear term, which in this case is 6, technically it's -6. Although the sign isn't really going to matter, in this case, so I'm gonna take that -6 and divide it by 2. And then, square that, okay? So, just take that coefficient, divide by 2 and square it. So, in this case, that is going to give me -3 squared, which is 9, and 9 is my special number.

So, I'm gonna add 9 here. And I'm gonna subtract 9 as well, so that technically I don't change the expression. Okay, so then, what I have is I have x squared- 6x + 9 and I'm gonna group those terms together, and then I have this + 13- 9, which is just +4. We'll put that out to the side for now. So why is nine so special? Well this expression here, this x squared- 6x + 9, if we did our work correctly, this should now be what we call a perfect square. It should be able to be factored as a perfect square. And if you check, this actually factors into (x-3)(x-3).

So then this becomes (x-3) quantity squared + 4, okay? So that's why this is called completing a square. All right, now we've got this binomial that's squared. So I'm gonna rewrite my integral then, using what we just discovered. This is now 1 over (x-3) quantity square + 4 dx. Well hopefully you recognize that form. This is a basic anti-derivative form that we should know. To remind you of that one more time, at the integral of 1 over x squared + a squared dx is 1 over a inverse tangent of x over a + c.

And that's the form we have here. We have something squared, a variable expression squared, plus a number squared. So let's just do a little u substitution here, just to make it match this form. More exactly, we'll let u = x-3. So then du = dx, so I've got the integral of 1 over u squared +, and I'm gonna write this is 2 squared.

Okay, so if I take that anti-derivative, I'm gonna get 1 over 2 inverse tangent of u over 2 + c. And then of course I wanna put back into my u, so this becomes 1/2 inverse tangent of x-3 over 2 + c. All right so in this case, completing the square put this in a form that we knew how to take the anti-derivative of.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent