1 00:00:00,000 --> 00:00:00,960 2 00:00:00,960 --> 00:00:01,929 Welcome back. 3 00:00:01,929 --> 00:00:05,459 I'm now going to do some more examples of a bit of a review 4 00:00:05,459 --> 00:00:07,299 of some of the derivatives that we've been seeing. 5 00:00:07,299 --> 00:00:09,449 And then I'll introduce you to something called the chain rule 6 00:00:09,449 --> 00:00:13,079 which expands the universe of the types of functions we can 7 00:00:13,080 --> 00:00:14,289 take the derivatives of. 8 00:00:14,289 --> 00:00:18,539 So in the last presentation, I showed you how to function if I 9 00:00:18,539 --> 00:00:30,269 had f of x is equal to 10x to the seventh plus 6x to the 10 00:00:30,269 --> 00:00:39,329 third plus 15x minus x to the 16th. 11 00:00:39,329 --> 00:00:42,159 To take the derivative of this entire function, we take just 12 00:00:42,159 --> 00:00:43,839 the derivatives of each of the pieces, right? 13 00:00:43,840 --> 00:00:45,640 Because you can add them up. 14 00:00:45,640 --> 00:00:51,560 So f prime of x in this example, is equal to-- and 15 00:00:51,560 --> 00:00:52,755 I think you get the hang of it at this point. 16 00:00:52,755 --> 00:00:54,150 It's actually fairly straightforward. 17 00:00:54,149 --> 00:00:56,479 We take the 7, multiply it by the 10. 18 00:00:56,479 --> 00:01:01,619 So we get 70x, then 1 degree less. 19 00:01:01,619 --> 00:01:10,939 So 70x to the sixth plus 18x squared plus 15. 20 00:01:10,939 --> 00:01:13,009 We can kind of view this as x to the 1, right? 21 00:01:13,010 --> 00:01:16,920 So it's 1 times 15 times x to the 0. 22 00:01:16,920 --> 00:01:17,549 Which is 1. 23 00:01:17,549 --> 00:01:23,840 So that's just 15 minus 16x to the 15th. 24 00:01:23,840 --> 00:01:25,329 And I don't want you to lose sight of what we're 25 00:01:25,329 --> 00:01:26,090 actually doing here. 26 00:01:26,090 --> 00:01:27,870 What is f prime of x? 27 00:01:27,870 --> 00:01:32,770 This is the function the tells us the slope of any point 28 00:01:32,769 --> 00:01:35,450 x, along the curve f of x. 29 00:01:35,450 --> 00:01:37,859 It's a pretty interesting thing. 30 00:01:37,859 --> 00:01:40,795 Let me just draw to maybe give you a little bit of intuition. 31 00:01:40,795 --> 00:01:45,299 32 00:01:45,299 --> 00:01:47,489 I don't know what the slope of f of x really looks like. 33 00:01:47,489 --> 00:01:49,559 And actually, let's pretend like this isn't f of x. 34 00:01:49,560 --> 00:01:51,359 Let's pretend like this is just some arbitrary 35 00:01:51,359 --> 00:01:53,269 function I'm drawing. 36 00:01:53,269 --> 00:01:56,209 If this is f of x, just some curve that does all sorts of 37 00:01:56,209 --> 00:02:01,429 crazy things, f prime of x tells me the slope at any 38 00:02:01,430 --> 00:02:02,810 point along that line. 39 00:02:02,810 --> 00:02:09,949 So if I wanted to know the slope at this point right here, 40 00:02:09,949 --> 00:02:13,060 I could use the derivative function to figure out the 41 00:02:13,060 --> 00:02:15,120 slope of the tangent line. 42 00:02:15,120 --> 00:02:18,740 The tangent line is something like that right there. 43 00:02:18,740 --> 00:02:21,930 Or if I wanted to figure out the slope at this point, 44 00:02:21,930 --> 00:02:23,890 once again I'd use the derivative function. 45 00:02:23,889 --> 00:02:26,339 And it would tell me the slope of the tangent 46 00:02:26,340 --> 00:02:27,099 line at that point. 47 00:02:27,099 --> 00:02:29,150 Which would be something like that. 48 00:02:29,150 --> 00:02:30,960 So it's a pretty useful thing. 49 00:02:30,960 --> 00:02:34,900 And once I give you all the tools to analytically solve a 50 00:02:34,900 --> 00:02:36,560 whole host of derivatives, then we'll actually do a bunch 51 00:02:36,560 --> 00:02:39,140 of word problems and applications of derivatives. 52 00:02:39,139 --> 00:02:41,269 And I think you'll see that it's a really, really, 53 00:02:41,270 --> 00:02:42,700 really useful concept. 54 00:02:42,699 --> 00:02:43,599 So let's move on. 55 00:02:43,599 --> 00:02:45,960 I think you get the idea of how to do these derivatives 56 00:02:45,960 --> 00:02:48,610 of polynomials. 57 00:02:48,610 --> 00:02:49,760 Let me erase this. 58 00:02:49,759 --> 00:02:52,649 I'm actually using a different tool now. 59 00:02:52,650 --> 00:02:56,110 So I think it might be a bit easier. 60 00:02:56,110 --> 00:02:57,630 Let's see, someone was calling me. 61 00:02:57,629 --> 00:03:00,519 But you're more important so I will not answer the phone. 62 00:03:00,520 --> 00:03:08,439 63 00:03:08,439 --> 00:03:11,639 I'm going to introduce you-- this tool doesn't have, I 64 00:03:11,639 --> 00:03:14,329 don't think it has a straight up eraser. 65 00:03:14,330 --> 00:03:15,230 Actually, maybe let's see. 66 00:03:15,229 --> 00:03:16,349 If I do it like this. 67 00:03:16,349 --> 00:03:27,479 68 00:03:27,479 --> 00:03:28,399 Oh let me see. 69 00:03:28,400 --> 00:03:30,900 70 00:03:30,900 --> 00:03:32,150 No that doesn't work. 71 00:03:32,150 --> 00:03:36,080 Let me just erase like this, the old-fashioned way. 72 00:03:36,080 --> 00:03:39,530 73 00:03:39,530 --> 00:03:41,000 You just have to bear with me. 74 00:03:41,000 --> 00:03:45,280 And then once I finish erasing, I will show you the chain rule. 75 00:03:45,280 --> 00:03:45,900 This is good. 76 00:03:45,900 --> 00:03:48,409 It feels like I'm a real teacher with a real chalkboard 77 00:03:48,409 --> 00:03:49,490 and a real eraser now. 78 00:03:49,490 --> 00:03:53,530 79 00:03:53,530 --> 00:03:56,750 This is a lot cleaner than a normal chalkboard as well. 80 00:03:56,750 --> 00:04:00,960 Bear with me, almost there. 81 00:04:00,960 --> 00:04:02,629 I'll figure out a faster way to do this over the 82 00:04:02,629 --> 00:04:04,590 next couple of videos. 83 00:04:04,590 --> 00:04:05,210 It's pretty sad. 84 00:04:05,210 --> 00:04:07,670 I'm showing you how to do derivatives in calculus, but 85 00:04:07,669 --> 00:04:10,909 I don't know how to erase a faster way than this. 86 00:04:10,909 --> 00:04:14,270 87 00:04:14,270 --> 00:04:15,560 There, we're done. 88 00:04:15,560 --> 00:04:15,900 OK. 89 00:04:15,900 --> 00:04:18,290 So now I'm going show you how to solve the derivatives of a 90 00:04:18,290 --> 00:04:21,360 slightly more complicated type of a function. 91 00:04:21,360 --> 00:04:23,080 It's actually not more complicated. 92 00:04:23,079 --> 00:04:24,449 It's just different. 93 00:04:24,449 --> 00:04:42,889 So let's say f of x is equal to 2x plus 3 to the fifth power. 94 00:04:42,889 --> 00:04:45,219 And I want to figure out the derivative of this. 95 00:04:45,220 --> 00:04:46,320 We're going to use something called the chain rule. 96 00:04:46,319 --> 00:04:49,019 Because one thing we could do, we could just multiply out 2x 97 00:04:49,019 --> 00:04:50,599 plus 3 to the fifth power. 98 00:04:50,600 --> 00:04:54,420 And if you've ever done that, you know it's a pain. 99 00:04:54,420 --> 00:04:55,540 So that's not something we'd want to do. 100 00:04:55,540 --> 00:04:57,280 So we're going to use something called the chain rule. 101 00:04:57,279 --> 00:04:59,389 And I'm just going to give you a bunch of examples before I 102 00:04:59,389 --> 00:05:01,060 even show you the definition of the chain rule. 103 00:05:01,060 --> 00:05:02,329 Because I think this is something that you just 104 00:05:02,329 --> 00:05:04,259 have to learn by example. 105 00:05:04,259 --> 00:05:07,110 So the chain rule just tells us that the derivative of let's 106 00:05:07,110 --> 00:05:10,819 say this function right here. 107 00:05:10,819 --> 00:05:14,099 You take the derivative of the subfunctions, and then you can 108 00:05:14,100 --> 00:05:16,000 take a derivative of the entire function. 109 00:05:16,000 --> 00:05:17,290 I'll tell you that formally. 110 00:05:17,290 --> 00:05:19,010 But I think when you introduce it formally, it gets 111 00:05:19,009 --> 00:05:19,889 more confusing. 112 00:05:19,889 --> 00:05:23,454 So what I do, I just take the derivative of 2x plus 3 first. 113 00:05:23,454 --> 00:05:25,000 And actually let me use colors. 114 00:05:25,000 --> 00:05:26,730 I think that might simplify it. 115 00:05:26,730 --> 00:05:29,509 So I take the derivative of 2x plus 3. 116 00:05:29,509 --> 00:05:31,349 What's the derivative of 2x plus 3? 117 00:05:31,350 --> 00:05:32,129 Well you know that. 118 00:05:32,129 --> 00:05:36,469 It's just the derivative of 2x, which is 2. 119 00:05:36,470 --> 00:05:37,860 And then the derivative of 3 is 0. 120 00:05:37,860 --> 00:05:41,300 So the derivative of 2x plus 3 is just 2. 121 00:05:41,300 --> 00:05:45,030 And then I'm going to multiply that times the derivative 122 00:05:45,029 --> 00:05:46,149 of the whole thing. 123 00:05:46,149 --> 00:05:48,929 And I just pretend like 2x plus 3 is just like 124 00:05:48,930 --> 00:05:51,060 a variable by itself. 125 00:05:51,060 --> 00:05:54,620 So then what's the derivative of x to the fifth? 126 00:05:54,620 --> 00:05:56,629 Well the derivative of x to the fifth-- I'm going to do that in 127 00:05:56,629 --> 00:06:00,365 a different color-- the derivative of x to the 128 00:06:00,365 --> 00:06:05,589 fifth is 5x to the fourth. 129 00:06:05,589 --> 00:06:13,269 So it'll be 5 times something to the fourth. 130 00:06:13,269 --> 00:06:15,759 But here we didn't take the derivative of x the fifth. 131 00:06:15,759 --> 00:06:18,009 We took the derivative of 2x plus 3 to the fifth. 132 00:06:18,009 --> 00:06:20,279 So we just put the 2x plus 3 there instead. 133 00:06:20,279 --> 00:06:24,229 134 00:06:24,230 --> 00:06:26,189 So what did we do here? 135 00:06:26,189 --> 00:06:29,290 We went in the inside of the function, and we took 136 00:06:29,290 --> 00:06:29,860 the derivative here. 137 00:06:29,860 --> 00:06:32,569 And the derivative of 2x plus 3 was just 2. 138 00:06:32,569 --> 00:06:35,569 And then we multiplied it by the derivative of 139 00:06:35,569 --> 00:06:36,459 the greater function. 140 00:06:36,459 --> 00:06:38,979 And we just pretended like the 2x plus 3 was a variable. 141 00:06:38,980 --> 00:06:40,120 It was like x. 142 00:06:40,120 --> 00:06:44,410 So instead of 5x to the fourth, we got 5 times 143 00:06:44,410 --> 00:06:46,170 2x plus 3 to the fourth. 144 00:06:46,170 --> 00:06:51,540 And if we just simplify that, f prime of x is equal to 145 00:06:51,540 --> 00:06:58,220 2 times 5 is 10; 10 times 2x plus 3 to the fourth. 146 00:06:58,220 --> 00:07:01,650 That was a lot simpler than multiplying out 2x plus 3 to 147 00:07:01,649 --> 00:07:04,259 the fifth power, and then doing the derivatives the old way. 148 00:07:04,259 --> 00:07:06,079 I know this was probably a little confusing to you, 149 00:07:06,079 --> 00:07:09,269 so I'm going to try to do a couple more examples. 150 00:07:09,269 --> 00:07:25,569 Let's say I had g of x is equal to x-squared plus 2x plus 151 00:07:25,569 --> 00:07:30,620 3 to the eighth power. 152 00:07:30,620 --> 00:07:36,430 So g prime of x is going to equal-- well what did we say? 153 00:07:36,430 --> 00:07:38,090 We take the derivative of the inside. 154 00:07:38,089 --> 00:07:40,259 This is called the chain rule. 155 00:07:40,259 --> 00:07:41,409 What's the derivative of the inside? 156 00:07:41,410 --> 00:07:48,250 It's 2x plus 2 plus 0, right? 157 00:07:48,250 --> 00:07:50,189 And then we take the derivative of the whole thing. 158 00:07:50,189 --> 00:07:53,100 And we just pretend like this whole expression, x-squared 159 00:07:53,100 --> 00:07:57,540 plus 2x plus 3 is just kind of like the variable x. 160 00:07:57,540 --> 00:07:59,590 We know that the derivative of x to the eighth is 161 00:07:59,589 --> 00:08:01,519 8x to the seventh. 162 00:08:01,519 --> 00:08:07,409 So it'll be 8 times something to the seventh. 163 00:08:07,410 --> 00:08:10,580 And that something is this entire expression here, 8 times 164 00:08:10,579 --> 00:08:15,659 x-squared plus 2x plus 3. 165 00:08:15,660 --> 00:08:17,040 I hope I didn't confuse you too much. 166 00:08:17,040 --> 00:08:18,790 And you can simplify this more in any way. 167 00:08:18,790 --> 00:08:21,900 Because it's 2x plus 2 times 8 times x-squared plus 2x 168 00:08:21,899 --> 00:08:23,034 plus 3 to the seventh. 169 00:08:23,035 --> 00:08:26,300 To multiply this out, or to multiply this out is 170 00:08:26,300 --> 00:08:27,800 a huge pain as you know. 171 00:08:27,800 --> 00:08:30,840 But we could simplify a little bit. 172 00:08:30,839 --> 00:08:33,629 Let me draw a divider here. 173 00:08:33,629 --> 00:08:44,525 We could say that that equals 8 times 2x, 16x plus 16 times-- 174 00:08:44,525 --> 00:08:48,299 I'm making it really messy-- x-squared plus 2x plus 3 175 00:08:48,299 --> 00:08:50,609 to the seventh power. 176 00:08:50,610 --> 00:08:51,870 I hope I didn't confuse you too much. 177 00:08:51,870 --> 00:08:53,919 In the next presentation, I'm just going to do a ton of 178 00:08:53,919 --> 00:08:55,500 examples using the chain rule. 179 00:08:55,500 --> 00:08:57,850 And I think the more examples you see, it's going to 180 00:08:57,850 --> 00:08:58,470 hit the point home. 181 00:08:58,470 --> 00:09:00,440 And then after I've done a bunch of examples, then I'm 182 00:09:00,440 --> 00:09:01,960 going to give you a formal definition. 183 00:09:01,960 --> 00:09:04,190 I think that's actually an easier way to digest the chain 184 00:09:04,190 --> 00:09:06,970 rule than giving you the formal definition first, and then 185 00:09:06,970 --> 00:09:08,440 showing you a bunch of examples. 186 00:09:08,440 --> 00:09:10,520 So I'll see you in the next presentation. 187 00:09:10,519 --> 00:09:11,399