1 00:00:00,000 --> 00:00:07,320 2 00:00:07,320 --> 00:00:09,840 CHRISTINE BREINER: Welcome back to recitation. 3 00:00:09,840 --> 00:00:12,500 In this segment, we're going to talk about the product rule 4 00:00:12,500 --> 00:00:15,710 for three functions and then we're going to do an example. 5 00:00:15,710 --> 00:00:18,605 And what I want to do first is remind you the product rule 6 00:00:18,605 --> 00:00:20,820 for two functions, because we're going to use that to 7 00:00:20,820 --> 00:00:23,040 figure out the product rule for three functions. 8 00:00:23,040 --> 00:00:28,490 So throughout this segment, we are going to assume that U and 9 00:00:28,490 --> 00:00:31,430 V and W are all functions of x. 10 00:00:31,430 --> 00:00:33,900 So I'm going to drop the of x just so it's a 11 00:00:33,900 --> 00:00:35,180 little easier to write. 12 00:00:35,180 --> 00:00:37,770 This notation should be familiar with things you saw 13 00:00:37,770 --> 00:00:38,980 in the lecture. 14 00:00:38,980 --> 00:00:43,230 So, for two functions, let me remind you. 15 00:00:43,230 --> 00:00:47,690 If UV, the product, and you take its derivative, so prime 16 00:00:47,690 --> 00:00:50,340 will denote d dx. 17 00:00:50,340 --> 00:00:53,340 Then we can take the derivative of the first times 18 00:00:53,340 --> 00:00:57,220 the second function left alone, plus the derivative of 19 00:00:57,220 --> 00:00:59,920 the second function times the first left alone. 20 00:00:59,920 --> 00:01:02,770 So this should again be familiar from class. 21 00:01:02,770 --> 00:01:07,100 And now what we want to do is expand that to the product of 22 00:01:07,100 --> 00:01:10,090 three functions, U times V times W. And we're going to 23 00:01:10,090 --> 00:01:11,870 explicitly use this rule. 24 00:01:11,870 --> 00:01:18,120 So, U V W prime is what we want to look at. 25 00:01:18,120 --> 00:01:21,580 So we're just going to take advantage of what we know to 26 00:01:21,580 --> 00:01:24,340 figure out what this expression will be. 27 00:01:24,340 --> 00:01:27,140 What this product of three functions when I take its 28 00:01:27,140 --> 00:01:27,920 derivative will be. 29 00:01:27,920 --> 00:01:31,340 So in order to do this easily, what we're going to do is 30 00:01:31,340 --> 00:01:33,770 treat V times W as a single function. 31 00:01:33,770 --> 00:01:35,280 OK? 32 00:01:35,280 --> 00:01:38,590 So V times W will be our second function that 33 00:01:38,590 --> 00:01:42,370 essentially takes the place of the V up here. 34 00:01:42,370 --> 00:01:46,230 So using the product rule for two functions, what I get when 35 00:01:46,230 --> 00:01:52,440 I take this derivative, is I get U prime times VW plus, I 36 00:01:52,440 --> 00:01:53,940 take the derivative of this second 37 00:01:53,940 --> 00:01:58,230 thing, which is VW prime. 38 00:01:58,230 --> 00:01:59,405 And then I leave U alone. 39 00:01:59,405 --> 00:02:00,790 OK? 40 00:02:00,790 --> 00:02:04,040 We're quite done, but you can see now, again if we compare 41 00:02:04,040 --> 00:02:06,450 to what's above, you take the derivative of the first 42 00:02:06,450 --> 00:02:08,615 function, you leave the second function alone. 43 00:02:08,615 --> 00:02:11,320 You take the derivative of the second function, you leave the 44 00:02:11,320 --> 00:02:12,890 first function alone. 45 00:02:12,890 --> 00:02:14,540 But now again, what do we do here? 46 00:02:14,540 --> 00:02:16,880 Well we have a product rule for two functions, 47 00:02:16,880 --> 00:02:18,300 so let's use it. 48 00:02:18,300 --> 00:02:21,630 So, I'll leave the first thing alone, U prime-- oops, that 49 00:02:21,630 --> 00:02:22,880 does not look like a UV-- 50 00:02:22,880 --> 00:02:24,940 51 00:02:24,940 --> 00:02:30,190 VW plus, now let's expand this. 52 00:02:30,190 --> 00:02:32,050 Take the derivative of the first function there. 53 00:02:32,050 --> 00:02:33,230 That's V prime. 54 00:02:33,230 --> 00:02:35,130 I leave the W alone. 55 00:02:35,130 --> 00:02:37,120 Plus the derivative of the second function. 56 00:02:37,120 --> 00:02:38,135 That's w prime. 57 00:02:38,135 --> 00:02:40,310 I leave the V alone. 58 00:02:40,310 --> 00:02:41,255 And I keep the U there. 59 00:02:41,255 --> 00:02:43,120 OK? 60 00:02:43,120 --> 00:02:45,570 I'm going to just expand and write it in a nice order, so 61 00:02:45,570 --> 00:02:48,080 we can see sort of exactly what happens. 62 00:02:48,080 --> 00:03:01,930 So, U prime VW plus V prime UW plus W prime UV. So what you 63 00:03:01,930 --> 00:03:03,750 can see here is, what happens? 64 00:03:03,750 --> 00:03:06,060 You take the derivative of the first function, you leave the 65 00:03:06,060 --> 00:03:07,620 second and third alone. 66 00:03:07,620 --> 00:03:09,900 Then you take the derivative of the second function, you 67 00:03:09,900 --> 00:03:11,590 leave the first and third alone. 68 00:03:11,590 --> 00:03:13,320 Then you take the derivative of the third function, you 69 00:03:13,320 --> 00:03:15,000 leave the first and second alone. 70 00:03:15,000 --> 00:03:18,110 And you add up those three terms. 71 00:03:18,110 --> 00:03:20,760 I would imagine that at this point you 72 00:03:20,760 --> 00:03:22,040 anticipate a pattern. 73 00:03:22,040 --> 00:03:23,710 So if I had a fourth function. 74 00:03:23,710 --> 00:03:27,480 If I did U times V times W times Z, let's say. 75 00:03:27,480 --> 00:03:31,250 And I took that derivative with respect to x. 76 00:03:31,250 --> 00:03:35,340 You could probably anticipate, you would have four terms when 77 00:03:35,340 --> 00:03:36,340 you added them up. 78 00:03:36,340 --> 00:03:39,210 And that fourth term would have to include a derivative 79 00:03:39,210 --> 00:03:41,090 of the fourth function. 80 00:03:41,090 --> 00:03:44,910 So from here, actually you can probably tell me what the 81 00:03:44,910 --> 00:03:48,790 derivative of the product of n functions is. 82 00:03:48,790 --> 00:03:51,340 And you can check it using the same kind of rule. 83 00:03:51,340 --> 00:03:53,270 But what we're going to do at this point, is we're going to 84 00:03:53,270 --> 00:03:54,580 just make sure we understand this. 85 00:03:54,580 --> 00:03:56,360 We're going to compute an example. 86 00:03:56,360 --> 00:04:00,330 So since we know products, or we know derivatives 87 00:04:00,330 --> 00:04:01,970 of powers of x. 88 00:04:01,970 --> 00:04:05,470 And we know derivatives of the basic trig functions, we'll do 89 00:04:05,470 --> 00:04:07,590 a product rule using those functions. 90 00:04:07,590 --> 00:04:10,375 So, let me take an example. 91 00:04:10,375 --> 00:04:13,970 92 00:04:13,970 --> 00:04:23,970 So we'll say, f of x equals x squared sine x cosine x. 93 00:04:23,970 --> 00:04:26,530 OK? 94 00:04:26,530 --> 00:04:31,130 And I want you to find f prime of x. 95 00:04:31,130 --> 00:04:34,230 96 00:04:34,230 --> 00:04:36,480 Ok, I'm going to give you a moment to do it. 97 00:04:36,480 --> 00:04:39,090 You should probably pause the video here, make sure you can 98 00:04:39,090 --> 00:04:42,210 do it, and then you can, you can restart the video when you 99 00:04:42,210 --> 00:04:43,460 want to check your answer. 100 00:04:43,460 --> 00:04:51,510 101 00:04:51,510 --> 00:04:55,150 OK, so we have a product role for three functions, we have 102 00:04:55,150 --> 00:04:59,480 an example that I asked you to determine and gave you a 103 00:04:59,480 --> 00:05:00,210 moment to do it. 104 00:05:00,210 --> 00:05:02,830 So now I will actually work out the example 105 00:05:02,830 --> 00:05:04,960 over here to the right. 106 00:05:04,960 --> 00:05:08,890 So I will determine f prime of x. 107 00:05:08,890 --> 00:05:10,250 Now what are our three functions? 108 00:05:10,250 --> 00:05:13,520 Well we have x squared is the first, sin x is the second, 109 00:05:13,520 --> 00:05:15,000 cosine x is the third. 110 00:05:15,000 --> 00:05:18,180 So we'll have three terms. The first term has to have the 111 00:05:18,180 --> 00:05:20,270 derivative of the x squared. 112 00:05:20,270 --> 00:05:22,040 That's going to give me a 2x. 113 00:05:22,040 --> 00:05:24,190 And I leave the other two terms alone. 114 00:05:24,190 --> 00:05:29,650 So I have 2x sine x cosine x plus-- 115 00:05:29,650 --> 00:05:30,990 I may want to just write these below. 116 00:05:30,990 --> 00:05:32,270 OK. 117 00:05:32,270 --> 00:05:33,690 Now in the next term, I should take the 118 00:05:33,690 --> 00:05:35,570 derivative of the sine x. 119 00:05:35,570 --> 00:05:38,170 And leave the x squared and the cosine x alone. 120 00:05:38,170 --> 00:05:40,860 The derivative of sine x is cosine x. 121 00:05:40,860 --> 00:05:42,777 So I'm actually going to write this underneath. 122 00:05:42,777 --> 00:05:44,160 So we'll have-- 123 00:05:44,160 --> 00:05:47,030 I'm going to put the plus underneath also so we remember 124 00:05:47,030 --> 00:05:48,080 it's a sum. 125 00:05:48,080 --> 00:05:52,240 Plus, so the derivative of sine x is cosine x. 126 00:05:52,240 --> 00:05:55,710 And then we have a times x squared times-- oops-- 127 00:05:55,710 --> 00:05:57,770 another cosine x of the third function. 128 00:05:57,770 --> 00:05:59,020 OK? 129 00:05:59,020 --> 00:06:01,010 130 00:06:01,010 --> 00:06:03,540 And then the third term, I take the derivative of the 131 00:06:03,540 --> 00:06:06,070 third function and I leave the first and second alone. 132 00:06:06,070 --> 00:06:09,350 The derivative of cosine x is negative sine x. 133 00:06:09,350 --> 00:06:16,130 So I actually have a negative sine x times x squared times 134 00:06:16,130 --> 00:06:17,380 the sine x here. 135 00:06:17,380 --> 00:06:20,650 136 00:06:20,650 --> 00:06:23,970 I can do some simplifying if I want. 137 00:06:23,970 --> 00:06:27,760 But maybe, if I were trying to write this nicely for someone 138 00:06:27,760 --> 00:06:30,150 who was reading mathematics, I would put all of the 139 00:06:30,150 --> 00:06:33,780 polynomials in front and all of the coefficients in front. 140 00:06:33,780 --> 00:06:37,460 So to be very kind to someone, I might write it like this. 141 00:06:37,460 --> 00:06:40,870 142 00:06:40,870 --> 00:06:45,660 And notice cosine x, cosine x is cosine squared x. 143 00:06:45,660 --> 00:06:51,840 And then minus x squared sine squared x. 144 00:06:51,840 --> 00:06:55,600 And there are other ways, I could rewrite this and using 145 00:06:55,600 --> 00:06:56,360 trig identities. 146 00:06:56,360 --> 00:06:58,820 But this is a sufficient answer at this point. 147 00:06:58,820 --> 00:07:03,160 So this is actually a good way to write the derivative of 148 00:07:03,160 --> 00:07:04,800 that function f if x. 149 00:07:04,800 --> 00:07:07,200 And this is where we'll stop. 150 00:07:07,200 --> 00:07:07,427