0:00:00.117,0:00:01.593 - [Voiceover] We know[br]from previous videos, 0:00:01.593,0:00:04.575 that the derivative with respect to X 0:00:04.575,0:00:08.408 of the natural log of[br]X, is equal to 1 over X. 0:00:12.350,0:00:14.718 What I want to do in this[br]video is use that knowledge 0:00:14.718,0:00:17.031 that we've seen in other[br]videos to figure out 0:00:17.031,0:00:19.929 what the derivative with respect to X is 0:00:19.929,0:00:23.412 of a logarithm of an arbitrary base. 0:00:23.412,0:00:27.162 So I'm just gonna call[br]that log, base A of X. 0:00:30.517,0:00:32.328 So how do we figure this out? 0:00:32.328,0:00:35.198 Well, the key thing is, is[br]what you might be familiar with 0:00:35.198,0:00:37.566 from your algebra or your[br]pre calculus classes, 0:00:37.566,0:00:40.186 which is having a change of base. 0:00:40.186,0:00:43.306 So if I have some, I'll do it over here, 0:00:43.306,0:00:47.597 log, base A of B, and[br]I wanted to change it 0:00:47.597,0:00:49.436 to a different base, let's[br]say I wanna change it 0:00:49.436,0:00:53.603 to base C, this is the same[br]thing as log, base C of B 0:00:56.430,0:00:58.763 divided by log, base C of A. 0:01:04.065,0:01:08.050 Log, base C of B, divided[br]by log, base C of A. 0:01:08.050,0:01:09.777 This is a really useful[br]thing if you've never 0:01:09.777,0:01:11.700 seen it before, you now have just seen it, 0:01:11.700,0:01:13.873 this change of base, and we prove it 0:01:13.873,0:01:16.520 in other videos on Khan Academy. 0:01:16.520,0:01:18.499 But it's really useful[br]because, for example, 0:01:18.499,0:01:21.006 your calculator has a log button. 0:01:21.006,0:01:24.740 The log on your calculator[br]is log, base 10. 0:01:24.740,0:01:28.557 So if you press 100 into your calculator 0:01:28.557,0:01:31.734 and press log, you will get a 2 there. 0:01:31.734,0:01:33.935 So whenever you just see log of 100, 0:01:33.935,0:01:37.195 it's implicitly base 10,[br]and you also have a button 0:01:37.195,0:01:40.372 for natural log, which is log, base E. 0:01:40.372,0:01:44.205 Natural log of X is equal[br]to log, base E of X. 0:01:46.028,0:01:48.146 But sometimes, you wanna[br]find all sorts of different 0:01:48.146,0:01:52.298 base logarithms and this is how you do it. 0:01:52.298,0:01:54.722 So if you're using your[br]calculator and you wanted to find 0:01:54.722,0:01:58.055 what log, base 3 of 8 is, you would say, 0:02:01.493,0:02:05.979 you would type in your[br]calculator log of 8 and log of 3. 0:02:05.979,0:02:09.247 Or, let me write it this way, and log of 3 0:02:09.247,0:02:11.700 where both of these[br]are implicitly base 10, 0:02:11.700,0:02:13.121 and you'd get the same value if you did 0:02:13.121,0:02:16.871 natural log of 8 divided[br]by natural log of 3. 0:02:17.942,0:02:19.920 Which you might also[br]have on your calculator. 0:02:19.920,0:02:23.988 And what we're gonna do[br]in this video is leverage 0:02:23.988,0:02:26.412 the natural log because we[br]know what the derivative 0:02:26.412,0:02:28.586 of the natural log is. 0:02:28.586,0:02:31.929 So this derivative is the[br]same thing as the derivative 0:02:31.929,0:02:33.679 with respect to X of. 0:02:35.273,0:02:38.394 Well log, base A of X, can be rewritten as 0:02:38.394,0:02:41.644 natural log of X over natural log of A. 0:02:43.994,0:02:46.056 And now natural log of[br]A, that's just a number. 0:02:46.056,0:02:50.626 I could rewrite this as,[br]let me write it this way. 0:02:50.626,0:02:54.709 One over natural log of[br]A times natural log of X. 0:02:56.450,0:02:58.094 And what's the derivative of that? 0:02:58.094,0:03:00.128 We could just take the constant out. 0:03:00.128,0:03:02.357 One over natural log of[br]A, that's just a number. 0:03:02.357,0:03:06.435 So we're gonna get 1[br]over the natural log of A 0:03:06.435,0:03:10.602 times the derivative with[br]respect to X of natural log of X. 0:03:15.017,0:03:16.684 Of natural log of X. 0:03:18.090,0:03:20.264 Which we already know is 1 over X. 0:03:20.264,0:03:23.134 So this thing right[br]over here, is 1 over X. 0:03:23.134,0:03:27.301 So what we get is 1 over[br]natural log of A times 1 over X. 0:03:29.236,0:03:33.403 Which we could write as, 1[br]over natural log of A times X. 0:03:40.409,0:03:42.388 Which is a really useful thing to know. 0:03:42.388,0:03:46.317 So now, we could take[br]all sorts of derivatives. 0:03:46.317,0:03:50.484 So if I were to tell you F of[br]X is equal to log, base 7 of X 0:03:56.654,0:04:01.084 well now we can say well F[br]prime of X is going to be 0:04:01.084,0:04:04.084 1 over the natural log of 7 times X. 0:04:07.047,0:04:11.199 If we had a constant out[br]front, if we had for example, 0:04:11.199,0:04:12.648 G of X. 0:04:12.648,0:04:16.815 G of X is equal to negative[br]3 times log, base, I know. 0:04:18.499,0:04:20.394 Log, base pi. 0:04:20.394,0:04:21.564 Pi is a number. 0:04:21.564,0:04:25.731 Log, base pi of X, well G[br]prime of X would be equal to 0:04:28.335,0:04:29.252 1 over, oh. 0:04:30.509,0:04:32.013 Let me be careful, I have[br]this constant out here. 0:04:32.013,0:04:35.914 So it'd be negative 3 over,[br]it's just that negative 3, 0:04:35.914,0:04:38.164 over the natural log of pi. 0:04:40.261,0:04:42.128 This is the natural log of this number. 0:04:42.128,0:04:42.961 Times X. 0:04:44.190,0:04:46.879 So hopefully, that gives[br]you a hang of things.