1 00:00:00,000 --> 00:00:07,220 2 00:00:07,220 --> 00:00:07,690 Hi. 3 00:00:07,690 --> 00:00:09,390 Welcome back to recitation. 4 00:00:09,390 --> 00:00:14,430 In lecture you talked about computing derivatives by 5 00:00:14,430 --> 00:00:15,350 definition. 6 00:00:15,350 --> 00:00:18,660 And one rule for computing derivatives that Professor 7 00:00:18,660 --> 00:00:21,420 Jerison mentioned but didn't prove was what's called the 8 00:00:21,420 --> 00:00:23,190 constant multiple rule. 9 00:00:23,190 --> 00:00:28,990 So today I want to give you a proof of that rule and show 10 00:00:28,990 --> 00:00:32,550 you a little bit of geometric intuition for why it works. 11 00:00:32,550 --> 00:00:36,520 So the constant multiple rule says that if you have a 12 00:00:36,520 --> 00:00:41,060 constant c in a differentiable function, f of x, that the 13 00:00:41,060 --> 00:00:45,100 derivative of the function c times f of x is equal to c 14 00:00:45,100 --> 00:00:47,540 times the derivative of f of x. 15 00:00:47,540 --> 00:00:52,325 Just to do a quick example, suppose that c were 3 and f of 16 00:00:52,325 --> 00:00:58,430 x were the function x squared, this says that the derivative 17 00:00:58,430 --> 00:01:06,335 d by dx of 3x squared is equal to 3 times the derivative of d 18 00:01:06,335 --> 00:01:09,410 by dx of x squared. 19 00:01:09,410 --> 00:01:12,340 Now, this is good because we already have a rule for 20 00:01:12,340 --> 00:01:16,270 computing derivatives of powers of x. 21 00:01:16,270 --> 00:01:20,840 So this says we don't need a special rule for computing 22 00:01:20,840 --> 00:01:24,120 multiples of powers of x, where we don't need to go back 23 00:01:24,120 --> 00:01:25,490 to the limit definition to compute the 24 00:01:25,490 --> 00:01:27,200 derivative of 3x squared. 25 00:01:27,200 --> 00:01:29,710 We can just use the fact that we know the derivative of x 26 00:01:29,710 --> 00:01:32,840 squared in order to compute the derivative of 3x squared. 27 00:01:32,840 --> 00:01:37,250 So in this case that would work out to 6x. 28 00:01:37,250 --> 00:01:38,250 In this case. 29 00:01:38,250 --> 00:01:41,440 So it simplifies the number of different computations you 30 00:01:41,440 --> 00:01:41,700 have to do. 31 00:01:41,700 --> 00:01:44,180 It reduces the number of times we need to go back to the 32 00:01:44,180 --> 00:01:45,430 limit definition. 33 00:01:45,430 --> 00:01:47,320 34 00:01:47,320 --> 00:01:49,780 So that's the use of the rule. 35 00:01:49,780 --> 00:01:52,270 Let's quickly talk about its proof. 36 00:01:52,270 --> 00:01:55,920 The idea behind the proof is you have these two derivatives 37 00:01:55,920 --> 00:01:57,250 and you want to show that they're equal. 38 00:01:57,250 --> 00:01:59,700 Well, any time you have a derivative, what it really 39 00:01:59,700 --> 00:02:02,270 means is it's the value of some limit of 40 00:02:02,270 --> 00:02:03,590 some difference quotient. 41 00:02:03,590 --> 00:02:14,340 So in this case we have the derivative d by dx of c times 42 00:02:14,340 --> 00:02:19,846 f of x by definition is the limit of a difference quotient 43 00:02:19,846 --> 00:02:24,320 as delta x goes to 0 of-- so we take the function c times f 44 00:02:24,320 --> 00:02:28,450 of x and we plug in x plus delta x and we plug in x and 45 00:02:28,450 --> 00:02:30,680 we take the difference and we divide by delta x. 46 00:02:30,680 --> 00:02:40,730 So that's c times f of x plus delta x minus c times f of x 47 00:02:40,730 --> 00:02:43,010 divided by delta x. 48 00:02:43,010 --> 00:02:47,060 Now you'll notice that here both terms in the numerator 49 00:02:47,060 --> 00:02:50,000 have this constant factor, c, in them. 50 00:02:50,000 --> 00:02:51,480 So we can factor that out. 51 00:02:51,480 --> 00:02:53,850 And I'll just pull it out in front of this whole fraction 52 00:02:53,850 --> 00:03:01,660 so that this is the limit as delta x goes to 0 of c times 53 00:03:01,660 --> 00:03:11,390 the ratio f of x plus delta x minus f of x, all quantity 54 00:03:11,390 --> 00:03:13,280 over delta x. 55 00:03:13,280 --> 00:03:16,470 Now, c is just some constant. 56 00:03:16,470 --> 00:03:18,390 This part depends on delta x. 57 00:03:18,390 --> 00:03:20,780 And on x, but on delta x. 58 00:03:20,780 --> 00:03:23,580 So as delta x goes to zero, this changes while 59 00:03:23,580 --> 00:03:26,400 this stays the same. 60 00:03:26,400 --> 00:03:29,700 What that means is so as dealt x goes to 0, this gets closer 61 00:03:29,700 --> 00:03:32,280 and closer to something, the value of its limit. 62 00:03:32,280 --> 00:03:34,010 And c-- 63 00:03:34,010 --> 00:03:37,370 you're just multiplying it in-- so c times, the limit of 64 00:03:37,370 --> 00:03:40,740 c times this is equal to c times whatever the 65 00:03:40,740 --> 00:03:41,607 limit of this is. 66 00:03:41,607 --> 00:03:44,480 If this is getting closer and closer to some value, c times 67 00:03:44,480 --> 00:03:47,400 it is getting closer and closer to c times that value. 68 00:03:47,400 --> 00:03:50,470 So this is equal to c-- 69 00:03:50,470 --> 00:03:52,750 in other words, we can pull constant 70 00:03:52,750 --> 00:03:54,620 multiples outside of limits. 71 00:03:54,620 --> 00:03:58,400 So this limit as delta x, c times the limit is delta x 72 00:03:58,400 --> 00:04:08,810 goes to 0 of f of x plus delta x minus f of x over delta x. 73 00:04:08,810 --> 00:04:11,420 And this limit here is just the definition of the 74 00:04:11,420 --> 00:04:13,020 derivative of f of x. 75 00:04:13,020 --> 00:04:17,920 So this is equal to, by definition, c times d 76 00:04:17,920 --> 00:04:21,850 by dx of f of x. 77 00:04:21,850 --> 00:04:26,280 So we started with the derivative of c times f of x 78 00:04:26,280 --> 00:04:30,200 and we showed this is equal to c times the 79 00:04:30,200 --> 00:04:32,010 derivative of f of x. 80 00:04:32,010 --> 00:04:33,160 That's exactly what we wanted. 81 00:04:33,160 --> 00:04:37,310 So that proves the constant multiple rule. 82 00:04:37,310 --> 00:04:39,520 We've now proved the constant multiple rule-- 83 00:04:39,520 --> 00:04:42,870 let me talk a little bit about some geometric intuition for 84 00:04:42,870 --> 00:04:43,820 why this works. 85 00:04:43,820 --> 00:04:49,530 So I've got here, well so, you know, let's take c equals 2, 86 00:04:49,530 --> 00:04:50,920 just for simplicity. 87 00:04:50,920 --> 00:04:56,000 So here I have a graph y equals f of x, and I have also 88 00:04:56,000 --> 00:04:58,690 drawn the graph, y equals 2f of x. 89 00:04:58,690 --> 00:05:01,732 The relationship between these graphs is that y equals 2f of 90 00:05:01,732 --> 00:05:05,460 x is what you get when you stretch the graph for y equals 91 00:05:05,460 --> 00:05:07,930 f of x vertically by a factor of two. 92 00:05:07,930 --> 00:05:11,200 So, you know, if it passed through 0 before, it still 93 00:05:11,200 --> 00:05:12,100 passes through 0. 94 00:05:12,100 --> 00:05:13,900 But everywhere else, if it was above 0, it's 95 00:05:13,900 --> 00:05:15,180 now twice as high. 96 00:05:15,180 --> 00:05:18,560 If it was below 0, it's now twice as low. 97 00:05:18,560 --> 00:05:22,230 So if you think about what the definition, what the 98 00:05:22,230 --> 00:05:26,600 derivative means in terms of this graph geometrically, it's 99 00:05:26,600 --> 00:05:29,590 telling you the limit-- sorry-- the slope 100 00:05:29,590 --> 00:05:30,780 of a tangent line. 101 00:05:30,780 --> 00:05:35,930 Or in other words, the limit of the slopes of secant lines. 102 00:05:35,930 --> 00:05:39,620 So if you look at these two curves, say-- 103 00:05:39,620 --> 00:05:45,040 let's pick a couple values of x, say, and then maybe 104 00:05:45,040 --> 00:05:48,390 x plus delta x-- 105 00:05:48,390 --> 00:05:57,370 so if you look at the secant lines for these two curves 106 00:05:57,370 --> 00:06:00,723 through those points, what you see is that these two lines, 107 00:06:00,723 --> 00:06:05,170 they have the same, you know-- so the slope of a line is its 108 00:06:05,170 --> 00:06:08,470 rise over its run-- so they have the same run, that we 109 00:06:08,470 --> 00:06:11,030 were talking about the same little interval, here. 110 00:06:11,030 --> 00:06:14,580 But this, in the function that's scaled up in the y 111 00:06:14,580 --> 00:06:18,070 equals 2f of x curve, we have that that the rise-- 112 00:06:18,070 --> 00:06:21,030 everything has been stretched upwards by a factor of two-- 113 00:06:21,030 --> 00:06:24,750 so the rise here is exactly double the rise here. 114 00:06:24,750 --> 00:06:28,030 So the slope of the secant line is exactly double the 115 00:06:28,030 --> 00:06:29,510 slope of this secant line. 116 00:06:29,510 --> 00:06:32,910 And similarly, the tangent line-- just a limit of secant 117 00:06:32,910 --> 00:06:36,220 lines-- has been stretched by that same factor of two. 118 00:06:36,220 --> 00:06:39,140 So the slope of the tangent line is exactly twice the 119 00:06:39,140 --> 00:06:43,550 slope of the tangent line for the other function. 120 00:06:43,550 --> 00:06:46,400 So the tangent line here is exactly twice as steep as the 121 00:06:46,400 --> 00:06:47,140 tangent line here. 122 00:06:47,140 --> 00:06:50,020 Or in other words, the derivative of this function is 123 00:06:50,020 --> 00:06:52,410 exactly twice the derivative of that function. 124 00:06:52,410 --> 00:06:57,720 So that's just a geometric statement of this very same 125 00:06:57,720 --> 00:07:01,150 constant multiple rule that we stated algebraically at the 126 00:07:01,150 --> 00:07:03,280 beginning and that we just proved. 127 00:07:03,280 --> 00:07:04,940 So that's that. 128 00:07:04,940 --> 00:07:05,692