1 00:00:00,005 --> 00:00:09,049 [music] With all that we've learned so far, it's super easy to differentiate sine 2 00:00:09,049 --> 00:00:15,204 squared x, so I'm going to differentiate sine squared. 3 00:00:15,204 --> 00:00:18,105 Well, it's the chain rule, right? It's the derivative of the outside 4 00:00:18,105 --> 00:00:22,536 function, which is the squaring function. So, it's 2 times the inside function, 5 00:00:22,536 --> 00:00:26,953 which is sine x, times the derivative of the inside, which is cosine x. 6 00:00:26,954 --> 00:00:29,780 So there, that's the derivative of sine squared x. 7 00:00:29,780 --> 00:00:33,495 What if I wanted to go backwards? What if I wanted to anti-differentiate 8 00:00:33,495 --> 00:00:37,056 sine squared x? I want to anti-differentiate sine squared 9 00:00:37,056 --> 00:00:39,194 x. I'm looking for a function whose 10 00:00:39,194 --> 00:00:43,764 derivative is sine squared x. Well, me and my first guess for central 11 00:00:43,764 --> 00:00:48,748 function might be sine cubed over 3. Because if I differentiate this while I'm 12 00:00:48,748 --> 00:00:53,788 differentiating the outside function, which is cubing, so it's 3 times the 13 00:00:53,788 --> 00:00:58,150 inside function squared divided by 3, and that's looking good. 14 00:00:58,150 --> 00:01:02,067 There, I've got a sine squared x. The problem is that, now I've got to 15 00:01:02,067 --> 00:01:06,162 multiply this by the derivative of the inside function, which is sine, and the 16 00:01:06,162 --> 00:01:10,259 derivative of sine is cosine. So, the derivative of this is not sine 17 00:01:10,259 --> 00:01:13,898 squared x, it's sine squared x times this extra cosine. 18 00:01:13,899 --> 00:01:18,569 Oh, it seems really hard. Well, there's a so-called half angle 19 00:01:18,569 --> 00:01:20,363 identity. This is the trick. 20 00:01:20,363 --> 00:01:24,919 That sine squared x is, according to half angle identity, 1 minus cosine of 2x all 21 00:01:24,919 --> 00:01:25,525 over 2. Well, that's true. 22 00:01:25,525 --> 00:01:29,932 But how does that identity help? Well, since sine squared x is 1 minus 23 00:01:29,932 --> 00:01:38,764 cosine 2x all over 2, that means the anti-derivative for sine squared x is 24 00:01:38,764 --> 00:01:45,341 equal to the anti-derivative of 1 minus cosine 2x over 2. 25 00:01:45,342 --> 00:01:49,670 Now to do this, this is the anti-derivative of 1 half times something. 26 00:01:49,670 --> 00:01:53,882 So, I can pull out that factor of 1 half and just figure out how to 27 00:01:53,882 --> 00:01:58,552 anti-differentiate 1 minus cosine of 2x. Now, this is an anti-derivative of a 28 00:01:58,552 --> 00:02:01,537 difference, which is the difference of anti-derivatives. 29 00:02:01,538 --> 00:02:06,017 So, I want to anti-differentiate 1 and I want to anti-differentiate cosine 2x. 30 00:02:06,018 --> 00:02:09,940 Now, what's an anti-derivative of 1? Well, it's just x. 31 00:02:09,940 --> 00:02:13,302 And what's an anti-derivative of cosine 2x? 32 00:02:13,302 --> 00:02:16,500 Well, one such anti-derivative is sine of 2x. 33 00:02:16,500 --> 00:02:21,420 But then, I've got to divide by 2 to compensate for the chain rule here. 34 00:02:22,420 --> 00:02:24,460 It'll add plus c. So, there we go. 35 00:02:24,460 --> 00:02:30,230 I could simplify this a little bit. I could write this as x over 2 minus sine 36 00:02:30,230 --> 00:02:38,397 2x over 4 plus c, and there is my general anti-derivative for sine x. 37 00:02:38,397 --> 00:02:42,708 Maybe you really like this sort of thing. Well, if you are really having fun with 38 00:02:42,708 --> 00:02:46,173 this kind of thing, here's a little challenge that you can play with. 39 00:02:46,173 --> 00:02:49,882 You can try to find an anti-derivative say, for sine to the 4th, right? 40 00:02:49,882 --> 00:02:54,362 And if you don't like the number 4, you can make the 4 some other number, right? 41 00:02:54,362 --> 00:02:57,948 But it's pretty fun. Then, you can try to apply some of the 42 00:02:57,948 --> 00:03:03,241 trig identities to replace sine to some power with things that you can currently 43 00:03:03,241 --> 00:03:07,870 anti-differentiate. It's honestly pretty cool that these 44 00:03:07,870 --> 00:03:14,570 anti-differentiation problems are actually doable, that we can write down the 45 00:03:14,570 --> 00:03:16,370 anti-derivatives.