1 00:00:00,000 --> 00:00:00,000 2 00:00:00,000 --> 00:00:08,870 CHRISTINE BREINER: Welcome back to recitation. 3 00:00:08,870 --> 00:00:12,850 In this video, I'd like us to practice integration by parts. 4 00:00:12,850 --> 00:00:15,580 Specifically, I'd like to solve the following four 5 00:00:15,580 --> 00:00:18,490 problems. Or I'd like you to solve the following four 6 00:00:18,490 --> 00:00:22,090 problems. I'd like us to find antiderivatives for each of 7 00:00:22,090 --> 00:00:26,340 these functions. x e to the minus x, x cubed over the 8 00:00:26,340 --> 00:00:31,160 quantity 1 plus x squared squared, arc tan x, and 9 00:00:31,160 --> 00:00:33,540 natural log x over x squared. 10 00:00:33,540 --> 00:00:36,420 And so the main goal, because we're using integration by 11 00:00:36,420 --> 00:00:39,090 parts, is to figure out what you should make u, and what 12 00:00:39,090 --> 00:00:40,970 you should make v prime. 13 00:00:40,970 --> 00:00:42,810 And why don't you give it a shot. 14 00:00:42,810 --> 00:00:43,860 Work on that for a little bit. 15 00:00:43,860 --> 00:00:46,550 I'm actually going to give you one hint, and that's that this 16 00:00:46,550 --> 00:00:49,140 one, you may want to break up in a nontraditional way. 17 00:00:49,140 --> 00:00:51,750 You may not want to break it up as x cubed 18 00:00:51,750 --> 00:00:53,350 and 1 over this function. 19 00:00:53,350 --> 00:00:55,140 You're going to want to split up this 20 00:00:55,140 --> 00:00:56,930 function in the numerator. 21 00:00:56,930 --> 00:01:00,200 Part of it will be in u, part of it will be in v prime. 22 00:01:00,200 --> 00:01:02,300 So that's my hint on number 2. 23 00:01:02,300 --> 00:01:04,180 So now with that information, I'd like you to give it a 24 00:01:04,180 --> 00:01:06,890 shot, and then I'll come back, and I'll show you how I do it. 25 00:01:06,890 --> 00:01:14,420 26 00:01:14,420 --> 00:01:16,050 OK, welcome back. 27 00:01:16,050 --> 00:01:18,360 So again, what we're looking for is antiderivatives for 28 00:01:18,360 --> 00:01:21,180 each of these four functions. 29 00:01:21,180 --> 00:01:23,590 And now, what I'm going to do, is I'm going to help you pick 30 00:01:23,590 --> 00:01:26,400 u and v prime, and then I'm going to show you 31 00:01:26,400 --> 00:01:27,680 what answer I got. 32 00:01:27,680 --> 00:01:30,140 And I'm going to let you do the work in the middle. 33 00:01:30,140 --> 00:01:32,890 So let's start off with number 1. 34 00:01:32,890 --> 00:01:35,960 35 00:01:35,960 --> 00:01:40,120 So if I have xe to the minus x integral of xe to the minus x 36 00:01:40,120 --> 00:01:45,280 dx, it's very easy to do either, to make either e to 37 00:01:45,280 --> 00:01:47,100 the minus x either u or v prime. 38 00:01:47,100 --> 00:01:48,330 Doesn't really matter. 39 00:01:48,330 --> 00:01:51,630 Because an integral of e to the minus x is going to have 40 00:01:51,630 --> 00:01:54,000 an e to the minus x again, and a derivative is going to have 41 00:01:54,000 --> 00:01:57,280 an e to the minus x again, with a minus sign in front, in 42 00:01:57,280 --> 00:01:58,010 both cases. 43 00:01:58,010 --> 00:01:59,740 But this doesn't really change. 44 00:01:59,740 --> 00:02:02,440 So we have, when we go up or down, it doesn't really matter 45 00:02:02,440 --> 00:02:04,430 if we integrate up or take a derivative. 46 00:02:04,430 --> 00:02:07,200 So really it's, we get to pick what we do with the c to the 47 00:02:07,200 --> 00:02:09,610 minus x based on what we want to do with the x. 48 00:02:09,610 --> 00:02:12,450 Well, we like taking derivatives of things that 49 00:02:12,450 --> 00:02:16,710 don't have two functions of x, so it would be nice if we 50 00:02:16,710 --> 00:02:20,600 chose our integration by parts pieces so that this thing 51 00:02:20,600 --> 00:02:22,280 wasn't there anymore. 52 00:02:22,280 --> 00:02:24,280 So let me write down, actually, before I even do 53 00:02:24,280 --> 00:02:26,360 number 1, maybe I should remind you what the 54 00:02:26,360 --> 00:02:28,590 integration by parts formula is. 55 00:02:28,590 --> 00:02:31,010 So let me just, I'll scratch that out for a second. 56 00:02:31,010 --> 00:02:32,810 And what we're doing, is we're going to have integral 57 00:02:32,810 --> 00:02:35,870 of u v prime dx. 58 00:02:35,870 --> 00:02:38,220 And if you recall what you saw in lecture, is this should be 59 00:02:38,220 --> 00:02:44,240 equal to uv minus the integral v u prime dx. 60 00:02:44,240 --> 00:02:47,000 And we'll put that plus c, because sometimes I forget to 61 00:02:47,000 --> 00:02:47,740 write it at the end. 62 00:02:47,740 --> 00:02:49,890 So I'll put it there, so I don't forget. 63 00:02:49,890 --> 00:02:52,045 So really, what we're trying to do, right, is pick the u 64 00:02:52,045 --> 00:02:53,540 and v prime. 65 00:02:53,540 --> 00:02:56,300 And so we want to make this thing, this v u prime, as 66 00:02:56,300 --> 00:02:58,030 simple as possible. 67 00:02:58,030 --> 00:03:00,700 So what I was saying is if we make this v prime or this u, 68 00:03:00,700 --> 00:03:01,870 it doesn't matter. 69 00:03:01,870 --> 00:03:05,820 So let's pick whether we want this to be u or v prime. 70 00:03:05,820 --> 00:03:09,930 Well, if I make this u, then u prime is 1. 71 00:03:09,930 --> 00:03:10,900 That's good. 72 00:03:10,900 --> 00:03:14,450 If I make it v prime, then v is x squared over 2. 73 00:03:14,450 --> 00:03:15,690 That's more complicated. 74 00:03:15,690 --> 00:03:18,480 So we obviously want to make this u. 75 00:03:18,480 --> 00:03:23,370 So for number 1, we're going to choose u is equal to x, and 76 00:03:23,370 --> 00:03:28,520 v prime is equal to e to the minus x. 77 00:03:28,520 --> 00:03:30,650 And then you can proceed from there. 78 00:03:30,650 --> 00:03:32,270 And I'll leave it at that. 79 00:03:32,270 --> 00:03:34,890 Well, actually, just to make sure we're OK, I'll even write 80 00:03:34,890 --> 00:03:38,350 u prime is equal to 1, and v is going to be equal to 81 00:03:38,350 --> 00:03:40,750 negative e to the minus x. 82 00:03:40,750 --> 00:03:43,120 So we'd be able to proceed from there, right? 83 00:03:43,120 --> 00:03:46,020 We have all the pieces we need. 84 00:03:46,020 --> 00:03:47,010 Now, number 2-- 85 00:03:47,010 --> 00:03:50,420 I'll give you the final answers at the end. 86 00:03:50,420 --> 00:03:52,540 Number 2, picking u and v prime is a little more 87 00:03:52,540 --> 00:03:53,760 complicated. 88 00:03:53,760 --> 00:03:56,920 And let's look at this function. 89 00:03:56,920 --> 00:04:00,138 x cubed over 1 plus x squared squared. 90 00:04:00,138 --> 00:04:01,388 The problem with picking-- 91 00:04:01,388 --> 00:04:03,080 92 00:04:03,080 --> 00:04:04,090 that does not look like a 2. 93 00:04:04,090 --> 00:04:04,660 Sorry. 94 00:04:04,660 --> 00:04:07,980 The problem with picking u and v prime here, is that it's 95 00:04:07,980 --> 00:04:10,780 hard to see what's going to be easy to integrate. 96 00:04:10,780 --> 00:04:15,070 So what we want to do is rewrite this as-- 97 00:04:15,070 --> 00:04:24,840 let's see-- x squared times x over 1 plus x squared squared. 98 00:04:24,840 --> 00:04:27,380 And now, why is this any better? 99 00:04:27,380 --> 00:04:28,740 Well, I mean, it's the same thing. 100 00:04:28,740 --> 00:04:31,370 But why does this help us see what we want to do? 101 00:04:31,370 --> 00:04:34,710 Well, if you notice this thing right here-- 102 00:04:34,710 --> 00:04:35,770 1 plus x squared. 103 00:04:35,770 --> 00:04:37,020 What is its derivative? 104 00:04:37,020 --> 00:04:39,260 Its derivative is 2x. 105 00:04:39,260 --> 00:04:40,960 Up here we have an x. 106 00:04:40,960 --> 00:04:45,150 So this piece right here looks like it could be much more 107 00:04:45,150 --> 00:04:49,120 easily integrated then this right here. 108 00:04:49,120 --> 00:04:52,180 So this might be a little counterintuitive, because 109 00:04:52,180 --> 00:04:54,400 we're going to take the harder-looking thing, and make 110 00:04:54,400 --> 00:04:56,990 that our v prime. 111 00:04:56,990 --> 00:04:59,620 But the nice thing is that we can actually 112 00:04:59,620 --> 00:05:01,340 integrate this quantity. 113 00:05:01,340 --> 00:05:07,400 So we choose, in this case, this is our u, and 114 00:05:07,400 --> 00:05:10,340 this is our v prime. 115 00:05:10,340 --> 00:05:11,270 So how do I integrate this? 116 00:05:11,270 --> 00:05:13,660 Well, I integrate this by using a substitution. 117 00:05:13,660 --> 00:05:16,360 And that will give me v. And the derivative of this is 118 00:05:16,360 --> 00:05:16,970 quite simple. 119 00:05:16,970 --> 00:05:17,410 It's just 2x. 120 00:05:17,410 --> 00:05:18,610 Right? 121 00:05:18,610 --> 00:05:20,550 But this is the strategy that we want here. 122 00:05:20,550 --> 00:05:23,400 Why did we even think to split that up like that? 123 00:05:23,400 --> 00:05:26,080 Well, we knew we had to deal with the denominator in some 124 00:05:26,080 --> 00:05:29,410 fashion, and taking a derivative with this in the 125 00:05:29,410 --> 00:05:34,040 denominator, so putting this part of the function in u-- 126 00:05:34,040 --> 00:05:36,370 when I look at u prime, it's going to be even worse. 127 00:05:36,370 --> 00:05:38,470 It's going to be a higher power here. 128 00:05:38,470 --> 00:05:40,720 It's going to be a cubic in the denominator. 129 00:05:40,720 --> 00:05:42,160 That's just making things worse. 130 00:05:42,160 --> 00:05:44,830 So we know we'd like to integrate this denominator. 131 00:05:44,830 --> 00:05:46,870 We'd like it to be a part of v prime. 132 00:05:46,870 --> 00:05:50,850 But the problem is that if I put all the x cubed in the u, 133 00:05:50,850 --> 00:05:54,440 and if I just had a 1 here for my v prime, that's, I can't 134 00:05:54,440 --> 00:05:55,820 really integrate that very well. 135 00:05:55,820 --> 00:05:58,790 But if I keep one of the x's, then I can integrate this 136 00:05:58,790 --> 00:06:00,920 quite simply with a substitution. 137 00:06:00,920 --> 00:06:03,640 So that's the sort of reasoning behind why we choose 138 00:06:03,640 --> 00:06:04,990 it that way. 139 00:06:04,990 --> 00:06:05,350 All right. 140 00:06:05,350 --> 00:06:07,170 We've got two more to look at, and then I'll 141 00:06:07,170 --> 00:06:09,720 give you the answers. 142 00:06:09,720 --> 00:06:10,530 3. 143 00:06:10,530 --> 00:06:10,850 OK. 144 00:06:10,850 --> 00:06:13,410 3, you've seen this trick before. 145 00:06:13,410 --> 00:06:16,500 The function was arc tan x. 146 00:06:16,500 --> 00:06:19,800 Now, you've seen this trick I'm about to do with 147 00:06:19,800 --> 00:06:21,280 natural log of x. 148 00:06:21,280 --> 00:06:23,170 The same kind of thing with natural log of x. 149 00:06:23,170 --> 00:06:26,250 You actually saw this in one of the lecture videos. 150 00:06:26,250 --> 00:06:27,900 Because there's only one function here, you might 151 00:06:27,900 --> 00:06:31,110 think, well, I have no idea what I'm supposed to pick for 152 00:06:31,110 --> 00:06:32,330 u and v prime. 153 00:06:32,330 --> 00:06:36,490 But remember, it's really arc tan x times 1. 154 00:06:36,490 --> 00:06:39,120 Now I have two functions. 155 00:06:39,120 --> 00:06:43,260 And what gives us a hint for why we would want to do this, 156 00:06:43,260 --> 00:06:45,840 is that what's the derivative of arc tan x? 157 00:06:45,840 --> 00:06:47,197 Let me just remind you. 158 00:06:47,197 --> 00:06:52,070 159 00:06:52,070 --> 00:06:56,410 d dx of arc tan x is 1 over 1 plus x squared. 160 00:06:56,410 --> 00:06:57,970 Right? 161 00:06:57,970 --> 00:07:00,490 We're back to actually an almost similar situation to 162 00:07:00,490 --> 00:07:02,560 what we had in the previous thing. 163 00:07:02,560 --> 00:07:04,990 d dx of arc tan x is 1 over 1 plus x squared. 164 00:07:04,990 --> 00:07:08,640 So taking a derivative of this puts it in a form that almost 165 00:07:08,640 --> 00:07:09,600 looks easy to integrate. 166 00:07:09,600 --> 00:07:11,920 What would make this function easy to integrate? 167 00:07:11,920 --> 00:07:14,310 If there was an x up here, instead of a 1. 168 00:07:14,310 --> 00:07:15,830 Then I could use substitution. 169 00:07:15,830 --> 00:07:18,710 Where do we get that x from when we're solving this 170 00:07:18,710 --> 00:07:20,940 problem, where we're actually finding an 171 00:07:20,940 --> 00:07:22,930 antiderivative of arc tan x? 172 00:07:22,930 --> 00:07:27,070 Well, it's going to come from the fact that I make this u, 173 00:07:27,070 --> 00:07:29,210 and I make 1 v prime. 174 00:07:29,210 --> 00:07:31,620 So let me write that out explicitly. 175 00:07:31,620 --> 00:07:36,790 u I make arc tan x, and v prime I make 1. 176 00:07:36,790 --> 00:07:38,910 What does that do in our formula? 177 00:07:38,910 --> 00:07:41,550 Well, we're going to be integrating 178 00:07:41,550 --> 00:07:44,990 something that is v u prime. 179 00:07:44,990 --> 00:07:49,070 Well, v is going to be x, and u prime we see right here. 180 00:07:49,070 --> 00:07:51,530 So it's going to be, I'm going to be integrating x over 1 181 00:07:51,530 --> 00:07:53,470 plus x squared when I started doing the 182 00:07:53,470 --> 00:07:55,200 integration by parts method. 183 00:07:55,200 --> 00:07:57,500 That's much simpler, as we talked about previously, 184 00:07:57,500 --> 00:07:59,830 because the derivative of x squared is 2x, and you have an 185 00:07:59,830 --> 00:08:03,250 x in the numerator when you put in that v. 186 00:08:03,250 --> 00:08:07,190 So this is sort of the flavor of how these things are 187 00:08:07,190 --> 00:08:08,475 actually working. 188 00:08:08,475 --> 00:08:12,410 So let me do the final one here. 189 00:08:12,410 --> 00:08:16,950 We have ln x over x squared. 190 00:08:16,950 --> 00:08:17,960 OK. 191 00:08:17,960 --> 00:08:20,240 Let me just tell you right now. 192 00:08:20,240 --> 00:08:23,290 In integration by parts, natural log x is not something 193 00:08:23,290 --> 00:08:25,360 you want to make the v prime. 194 00:08:25,360 --> 00:08:27,180 You don't want to try and take an antiderivative. 195 00:08:27,180 --> 00:08:30,480 You know an antiderivative of natural log of x. 196 00:08:30,480 --> 00:08:31,560 x ln x minus x. 197 00:08:31,560 --> 00:08:34,660 But that's certainly not going to make things any easier. 198 00:08:34,660 --> 00:08:34,720 Right? 199 00:08:34,720 --> 00:08:37,900 You're actually, then you've got a product of two functions 200 00:08:37,900 --> 00:08:38,460 all of a sudden. 201 00:08:38,460 --> 00:08:40,700 Everything's getting more complicated. 202 00:08:40,700 --> 00:08:43,490 But natural log of x has a very nice derivative, because 203 00:08:43,490 --> 00:08:46,300 you end up with something that has just a power of x. 204 00:08:46,300 --> 00:08:49,540 Derivative of natural log of x, just 1 over x. 205 00:08:49,540 --> 00:08:52,720 So that's probably the way you always want to go when you see 206 00:08:52,720 --> 00:08:55,370 natural log of x in these integration by parts 207 00:08:55,370 --> 00:08:56,650 techniques. 208 00:08:56,650 --> 00:09:01,730 Because if I choose u is equal to ln x, and then v prime. 209 00:09:01,730 --> 00:09:04,890 In this case, I'm going to write it as a power. 210 00:09:04,890 --> 00:09:06,690 Let's think about what happened. 211 00:09:06,690 --> 00:09:09,050 u prime is 1 over x, right? 212 00:09:09,050 --> 00:09:11,500 So u prime is x to the minus 1. 213 00:09:11,500 --> 00:09:12,430 What's v? 214 00:09:12,430 --> 00:09:14,900 Well, it's something like, let's see. 215 00:09:14,900 --> 00:09:16,340 Negative x to the minus 1. 216 00:09:16,340 --> 00:09:17,340 Something like that, right? 217 00:09:17,340 --> 00:09:18,710 Let's make sure I did that right. 218 00:09:18,710 --> 00:09:20,410 Yeah, I think I did that right. 219 00:09:20,410 --> 00:09:23,770 So all of a sudden, if I integrate v u prime, that's 220 00:09:23,770 --> 00:09:24,750 just a power rule. 221 00:09:24,750 --> 00:09:27,820 It's x to the minus 2, negative x to the minus 2. 222 00:09:27,820 --> 00:09:31,120 So that's quite easy to integrate. 223 00:09:31,120 --> 00:09:35,150 So again, when I see natural log of x in an integration by 224 00:09:35,150 --> 00:09:39,400 parts method, almost always, I hate to say always, almost 225 00:09:39,400 --> 00:09:41,210 always, almost a guarantee that you want to take a 226 00:09:41,210 --> 00:09:42,050 derivative. 227 00:09:42,050 --> 00:09:45,030 You want to make that the u. 228 00:09:45,030 --> 00:09:47,300 So hopefully that makes sense, some of these strategies. 229 00:09:47,300 --> 00:09:50,110 I tried to pick ones that were somewhat different, so you 230 00:09:50,110 --> 00:09:52,950 could see some different types of strategies we needed. 231 00:09:52,950 --> 00:09:54,830 And now I've done these earlier. 232 00:09:54,830 --> 00:09:56,760 So I'm just going to write down what the answers actually 233 00:09:56,760 --> 00:10:01,050 are, and you can compare to what you got. 234 00:10:01,050 --> 00:10:03,064 So the answer to number 1, just to check. 235 00:10:03,064 --> 00:10:09,770 236 00:10:09,770 --> 00:10:11,430 Number 2. 237 00:10:11,430 --> 00:10:13,200 Some of these are kind of long. 238 00:10:13,200 --> 00:10:26,910 239 00:10:26,910 --> 00:10:28,160 Number 3. 240 00:10:28,160 --> 00:10:36,910 241 00:10:36,910 --> 00:10:38,160 Number 4. 242 00:10:38,160 --> 00:10:45,720 243 00:10:45,720 --> 00:10:46,736 So let's just go through. 244 00:10:46,736 --> 00:10:50,370 We get, In number 1, we get negative x e to the minus x 245 00:10:50,370 --> 00:10:52,930 minus e to the minus x plus c. 246 00:10:52,930 --> 00:10:56,300 Number 2, we get negative x squared over 2 times 1 plus x 247 00:10:56,300 --> 00:11:01,480 squared plus 1/2 natural log 1 plus x squared plus c. 248 00:11:01,480 --> 00:11:06,210 3 is x arc tan x minus 1/2 natural log of the quantity 1 249 00:11:06,210 --> 00:11:10,400 plus x squared plus c, and 4 is negative natural log x over 250 00:11:10,400 --> 00:11:15,290 x minus 1 over x plus c. 251 00:11:15,290 --> 00:11:18,640 So again, the whole point of this exercise, in my mind, is 252 00:11:18,640 --> 00:11:21,800 really to make sure we get a good understanding of, when 253 00:11:21,800 --> 00:11:24,440 we're doing integration by parts, which function makes 254 00:11:24,440 --> 00:11:27,115 the most sense to have as u, and which function makes the 255 00:11:27,115 --> 00:11:28,280 most sense to have as v prime. 256 00:11:28,280 --> 00:11:30,470 So that was the main point of this exercise. 257 00:11:30,470 --> 00:11:33,770 Hopefully you're starting to get a flavor for how these 258 00:11:33,770 --> 00:11:35,340 problems actually work. 259 00:11:35,340 --> 00:11:37,770 And I think I will stop there. 260 00:11:37,770 --> 00:11:37,831