1 00:00:00,000 --> 00:00:00,660 2 00:00:00,660 --> 00:00:04,110 In the last video we tried to figure out the slope of a 3 00:00:04,110 --> 00:00:07,570 point or the slope of a curve at a certain point. 4 00:00:07,570 --> 00:00:10,310 And the way we did, we said OK, well let's find the slope 5 00:00:10,310 --> 00:00:12,970 between that point and then another point that's not too 6 00:00:12,970 --> 00:00:14,220 far away from that point. 7 00:00:14,220 --> 00:00:15,630 And we got the slope of the secant 8 00:00:15,630 --> 00:00:15,919 line. 9 00:00:15,919 --> 00:00:19,530 And it looks all fancy, but this is just the y value of the 10 00:00:19,530 --> 00:00:23,570 point that's not too far away, and this is just the y value 11 00:00:23,570 --> 00:00:25,699 point of the point in question, so this is 12 00:00:25,699 --> 00:00:27,099 just your change in y. 13 00:00:27,100 --> 00:00:29,020 And then you divide that by your change in x. 14 00:00:29,019 --> 00:00:31,579 So in the example we did, h was the difference 15 00:00:31,579 --> 00:00:33,609 between our 2 x values. 16 00:00:33,609 --> 00:00:35,420 This distance was h. 17 00:00:35,420 --> 00:00:39,210 And that gave us the slope of that line. 18 00:00:39,210 --> 00:00:42,939 We said hey, what if we take the limit as this point 19 00:00:42,939 --> 00:00:45,509 right here gets closer and closer to this point. 20 00:00:45,509 --> 00:00:48,420 If this point essentially almost becomes this point, then 21 00:00:48,420 --> 00:00:51,230 our slope is going to be the slope of our tangent line. 22 00:00:51,229 --> 00:00:54,619 And we define that as the derivative of our function. 23 00:00:54,619 --> 00:00:57,280 We said that's equal to f prime of x. 24 00:00:57,280 --> 00:01:00,520 So let's if we can apply this in this video to maybe make 25 00:01:00,520 --> 00:01:03,750 things a little bit more concrete in your head. 26 00:01:03,750 --> 00:01:04,909 So let me do one. 27 00:01:04,909 --> 00:01:07,140 First I'll do a particular case where I want to find the 28 00:01:07,140 --> 00:01:09,980 slope at exactly some point. 29 00:01:09,980 --> 00:01:14,670 So let me draw my axes again. 30 00:01:14,670 --> 00:01:17,519 Let's draw some axes right there. 31 00:01:17,519 --> 00:01:25,399 Let's say I have the curve-- this is the curve-- y 32 00:01:25,400 --> 00:01:27,109 is equal to x squared. 33 00:01:27,109 --> 00:01:32,789 So this is my y-axis, this is my x-axis, and I want to know 34 00:01:32,790 --> 00:01:37,270 the slope at the point x is equal to 3. 35 00:01:37,269 --> 00:01:41,659 When I say the slope you can imagine a tangent line here. 36 00:01:41,659 --> 00:01:44,759 You can imagine a tangent line that goes just like that, and 37 00:01:44,760 --> 00:01:47,710 it would just barely graze the curve at that point. 38 00:01:47,709 --> 00:01:51,259 But what is the slope of that tangent line? 39 00:01:51,260 --> 00:01:53,570 What is the slope of that tangent line which is the same 40 00:01:53,569 --> 00:01:56,359 as the slope of the curve right at that point. 41 00:01:56,359 --> 00:01:58,769 So to do it, I'm actually going to do this exact technique that 42 00:01:58,769 --> 00:02:01,269 we did before, then we'll generalize it so you don't have 43 00:02:01,269 --> 00:02:03,909 to do it every time for a particular number. 44 00:02:03,909 --> 00:02:06,804 So let's take some other point here. 45 00:02:06,805 --> 00:02:09,610 46 00:02:09,610 --> 00:02:14,110 Let's call this 3 plus delta x. 47 00:02:14,110 --> 00:02:16,380 I'm changing the notation because in some books you'll 48 00:02:16,379 --> 00:02:19,530 see an h, some books you'll see a delta x, doesn't hurt to 49 00:02:19,530 --> 00:02:20,659 be exposed to both of them. 50 00:02:20,659 --> 00:02:22,500 So this is 3 plus delta x. 51 00:02:22,500 --> 00:02:25,770 So first of all what is this point right here? 52 00:02:25,770 --> 00:02:31,890 This is a curve y is equal to x squared, so f of x is 3 53 00:02:31,889 --> 00:02:33,719 squared-- this is the point 9. 54 00:02:33,719 --> 00:02:36,805 This is the point 3,9 right here. 55 00:02:36,805 --> 00:02:39,349 56 00:02:39,349 --> 00:02:40,870 And what is this point right here? 57 00:02:40,870 --> 00:02:45,180 So if we were go all the way up here, what is that point? 58 00:02:45,180 --> 00:02:49,120 Well here our x is 3 plus delta x. 59 00:02:49,120 --> 00:02:50,310 It's the same thing as this one right here, 60 00:02:50,310 --> 00:02:50,990 as x [UNINTELLIGIBLE] 61 00:02:50,990 --> 00:02:51,300 plus h. 62 00:02:51,300 --> 00:02:54,235 I could have called this 3 plus h just as easily. 63 00:02:54,235 --> 00:02:58,110 So it's 3 plus delta x up there. 64 00:02:58,110 --> 00:02:59,930 So what's the y value going to be? 65 00:02:59,930 --> 00:03:02,080 Well whatever x value is, it's on the curve, it's going 66 00:03:02,080 --> 00:03:03,550 to be that squared. 67 00:03:03,550 --> 00:03:12,310 So it's going to be the point 3 plus delta x squared. 68 00:03:12,310 --> 00:03:14,789 So let's figure out the slope of this secant 69 00:03:14,789 --> 00:03:15,239 line. 70 00:03:15,240 --> 00:03:18,080 71 00:03:18,080 --> 00:03:20,270 And let me zoom in a little bit, because that might help. 72 00:03:20,270 --> 00:03:22,950 So if I zoom in on just this part of the curve, 73 00:03:22,949 --> 00:03:25,250 it might look like that. 74 00:03:25,250 --> 00:03:28,330 And then I have one point here, and then I have the 75 00:03:28,330 --> 00:03:29,776 other point is up here. 76 00:03:29,776 --> 00:03:32,330 77 00:03:32,330 --> 00:03:33,070 That's the secant 78 00:03:33,069 --> 00:03:33,509 line. 79 00:03:33,509 --> 00:03:39,099 80 00:03:39,099 --> 00:03:40,210 Just like that. 81 00:03:40,210 --> 00:03:45,510 This was the point over here, the point 3,9. 82 00:03:45,509 --> 00:03:50,229 And then this point up here is the point 3 plus delta x, so 83 00:03:50,229 --> 00:03:54,340 just some larger number than 3, and then it's going to 84 00:03:54,340 --> 00:03:55,789 be that number squared. 85 00:03:55,789 --> 00:03:58,109 So it's going to be 3 plus delta x squared. 86 00:03:58,110 --> 00:03:59,070 What is that? 87 00:03:59,069 --> 00:04:01,310 That's going to be 9. 88 00:04:01,310 --> 00:04:03,719 I'm just foiling this out, or you do the distribute 89 00:04:03,719 --> 00:04:04,939 property twice. 90 00:04:04,939 --> 00:04:09,280 a plus b squared is a squared plus 2 a b plus b squared, so 91 00:04:09,280 --> 00:04:11,430 it's going to be 9 plus two times the product 92 00:04:11,430 --> 00:04:12,020 of these things. 93 00:04:12,020 --> 00:04:17,345 So plus 6 delta x, and then plus delta x squared. 94 00:04:17,345 --> 00:04:21,070 95 00:04:21,069 --> 00:04:22,529 That's the coordinate of the second line. 96 00:04:22,529 --> 00:04:25,469 This looks complicated, but I just took this x value and I 97 00:04:25,470 --> 00:04:29,230 squared it, because it's on the line y is equal to x squared. 98 00:04:29,230 --> 00:04:32,430 So the slope of the secant 99 00:04:32,430 --> 00:04:35,500 line is going to be the change in y divided 100 00:04:35,500 --> 00:04:37,050 by the change in x. 101 00:04:37,050 --> 00:04:42,500 So the change in y is just going to be this guy's y value, 102 00:04:42,500 --> 00:04:49,430 which is 9 plus 6 delta x plus delta x squared. 103 00:04:49,430 --> 00:04:52,610 That's this guy's y value, minus this guy's y value. 104 00:04:52,610 --> 00:04:55,310 105 00:04:55,310 --> 00:04:58,000 So minus 9. 106 00:04:58,000 --> 00:04:59,509 That's your change in y. 107 00:04:59,509 --> 00:05:03,629 And you want to divide that by your change in x. 108 00:05:03,629 --> 00:05:05,019 Well what is your change in x? 109 00:05:05,019 --> 00:05:07,209 This is actually going to be pretty convenient. 110 00:05:07,209 --> 00:05:09,489 This larger x value-- we started with this point on the 111 00:05:09,490 --> 00:05:11,460 top, so we have to start with this point on the bottom. 112 00:05:11,459 --> 00:05:15,680 So it's going to be 3 plus delta x. 113 00:05:15,680 --> 00:05:17,340 And then what's this x value? 114 00:05:17,339 --> 00:05:20,699 What is minus 3? 115 00:05:20,699 --> 00:05:22,069 That's his x value. 116 00:05:22,069 --> 00:05:23,759 So what does this simplify to? 117 00:05:23,759 --> 00:05:27,019 The numerator-- this 9 and that 9 cancel out, 118 00:05:27,019 --> 00:05:28,319 we get a 9 minus 9. 119 00:05:28,319 --> 00:05:30,779 And in the denominator what happens? 120 00:05:30,779 --> 00:05:32,559 This 3 and minus 3 cancel out. 121 00:05:32,560 --> 00:05:35,550 So the change in x actually end up becoming this delta x, which 122 00:05:35,550 --> 00:05:38,490 makes sense, because this delta x is essentially how much more 123 00:05:38,490 --> 00:05:39,990 this guy is then that guy. 124 00:05:39,990 --> 00:05:43,360 So that should be the change in x, delta x. 125 00:05:43,360 --> 00:05:44,810 So the slope of my secant 126 00:05:44,810 --> 00:05:53,860 line has simplified to 6 times my change in x, plus my change 127 00:05:53,860 --> 00:06:00,129 in x squared, all of that over my change in x. 128 00:06:00,129 --> 00:06:02,639 And now we can simplify this even more. 129 00:06:02,639 --> 00:06:05,139 Let's divide the numerator and the denominator 130 00:06:05,139 --> 00:06:06,789 by our change in x. 131 00:06:06,790 --> 00:06:09,900 And I'll switch colors just to ease the monotony. 132 00:06:09,899 --> 00:06:13,109 So my slope of my tangent of my secant 133 00:06:13,110 --> 00:06:15,580 line-- the one that goes through both of these-- is 134 00:06:15,579 --> 00:06:17,483 going to be equal if you divide the numerator and 135 00:06:17,483 --> 00:06:19,649 denominator this becomes 6. 136 00:06:19,649 --> 00:06:21,419 I'm just dividing numerator and denominator by delta 137 00:06:21,420 --> 00:06:26,129 x plus six plus delta x. 138 00:06:26,129 --> 00:06:28,079 So that is the slope of this secant 139 00:06:28,079 --> 00:06:34,629 line So slope is equal to 6 plus delta x. 140 00:06:34,629 --> 00:06:36,279 That's this one right here. 141 00:06:36,279 --> 00:06:38,989 That's this reddish line that I've drawn right there. 142 00:06:38,990 --> 00:06:42,340 So this number right here, if the delta x was [? once ?], if 143 00:06:42,339 --> 00:06:46,389 these were the points 3 and 4, then my slope would be 6 plus 144 00:06:46,389 --> 00:06:49,639 1, because I'm picking a point 4 where the delta x here 145 00:06:49,639 --> 00:06:50,479 would have to be 1. 146 00:06:50,480 --> 00:06:53,780 So the slope would be 7. 147 00:06:53,779 --> 00:06:56,729 So we have a general formula for no matter what my delta 148 00:06:56,730 --> 00:07:00,790 x is, I can find the slow between 3 and 3 plus delta x. 149 00:07:00,790 --> 00:07:02,640 Between those two points. 150 00:07:02,639 --> 00:07:08,009 Now we wanted to find the slope at exactly that 151 00:07:08,009 --> 00:07:09,120 point right there. 152 00:07:09,120 --> 00:07:12,100 So let's see what happens when delta x get 153 00:07:12,100 --> 00:07:12,810 smaller and smaller. 154 00:07:12,810 --> 00:07:14,470 This is what delta x is right now. 155 00:07:14,470 --> 00:07:15,580 It's this distance. 156 00:07:15,579 --> 00:07:18,509 But if delta x got a little bit smaller, then the secant 157 00:07:18,509 --> 00:07:20,159 line would look like that. 158 00:07:20,160 --> 00:07:21,360 Got even smaller, the secant 159 00:07:21,360 --> 00:07:23,680 line would look like that, it gets even smaller. 160 00:07:23,680 --> 00:07:25,240 Then we're getting pretty close to the slope 161 00:07:25,240 --> 00:07:26,860 of the tangent line. 162 00:07:26,860 --> 00:07:28,970 The tangent line is this thing right here that I 163 00:07:28,970 --> 00:07:30,910 want to find the slope of. 164 00:07:30,910 --> 00:07:34,970 Let's find a limit as our delta x approaches 0. 165 00:07:34,970 --> 00:07:39,400 So the limit as delta x approaches 0 of our 166 00:07:39,399 --> 00:07:40,239 slope of the secant 167 00:07:40,240 --> 00:07:43,699 line of 6 plus delta x is equal to what? 168 00:07:43,699 --> 00:07:44,829 This is pretty straightforward. 169 00:07:44,829 --> 00:07:48,349 You can just set this equal to 0 and it's equal to 6. 170 00:07:48,350 --> 00:07:54,280 So the slope of our tangent line at the point x is equal to 171 00:07:54,279 --> 00:07:57,614 3 right there is equal to 6. 172 00:07:57,615 --> 00:08:01,280 And another way we could write this if we wrote that f of 173 00:08:01,279 --> 00:08:04,449 x is equal to x squared. 174 00:08:04,449 --> 00:08:08,769 We now know that the derivative or the slope of the tangent 175 00:08:08,769 --> 00:08:13,349 line of this function at the point 3-- I just only evaluated 176 00:08:13,350 --> 00:08:18,410 it at the point 3 right there-- that that is equal to 6. 177 00:08:18,410 --> 00:08:22,670 I haven't yet come up with a general formula for the slope 178 00:08:22,670 --> 00:08:25,790 of this line at any point, and I'm going to do that 179 00:08:25,790 --> 00:08:26,330 in the next video. 180 00:08:26,329 --> 00:08:27,629