1 00:00:00,000 --> 00:00:07,250 2 00:00:07,250 --> 00:00:08,960 PROFESSOR: Welcome back to recitation. 3 00:00:08,960 --> 00:00:11,090 Today what I'd like to do is work 4 00:00:11,090 --> 00:00:14,360 on using Riemann sums to approximate definite integrals. 5 00:00:14,360 --> 00:00:16,632 So, what we're going to do first is 6 00:00:16,632 --> 00:00:18,340 I'm going to let you work on the problem. 7 00:00:18,340 --> 00:00:19,400 So, let me state the problem. 8 00:00:19,400 --> 00:00:20,900 I'll give you a little time to work on it. 9 00:00:20,900 --> 00:00:21,940 And then I'll come back. 10 00:00:21,940 --> 00:00:23,620 So the problem is the following. 11 00:00:23,620 --> 00:00:28,010 We want to use four subintervals and left endpoints 12 00:00:28,010 --> 00:00:30,600 to approximate the following definite integral: 13 00:00:30,600 --> 00:00:34,150 the integral from minus 1 to 3 of the function x cubed. 14 00:00:34,150 --> 00:00:36,420 And I've drawn a rough sketch of what x cubed, 15 00:00:36,420 --> 00:00:38,790 y equals x cubed looks like to help you out 16 00:00:38,790 --> 00:00:40,410 as the starting point. 17 00:00:40,410 --> 00:00:43,630 So why don't you use the four subintervals and left endpoints 18 00:00:43,630 --> 00:00:45,790 to approximate the definite integral, then 19 00:00:45,790 --> 00:00:47,750 I'll come back and show you how I do it. 20 00:00:47,750 --> 00:00:56,360 21 00:00:56,360 --> 00:00:57,600 OK, welcome back. 22 00:00:57,600 --> 00:01:00,496 So what we want to do, again, is use 23 00:01:00,496 --> 00:01:02,620 Riemann sums to approximate this definite integral. 24 00:01:02,620 --> 00:01:05,980 And I've given you the specifications 25 00:01:05,980 --> 00:01:08,070 of four subintervals and left endpoints. 26 00:01:08,070 --> 00:01:10,229 So I'm going to draw what these four 27 00:01:10,229 --> 00:01:11,770 subintervals and their left endpoints 28 00:01:11,770 --> 00:01:13,540 are going to give us on the graph. 29 00:01:13,540 --> 00:01:16,120 Then we're going to calculate what the actual value is 30 00:01:16,120 --> 00:01:16,930 of this estimate. 31 00:01:16,930 --> 00:01:18,805 And then I'll show you a way you can write it 32 00:01:18,805 --> 00:01:20,010 in some different notation. 33 00:01:20,010 --> 00:01:22,456 So let me actually find some blue chalk. 34 00:01:22,456 --> 00:01:22,956 Excuse me. 35 00:01:22,956 --> 00:01:26,785 So, using blue chalk I'm going to show you 36 00:01:26,785 --> 00:01:28,910 where the four subintervals and the left endpoints. 37 00:01:28,910 --> 00:01:31,630 So it's minus 1 to 3, so I've conveniently 38 00:01:31,630 --> 00:01:35,220 done it so we have every unit length is 39 00:01:35,220 --> 00:01:36,220 one of the subintervals. 40 00:01:36,220 --> 00:01:38,120 They're all unit length. 41 00:01:38,120 --> 00:01:41,990 And if I want left endpoints, then my rectangle's heights, 42 00:01:41,990 --> 00:01:44,664 if you remember, are going to be the output at the left side 43 00:01:44,664 --> 00:01:45,330 of the interval. 44 00:01:45,330 --> 00:01:48,820 So I'm going to designate the left interval as output. 45 00:01:48,820 --> 00:01:53,859 46 00:01:53,859 --> 00:01:54,900 And what do we have here? 47 00:01:54,900 --> 00:01:57,550 I'm going to now draw rectangles of those, using those 48 00:01:57,550 --> 00:02:02,590 with the one side on x-axis and one side 49 00:02:02,590 --> 00:02:07,200 at the height of the left endpoint output. 50 00:02:07,200 --> 00:02:09,940 So there's one rectangle. 51 00:02:09,940 --> 00:02:12,180 Oh, I almost did something wrong here. 52 00:02:12,180 --> 00:02:16,080 This left endpoint's rectangle has no height. 53 00:02:16,080 --> 00:02:18,370 Because the left endpoint's value is 0. 54 00:02:18,370 --> 00:02:19,220 The output is 0. 55 00:02:19,220 --> 00:02:22,680 56 00:02:22,680 --> 00:02:25,030 There's another rectangle. 57 00:02:25,030 --> 00:02:26,433 And there's the last rectangle. 58 00:02:26,433 --> 00:02:30,060 59 00:02:30,060 --> 00:02:32,460 So, to designate everything carefully, 60 00:02:32,460 --> 00:02:38,120 I will call this value y_0, the output value here y_0. 61 00:02:38,120 --> 00:02:39,190 This value will be y_1. 62 00:02:39,190 --> 00:02:41,594 63 00:02:41,594 --> 00:02:43,010 The output value here will be y_2. 64 00:02:43,010 --> 00:02:46,480 65 00:02:46,480 --> 00:02:48,770 And to show exactly what do I mean by output value, 66 00:02:48,770 --> 00:02:50,850 here I have enough room to write the height 67 00:02:50,850 --> 00:02:53,860 is really what it is, is y_3. 68 00:02:53,860 --> 00:02:56,800 So y_0, y_1, y_2 and y_3 designate the heights 69 00:02:56,800 --> 00:02:58,570 of these four rectangles. 70 00:02:58,570 --> 00:03:02,620 And the length of each rectangle, if you remember, 71 00:03:02,620 --> 00:03:05,150 is really what we designate as delta x. 72 00:03:05,150 --> 00:03:09,610 So this right here is delta x. 73 00:03:09,610 --> 00:03:13,610 And in this case delta x is each time equal to 1. 74 00:03:13,610 --> 00:03:15,974 So, remember, formally, what we want to do 75 00:03:15,974 --> 00:03:17,890 is, if we want to find this definite integral, 76 00:03:17,890 --> 00:03:22,280 we want to find the area under the curve between the x-axis 77 00:03:22,280 --> 00:03:23,560 and the function x cubed. 78 00:03:23,560 --> 00:03:25,080 And remember this is signed area. 79 00:03:25,080 --> 00:03:28,350 So anything below the x-axis has a negative sign 80 00:03:28,350 --> 00:03:29,170 associated to it. 81 00:03:29,170 --> 00:03:33,830 Anything above the x-axis has a positive sign associated to it. 82 00:03:33,830 --> 00:03:35,420 So, when I'm trying to determine this, 83 00:03:35,420 --> 00:03:36,836 when I'm trying to do an estimate, 84 00:03:36,836 --> 00:03:39,200 I'm finding the areas of these rectangles. 85 00:03:39,200 --> 00:03:41,720 So my first approximation that I've given here, 86 00:03:41,720 --> 00:03:44,390 is we want the four subintervals and the left endpoints. 87 00:03:44,390 --> 00:03:47,220 What we really need is this delta x, 88 00:03:47,220 --> 00:03:49,520 which is the base, times the height, which 89 00:03:49,520 --> 00:03:52,950 is y_0, 1, 2 and 3, of each of these rectangles. 90 00:03:52,950 --> 00:03:56,000 So, to write it carefully-- well I 91 00:03:56,000 --> 00:03:58,600 guess this won't be the most careful way we write it-- 92 00:03:58,600 --> 00:04:01,510 but I have the base, which is delta x in each case, 93 00:04:01,510 --> 00:04:08,490 times y_0 plus y_1 plus y_2 plus y_3. 94 00:04:08,490 --> 00:04:10,240 And the only thing I have to be careful of 95 00:04:10,240 --> 00:04:12,940 is that the area of the rectangle 96 00:04:12,940 --> 00:04:14,190 here will be negative. 97 00:04:14,190 --> 00:04:15,680 But how do I pick that up? 98 00:04:15,680 --> 00:04:20,040 I pick that up because this y_0 value, as an actual output, 99 00:04:20,040 --> 00:04:21,450 is negative. 100 00:04:21,450 --> 00:04:23,450 So that actually will be picked up automatically 101 00:04:23,450 --> 00:04:26,870 by the value of the output on the function. 102 00:04:26,870 --> 00:04:29,470 So let's evaluate these things. y_0 103 00:04:29,470 --> 00:04:32,520 should be the value of the function at x equal negative 1. 104 00:04:32,520 --> 00:04:34,990 When x is negative 1-- the function, remember, is x cubed, 105 00:04:34,990 --> 00:04:38,690 so I get negative 1 cubed, which is just negative 1. 106 00:04:38,690 --> 00:04:40,790 So delta x is 1. 107 00:04:40,790 --> 00:04:42,900 y_0 is negative 1. 108 00:04:42,900 --> 00:04:46,620 y_1 is the value the function at x equals 0, 109 00:04:46,620 --> 00:04:51,450 because my left endpoints are minus 1, 0, 1 and 2. 110 00:04:51,450 --> 00:04:55,000 So the second one is 0 is the input. 111 00:04:55,000 --> 00:04:57,190 At x equals 0 I get 0 as an output. 112 00:04:57,190 --> 00:04:59,890 113 00:04:59,890 --> 00:05:03,950 The y_2 is going to be this third left endpoint. 114 00:05:03,950 --> 00:05:05,790 That's at x equal 1. 115 00:05:05,790 --> 00:05:08,900 1 cubed is 1. 116 00:05:08,900 --> 00:05:11,180 So I get a 1 there. 117 00:05:11,180 --> 00:05:13,850 And then, the third left endpoint, I had minus 1, 118 00:05:13,850 --> 00:05:16,000 0, 1, 2. 119 00:05:16,000 --> 00:05:17,950 So the third left endpoint is 2. 120 00:05:17,950 --> 00:05:19,480 2 cubed is 8. 121 00:05:19,480 --> 00:05:23,190 And so y_3 is 8. 122 00:05:23,190 --> 00:05:25,300 Hopefully the subscripts here didn't confuse you 123 00:05:25,300 --> 00:05:28,500 because I actually was very close to having the subscripts 124 00:05:28,500 --> 00:05:29,630 represent the x-value. 125 00:05:29,630 --> 00:05:31,838 But that's not in fact what the subscripts are doing. 126 00:05:31,838 --> 00:05:33,710 The subscripts are just representing what 127 00:05:33,710 --> 00:05:35,130 interval we are looking at. 128 00:05:35,130 --> 00:05:38,820 So the four intervals are designated by 0, 1, 2 and 3. 129 00:05:38,820 --> 00:05:42,790 So I get, when I put this all together I get 1 times-- well, 130 00:05:42,790 --> 00:05:45,790 minus 1 plus 1 is 0-- 1 times 8. 131 00:05:45,790 --> 00:05:48,000 So I get 8. 132 00:05:48,000 --> 00:05:49,730 And if I wanted to look at the picture, 133 00:05:49,730 --> 00:05:50,870 how is that represented? 134 00:05:50,870 --> 00:05:54,770 Well this rectangle has base 1 and height 8. 135 00:05:54,770 --> 00:05:56,460 So that has area 8. 136 00:05:56,460 --> 00:05:57,960 This rectangle is actually a square. 137 00:05:57,960 --> 00:05:59,670 It has base 1, height 1. 138 00:05:59,670 --> 00:06:00,920 And this one is also a square. 139 00:06:00,920 --> 00:06:02,030 It has base 1, height 1. 140 00:06:02,030 --> 00:06:04,290 But because it's below, it has a minus sign 141 00:06:04,290 --> 00:06:07,370 associated to it, when I think about it in terms of area. 142 00:06:07,370 --> 00:06:10,740 So I get minus 1 plus 1 plus 8. 143 00:06:10,740 --> 00:06:12,680 And that's where the 8 comes from. 144 00:06:12,680 --> 00:06:15,760 Now if I wanted to write this in terms of a Riemann sum, 145 00:06:15,760 --> 00:06:17,960 you see them sometimes written in this way. 146 00:06:17,960 --> 00:06:24,232 You can think about it in a formal sum in this way. 147 00:06:24,232 --> 00:06:29,360 You've probably seen this in the lecture videos more like this. 148 00:06:29,360 --> 00:06:38,160 The sum from i equals 0 to 3 of f of x sub i delta x. 149 00:06:38,160 --> 00:06:40,020 And now, in this case, we could even 150 00:06:40,020 --> 00:06:41,970 be more deliberate if we wanted to. 151 00:06:41,970 --> 00:06:45,910 And we could let x sub i be designated by some value. 152 00:06:45,910 --> 00:06:47,510 We could say, starting at negative 1 153 00:06:47,510 --> 00:06:50,180 and adding some number to it each time 154 00:06:50,180 --> 00:06:51,280 based on the interval. 155 00:06:51,280 --> 00:06:54,730 But this is sort of the easiest way 156 00:06:54,730 --> 00:06:56,430 to write out what we're interested in. 157 00:06:56,430 --> 00:07:00,330 And then the x sub i's are going to be designated separately. 158 00:07:00,330 --> 00:07:07,280 We can write x sub 0 is equal to minus 1, x sub 1 is equal to 0, 159 00:07:07,280 --> 00:07:12,510 x sub 2 is equal to-- sorry, not minus 1-- is equal to plus 1. 160 00:07:12,510 --> 00:07:16,031 And x sub 3 is equal to 2. 161 00:07:16,031 --> 00:07:18,030 So in that case, that's what we would get there. 162 00:07:18,030 --> 00:07:19,450 And we could write it in that way 163 00:07:19,450 --> 00:07:22,590 and then get the same values. 164 00:07:22,590 --> 00:07:24,878 So I think I will stop there. 165 00:07:24,878 --> 00:07:25,378