1 00:00:00,000 --> 00:00:03,290 [MUSIC] What's the derivative of arc sine? 2 00:00:03,290 --> 00:00:06,745 Well, I can't really compute this directly. 3 00:00:06,745 --> 00:00:11,599 I don't know how to differentiate arc sine right off the bat. 4 00:00:11,599 --> 00:00:16,535 So, I'm going to try to sneak up on the derivative of arc sine. 5 00:00:16,535 --> 00:00:22,129 Now, instead of writing down arc sine all the time, I'm going to give it a 6 00:00:22,129 --> 00:00:25,913 different name. I'll write f of x for arc sine x. 7 00:00:25,913 --> 00:00:30,855 It just, it looks shorter. Now, what do I know about arc sine? 8 00:00:30,855 --> 00:00:34,352 Arc sine is the inverse function for sine. 9 00:00:34,352 --> 00:00:39,161 So, at least for a range of values of x, f of sine x is x, 10 00:00:39,161 --> 00:00:43,270 right? Arc sine tells me a value that I can take 11 00:00:43,270 --> 00:00:49,827 the sine of to get the input to arc sine, so if I evaluate arc sine at sine x, I 12 00:00:49,827 --> 00:00:54,548 get x, at least over a particular range of values of x. 13 00:00:54,548 --> 00:00:58,470 So if this is true, and if f were differentiable, I could 14 00:00:58,470 --> 00:01:01,525 apply the chain rule and differentiate both sides. 15 00:01:01,525 --> 00:01:05,557 So, let's just do that. I'm just plowing ahead assuming that f is 16 00:01:05,557 --> 00:01:08,918 differentiable. So, if I assume that f is differentiable, 17 00:01:08,918 --> 00:01:11,850 I differentiate f. I get some mystery derivative. 18 00:01:11,850 --> 00:01:14,966 I don't know what it is yet, I'm calling it f prime. 19 00:01:14,966 --> 00:01:19,915 At the inside, which is sine x, times the derivative of the inside, which is cosine 20 00:01:19,915 --> 00:01:22,909 x. And this is equal to the derivative of 21 00:01:22,909 --> 00:01:27,720 the other side which is one. So, what I know now is that the 22 00:01:27,720 --> 00:01:33,120 derivative of arc sine at sine x is one over cosine x. 23 00:01:33,120 --> 00:01:39,209 Try to divide both sides by cosine. But, what I really want is a formula that 24 00:01:39,209 --> 00:01:43,450 tells me the derivative of arc sine at some point is some other point, alright? 25 00:01:43,450 --> 00:01:47,148 I don't want to know the derivative at sine of x, in terms of cosine. 26 00:01:47,148 --> 00:01:50,900 But, I can use a trick, right? sine squared plus cosine squared is one. 27 00:01:50,900 --> 00:01:55,533 So if I knew that cosign were positive, I could rewrite this and you should be a 28 00:01:55,533 --> 00:02:00,051 little skeptical as the quality, is one over the square root of one minus sine 29 00:02:00,051 --> 00:02:03,005 squared x. You have to be a little bit worried here 30 00:02:03,005 --> 00:02:05,670 because you got to know that cosine's positive. 31 00:02:05,670 --> 00:02:08,649 Okay. But let's suppose it is. So, if cosine's 32 00:02:08,649 --> 00:02:14,066 positive, then I can write cosine x as the square root of one minus sine squared 33 00:02:14,066 --> 00:02:19,144 x, and now I've got a formula for the derivative of arc tan, derivative of f, 34 00:02:19,144 --> 00:02:24,561 at sine x is something involving sine x. So, I could rewrite this formula as just 35 00:02:24,561 --> 00:02:32,270 the derivative of arc sine at x, is one over the square root of one minus x 36 00:02:32,270 --> 00:02:34,658 squared. So, there we go. 37 00:02:34,658 --> 00:02:40,660 There is a formula for arc sine assuming that arc sine is differentiable. 38 00:02:40,660 --> 00:02:43,607 Alright? Because what I did is I just wrote down a 39 00:02:43,607 --> 00:02:45,931 function, you know, that I knew to be true. 40 00:02:45,931 --> 00:02:48,369 I know that fsinx sine x is x for certain values of x. 41 00:02:48,369 --> 00:02:52,110 And I just plowed through, differentiating it, assuming that it was 42 00:02:52,110 --> 00:02:55,285 differentiable. And then, I figured out what a derivative 43 00:02:55,285 --> 00:02:57,722 would have to be if it were differentiable. 44 00:02:57,722 --> 00:03:01,747 But note that I never actually verified that arc sine is differentiable. 45 00:03:01,747 --> 00:03:05,715 I'm just telling you what the derivative is if it were differentiable. 46 00:03:05,715 --> 00:03:08,210 So that's perhaps a little bit unfortunate. 47 00:03:08,210 --> 00:03:11,575 Alright. But nevertheless we're going to use this 48 00:03:11,575 --> 00:03:14,660 and this is in fact, the derivative of arc sine. 49 00:03:14,660 --> 00:03:17,012 Now, we know how to differentiate arc sine. 50 00:03:17,012 --> 00:03:20,822 Let's try to differentiate arc cosine. We could do that in the same way. 51 00:03:20,822 --> 00:03:23,455 f equals arc cosine to the chain rule trick. 52 00:03:23,455 --> 00:03:26,256 We get a formula for the derivative of arc cosine. 53 00:03:26,256 --> 00:03:30,346 Assuming it's differentiable, and it is. But, I want to do it a different way. 54 00:03:30,346 --> 00:03:34,884 I want to try to do it different attack, a different approach on the problem of 55 00:03:34,884 --> 00:03:38,974 calculating the derivative of arc cosine. So, here's how we're going to start. 56 00:03:38,974 --> 00:03:43,344 Take a look at this triangle here. this angle's alpha, and I'm labeling this 57 00:03:43,344 --> 00:03:46,929 side to have length y, and the hypotenuse of this right triangle 58 00:03:46,929 --> 00:03:51,003 has length one. Now, what this triangle's telling me is 59 00:03:51,003 --> 00:03:56,972 that the sine of alpha, which is this sign divided by hypotenuse, is y. 60 00:03:56,972 --> 00:04:00,940 And consequently, the arc sine of y is alpha. 61 00:04:00,940 --> 00:04:05,856 Now, what's arc cosine of y? To figure that out let's draw another one 62 00:04:05,856 --> 00:04:09,918 of these triangles. I'm going to label this side beta, and 63 00:04:09,918 --> 00:04:15,380 I'm going to imagine picking up this right triangle and flipping it over. 64 00:04:15,380 --> 00:04:21,401 So that then this angle's beta, this angle's alpha, hypotenuse is still length 65 00:04:21,401 --> 00:04:25,390 one, but the side that I labeled y is now down here. 66 00:04:25,390 --> 00:04:31,724 And what this triangle is telling me is that the cosine of beta, right? Which is 67 00:04:31,724 --> 00:04:36,260 this width divided by the length hypotenuse is is y. 68 00:04:36,260 --> 00:04:40,300 And consequently, the arc cosine of y is beta. 69 00:04:40,300 --> 00:04:46,472 Why is that significant? Well, this is a right triangle and the 70 00:04:46,472 --> 00:04:53,939 angles add up to 180 degrees, so alpha plus beta add up to 90 degrees, or pi 71 00:04:53,939 --> 00:04:57,622 over two radiants. So, that means what? 72 00:04:57,622 --> 00:05:02,799 I know that alpha plus beta is equal to pi over two. 73 00:05:02,799 --> 00:05:10,764 Consequently, arc sine y plus arc cosine y, which is alpha plus beta, add up to pi 74 00:05:10,764 --> 00:05:13,071 over two. Now, this formula is, you know, 75 00:05:13,071 --> 00:05:17,105 interesting in its own right. But think about what it means 76 00:05:17,105 --> 00:05:20,803 differentiably. I just calculated the derivative of arc 77 00:05:20,803 --> 00:05:24,770 sine and I'm wondering, what's the derivative of arc cosine? 78 00:05:24,770 --> 00:05:29,813 Well, whatever it is, right? These two functions add up to a constant, they're 79 00:05:29,813 --> 00:05:33,211 pi over two. So, however wiggling y must affect arc 80 00:05:33,211 --> 00:05:38,530 sine, wiggling y must affect arc cosine in precisely the opposite way so as to 81 00:05:38,530 --> 00:05:41,804 make this sum a constant. Said differently, right? 82 00:05:41,804 --> 00:05:46,305 The derivative of this side has to be the derivative of this side. 83 00:05:46,305 --> 00:05:51,624 But the derivative of this side is zero, that means the derivative of arc sine 84 00:05:51,624 --> 00:05:54,830 plus the derivative of arc cosine must be zero. 85 00:05:54,830 --> 00:05:59,328 That means that the derivative of arc sine has to be exactly the negative of 86 00:05:59,328 --> 00:06:03,477 the derivative of arc cosine. And since we know the derivative arc sine 87 00:06:03,477 --> 00:06:08,151 is one over the square root of one minus x squared, that means the derivative of 88 00:06:08,151 --> 00:06:12,300 arc cosine is negative one over the square root of one minus x squared. 89 00:06:12,300 --> 00:06:18,050 My goal right now is to differentiate arc tan x, but that's too hard. 90 00:06:18,050 --> 00:06:22,258 So instead, we're going to sort of sneak up on the derivative of arc tan x and 91 00:06:22,258 --> 00:06:26,240 figure out the derivative without explicitly knowing it to begin with. 92 00:06:26,240 --> 00:06:30,012 So, here we go. I'll make this a little bit easier, I 93 00:06:30,012 --> 00:06:33,156 don't want to keep writing arc tan x all the time. 94 00:06:33,156 --> 00:06:37,208 So, let's give it a different name. let's just call it f. 95 00:06:37,208 --> 00:06:41,260 So f of x will be arc tan x for the time being. 96 00:06:41,260 --> 00:06:47,178 Now, what do I know about arc tan? Arc tan is one of these inverse 97 00:06:47,178 --> 00:06:51,548 trigonometric functions. It's the inverse to tan. 98 00:06:51,548 --> 00:06:58,012 So, I know what f of tangent x is. Well, as long as x is between minus pi 99 00:06:58,012 --> 00:07:03,840 over four and pi over four, the arc tangent of tangent is just x. 100 00:07:03,840 --> 00:07:09,141 Now, this is a really great thing, right? Now if, if f were differentiable, I could 101 00:07:09,141 --> 00:07:13,100 use the chain rule on this. So, let's just pretend that arc tan is 102 00:07:13,100 --> 00:07:17,763 differentiable and see what happens. So, in that case, I differentiate this 103 00:07:17,763 --> 00:07:23,355 using the chain rule. I got the derivative of f at the inside, 104 00:07:23,355 --> 00:07:29,316 times the derivative of the inside. The derivative of tangent is secant 105 00:07:29,316 --> 00:07:32,254 squared. [SOUND] The derivative of x is one, 106 00:07:32,254 --> 00:07:36,032 right? So, I differentiated both sides of this 107 00:07:36,032 --> 00:07:38,718 equation, f tangent x equal to x. 108 00:07:38,718 --> 00:07:45,687 The derivative of f tangent x is f prime tangent x times the derivative of tangent 109 00:07:45,687 --> 00:07:50,304 secant squared. And the derivative of x, with respect to 110 00:07:50,304 --> 00:07:55,833 x, is just one. Now, I'll divide both sides by secant 111 00:07:55,833 --> 00:08:01,376 squared x. And I find out that f prime of tangent x 112 00:08:01,376 --> 00:08:06,777 is one over secant squared x. Now, what do I do? 113 00:08:06,777 --> 00:08:10,228 I, I'm trying to write down the derivative of f. 114 00:08:10,228 --> 00:08:15,370 f is arc tan, and I want to know how to differentiate arc tan. and what I've 115 00:08:15,370 --> 00:08:21,145 learned is that if f were differentiable, its derivative at tangent x would be one 116 00:08:21,145 --> 00:08:24,103 over secant squared x. Well, here's a trick. 117 00:08:24,103 --> 00:08:28,963 I know the Pythagorean identity. I know that sine squared plus cosine 118 00:08:28,963 --> 00:08:32,979 squared is one. So, if I take this identity and divide 119 00:08:32,979 --> 00:08:37,495 both sides by cosine squared, I get that tangent squared, 120 00:08:37,495 --> 00:08:43,725 right? That's sine squared over cosine squared, plus cosine squared over cosine 121 00:08:43,725 --> 00:08:47,660 squared one, is one over cosine squared, that's a 122 00:08:47,660 --> 00:08:52,162 secant squared. So, here's another trig identity, tangent 123 00:08:52,162 --> 00:08:58,033 squared x plus one is secant squared x. So, up here where I've got one over 124 00:08:58,033 --> 00:09:03,517 secant squared x, I could have written this as one over, instead of secant 125 00:09:03,517 --> 00:09:09,619 squared x, I'll use the fact that secant squared x is tangent squared x plus one. 126 00:09:09,619 --> 00:09:15,643 I'll put that in here and I get that the derivative of f, the derivative arc tan, 127 00:09:15,643 --> 00:09:20,600 at tangent x is one over tangent squared x plus one. 128 00:09:20,600 --> 00:09:23,830 Now, this is a pretty great formula, right? 129 00:09:23,830 --> 00:09:29,539 This is saying that the derivative at something is one over that same thing 130 00:09:29,539 --> 00:09:33,821 squared plus one. So a more normal, a more common way of 131 00:09:33,821 --> 00:09:38,929 seeing this written is that the derivative of arc tan x is one over x 132 00:09:38,929 --> 00:09:42,159 squared plus one. So, here's what we've done. 133 00:09:42,159 --> 00:09:48,019 We've got the derivative of arc sine, is one over the square root of one minus x 134 00:09:48,019 --> 00:09:50,955 squared. The derivative of arc cosine is exactly 135 00:09:50,955 --> 00:09:55,500 negative that, because the sum of arc sine and arc cosine is a constant, 136 00:09:55,500 --> 00:10:00,484 -1 over the squared of one minus x squared. 137 00:10:00,484 --> 00:10:07,538 And we've calculated the derivative of arc tangent just now to be one over one 138 00:10:07,538 --> 00:10:09,889 plus x squared. Excellent. 139 00:10:09,889 --> 00:10:16,566 At this point, we've calculated the derivatives of arc sine, arc cosine, and 140 00:10:16,566 --> 00:10:20,798 arc tangent. And now I challenge you to go and 141 00:10:20,798 --> 00:10:25,971 calculate the derivatives of arc secant, arc cosecant, and arc cotangent. 142 00:10:27,194 --> 00:10:28,793 Have fun. [MUSIC]