1 00:00:00,000 --> 00:00:00,000 2 00:00:00,000 --> 00:00:07,420 PROFESSOR: Hi. 3 00:00:07,420 --> 00:00:09,050 Welcome back to Recitation. 4 00:00:09,050 --> 00:00:11,560 In lecture you've been computing derivatives of 5 00:00:11,560 --> 00:00:14,000 functions from the limit definition of derivative. 6 00:00:14,000 --> 00:00:16,940 So today we're going to do another example of that and do 7 00:00:16,940 --> 00:00:18,330 some graphing, as well. 8 00:00:18,330 --> 00:00:20,745 So I've got a problem written here on the board. 9 00:00:20,745 --> 00:00:24,470 So we're defining a function f of x to be 1 over the quantity 10 00:00:24,470 --> 00:00:26,296 1 plus x squared. 11 00:00:26,296 --> 00:00:28,600 So what I'd like you to do is graph the function of the 12 00:00:28,600 --> 00:00:32,110 curve y equals f of x and to compute the derivative f prime 13 00:00:32,110 --> 00:00:33,960 of x from the definition. 14 00:00:33,960 --> 00:00:35,790 So why don't you take a couple of minutes to do that 15 00:00:35,790 --> 00:00:38,690 yourself, then come back, and we'll work it out together. 16 00:00:38,690 --> 00:00:46,250 17 00:00:46,250 --> 00:00:46,660 All right. 18 00:00:46,660 --> 00:00:47,460 Welcome back. 19 00:00:47,460 --> 00:00:52,000 So to start off, let's try graphing this function f of x. 20 00:00:52,000 --> 00:00:54,750 So one thing you can always do when you start out graphing a 21 00:00:54,750 --> 00:00:56,840 function, is to just plot a few points. 22 00:00:56,840 --> 00:00:59,370 And that'll give you a very rough sense of where the 23 00:00:59,370 --> 00:01:02,230 function is, at least around those points. 24 00:01:02,230 --> 00:01:05,125 So, for example, when x is equal to 0 we have f 25 00:01:05,125 --> 00:01:07,470 of 0 is 1 over 1. 26 00:01:07,470 --> 00:01:09,300 So that's just 1. 27 00:01:09,300 --> 00:01:15,760 So we've got this point here, 0, 1. 28 00:01:15,760 --> 00:01:19,010 And when x is equal to 1, well, x squared is 1, so the 29 00:01:19,010 --> 00:01:22,910 denominator is 2, so the function value is 1/2. 30 00:01:22,910 --> 00:01:25,140 So, all right I'm not going to draw this to scale. 31 00:01:25,140 --> 00:01:28,800 I'm going to put x equals 1 here. 32 00:01:28,800 --> 00:01:38,470 And the function value is 1/2, so this is the point 1, 1/2. 33 00:01:38,470 --> 00:01:39,550 And, OK. 34 00:01:39,550 --> 00:01:40,390 We could do one more. 35 00:01:40,390 --> 00:01:44,690 When x is equal to 2, this function-- 36 00:01:44,690 --> 00:01:47,660 2 squared is 4, so that's 5-- so it's 1/5. 37 00:01:47,660 --> 00:01:48,310 So I don't know. 38 00:01:48,310 --> 00:01:51,350 1/5 is smaller than 1/2, right? 39 00:01:51,350 --> 00:01:52,970 So that's maybe-- 40 00:01:52,970 --> 00:01:54,230 down here-- 41 00:01:54,230 --> 00:02:00,210 so this is something like the point 2, 1/5. 42 00:02:00,210 --> 00:02:00,520 All right. 43 00:02:00,520 --> 00:02:04,480 But this is a very rough idea we're getting, so we can use 44 00:02:04,480 --> 00:02:07,000 some more sophisticated analysis to get a better idea 45 00:02:07,000 --> 00:02:08,830 of what this graph is going to look like. 46 00:02:08,830 --> 00:02:12,910 So the first thing we could notice, for example, is that 47 00:02:12,910 --> 00:02:13,997 this is an even function. 48 00:02:13,997 --> 00:02:14,790 Right? 49 00:02:14,790 --> 00:02:19,030 If I change the sign of x, if I replace x by minus x, well, 50 00:02:19,030 --> 00:02:22,780 x squared and minus x squared are both equal to x squared. 51 00:02:22,780 --> 00:02:25,070 So if you replace x by minus x, the function 52 00:02:25,070 --> 00:02:26,220 value doesn't change. 53 00:02:26,220 --> 00:02:28,570 So this is an even function that has symmetry 54 00:02:28,570 --> 00:02:31,850 across the axis here. 55 00:02:31,850 --> 00:02:33,840 So, you know, for example, I could just 56 00:02:33,840 --> 00:02:35,280 mirror image these points. 57 00:02:35,280 --> 00:02:38,000 So these points also have to be on the graph, the points 58 00:02:38,000 --> 00:02:41,130 minus 1, 1/2 and minus 2, 1/5. 59 00:02:41,130 --> 00:02:44,470 And any other part of the curve that I draw will be 60 00:02:44,470 --> 00:02:46,130 perfectly mirror imaged. 61 00:02:46,130 --> 00:02:50,020 Another thing to observe is that x squared is always 62 00:02:50,020 --> 00:02:51,580 greater than or equal to 0. 63 00:02:51,580 --> 00:02:55,260 So 1 plus x squared is always positive. 64 00:02:55,260 --> 00:02:59,670 So 1 over 1 plus x squared is also always positive. 65 00:02:59,670 --> 00:03:04,340 Also, 1 plus x squared, it reaches its minimum when x is 66 00:03:04,340 --> 00:03:09,100 equal to 0 and then as x gets large, either in the positive 67 00:03:09,100 --> 00:03:11,860 direction or in the negative direction, this gets larger 68 00:03:11,860 --> 00:03:13,590 and larger. 69 00:03:13,590 --> 00:03:15,610 this, just the 1 plus x squared part. 70 00:03:15,610 --> 00:03:19,790 So the denominator is getting larger and larger, while the 71 00:03:19,790 --> 00:03:21,350 numerator stays constant. 72 00:03:21,350 --> 00:03:23,940 The whole fraction gets smaller and smaller. 73 00:03:23,940 --> 00:03:27,410 So as x gets bigger, either bigger positive or bigger 74 00:03:27,410 --> 00:03:31,020 negative, the function value will diminish off to 0, and it 75 00:03:31,020 --> 00:03:33,630 has its maximum value here at 0. 76 00:03:33,630 --> 00:03:37,150 Because that's when 1 plus x squared has its minimum. 77 00:03:37,150 --> 00:03:43,680 So the function sort of has its maximum here at 0, and 78 00:03:43,680 --> 00:03:46,450 then it flattens out. 79 00:03:46,450 --> 00:03:50,460 And as x gets larger and larger and larger, this goes 80 00:03:50,460 --> 00:03:54,020 to infinity, so the whole fraction goes down to 0. 81 00:03:54,020 --> 00:03:55,230 But it never reaches it, right? 82 00:03:55,230 --> 00:03:56,700 Because we said it's always positive. 83 00:03:56,700 --> 00:04:01,020 And similarly, on the other side. 84 00:04:01,020 --> 00:04:01,330 OK. 85 00:04:01,330 --> 00:04:05,840 So that's the graph of the curve y equals 1 86 00:04:05,840 --> 00:04:09,250 over 1 plus x squared. 87 00:04:09,250 --> 00:04:10,380 Roughly speaking. 88 00:04:10,380 --> 00:04:11,540 OK. 89 00:04:11,540 --> 00:04:15,320 So now let's talk about computing the derivative. 90 00:04:15,320 --> 00:04:18,800 So right now, to compute a derivative, all you have is 91 00:04:18,800 --> 00:04:20,180 the limit definition of the derivative. 92 00:04:20,180 --> 00:04:22,530 So when I ask you to compute the derivative what you've got 93 00:04:22,530 --> 00:04:27,430 to do is write down what that definition says. 94 00:04:27,430 --> 00:04:29,610 That's the limit of a difference quotient. 95 00:04:29,610 --> 00:04:35,640 So we have, by definition, that f prime of x is equal 96 00:04:35,640 --> 00:04:39,200 to-- well, it's the limit-- 97 00:04:39,200 --> 00:04:44,050 is delta x goes to 0 of some difference quotient. 98 00:04:44,050 --> 00:04:47,600 So on the bottom of the difference quotient we just 99 00:04:47,600 --> 00:04:55,740 have delta x, and on the top we have f of x plus delta x 100 00:04:55,740 --> 00:04:58,340 minus f of x. 101 00:04:58,340 --> 00:05:01,270 In our case, we have a nice formula for f of x. 102 00:05:01,270 --> 00:05:10,026 So this is equal to the limit as delta x goes to 0 of 1 over 103 00:05:10,026 --> 00:05:18,920 the quantity 1 plus x plus delta x quantity squared-- 104 00:05:18,920 --> 00:05:22,020 oh, I guess I didn't need that parenthesis there-- 105 00:05:22,020 --> 00:05:28,600 minus 1 over 1 plus x squared, and the whole thing 106 00:05:28,600 --> 00:05:30,940 is over delta x. 107 00:05:30,940 --> 00:05:33,610 So, what would be really nice, of course, is if this were a 108 00:05:33,610 --> 00:05:36,560 limit where we could just plug in the value delta x equals 0 109 00:05:36,560 --> 00:05:37,330 and evaluate it. 110 00:05:37,330 --> 00:05:40,580 But the way the definition of a derivative works, that never 111 00:05:40,580 --> 00:05:41,290 works, right? 112 00:05:41,290 --> 00:05:43,410 You're always left with the numerator. 113 00:05:43,410 --> 00:05:47,470 As delta x goes to 0, that top is always going to be f of x 114 00:05:47,470 --> 00:05:49,210 minus f of x and it's going to be 0. 115 00:05:49,210 --> 00:05:52,510 And the bottom is always going to be delta x going to 0, 116 00:05:52,510 --> 00:05:54,390 which is 0. 117 00:05:54,390 --> 00:05:55,840 So you always, when you have a differentiable function, you 118 00:05:55,840 --> 00:05:59,410 always have a derivative that's going to be a limit of 119 00:05:59,410 --> 00:06:00,940 a 0 over 0 form. 120 00:06:00,940 --> 00:06:04,514 So you need to do some sort of manipulation in order to, in 121 00:06:04,514 --> 00:06:06,960 order to get into a form you can evaluate it. 122 00:06:06,960 --> 00:06:09,960 What we'd really like is to manipulate this numerator 123 00:06:09,960 --> 00:06:13,380 somehow and pull out, say, a factor of delta x. 124 00:06:13,380 --> 00:06:16,190 And then that could cancel with the delta x we have in 125 00:06:16,190 --> 00:06:17,340 the denominator. 126 00:06:17,340 --> 00:06:18,540 Something, some trick like that. 127 00:06:18,540 --> 00:06:23,780 Some algebraic or other manipulation to make this into 128 00:06:23,780 --> 00:06:26,770 a form where we can plug in and evaluate. 129 00:06:26,770 --> 00:06:30,830 So alrright, so right here there's sort of only one 130 00:06:30,830 --> 00:06:35,660 manipulation that's natural to do, which is we can add these 131 00:06:35,660 --> 00:06:37,000 two fractions together. 132 00:06:37,000 --> 00:06:42,390 So let's do that, and we can rewrite this limit. 133 00:06:42,390 --> 00:06:45,220 The limit is delta x goes to 0. 134 00:06:45,220 --> 00:06:48,280 All right, I'm going to pull this 1 over delta x out front 135 00:06:48,280 --> 00:06:51,780 just to make everything look a little bit nicer. 136 00:06:51,780 --> 00:06:53,590 It's 1 over delta x times-- 137 00:06:53,590 --> 00:06:54,480 OK. 138 00:06:54,480 --> 00:06:56,810 i want to, you know, subtract these two fractions. 139 00:06:56,810 --> 00:06:59,080 I want to put them over a common denominator, so the 140 00:06:59,080 --> 00:07:03,290 denominator is just going to be the product of the 141 00:07:03,290 --> 00:07:04,010 denominator. 142 00:07:04,010 --> 00:07:13,760 So that's 1 plus x plus delta x quantity squared times 1 143 00:07:13,760 --> 00:07:15,780 plus x squared. 144 00:07:15,780 --> 00:07:16,100 OK. 145 00:07:16,100 --> 00:07:19,910 And so this fraction is 1 plus x squared over that 146 00:07:19,910 --> 00:07:21,160 denominator. 147 00:07:21,160 --> 00:07:22,960 148 00:07:22,960 --> 00:07:34,270 And the second one is 1 plus x plus delta x quantity squared 149 00:07:34,270 --> 00:07:36,520 over that common denominator. 150 00:07:36,520 --> 00:07:36,840 OK. 151 00:07:36,840 --> 00:07:40,260 So we still haven't got where we want to be yet because we 152 00:07:40,260 --> 00:07:43,930 still have this 1 over delta x hanging out. 153 00:07:43,930 --> 00:07:46,320 So OK, so we have to, you know, keep going. 154 00:07:46,320 --> 00:07:49,680 And so here, I guess there's a, this is sort of a problem 155 00:07:49,680 --> 00:07:53,760 that forces us a little bit in one direction. 156 00:07:53,760 --> 00:07:55,630 You, know, there's not much we can do with the denominator, 157 00:07:55,630 --> 00:07:58,410 but here in the numerator we can expand this out and start 158 00:07:58,410 --> 00:08:01,470 combining stuff. 159 00:08:01,470 --> 00:08:02,170 So let's do that. 160 00:08:02,170 --> 00:08:04,190 So this is equal to-- 161 00:08:04,190 --> 00:08:06,070 all right, well, the limit hangs out-- 162 00:08:06,070 --> 00:08:13,840 the limit is delta x goes to 0 of 1 over delta x times-- 163 00:08:13,840 --> 00:08:18,160 OK, so 1 plus x squared minus-- 164 00:08:18,160 --> 00:08:20,780 all right, so if you expand out x plus 165 00:08:20,780 --> 00:08:22,590 delta x quantity squared-- 166 00:08:22,590 --> 00:08:25,410 using your favorite, either foil or the binomial theorem 167 00:08:25,410 --> 00:08:27,890 or just whatever you like, however you like to multiply 168 00:08:27,890 --> 00:08:28,860 two binomials-- 169 00:08:28,860 --> 00:08:38,180 so we get a minus 1 minus x squared minus 2x times delta x 170 00:08:38,180 --> 00:08:42,470 minus delta x squared. 171 00:08:42,470 --> 00:08:44,680 That's the top. 172 00:08:44,680 --> 00:08:45,820 Ok, and we haven't changed the bottom. 173 00:08:45,820 --> 00:08:53,510 It's still 1 plus x plus delta x squared 174 00:08:53,510 --> 00:08:56,440 times 1 plus x squared. 175 00:08:56,440 --> 00:08:59,735 176 00:08:59,735 --> 00:09:00,000 OK. 177 00:09:00,000 --> 00:09:01,750 Well, so what? 178 00:09:01,750 --> 00:09:04,300 OK, so now some nice stuff is starting to happen, which is 179 00:09:04,300 --> 00:09:07,370 this 1 and this minus 1 are going to cancel, and this x 180 00:09:07,370 --> 00:09:09,510 squared and this minus x squared are going to cancel. 181 00:09:09,510 --> 00:09:12,300 And then after we cancel those terms we see that in the 182 00:09:12,300 --> 00:09:15,130 numerator here, everything is going to have a factor of 183 00:09:15,130 --> 00:09:15,900 dealt x, right? 184 00:09:15,900 --> 00:09:17,900 These four are going to cancel, and we'll just be left 185 00:09:17,900 --> 00:09:20,030 with these two terms, both of which are 186 00:09:20,030 --> 00:09:21,060 divisible by delta x. 187 00:09:21,060 --> 00:09:22,750 So that's where this cancellation we've been 188 00:09:22,750 --> 00:09:25,330 looking for is going to come from. 189 00:09:25,330 --> 00:09:27,640 So let's keep going. 190 00:09:27,640 --> 00:09:32,570 So we cancel those, they subtract, give us 0. 191 00:09:32,570 --> 00:09:38,380 This limit is equal to the limit delta x goes to 0. 192 00:09:38,380 --> 00:09:39,400 OK. 193 00:09:39,400 --> 00:09:41,960 And then we can divide this delta x from the denominator 194 00:09:41,960 --> 00:09:49,000 in, and what we're left with upstairs is minus 2x minus 195 00:09:49,000 --> 00:09:54,420 delta x, the whole thing over the same denominator, still. 196 00:09:54,420 --> 00:10:04,000 1 plus x plus delta x squared times 1 plus x squared. 197 00:10:04,000 --> 00:10:04,310 All right. 198 00:10:04,310 --> 00:10:04,610 Great. 199 00:10:04,610 --> 00:10:08,660 So we've done this manipulation. 200 00:10:08,660 --> 00:10:11,230 We finally found a delta x that we could cancel with that 201 00:10:11,230 --> 00:10:13,110 delta x we started with in the denominator. 202 00:10:13,110 --> 00:10:16,900 And now this limit is no longer this 0 203 00:10:16,900 --> 00:10:17,960 over 0 form, right? 204 00:10:17,960 --> 00:10:22,090 When delta x goes to 0, the top goes to minus 2x. 205 00:10:22,090 --> 00:10:23,000 And the bottom-- 206 00:10:23,000 --> 00:10:25,820 well let's see, this delta x just goes to 0-- so it's 1 207 00:10:25,820 --> 00:10:28,880 plus x squared times 1 plus x squared. 208 00:10:28,880 --> 00:10:30,580 So that's not 0 over 0. 209 00:10:30,580 --> 00:10:32,370 We can just plug in to evaluate. 210 00:10:32,370 --> 00:10:37,385 So this is, just works out to a minus 2x over-- 211 00:10:37,385 --> 00:10:42,140 OK, 1 plus x squared times 1 plus x squared is 1 plus x 212 00:10:42,140 --> 00:10:44,480 squared, quantity squared. 213 00:10:44,480 --> 00:10:48,710 And so this is the derivative that we were looking for. 214 00:10:48,710 --> 00:10:51,005 This is, just to remind you what that was, that's d over 215 00:10:51,005 --> 00:10:57,450 dx of 1 over the quantity 1 plus x squared. 216 00:10:57,450 --> 00:11:01,780 Now, if you wanted, you could check this a little bit by 217 00:11:01,780 --> 00:11:04,440 looking at the graph and looking at this function and 218 00:11:04,440 --> 00:11:06,630 just making sure that it makes sense. 219 00:11:06,630 --> 00:11:11,590 So for example, this function, this derivative has the 220 00:11:11,590 --> 00:11:14,480 property that it's 0 when x is 0. 221 00:11:14,480 --> 00:11:16,470 And that's the only time it's 0. 222 00:11:16,470 --> 00:11:18,720 And if we go back and look at the graph that we drew over 223 00:11:18,720 --> 00:11:21,180 here, we see that's also a property that 224 00:11:21,180 --> 00:11:22,500 this graph has, right? 225 00:11:22,500 --> 00:11:26,110 It has this horizontal tangent line there, and then it 226 00:11:26,110 --> 00:11:31,400 diminishes off to the right and it, on the left side it 227 00:11:31,400 --> 00:11:35,290 increases, then it has that horizontal tangent line, and 228 00:11:35,290 --> 00:11:36,940 then it decreases. 229 00:11:36,940 --> 00:11:39,150 And so if we go back to this function we see, yes indeed, 230 00:11:39,150 --> 00:11:42,880 when x is negative, this whole thing is positive. 231 00:11:42,880 --> 00:11:46,730 And then at 0 it's 0, and then it's negative thereafter. 232 00:11:46,730 --> 00:11:51,180 And similarly, you could note that this function here is an 233 00:11:51,180 --> 00:11:52,310 odd function. 234 00:11:52,310 --> 00:11:56,450 If you change the sign of x, that changes the sign of this 235 00:11:56,450 --> 00:12:00,370 whole expression, and so OK, and so that makes perfect 236 00:12:00,370 --> 00:12:01,940 sense back here. 237 00:12:01,940 --> 00:12:06,390 The symmetry of this curve is such that, you know, if we 238 00:12:06,390 --> 00:12:11,940 look at a tangent line to the left of 0 and the symmetric 239 00:12:11,940 --> 00:12:15,060 tangent line to the right of 0, they're mirror images of 240 00:12:15,060 --> 00:12:15,570 each other. 241 00:12:15,570 --> 00:12:19,090 So their slopes or exactly negatives of each other. 242 00:12:19,090 --> 00:12:22,080 So that's a nice way you can sort of put the two different 243 00:12:22,080 --> 00:12:24,010 pieces of this problem together in order to double 244 00:12:24,010 --> 00:12:25,230 check your work. 245 00:12:25,230 --> 00:12:27,180 So that's that. 246 00:12:27,180 --> 00:12:27,481