1 00:00:00,012 --> 00:00:07,124 , Remember back, remember back to the power rule. Well, what do the power rules 2 00:00:07,136 --> 00:00:13,546 say? It's that the derivative of x to the n, and some real number not zero, the 3 00:00:13,558 --> 00:00:20,200 derivative of x to the n is n times x to the n minus one. The power rule isn't just 4 00:00:20,212 --> 00:00:24,430 something we just made up. It's a consequence of the definition of 5 00:00:24,442 --> 00:00:29,330 derivative. But how do we know it's actually true? Well remember, we've 6 00:00:29,342 --> 00:00:34,355 already worked this out when n is a positive whole number. Then, the 7 00:00:34,367 --> 00:00:39,720 derivative of x to the n is the limit of this difference quotient. This is the 8 00:00:39,732 --> 00:00:46,010 limit that calculates the derivative. If n is a positive whole number, I can expand 9 00:00:46,022 --> 00:00:49,125 out x plus h to the n, and I get x to the n plus n x to the n minus 1 times h plus 10 00:00:49,137 --> 00:00:54,465 things with lots of h's minus x to the n all over h. Now, the x to the n and the 11 00:00:54,477 --> 00:00:59,290 minus x to the n cancel, the h here cancels this h here, and I'm left with a 12 00:00:59,302 --> 00:01:04,665 bunch of h's divided by h, there's still a lot of h's in this. And the limit of this 13 00:01:04,677 --> 00:01:09,965 constant, as far as h is concerned plus a thing where h is in it, well, this goes to 14 00:01:09,977 --> 00:01:15,550 zero. And I'm left with n times x to the n minus 1, which is the derivative of x to 15 00:01:15,562 --> 00:01:21,185 the n. And this is a completely valid argument and as long as n is a positive, 16 00:01:21,307 --> 00:01:26,890 whole number. But there's plenty of numbers which aren't positive, whole 17 00:01:26,902 --> 00:01:31,982 numbers. What if n equaled negative 1? Let's figure out the derivative of x to 18 00:01:31,994 --> 00:01:36,400 the minus first power. Actually, the derivative of 1 over x. This is a problem 19 00:01:36,412 --> 00:01:40,656 that we can attack directly using the definition of derivative. Here, I've 20 00:01:40,668 --> 00:01:45,037 written the limit of the function of x plus h minus the function over h. Now, to 21 00:01:45,049 --> 00:01:51,070 calculate this limit, I'll first put this part in the numerator over a common 22 00:01:51,082 --> 00:01:57,485 denominator. So, this is the limit as h goes to zero, whole thing's over h. But 23 00:01:57,497 --> 00:02:04,345 the numerator is now x minus x plus h, over common denominator for the things in 24 00:02:04,357 --> 00:02:11,662 the numerator, x plus h times x. Now, what's x minus x plus h? Well, in that 25 00:02:11,674 --> 00:02:20,329 case, this x and this x cancel. And what I'm left with is just negative h up there. 26 00:02:20,494 --> 00:02:28,710 So, this is the limit as h goes to zero of negative h over x plus h times x all over 27 00:02:28,722 --> 00:02:33,560 h. Great. Now, the h down here and the h up here 28 00:02:33,572 --> 00:02:41,985 cancel. What am I left with? I'm left with the limit as h goes to zero of negative 1 29 00:02:41,997 --> 00:02:47,935 over x plus h times x. Now, how can I deal with this? Well, as h goes to zero, the 30 00:02:47,947 --> 00:02:53,954 numerator's just 1 but the denominator is approaching x squared. So, this limit is 31 00:02:53,966 --> 00:02:59,309 minus 1 over x squared. What we've calculated here is the derivative of 1 32 00:02:59,321 --> 00:03:05,058 over x, the derivative of 1 over x is negative 1 over x squared. Now, I can use 33 00:03:05,070 --> 00:03:09,882 this fact. The fact that the derivative 1 over x is negative 1 over x squared to 34 00:03:09,894 --> 00:03:15,420 compute using the change rule the derivative of 1 over x to the n. This is a 35 00:03:15,432 --> 00:03:21,024 composition of two functions, the composition of the 1 over function and the 36 00:03:21,036 --> 00:03:26,487 x to the n function. The derivative of 1 over is negative 1 over the thing squared. 37 00:03:26,597 --> 00:03:31,144 So, it's the derivative of the outside function at the inside times the 38 00:03:31,156 --> 00:03:36,022 derivative of the inside function. The derivative of x to the n, if n says 39 00:03:36,034 --> 00:03:41,292 positive, whole number, I already know this, it's n times x to the n minus 1. And 40 00:03:41,304 --> 00:03:46,247 x to the n squared is x to the 2 n. So, I've got negative 1 over x to the 2n times 41 00:03:46,259 --> 00:03:51,592 n times x to the n minus 1. Now, a minor miracle happens. The x to the 2n and the x 42 00:03:51,604 --> 00:03:57,429 to the n minus 1, they're interacting, so that I'm left with the x to the n plus 1 43 00:03:57,441 --> 00:04:03,498 in the denominator, minus 1 times integer minus n in the numerator. Now, this movie 44 00:04:03,510 --> 00:04:09,642 doesn't look so great. But remember that at 1 over x to the n is just another name 45 00:04:09,654 --> 00:04:16,045 for x to the negative nth power. And this, if I rewrote this as x to a power, I could 46 00:04:16,057 --> 00:04:22,198 rewrite this as negative n times x to the negative n minus 1 power. And look. 47 00:04:22,202 --> 00:04:28,425 What we've shown is the derivative of x to the negative n is negative n x to the 48 00:04:28,437 --> 00:04:35,800 negative n minus 1. This is verifying the power rule holds even when n is a negative 49 00:04:35,812 --> 00:04:41,925 number. Pretty good. We've done it now for all whole numbers. 50 00:04:42,078 --> 00:04:50,122 But what about rational numbers? So, here's a question. How are the derivative 51 00:04:50,134 --> 00:04:55,480 of x to the 21/17 power is 21/17 times x to that power minus 1, 4/17. 52 00:04:55,480 --> 00:05:03,435 Implicit di fferentiation to the rescue. Well, here's maybe a simpler case. y is 53 00:05:03,447 --> 00:05:11,185 the derivative of x to the 1/17. 1/17 times x to the negative 16/17. Well, let's 54 00:05:11,197 --> 00:05:19,348 set y equal x to the 1/17, and that means y to the 17th power is x. And I can apply 55 00:05:19,360 --> 00:05:27,652 explicit differentiation to y to the 17 equals x. So the differentiation precisely 56 00:05:27,664 --> 00:05:36,257 gets 17y to the 16 dy dx equals a derivative of x, which is 1. Divide both 57 00:05:36,269 --> 00:05:45,816 sides by 17 times y to the 16th power and I get that dy dx is 1/17 times 1 over y to 58 00:05:45,828 --> 00:05:55,832 the 16th power. But, y is x to the 1/17. So, dy over dx is 1/17 times 1 over y, is 59 00:05:55,844 --> 00:06:04,678 now x to the 1/17 seventeenth x to the 16/17. But, it's 1 over that, so I could 60 00:06:04,690 --> 00:06:15,548 write this as 1/17 times x to the negative 16/17. So now the chain rule finishes off 61 00:06:15,560 --> 00:06:24,890 the problem. if I want to differentiate x to the 21/17 power, well that's the same 62 00:06:24,902 --> 00:06:33,434 as differentiating x to the 1/17 power to the 21st power. It's chain rule. So that's 63 00:06:33,446 --> 00:06:40,516 the same as 21 times the inside, x to the 1/17 to the 20th. That's the derivative of 64 00:06:40,528 --> 00:06:45,090 the outside function versus the 21st power function at the inside, times the 65 00:06:45,102 --> 00:06:50,019 derivative of the inside function. Now, good news. We calculated the derivative of 66 00:06:50,031 --> 00:06:59,180 the outside function. This is 21 times x to the 1/17 to the 20th power times the 67 00:06:59,192 --> 00:07:09,634 derivative of x to the 1/17, which is 1/17x to the negative 16/17. well, this is 68 00:07:09,646 --> 00:07:21,190 21 times x to the 20/17 times 1/17 x to the negative 16/17. And 20 minus 16 is 4. 69 00:07:21,406 --> 00:07:33,529 It's 21 times x to the 4/17 over 17, it's 21/17 x to the 4/17. That's exactly what 70 00:07:33,802 --> 00:07:40,285 the power rule tells you when n is 21/17. We started off just knowing the power rule 71 00:07:40,297 --> 00:07:46,078 was true for positive whole number exponents. And now, after doing a little 72 00:07:46,090 --> 00:07:52,099 bit of work, we know that the power rule holds for any rational exponent. What 73 00:07:52,111 --> 00:07:57,945 about the function f of x equals x to the square root of 2 power? Whoa. What does 74 00:07:57,957 --> 00:08:03,766 that even mean? It's a serious objection. What do I mean by a number raised to the 75 00:08:03,778 --> 00:08:09,631 square root of 2 power? Well, what can I do? I can take x and I can raise it to the 76 00:08:09,643 --> 00:08:16,338 1.4 power, by which I mean, I take x multiplied by itself 14 times and then 77 00:08:16,350 --> 00:08:23,884 take the tenth root of that. I can take x to the 1.41 power, by which I mean I take 78 00:08:23,896 --> 00:08:31,758 x multiplied by itself 141 times, and then take the hundredth root of that. And I can 79 00:08:31,770 --> 00:08:37,499 keep on going, right? If I want to take x to the 1.414 power, 80 00:08:37,645 --> 00:08:44,933 I'd multiply x by itself 1,414 times, and then take the thousandth root of that. If 81 00:08:44,945 --> 00:08:47,648 I were to take x to the 1.4142 power, right? 82 00:08:47,652 --> 00:08:55,720 I take x and multiply by itself 14,142 times and then take the 10,000th root of 83 00:08:55,732 --> 00:09:01,683 that number. And I can keep doing this, and I'm getting closer and closer to the 84 00:09:01,695 --> 00:09:06,134 square root of 2. And that's really what this function means. It really means to 85 00:09:06,146 --> 00:09:10,779 take a limit of these functions I actually understand, functions where I'm taking x 86 00:09:10,791 --> 00:09:17,088 to a rational exponent. We can handle this with a logarithm. So, let's set y equals x 87 00:09:17,100 --> 00:09:23,503 to the square root of 2 power. I want to calculate dy dx. So, the trick here is 88 00:09:23,515 --> 00:09:29,422 log. So, I'm going to take a log of both sides. log of y is log of x to the square 89 00:09:29,434 --> 00:09:36,292 root of 2 power. But log of something to a power is that power times log of the base. 90 00:09:36,420 --> 00:09:42,848 So, I've got log y is the square root of 2 times log x. Now, I differentiate both 91 00:09:42,860 --> 00:09:49,866 sides and I find out that the derivative of log y is 1/y dy dx, and the derivative 92 00:09:49,878 --> 00:09:56,394 of the other side is the square root of 2 times 1/x. Multiply both sides by y, and 93 00:09:56,406 --> 00:10:02,532 I've got dy dx is the square root of 2 y/x. But I know what y is. y is the x to 94 00:10:02,421 --> 00:10:08,934 the square root of 2 power. So, this is the square root of 2 times x to the square 95 00:10:08,946 --> 00:10:14,414 root of 2 power divided by x. In other words, it's the square root of 2 times x 96 00:10:14,426 --> 00:10:19,638 to the square root of 2 minus 1. We're using logarithms to fill in the gaps in 97 00:10:19,650 --> 00:10:25,018 the quotient rule. We're not just learning a bunch of derivative rules, we're 98 00:10:25,030 --> 00:10:30,780 actually learning why these rules work. Take a look. The square root of 2 here 99 00:10:30,792 --> 00:10:36,700 plays no essential role in this argument. I could go back through this entire thing 100 00:10:36,817 --> 00:10:41,870 and replace the square root of 2 everywhere I see it by the number n. And 101 00:10:41,882 --> 00:10:47,781 what I'd see is that this logarithm argument is justifying the power rule. The 102 00:10:47,793 --> 00:10:54,123 derivativ e of x to the n is n times x to the 'n, n minus 1. And so, we're really 103 00:10:54,135 --> 00:11:00,240 building the foundations of calculus. We are not just learning how to apply the 104 00:11:00,252 --> 00:11:06,245 rules to some calculations, we're learning to justify that these rules are the 105 00:11:06,257 --> 00:11:06,257 correct rules.