1 00:00:00,000 --> 00:00:00,000 2 00:00:00,000 --> 00:00:08,740 PROFESSOR: Welcome back to recitation. 3 00:00:08,740 --> 00:00:10,190 This'll be the last video where we do an 4 00:00:10,190 --> 00:00:11,450 optimization problem. 5 00:00:11,450 --> 00:00:13,620 And this one's a little bit different than the other two. 6 00:00:13,620 --> 00:00:15,325 So I'm going to give you the problem now. 7 00:00:15,325 --> 00:00:16,880 The problem is the following-- 8 00:00:16,880 --> 00:00:19,620 a cylinder has a fixed volume. 9 00:00:19,620 --> 00:00:24,730 What ratio between radius and height minimizes surface area? 10 00:00:24,730 --> 00:00:27,150 Before I give you time to think about that, I'm going to 11 00:00:27,150 --> 00:00:30,430 remind of the two formulas for volume and 12 00:00:30,430 --> 00:00:32,370 surface area of a cylinder. 13 00:00:32,370 --> 00:00:37,920 So volume of a cylinder is pi r squared h. 14 00:00:37,920 --> 00:00:47,120 And surface area is 2 pi r squared plus 2 pi rh. 15 00:00:47,120 --> 00:00:49,470 So with that information, I'll give you some time to work on 16 00:00:49,470 --> 00:00:51,170 this problem and then I'll be back. 17 00:00:51,170 --> 00:00:59,390 18 00:00:59,390 --> 00:01:01,080 Welcome back. 19 00:01:01,080 --> 00:01:03,400 OK, what we're doing, again, is we're trying to solve an 20 00:01:03,400 --> 00:01:04,910 optimization problem. 21 00:01:04,910 --> 00:01:08,640 And so we know now the constraint equation, it's a 22 00:01:08,640 --> 00:01:10,640 little different than the other situations because the 23 00:01:10,640 --> 00:01:12,720 constraint equation is just we're told that there's a 24 00:01:12,720 --> 00:01:15,430 fixed volume but we're not told what it is. 25 00:01:15,430 --> 00:01:18,830 That actually will not change how we work on this problem, 26 00:01:18,830 --> 00:01:21,370 but it does change the kind of answer I can ask of you. 27 00:01:21,370 --> 00:01:25,150 And notice the answer I ask is not about exact values for 28 00:01:25,150 --> 00:01:28,460 radius and height, but what ratio between them will 29 00:01:28,460 --> 00:01:29,850 minimize surface area. 30 00:01:29,850 --> 00:01:31,530 So this is, you'll see at the end, things will 31 00:01:31,530 --> 00:01:33,440 look a little different. 32 00:01:33,440 --> 00:01:36,870 But ultimately we still have our optimizing equation, which 33 00:01:36,870 --> 00:01:37,930 is surface area. 34 00:01:37,930 --> 00:01:39,190 And we still have our constraint 35 00:01:39,190 --> 00:01:41,000 equation, which is volume. 36 00:01:41,000 --> 00:01:42,640 So again, we're going to do what we always do. 37 00:01:42,640 --> 00:01:46,570 We're going to take our optimization equation and use 38 00:01:46,570 --> 00:01:49,750 our constraint equation to get rid of a variable so that we 39 00:01:49,750 --> 00:01:53,140 can write the right hand side here in terms of one variable. 40 00:01:53,140 --> 00:01:56,610 Let me point out V is not a variable here. 41 00:01:56,610 --> 00:02:00,170 V is a constant because the volume is fixed. 42 00:02:00,170 --> 00:02:01,950 So when you see V, it's not a variable. 43 00:02:01,950 --> 00:02:03,940 It's a constant. 44 00:02:03,940 --> 00:02:05,930 So what do I do? 45 00:02:05,930 --> 00:02:12,550 Let me write, first, let me write surface area in terms of 46 00:02:12,550 --> 00:02:15,550 just a function of r. 47 00:02:15,550 --> 00:02:17,950 And I'm going to do something a little tricky which maybe 48 00:02:17,950 --> 00:02:20,210 you didn't think of doing, but ultimately you should end up 49 00:02:20,210 --> 00:02:23,210 with the same answer once you've simplified. 50 00:02:23,210 --> 00:02:26,420 Notice that this term has a pi rh. 51 00:02:26,420 --> 00:02:28,690 This term also has a pi rh. 52 00:02:28,690 --> 00:02:32,440 In fact, I can rewrite the volume equation as V over r is 53 00:02:32,440 --> 00:02:34,860 equal to pi rh. 54 00:02:34,860 --> 00:02:38,180 So what I'm going to do is take that pi rh here and 55 00:02:38,180 --> 00:02:40,390 replace it by a V over r. 56 00:02:40,390 --> 00:02:42,080 Now again, you might not have done this. 57 00:02:42,080 --> 00:02:45,000 You should ultimately get the same answer that I do when 58 00:02:45,000 --> 00:02:45,890 we're finished. 59 00:02:45,890 --> 00:02:48,250 And even sooner, probably some simplification 60 00:02:48,250 --> 00:02:49,290 would be the same. 61 00:02:49,290 --> 00:02:53,450 The only thing I've done here is I've simplified right away. 62 00:02:53,450 --> 00:02:56,210 So by looking at the problem and kind of pulling back from 63 00:02:56,210 --> 00:02:58,030 the problem I see, oh, there's something here that looks 64 00:02:58,030 --> 00:03:00,810 exactly like something over here. 65 00:03:00,810 --> 00:03:02,450 So I just want to point that out. 66 00:03:02,450 --> 00:03:05,900 That it's not wrong to just substitute for h, but it's 67 00:03:05,900 --> 00:03:07,680 maybe a little faster. 68 00:03:07,680 --> 00:03:13,790 So now the new surface area equation becomes 2 pi r 69 00:03:13,790 --> 00:03:18,010 squared plus 2V over r. 70 00:03:18,010 --> 00:03:21,450 71 00:03:21,450 --> 00:03:25,010 So now we have everything in terms of r, because again, V 72 00:03:25,010 --> 00:03:26,550 is a constant. 73 00:03:26,550 --> 00:03:28,390 Now let me point out what happens. 74 00:03:28,390 --> 00:03:31,770 When r goes to infinity this term goes to 0, but this term 75 00:03:31,770 --> 00:03:33,000 goes to infinity. 76 00:03:33,000 --> 00:03:35,600 So as r gets very large service area is 77 00:03:35,600 --> 00:03:37,010 getting very large. 78 00:03:37,010 --> 00:03:40,630 As r goes to 0 this term goes to 0, but this 79 00:03:40,630 --> 00:03:42,110 term goes to infinity. 80 00:03:42,110 --> 00:03:45,160 V is fixed, and when r goes to 0 this term blows up. 81 00:03:45,160 --> 00:03:48,700 So when r gets as small as we allow or as large as we allow, 82 00:03:48,700 --> 00:03:52,220 either way, surface area is going to be getting big. 83 00:03:52,220 --> 00:03:55,180 So where this, where surface area has a derivative with 84 00:03:55,180 --> 00:03:57,350 respect to radius it's going to have to be a minimum. 85 00:03:57,350 --> 00:03:58,810 So we don't have to check anymore. 86 00:03:58,810 --> 00:04:01,450 Now we've checked sort of the what's happening towards the 87 00:04:01,450 --> 00:04:04,450 boundary at the extreme values of r. 88 00:04:04,450 --> 00:04:07,270 So now we can, now we can actually solve the problem. 89 00:04:07,270 --> 00:04:08,120 Well, what do we do? 90 00:04:08,120 --> 00:04:09,890 We're using our optimization equation. 91 00:04:09,890 --> 00:04:13,410 We want to take a derivative and set it equal to 0 and find 92 00:04:13,410 --> 00:04:16,480 what value for r gives that. 93 00:04:16,480 --> 00:04:19,430 But again, let me point out one more time that in the end 94 00:04:19,430 --> 00:04:22,230 I'm asking for a ratio between radius and height. 95 00:04:22,230 --> 00:04:24,280 So I'm not going to get all the way to where I have r 96 00:04:24,280 --> 00:04:25,130 equals something. 97 00:04:25,130 --> 00:04:28,220 You'll see I'm going to do another trick. 98 00:04:28,220 --> 00:04:31,180 But let me first take the derivative I need. 99 00:04:31,180 --> 00:04:34,700 Surface area prime, this is derivative with respect to r. 100 00:04:34,700 --> 00:04:37,550 I have 2 pi r squared. 101 00:04:37,550 --> 00:04:40,730 That derivative with respect to r is 4 pi r. 102 00:04:40,730 --> 00:04:43,430 And this derivative with respect to r, I'm going to 103 00:04:43,430 --> 00:04:46,370 keep the 2V, and the denominator 1 over r, its 104 00:04:46,370 --> 00:04:48,930 derivative is negative 1 over r squared. 105 00:04:48,930 --> 00:04:54,090 So I'm going to have 4 pi r for the first term and then 106 00:04:54,090 --> 00:04:59,160 minus 2V over r squared. 107 00:04:59,160 --> 00:05:02,810 If I set this equal to 0, the derivative equal to 0 and 108 00:05:02,810 --> 00:05:08,890 solve, I get to 2V over r squared is equal to 4 pi r, 109 00:05:08,890 --> 00:05:10,720 which is the same as-- 110 00:05:10,720 --> 00:05:15,130 going to put it on this side-- r cubed is equal to 2 pi over 111 00:05:15,130 --> 00:05:17,080 V. Let's just check. 112 00:05:17,080 --> 00:05:21,590 If I multiply both sides by r squared, divide by 4 pi. 113 00:05:21,590 --> 00:05:22,860 Oh, I did it backwards. 114 00:05:22,860 --> 00:05:26,630 I think it should actually be pi over 2V. Let me double 115 00:05:26,630 --> 00:05:29,700 check that all my signs are correct. 116 00:05:29,700 --> 00:05:40,830 That's r cubed, divide by 4 pi, I should get pi over 2V. I 117 00:05:40,830 --> 00:05:41,860 should not. 118 00:05:41,860 --> 00:05:45,460 I've been told from the audience I made a mistake. 119 00:05:45,460 --> 00:05:47,310 Sometimes you'll see when you're at the board and on 120 00:05:47,310 --> 00:05:50,130 video, scary things can happen. 121 00:05:50,130 --> 00:05:51,410 2V-- 122 00:05:51,410 --> 00:05:52,660 oh. 123 00:05:52,660 --> 00:05:56,280 124 00:05:56,280 --> 00:06:00,210 Multiply through by r, I get r cubed. 125 00:06:00,210 --> 00:06:02,960 Oh, I have the 2V in the numerator. 126 00:06:02,960 --> 00:06:04,050 I apologize. 127 00:06:04,050 --> 00:06:06,050 The 2V is in the numerator, the 4 pi is in the 128 00:06:06,050 --> 00:06:06,590 denominator. 129 00:06:06,590 --> 00:06:11,380 So I get V over 2 pi. 130 00:06:11,380 --> 00:06:13,060 Does that look better, audience? 131 00:06:13,060 --> 00:06:14,820 The audience tells me that looks better. 132 00:06:14,820 --> 00:06:15,690 OK. 133 00:06:15,690 --> 00:06:16,520 So here I am. 134 00:06:16,520 --> 00:06:18,790 I have r cubed is equal to V over 2 pi. 135 00:06:18,790 --> 00:06:21,620 Now, if I wanted to I could take the cube root of both 136 00:06:21,620 --> 00:06:25,470 sides and get r explicitly in terms of V and 2 pi. 137 00:06:25,470 --> 00:06:28,140 V is a constant, pi is a constant, I would be done. 138 00:06:28,140 --> 00:06:31,190 But I didn't ask for what r actually is. 139 00:06:31,190 --> 00:06:32,400 I asked for a ratio. 140 00:06:32,400 --> 00:06:35,020 So let's make this problem simpler. 141 00:06:35,020 --> 00:06:37,860 All I need in the end is r divided by h. 142 00:06:37,860 --> 00:06:40,320 Let's go back to a formula we have and see if we can figure 143 00:06:40,320 --> 00:06:43,460 out a way to get r divided by h. 144 00:06:43,460 --> 00:06:46,480 Look at this formula for V. It has an r squared 145 00:06:46,480 --> 00:06:48,340 and it has an h. 146 00:06:48,340 --> 00:06:55,770 So if I divide by r squared h on this side, I'll end up with 147 00:06:55,770 --> 00:06:57,390 an r over h. 148 00:06:57,390 --> 00:06:58,350 Hopefully you buy that. 149 00:06:58,350 --> 00:06:59,246 I'm going to even write it out. 150 00:06:59,246 --> 00:07:03,350 I'm going to take r cubed and divide it by r squared h. 151 00:07:03,350 --> 00:07:05,850 That in the end, is r over h. 152 00:07:05,850 --> 00:07:07,990 Let's go back here look at what that equals. 153 00:07:07,990 --> 00:07:09,895 r squared h is equal to V over pi. 154 00:07:09,895 --> 00:07:12,200 Right? 155 00:07:12,200 --> 00:07:14,300 r squared h is equal to V over pi. 156 00:07:14,300 --> 00:07:17,250 So I can divide this side by r squared h and divide this side 157 00:07:17,250 --> 00:07:20,630 by V over pi and it's the same thing. 158 00:07:20,630 --> 00:07:22,680 Which is, by the way, the same thing as multiplying by pi 159 00:07:22,680 --> 00:07:24,790 over V. Right? 160 00:07:24,790 --> 00:07:32,860 So I can multiply this side by pi over V, and what do I get? 161 00:07:32,860 --> 00:07:36,260 I get the V's divide out, the pi's divided by, divide out, 162 00:07:36,260 --> 00:07:37,430 and I get 1/2. 163 00:07:37,430 --> 00:07:40,170 So the result is that the ratio between radius and 164 00:07:40,170 --> 00:07:44,860 height should be 1 to 2. 165 00:07:44,860 --> 00:07:47,910 Let me one more time explain what we were doing here. 166 00:07:47,910 --> 00:07:50,890 In the end, the answer, the question just asks, what is 167 00:07:50,890 --> 00:07:53,050 the ratio between radius and height that 168 00:07:53,050 --> 00:07:55,400 minimizes surface area? 169 00:07:55,400 --> 00:07:59,050 And I had an r cubed, I wanted to get r divided by h. 170 00:07:59,050 --> 00:08:01,300 So I divided by two r's-- 171 00:08:01,300 --> 00:08:04,360 I divided by r squared-- and then h again. 172 00:08:04,360 --> 00:08:08,160 But r squared h is V over pi, so if I divide by r squared h 173 00:08:08,160 --> 00:08:10,180 I'm dividing by V over pi. 174 00:08:10,180 --> 00:08:12,370 So I can do on the right hand side the same thing that I do 175 00:08:12,370 --> 00:08:12,920 on the left-- 176 00:08:12,920 --> 00:08:16,310 I divided by V over pi, which is multiplying by pi over V. 177 00:08:16,310 --> 00:08:18,500 The pi's divide out, the V's divide out, and 178 00:08:18,500 --> 00:08:20,750 I'm left with 1/2. 179 00:08:20,750 --> 00:08:22,880 And so this was an optimization problem where the 180 00:08:22,880 --> 00:08:27,570 constraint equation did not have a number in it, but it 181 00:08:27,570 --> 00:08:30,280 did have, it did have a fixed constant. 182 00:08:30,280 --> 00:08:34,310 So I couldn't ask you for an exact value for the radius and 183 00:08:34,310 --> 00:08:36,760 an exact value for the height, but I could ask you for how 184 00:08:36,760 --> 00:08:37,650 they relate. 185 00:08:37,650 --> 00:08:39,610 And that's ultimately what I did. 186 00:08:39,610 --> 00:08:41,700 And I think that's where we'll stop. 187 00:08:41,700 --> 00:08:42,322