1 00:00:00,000 --> 00:00:06,960 2 00:00:06,960 --> 00:00:07,360 Hi. 3 00:00:07,360 --> 00:00:09,030 Welcome back to recitation. 4 00:00:09,030 --> 00:00:10,596 In lecture, you've been learning about computing, 5 00:00:10,596 --> 00:00:15,600 rather not computing, but determining whether series 6 00:00:15,600 --> 00:00:18,580 converge or diverge, and different tests for that. 7 00:00:18,580 --> 00:00:20,470 In particular, you've learned the integral test. 8 00:00:20,470 --> 00:00:24,270 So here are a couple of series that you haven't seen before. 9 00:00:24,270 --> 00:00:27,170 The sum from n equals 2 to infinity. 10 00:00:27,170 --> 00:00:29,990 2, just so I don't have any funny business here, of 11 00:00:29,990 --> 00:00:33,320 dividing by 0, of 1 over n times log of n. 12 00:00:33,320 --> 00:00:36,560 And a second series, sum from n equals 2 to infinity of 1 13 00:00:36,560 --> 00:00:39,970 over n times log of n quantity squared. 14 00:00:39,970 --> 00:00:42,360 So the question is, do these series converge or diverge? 15 00:00:42,360 --> 00:00:45,500 So why you pause the video, take some time to work on this 16 00:00:45,500 --> 00:00:47,620 question, come back, and we can work on it together. 17 00:00:47,620 --> 00:00:56,710 18 00:00:56,710 --> 00:00:57,550 Welcome back. 19 00:00:57,550 --> 00:01:00,890 Before you left, I gave you a little hint that these might 20 00:01:00,890 --> 00:01:04,690 be questions that are amenable to the integral test. One 21 00:01:04,690 --> 00:01:07,760 thing we can do, you know, if you, if I hadn't given you 22 00:01:07,760 --> 00:01:09,830 that hint, how could you figure this out? 23 00:01:09,830 --> 00:01:12,910 Well, you can look at these integrands. 24 00:01:12,910 --> 00:01:15,190 And that there don't really look a lot like anything 25 00:01:15,190 --> 00:01:16,800 you've seen before. 26 00:01:16,800 --> 00:01:20,400 But the associated functions, right, so this is the 27 00:01:20,400 --> 00:01:28,240 associated function, 1 over x log x. 28 00:01:28,240 --> 00:01:31,760 This continuous function is a function that we have-- 29 00:01:31,760 --> 00:01:35,080 you know, it looks sort of like some things that we've 30 00:01:35,080 --> 00:01:35,920 integrated before. 31 00:01:35,920 --> 00:01:38,720 So that's one hint for the integral test. Another hint 32 00:01:38,720 --> 00:01:40,710 for the integral test is, you just don't know very many 33 00:01:40,710 --> 00:01:42,280 tests right now. 34 00:01:42,280 --> 00:01:46,780 So it's kind of a small selection of options. 35 00:01:46,780 --> 00:01:49,520 Another thing is that, you know, it's not going to be a 36 00:01:49,520 --> 00:01:50,520 nice series. 37 00:01:50,520 --> 00:01:52,700 It's not going to have a nice numerical value. 38 00:01:52,700 --> 00:01:55,890 This log n thing is behaving badly. 39 00:01:55,890 --> 00:01:59,060 You're not going to be able to compute values, exact values, 40 00:01:59,060 --> 00:02:02,220 of the partial sums, any nicer than they looked just by 41 00:02:02,220 --> 00:02:03,390 writing down that sum. 42 00:02:03,390 --> 00:02:03,700 So OK. 43 00:02:03,700 --> 00:02:07,000 So after we've got the idea of the integrals-- 44 00:02:07,000 --> 00:02:08,680 that's how we get the idea for the integral test. Now that 45 00:02:08,680 --> 00:02:11,550 we've got the idea for the integral test, what do we do? 46 00:02:11,550 --> 00:02:16,330 Well, we know that this series converges if and only if the 47 00:02:16,330 --> 00:02:19,450 associated definite integral, the associated improper 48 00:02:19,450 --> 00:02:21,120 definite integral converges. 49 00:02:21,120 --> 00:02:24,050 So let's do the first one first. What's the integral 50 00:02:24,050 --> 00:02:24,960 associated with it? 51 00:02:24,960 --> 00:02:30,550 Well, we take the integrand, and, you know, we frequently, 52 00:02:30,550 --> 00:02:33,260 we replace the variable n with the variable x, although that 53 00:02:33,260 --> 00:02:34,230 doesn't really matter. 54 00:02:34,230 --> 00:02:37,670 And so what we do, is we look at the integral of this 55 00:02:37,670 --> 00:02:42,330 integrand over the same region. 56 00:02:42,330 --> 00:02:44,850 So in this case, from 2 to infinity. 57 00:02:44,850 --> 00:02:49,130 And so what we know is that this sum converges if and only 58 00:02:49,130 --> 00:02:51,160 if this integral does. 59 00:02:51,160 --> 00:02:55,860 So then, the reason this is a nice thing to do, is that 60 00:02:55,860 --> 00:02:58,580 often there are integrals that are easy to compute, while the 61 00:02:58,580 --> 00:03:00,850 associated series are hard to compute. 62 00:03:00,850 --> 00:03:04,490 So in this case, this is an integral that we have tools to 63 00:03:04,490 --> 00:03:05,370 know, to compute with. 64 00:03:05,370 --> 00:03:09,030 And in particular, the tool that we have, is that there's 65 00:03:09,030 --> 00:03:11,460 a simple little substitution that will work on this series. 66 00:03:11,460 --> 00:03:14,870 So that's the substitution, u equals log x. 67 00:03:14,870 --> 00:03:20,430 So we make the substitution u equals ln of x. 68 00:03:20,430 --> 00:03:29,180 Then du is equal to 1 over x times dx. 69 00:03:29,180 --> 00:03:34,950 So this is the integral of-- so 1 over x dx, that's du. 70 00:03:34,950 --> 00:03:38,880 And so it's 1 over u du. 71 00:03:38,880 --> 00:03:40,520 This is a definite integral, so I also need 72 00:03:40,520 --> 00:03:41,760 to change my bounds. 73 00:03:41,760 --> 00:03:48,040 So when x is 2, u is ln of 2, although the lower bound 74 00:03:48,040 --> 00:03:50,210 doesn't really matter very much when we do the integral 75 00:03:50,210 --> 00:03:52,980 test, because you know, if you change it a little bit, that's 76 00:03:52,980 --> 00:03:55,680 not going to change the, you know-- 77 00:03:55,680 --> 00:03:58,150 as long as you don't move it across a place where the 78 00:03:58,150 --> 00:04:01,730 function explodes, all the interesting stuff is whether 79 00:04:01,730 --> 00:04:04,480 the function is big as it goes to infinity. 80 00:04:04,480 --> 00:04:07,820 So if you move a little round at the bottom, you'll change 81 00:04:07,820 --> 00:04:10,590 its numerical value, but you won't change whether it 82 00:04:10,590 --> 00:04:11,760 converges or diverges. 83 00:04:11,760 --> 00:04:13,590 But in any case, ln of 2. 84 00:04:13,590 --> 00:04:16,340 And then when x goes to infinity, ln of x goes to 85 00:04:16,340 --> 00:04:19,329 infinity, so the upper bound is also u equals infinity. 86 00:04:19,329 --> 00:04:21,180 And now this is an easy integral. 87 00:04:21,180 --> 00:04:26,610 This is just ln of u between-- 88 00:04:26,610 --> 00:04:28,190 well, ln 2, which again, really 89 00:04:28,190 --> 00:04:30,100 doesn't matter, and infinity. 90 00:04:30,100 --> 00:04:33,350 And we see that at the upper bound, we get ln of infinity, 91 00:04:33,350 --> 00:04:34,560 which is infinity. 92 00:04:34,560 --> 00:04:38,750 So this thing is infinity. 93 00:04:38,750 --> 00:04:42,930 So our original series diverges. 94 00:04:42,930 --> 00:04:46,440 95 00:04:46,440 --> 00:04:46,770 OK. 96 00:04:46,770 --> 00:04:49,580 So we've applied the integral test here, and we've found 97 00:04:49,580 --> 00:04:51,810 that our series diverges. 98 00:04:51,810 --> 00:04:53,770 What about this second one? 99 00:04:53,770 --> 00:04:56,870 Well, here, we can again apply the integral test, the 100 00:04:56,870 --> 00:04:58,110 similar-looking integrand. 101 00:04:58,110 --> 00:05:01,950 And in fact, so we get, so the integral that we want to look 102 00:05:01,950 --> 00:05:08,480 at is the integral from 2 to infinity of 1 over x times log 103 00:05:08,480 --> 00:05:11,120 of x squared dx. 104 00:05:11,120 --> 00:05:13,680 And the same substitution is going to work here. 105 00:05:13,680 --> 00:05:18,850 So we're going to use the substitution u equals ln x, du 106 00:05:18,850 --> 00:05:23,810 equals 1 over x times dx. 107 00:05:23,810 --> 00:05:28,150 And the bounds are going to be the same. ln 2 to infinity. 108 00:05:28,150 --> 00:05:28,290 OK. 109 00:05:28,290 --> 00:05:30,080 But what happens when we make this substitution? 110 00:05:30,080 --> 00:05:33,280 Well, the 1 over x dx is still the du. 111 00:05:33,280 --> 00:05:37,190 But then here, this time, we have 1 over u squared, right? 112 00:05:37,190 --> 00:05:41,220 Because we've got an ln of x squared, and u is ln x. 113 00:05:41,220 --> 00:05:41,940 So OK. 114 00:05:41,940 --> 00:05:43,560 So we get 1 over u squared. 115 00:05:43,560 --> 00:05:45,700 So again, this is easy to integrate. 116 00:05:45,700 --> 00:05:50,580 So this is 1 over u squared, so that's going to be minus 1 117 00:05:50,580 --> 00:05:57,440 over u when we integrate it between ln 2 and infinity. 118 00:05:57,440 --> 00:05:57,650 OK. 119 00:05:57,650 --> 00:06:00,980 So we take the two values here, as u goes to infinity, 120 00:06:00,980 --> 00:06:03,470 minus 1 over u goes to 0. 121 00:06:03,470 --> 00:06:07,560 So this is 0 minus, and now with the lower bound, it's 122 00:06:07,560 --> 00:06:14,420 minus 1 over ln 2, and this is just ln 2. 123 00:06:14,420 --> 00:06:18,870 So this integral converges to a nice finite value, ln of 2, 124 00:06:18,870 --> 00:06:21,740 so that means the sum converges as well. 125 00:06:21,740 --> 00:06:22,220 All right? 126 00:06:22,220 --> 00:06:25,180 And in fact, if you go back and look at the lecture video, 127 00:06:25,180 --> 00:06:27,540 you'll see that you can actually bound the value of 128 00:06:27,540 --> 00:06:30,580 the sum in terms of this value, ln of 2, the value of 129 00:06:30,580 --> 00:06:34,530 the integral, and the first terms of the sum. 130 00:06:34,530 --> 00:06:36,780 I realized that I should have said one thing at the 131 00:06:36,780 --> 00:06:38,710 beginning, which is that we didn't check that the 132 00:06:38,710 --> 00:06:42,070 hypotheses of the integral test are valid here. 133 00:06:42,070 --> 00:06:45,230 So remember that the integral test only applies if this 134 00:06:45,230 --> 00:06:50,550 function that you use is a decreasing positive function 135 00:06:50,550 --> 00:06:52,070 on the interval in question. 136 00:06:52,070 --> 00:06:54,180 And I didn't actually check those conditions. 137 00:06:54,180 --> 00:06:55,840 They're easy to see in this case, right? 138 00:06:55,840 --> 00:06:59,480 Because for n bigger than 2, n is positive and increasing, 139 00:06:59,480 --> 00:07:02,060 and log n is positive and increasing, so the product is 140 00:07:02,060 --> 00:07:04,950 positive and increasing, so there the 1 over it is 141 00:07:04,950 --> 00:07:06,310 positive and decreasing. 142 00:07:06,310 --> 00:07:10,220 So it's easy to check, in this case, that that the conditions 143 00:07:10,220 --> 00:07:12,920 of the integral test apply. 144 00:07:12,920 --> 00:07:16,380 In the, when you're doing this out in the real world, if you 145 00:07:16,380 --> 00:07:17,700 ever want to apply the integral test, that's 146 00:07:17,700 --> 00:07:21,090 something you should check yourself before you go and 147 00:07:21,090 --> 00:07:22,450 apply it to anything. 148 00:07:22,450 --> 00:07:24,200 Make sure that you really have a function to 149 00:07:24,200 --> 00:07:25,820 which it does apply. 150 00:07:25,820 --> 00:07:28,210 But then, once you have a function to which it does 151 00:07:28,210 --> 00:07:30,780 apply, especially if it's a nice, easy to integrate 152 00:07:30,780 --> 00:07:33,350 function like this, you can easily apply it. 153 00:07:33,350 --> 00:07:35,060 And in this case, we applied it both directions. 154 00:07:35,060 --> 00:07:37,920 We saw an integral where the integral diverges, and an 155 00:07:37,920 --> 00:07:39,430 integral where the integral converges. 156 00:07:39,430 --> 00:07:43,050 And so the corresponding sums, the first one will diverge and 157 00:07:43,050 --> 00:07:45,440 the second one will converge. 158 00:07:45,440 --> 00:07:47,100 I'll end there. 159 00:07:47,100 --> 00:07:47,334