1 00:00:01,110 --> 00:00:05,802 In this video, we're going to be looking at how to differentiate 2 00:00:05,802 --> 00:00:09,712 very simple functions from first principles. So to begin with, 3 00:00:09,712 --> 00:00:14,404 what we want to have a look at is a straight line. 4 00:00:15,080 --> 00:00:21,218 A straight line has a constant gradient, or if we prefer its 5 00:00:21,218 --> 00:00:27,914 rate of change of y with respect to x is a constant. 6 00:00:29,080 --> 00:00:33,433 If we take the straight line y equals 3x + 2, 7 00:00:33,433 --> 00:00:36,506 we can look at its gradient. 8 00:00:37,850 --> 00:00:43,100 We take two points and look at the change in y divided by the 9 00:00:43,100 --> 00:00:44,225 change in x. 10 00:00:44,980 --> 00:00:51,554 When x changes from -1 to 0, y changes from -1 to 2, 11 00:00:51,554 --> 00:00:53,674 and so the gradient is 3. 12 00:00:55,540 --> 00:01:00,090 No matter which two points on the line that we use, the value 13 00:01:00,090 --> 00:01:02,190 of the gradient is always the 14 00:01:02,190 --> 00:01:05,490 same. It is always 3. 15 00:01:07,430 --> 00:01:13,646 Now we can see that in another way, by looking at a table of values. 16 00:01:13,646 --> 00:01:19,970 So let's take x ranging in values from -3 up to 3. 17 00:01:19,970 --> 00:01:26,674 And let's have a look at 3x. 18 00:01:26,680 --> 00:01:33,112 Which is simply the values of x we've got multiplied by 3. 19 00:01:33,830 --> 00:01:38,012 And then add 2 to those values to give us the function 20 00:01:38,012 --> 00:01:42,296 y equals 3x + 2. 21 00:01:49,020 --> 00:01:53,536 Now as we look at this table of values, what we see is that 22 00:01:53,536 --> 00:02:01,648 for every unit increase in x we always get 3 units increase in y. 23 00:02:01,648 --> 00:02:07,764 So as we go from -3 to -2, y goes from -7 to -4. 24 00:02:08,224 --> 00:02:13,280 As we go from 0 to 1, y goes from 2 to 5. 25 00:02:13,440 --> 00:02:21,202 For every unit increase in x we get the same increase in y of 3 units. 26 00:02:21,202 --> 00:02:25,171 And so the gradient of this straight line is 3 or 27 00:02:25,171 --> 00:02:29,960 the rate of change of y with respect to x is also 3. 28 00:02:31,190 --> 00:02:36,110 Now, nice as it is that a straight line has a constant gradient 29 00:02:36,110 --> 00:02:40,620 and that y is changing at a constant rate with respect to x, 30 00:02:40,620 --> 00:02:45,160 this is not always the case. So for instance when 31 00:02:45,160 --> 00:02:48,733 you are in a car and you press the accelerator, you watch the 32 00:02:48,733 --> 00:02:53,509 needle on the speedometer. The needle doesn't go up gradually, 33 00:02:53,509 --> 00:02:57,940 it doesn't go up constantly. The rate of increase of the speed varies. 34 00:02:59,596 --> 00:03:05,400 Similarly the acceleration due to gravity, now near the surface of the Earth, 35 00:03:05,400 --> 00:03:09,500 we assume that it's constant. But Newton actually showed that 36 00:03:09,500 --> 00:03:14,772 it was proportional to 1 over r squared, where r was the 37 00:03:14,772 --> 00:03:19,338 distance that we were away from the surface of the earth. So we 38 00:03:19,338 --> 00:03:23,554 can see that as we move further away from the surface of the 39 00:03:23,554 --> 00:03:27,624 Earth, the acceleration due to gravity gets less, but it 40 00:03:27,624 --> 00:03:32,488 doesn't change constantly. It doesn't change uniformly. 41 00:03:32,930 --> 00:03:39,322 So to see what's happening we need to look at some very simple curves. 42 00:03:39,570 --> 00:03:44,790 For a curve, we can see that if we join any pair of points, we 43 00:03:44,790 --> 00:03:46,182 get a straight line. 44 00:03:48,900 --> 00:03:53,829 But when we join different pairs of points, we tend to get very 45 00:03:53,829 --> 00:03:57,560 different straight lines with very different gradients. 46 00:03:59,500 --> 00:04:06,910 We can see this again by looking at very simple curve y equals x squared 47 00:04:06,910 --> 00:04:12,110 and looking at a table of values for it from -3 again 48 00:04:12,110 --> 00:04:17,370 up to +3. So now let's calculate the value of 49 00:04:17,370 --> 00:04:22,089 the function y equals x squared at each of these values. 50 00:04:26,862 --> 00:04:29,854 Now let's have a look how the value of the function is 51 00:04:29,854 --> 00:04:34,004 changing as the value of x changes. So if we have a 52 00:04:34,004 --> 00:04:38,028 unit increase in x from -3 to -2, we find that this time 53 00:04:38,028 --> 00:04:43,866 the value of y is gone down from 9 to 4, so it's gone down 54 00:04:43,866 --> 00:04:49,596 by 5 units. Not a problem if that decrease is going to be 55 00:04:49,596 --> 00:04:53,050 sustained. But when we look at the next unit. 56 00:04:53,110 --> 00:04:59,032 From -2 to -1, we find that it's gone down from 4 to 1, 57 00:04:59,032 --> 00:05:01,942 y has decreased by 3. 58 00:05:01,942 --> 00:05:06,030 And in the next unit it is decreased by 1, but then it 59 00:05:06,030 --> 00:05:11,525 starts to increase again so we can see that for a very, very 60 00:05:11,525 --> 00:05:16,620 simple function like y equals X squared, y is not changing 61 00:05:16,620 --> 00:05:21,240 constantly with respect to x. Now this is not a problem so 62 00:05:21,240 --> 00:05:24,320 long as we can find a way of 63 00:05:24,320 --> 00:05:30,102 calculating it. To start that process, let's just have a look 64 00:05:30,102 --> 00:05:34,822 at a sketch of y equals x squared. 65 00:05:35,950 --> 00:05:39,973 And let me pick this point on the curve. 66 00:05:41,340 --> 00:05:45,906 Now as we look at that look at this very tiny little bit, 67 00:05:46,800 --> 00:05:52,510 that's almost straight, and if I was to home in and magnify, it 68 00:05:52,510 --> 00:05:57,300 would be almost more straight and it would appear to be 69 00:05:57,300 --> 00:06:02,340 straighter and straighter so as we homed in closer and closer to 70 00:06:02,340 --> 00:06:07,380 the point what we would see would be much more like a 71 00:06:07,380 --> 00:06:13,161 straight line. What straight line might we be able to take 72 00:06:13,161 --> 00:06:17,472 to represent that sort of local straightness? And the 73 00:06:17,472 --> 00:06:20,346 answer would have to be a 74 00:06:20,346 --> 00:06:23,208 tangent. Through the point. 75 00:06:24,660 --> 00:06:30,840 And that gives us what we need, because this tangent is a 76 00:06:30,840 --> 00:06:37,020 straight line and we know that a straight line has got a constant 77 00:06:37,020 --> 00:06:42,170 gradient, and so this is the definition that we make. 78 00:06:42,200 --> 00:06:44,920 That the gradient 79 00:06:46,990 --> 00:06:51,178 of a curve 80 00:06:52,430 --> 00:06:56,157 y equals a function of x 81 00:06:57,355 --> 00:07:02,298 at a given point 82 00:07:03,260 --> 00:07:06,008 is equal 83 00:07:07,432 --> 00:07:11,137 to the gradient 84 00:07:12,740 --> 00:07:15,618 of the tangent 85 00:07:17,830 --> 00:07:20,560 to the curve 86 00:07:24,902 --> 00:07:28,086 at that point. 87 00:07:30,386 --> 00:07:32,742 So notice we haven't defined the 88 00:07:32,742 --> 00:07:37,080 gradient of the curve globally, so to speak, 89 00:07:37,080 --> 00:07:39,480 we've said that at any particular 90 00:07:39,480 --> 00:07:44,388 point, the gradient of that curve is going to be the same 91 00:07:44,388 --> 00:07:48,087 as the gradient of the tangent. So now what we want 92 00:07:48,087 --> 00:07:53,064 to see is how can we use this definition to help us actually 93 00:07:53,064 --> 00:07:57,067 calculate that gradient at any particular point? 94 00:07:58,810 --> 00:08:05,262 Let's take a fixed point P on our curve and a sequence of 95 00:08:06,522 --> 00:08:12,346 Points Q1, Q2 and so on. Getting closer and closer to P. 96 00:08:14,100 --> 00:08:19,833 We see that the lines from P to each of the Qs gets 97 00:08:19,833 --> 00:08:24,684 nearer and nearer to being a tangent as the Qs come 98 00:08:24,684 --> 00:08:26,889 nearer and nearer to P. 99 00:08:28,960 --> 00:08:34,745 So if we calculate the gradient of one of these lines and let 100 00:08:34,745 --> 00:08:40,530 the point Q Approach P along the curve than the gradient of the 101 00:08:40,530 --> 00:08:44,090 line should approach the gradient of the Tangent. 102 00:08:45,730 --> 00:08:49,090 And hence the gradient of the curve. 103 00:08:50,320 --> 00:08:56,326 So let's now try and set up a calculation for the curve 104 00:08:56,326 --> 00:09:03,120 y equals x squared at the point x equals 3, so that this 105 00:09:03,120 --> 00:09:06,192 calculation represents what we've just seen. 106 00:09:06,730 --> 00:09:10,018 So first of all, I'll sketch the curve. 107 00:09:12,220 --> 00:09:15,867 So there is y equals x squared. 108 00:09:16,560 --> 00:09:19,080 Here will take our point. 109 00:09:19,650 --> 00:09:24,993 Where x is equal to three. I'm going to take a point Q, 110 00:09:27,410 --> 00:09:32,132 which is near to P on the curve and I'm going to join up 111 00:09:32,132 --> 00:09:36,270 those two points with a straight line. 112 00:09:37,570 --> 00:09:41,154 So there's my point, P as my point Q and I'm going to take 113 00:09:41,154 --> 00:09:45,455 a triangle formed by dropping a perpendicular down to reach the 114 00:09:45,455 --> 00:09:49,756 horizontal through P. So that will give me a little right angle 115 00:09:49,756 --> 00:09:53,275 triangle with the right angle at the point are. 116 00:09:54,550 --> 00:10:01,165 Now I'm going to take small values of PR. 117 00:10:01,760 --> 00:10:05,336 So that I get the coordinate 118 00:10:05,336 --> 00:10:14,751 of Q. So let's line that up. PR will be first of all 0.1, 119 00:10:15,780 --> 00:10:21,890 then 0.01, 0.001 120 00:10:21,890 --> 00:10:26,778 and finally 0.0001. 121 00:10:27,550 --> 00:10:35,056 So what will be the x coordinate of Q, x coordinate of Q? 122 00:10:36,016 --> 00:10:41,720 Well, it will just be 3 + whatever PR is 123 00:10:41,720 --> 00:10:51,711 so that will be 3.1, 3.01, 3.001 and 3.0001. 124 00:10:52,221 --> 00:10:59,639 Now I've got the x coordinate of Q, let's calculate the y coordinate of Q. 125 00:11:01,019 --> 00:11:04,951 So that means we've got to square each of these, 126 00:11:04,951 --> 00:11:09,944 so our first result will be 9.61 when we square that. 127 00:11:10,814 --> 00:11:15,956 Next is 9.0601. 128 00:11:16,323 --> 00:11:23,207 Next 9.006001 129 00:11:23,207 --> 00:11:30,219 and the next 9.00060001. 130 00:11:32,099 --> 00:11:37,034 So what's the change in y for each of these? 131 00:11:37,034 --> 00:11:39,735 In other words, what's QR? 132 00:11:43,060 --> 00:11:49,575 We know that the base for where P is is if x is equal 3 at P, 133 00:11:49,575 --> 00:11:54,706 y must be equal to 9. So QR, the increase in y 134 00:11:54,706 --> 00:11:59,432 we can get by taking 9 away from each of these. 135 00:11:59,432 --> 00:12:16,023 That's 0.61, 0.601, 0.006001, 0.00060001. 136 00:12:17,773 --> 00:12:21,519 So now we need to calculate the gradient of 137 00:12:21,519 --> 00:12:27,140 each of these little segments PQ. So what is that gradient? 138 00:12:27,140 --> 00:12:35,423 will it be the increase in y, which is QR, over PR, which is the increase in x. 139 00:12:35,830 --> 00:12:44,072 So we've got 0.61 divided by 0.1. So to do the first one 140 00:12:44,072 --> 00:12:51,290 I'll write it down 0.61 divided by 0.1, that is 6.1. 141 00:12:52,740 --> 00:13:00,231 If we do the same calculation here, the answer is 6.01. 142 00:13:00,761 --> 00:13:06,566 Do the same calculation here and it's 6.001. 143 00:13:07,146 --> 00:13:13,952 And do the same calculation here and it's 6.0001. 144 00:13:15,160 --> 00:13:19,597 So let's just have a look what's happening here. This gradient 145 00:13:19,597 --> 00:13:29,400 seems to be getting nearer and nearer to 6. And 6, perhaps by coincidence 146 00:13:29,849 --> 00:13:38,366 is 2 times by 3, where 3 is the x value at this point, P. 147 00:13:38,950 --> 00:13:44,923 So we need to do this calculation again, but we need 148 00:13:44,923 --> 00:13:47,638 to do it in general. 149 00:13:48,750 --> 00:13:52,710 So let's set that situation. 150 00:13:53,690 --> 00:13:56,398 We take our axes. 151 00:13:58,470 --> 00:14:04,698 And we plot our curve y equals x squared. 152 00:14:05,410 --> 00:14:14,278 Take my point P on the curve and P is (x,y). 153 00:14:15,180 --> 00:14:20,691 And I take a point Q a little further along the curve. 154 00:14:21,810 --> 00:14:24,526 How far along the curve is it? 155 00:14:25,220 --> 00:14:31,336 Well, I'm going to increase x by a very small amount. 156 00:14:32,680 --> 00:14:36,118 So we got the same triangle. 157 00:14:37,110 --> 00:14:39,360 As we had in the calculation. 158 00:14:39,970 --> 00:14:42,838 So there's R. 159 00:14:42,840 --> 00:14:49,425 And I am increasing x, to get to R, by a very small amount and 160 00:14:49,425 --> 00:14:54,254 that small amount is going to be written as delta x. 161 00:14:54,960 --> 00:15:01,504 Now I cannot emphasize enough that delta x is not delta times by x. 162 00:15:01,504 --> 00:15:08,822 It is a single symbol on its own, and it represents a small change in x. 163 00:15:09,682 --> 00:15:15,674 What's that resulted in? Its pushed the point further along the curve to Q, 164 00:15:15,674 --> 00:15:21,072 and so we've got a change in y of delta y 165 00:15:21,480 --> 00:15:34,464 So that the coordinates of Q are now x + delta x and y + delta y. 166 00:15:35,670 --> 00:15:39,376 Now. We've got the diagram labeled up. 167 00:15:40,790 --> 00:15:46,334 And so what we need to be able to do is do some calculation. 168 00:15:46,334 --> 00:15:49,827 What do we know? We know that this is the graph of the curve 169 00:15:49,827 --> 00:15:58,630 y equals x squared. So here at the point Q we know that 170 00:15:58,630 --> 00:16:06,896 y + delta y is equal to x + delta x all squared. 171 00:16:07,930 --> 00:16:18,785 This we can multiply out. It will give us x squared plus 2x delta x, 172 00:16:18,785 --> 00:16:22,948 and I'm going to put that in a bracket to emphasize the 173 00:16:22,948 --> 00:16:26,356 fact that delta x is a single symbol, 174 00:16:27,133 --> 00:16:32,703 plus delta x all squared. 175 00:16:34,560 --> 00:16:40,620 But what else do we know? Will we know at this point P that y is 176 00:16:40,620 --> 00:16:43,360 equal to x squared. 177 00:16:44,460 --> 00:16:51,300 So y + delta y is equal to this but the y part is equal to x squared. 178 00:16:51,300 --> 00:16:58,877 So that tells us therefore that the change in y, delta y, is this bit here: 179 00:16:59,600 --> 00:17:07,141 2x delta x plus delta x all squared. 180 00:17:07,901 --> 00:17:12,886 So let's now calculate the gradient of this line PQ. 181 00:17:13,808 --> 00:17:18,210 The gradient of PQ, 182 00:17:20,210 --> 00:17:23,440 well, it's QR over PR 183 00:17:23,440 --> 00:17:26,120 or the change in y, 184 00:17:29,150 --> 00:17:35,676 delta y, over the change in x. 185 00:17:35,676 --> 00:17:39,237 And we've got expressions for both of these: 186 00:17:39,237 --> 00:17:44,538 delta x is delta x and delta y is this. 187 00:17:48,600 --> 00:17:56,931 So we've got delta y over delta x is equal to... 188 00:17:57,132 --> 00:18:06,352 Let's remember that this was 2x delta x plus delta x all squared 189 00:18:06,352 --> 00:18:10,652 and that was all over delta x. 190 00:18:10,652 --> 00:18:14,032 Now, delta x is a common factor here. 191 00:18:14,032 --> 00:18:21,407 Let's take it out as a common factor: 2x + delta x 192 00:18:21,407 --> 00:18:29,842 times by delta x; all over delta x. Now delta x is a small positive 193 00:18:29,842 --> 00:18:35,366 amount of x, so we can cancel it out there and there. 194 00:18:35,366 --> 00:18:44,504 So we have delta y over delta x is equal to 2x + delta x. 195 00:18:45,944 --> 00:18:48,472 Now remember what we're doing. 196 00:18:48,472 --> 00:18:54,191 We've calculated the gradient of this line PQ and we're going to let 197 00:18:54,191 --> 00:18:59,670 Q come nearer and nearer to P along the curve. 198 00:18:59,670 --> 00:19:04,395 So we're letting delta x tend to 0, 199 00:19:04,460 --> 00:19:11,695 until this secant or cord, PQ, becomes the tangent. 200 00:19:13,872 --> 00:19:17,960 And so we can say that the gradient 201 00:19:20,411 --> 00:19:21,610 of 202 00:19:22,165 --> 00:19:23,849 the tangent 203 00:19:26,050 --> 00:19:30,870 at P is equal to... 204 00:19:31,580 --> 00:19:35,071 Now we have to use some mathematical language. 205 00:19:35,071 --> 00:19:40,382 What happens to this expression as delta x approaches 0? 206 00:19:40,950 --> 00:19:43,835 Well, it would seem that if delta x got smaller and smaller 207 00:19:43,835 --> 00:19:46,400 and smaller and smaller and smaller, it got to zero. 208 00:19:46,400 --> 00:19:51,975 This would become 2x. We are approaching a limit of 2x and so 209 00:19:51,975 --> 00:19:55,440 we use some mathematical language to help us say that. So 210 00:19:55,440 --> 00:19:57,935 we say that this is the limit, 211 00:19:59,460 --> 00:20:02,996 as delta x tends to 0, 212 00:20:04,343 --> 00:20:07,629 of delta y over delta x 213 00:20:08,219 --> 00:20:10,090 is equal to 214 00:20:10,090 --> 00:20:14,371 the limit as delta x tends to 0 215 00:20:14,701 --> 00:20:18,006 of 2x + delta x 216 00:20:18,786 --> 00:20:25,016 And if delta x is going off to 0, this is just 2x and notice that 217 00:20:25,016 --> 00:20:28,260 agrees with what we had before. When we said that the gradient 218 00:20:28,260 --> 00:20:35,852 was 2 times by 3 equal 6 at the point where x is equal to 3. 219 00:20:37,270 --> 00:20:40,720 Now we could do this calculation in just the same 220 00:20:40,720 --> 00:20:43,825 way for all kinds of different curves, but it 221 00:20:43,825 --> 00:20:48,310 would become a bit of a bind if we had to keep writing 222 00:20:48,310 --> 00:20:52,450 this down all the time. So we have a special symbol for 223 00:20:52,450 --> 00:20:53,830 this phrase, the limit. 224 00:20:55,530 --> 00:21:02,240 as delta x tends to 0 of delta y over delta x. 225 00:21:03,420 --> 00:21:11,466 And we write that as dy by dx and we say d y by d x 226 00:21:11,466 --> 00:21:17,072 and that's a symbol all on its own as a unit which stands for 227 00:21:17,072 --> 00:21:25,298 the limit as delta x tends to 0 of delta y over delta x, 228 00:21:26,418 --> 00:21:29,622 and in the case we've just 229 00:21:29,622 --> 00:21:38,453 looked at, y equals X squared, dy by dx we've just seen is equal to 2x. 230 00:21:44,060 --> 00:21:48,990 Now. Another video in the sequence will show how this is 231 00:21:48,990 --> 00:21:54,170 done for y equals sine x and the processes that we go through. 232 00:22:00,211 --> 00:22:07,203 We often use function notation y equals f of x. 233 00:22:08,523 --> 00:22:10,868 So in function notation, 234 00:22:10,868 --> 00:22:16,204 our point P, which was the point x, y, 235 00:22:16,204 --> 00:22:20,206 becomes the point x, f of x. 236 00:22:21,240 --> 00:22:32,492 Our point Q, which remember was x + delta x, y + delta y 237 00:22:33,152 --> 00:22:39,194 Well, this remains as x + delta x for the x coordinate, 238 00:22:39,194 --> 00:22:46,958 but the y + delta y. Well that's the function of x + delta x. 239 00:22:49,240 --> 00:22:54,070 And so if we want to have a look at what we've done before, if 240 00:22:54,070 --> 00:22:55,680 you remember, then we take 241 00:22:56,790 --> 00:23:04,336 the change in y, that's delta y. So the change in y is: 242 00:23:04,336 --> 00:23:12,033 what we had here, at Q, minus, what we had at P. 243 00:23:12,202 --> 00:23:24,772 So that's f of x + delta x minus f of x, and so our gradient delta y over delta x 244 00:23:24,772 --> 00:23:34,786 is f of x + delta x minus f of x all over delta x. 245 00:23:37,830 --> 00:23:40,460 So dy by dx 246 00:23:44,070 --> 00:23:49,770 is the limit as delta x tends to 0 247 00:23:50,780 --> 00:23:55,817 of the change in y divided by the change in x that gave rise to it. 248 00:23:57,300 --> 00:23:58,980 Which is the limit 249 00:23:59,520 --> 00:24:03,150 as delta x tends to 0 250 00:24:04,350 --> 00:24:14,154 of f of x + delta x minus f of x all over delta x 251 00:24:14,154 --> 00:24:17,338 So, if we are using the language of functions. That's the 252 00:24:17,338 --> 00:24:20,916 language that we use and sometimes for functions when 253 00:24:20,916 --> 00:24:24,932 we're differentiating them instead of using the symbol 254 00:24:24,932 --> 00:24:30,454 dy by dx, sometimes use the symbol a dash to indicate 255 00:24:30,454 --> 00:24:33,968 that we've differentiated with respect to x. 256 00:24:35,240 --> 00:24:39,321 Let's just take one example using this 257 00:24:39,321 --> 00:24:45,925 notation, f of x is equal to the function 1 over x. 258 00:24:48,240 --> 00:24:51,815 Have a sketch of this curve for positive values of x. 259 00:24:52,950 --> 00:24:57,306 There it is coming down like that. So if I take 260 00:24:57,850 --> 00:25:03,817 a point P and I increase the value of x by a small 261 00:25:03,817 --> 00:25:09,325 amount to give me a second point Q on the curve. Then 262 00:25:09,325 --> 00:25:12,079 I can see that in fact, 263 00:25:13,120 --> 00:25:15,840 there's my delta x. 264 00:25:16,930 --> 00:25:22,494 And there's delta y, so for all delta x still means a small 265 00:25:22,494 --> 00:25:27,630 positive increasing x, delta y just means the change in y and 266 00:25:27,630 --> 00:25:32,766 we can see that this is actually a decrease. Let me complete. 267 00:25:34,520 --> 00:25:41,460 This triangle by drawing in that secant, PQ and let's 268 00:25:41,460 --> 00:25:45,624 have these coordinates, this is x, y. 269 00:25:47,190 --> 00:25:52,270 And this is. x + delta x 270 00:25:52,270 --> 00:25:59,150 and then f of x + delta x. 271 00:26:01,140 --> 00:26:09,280 So let's have a look what we've got: delta y is the change in y 272 00:26:09,280 --> 00:26:17,519 and so it's f of x + delta x minus f of x. 273 00:26:22,800 --> 00:26:27,000 And so delta y over delta x is 274 00:26:27,000 --> 00:26:33,930 f of x + delta x minus f of x, all divided by delta x. 275 00:26:37,940 --> 00:26:43,430 And this is the gradient of this line PQ. 276 00:26:43,990 --> 00:26:51,005 OK, what is f of x + delta x well, f of x is 1 over x so 277 00:26:51,005 --> 00:26:55,430 this is 1 over x + delta x. 278 00:26:55,980 --> 00:27:00,957 minus f of x, which is just 1 over x, 279 00:27:00,957 --> 00:27:03,706 all divided by 280 00:27:03,706 --> 00:27:05,282 delta x. 281 00:27:05,970 --> 00:27:13,277 Here we have two fractions and we are subtracting them, so we need a 282 00:27:13,277 --> 00:27:17,390 common denominator and that common denominator will be 283 00:27:17,390 --> 00:27:20,345 x times, x + delta x. 284 00:27:22,400 --> 00:27:26,770 So I've multiplied this by, this x + delta x, I have 285 00:27:26,770 --> 00:27:30,680 multiplied it by x, so I must multiply the 1 by x. 286 00:27:31,410 --> 00:27:36,975 Minus, and I've multiplied the x by x + delta x, so I must 287 00:27:36,975 --> 00:27:44,005 multiply the 1 by x + delta x and then this is all 288 00:27:44,005 --> 00:27:47,497 divided by delta x. 289 00:27:49,027 --> 00:27:51,610 So let's look at the top, x - delta x, minus delta x. 290 00:27:51,610 --> 00:27:58,175 So I've got x - x that goes out. 291 00:27:59,040 --> 00:28:04,930 And I got on that line there - delta x. 292 00:28:06,170 --> 00:28:11,186 All over, well, I'm dividing by that, and by that, so effectively 293 00:28:11,186 --> 00:28:13,694 I'm dividing by both of them. 294 00:28:19,107 --> 00:28:21,605 So there we've got them both written down. 295 00:28:22,095 --> 00:28:25,893 Now delta x is a small positive quantity, 296 00:28:26,613 --> 00:28:33,262 so I can divide top and bottom there by delta x, canceling delta x out. 297 00:28:36,382 --> 00:28:50,358 So delta y over delta x is equal to -1 over, x + delta x, times by x. 298 00:28:50,358 --> 00:28:54,395 Let me just multiply that denominator out so I 299 00:28:54,395 --> 00:29:00,904 have x squared plus delta x times by x. 300 00:29:03,060 --> 00:29:13,140 dy by dx is equal to the limit as delta x tends to 0 of 301 00:29:13,140 --> 00:29:16,290 delta y over delta x. 302 00:29:16,830 --> 00:29:21,980 Which will be the limit as delta x tends to 0 303 00:29:23,160 --> 00:29:30,780 of -1 over x squared plus delta x times by x. 304 00:29:32,010 --> 00:29:36,030 Equals... Let's have a look at what's happening in this denominator. 305 00:29:36,030 --> 00:29:46,860 As delta x becomes very, very small x times by delta x is also very very small 306 00:29:46,860 --> 00:29:50,548 and very much smaller than x squared. 307 00:29:50,978 --> 00:29:57,138 So as delta x goes off to 0, this term here goes away to 0 and 308 00:29:57,138 --> 00:29:59,839 just leaves us with the x squared. 309 00:29:59,839 --> 00:30:05,134 So our limit is -1 over x squared. 310 00:30:06,800 --> 00:30:11,486 And that's our calculation done in function notation to find the 311 00:30:11,486 --> 00:30:18,684 derivative, as we call dy by dx, or the gradient of the curve at a point. 312 00:30:19,570 --> 00:30:23,840 Now, the calculations that we've done or all quite complicated. 313 00:30:24,860 --> 00:30:27,900 You need to do one or two to practice the method and 314 00:30:27,900 --> 00:30:32,681 to see what's going on with it - to see how it's actually working. 315 00:30:32,681 --> 00:30:38,279 But, to do most of your differentiation, there are a set of rules that you 316 00:30:38,279 --> 00:30:43,290 can follow that will help you do the differentiation much more quickly.