0:00:00.000,0:00:00.430 0:00:00.430,0:00:04.050 I've been asked implicitly[br]differentiate the equation 0:00:04.050,0:00:10.390 tangent of x over y is[br]equal to x plus y. 0:00:10.390,0:00:14.150 And I've done several implicit[br]differentiation videos, but 0:00:14.150,0:00:17.440 this tends to be one of the[br]biggest sources of pain for 0:00:17.440,0:00:18.720 first year calculus students. 0:00:18.720,0:00:21.040 So I thought I would give[br]at least another example. 0:00:21.040,0:00:22.860 It never hurts to see[br]as many as possible. 0:00:22.860,0:00:24.290 So let's do this one. 0:00:24.290,0:00:26.680 So to implicitly differentiate[br]this, we just apply the 0:00:26.680,0:00:29.363 derivative with respect to x[br]operator to both sides 0:00:29.363,0:00:29.970 of the equation. 0:00:29.970,0:00:33.290 The derivative with this[br]respect to x -- the derivative 0:00:33.290,0:00:35.420 of the left side with respect[br]to x is the same as the 0:00:35.420,0:00:40.580 derivative of the right[br]side with respect to x. 0:00:40.580,0:00:42.790 The right side's going to be[br]very straightforward, but 0:00:42.790,0:00:44.770 the left side is a[br]little bit tricky. 0:00:44.770,0:00:47.380 So let's do that on[br]the side over here. 0:00:47.380,0:00:52.020 Let me write the left hand side[br]a little bit differently. 0:00:52.020,0:00:52.990 I'm going to do it in[br]a different color. 0:00:52.990,0:01:00.410 Let me say that a is equal[br]to the tangent of b. 0:01:00.410,0:01:09.380 And let me say that b[br]is equal to x over y. 0:01:09.380,0:01:11.620 Then a is clearly[br]the same thing. 0:01:11.620,0:01:14.860 I mean if I just substituted[br]b back in here, a, this 0:01:14.860,0:01:18.090 whole thing I could[br]re-write as just a. 0:01:18.090,0:01:20.930 So if we're taking the[br]derivative of a with respect 0:01:20.930,0:01:23.740 to x, that's what we[br]want to do right here. 0:01:23.740,0:01:26.570 Let me just take the derivative[br]of both sides of this. 0:01:26.570,0:01:36.500 This would be the derivative of[br]a with respect to x is equal to 0:01:36.500,0:01:38.610 the derivative of x[br]with respect to x. 0:01:38.610,0:01:41.210 Well that's pretty[br]straightforward, that's just 1. 0:01:41.210,0:01:44.390 Plus the derivative of[br]y with respect to x. 0:01:44.390,0:01:45.430 So let me write it like this. 0:01:45.430,0:01:48.820 I'll write the derivative[br]operator, the derivative 0:01:48.820,0:01:53.770 oh y with respect to x. 0:01:53.770,0:01:54.350 That's all we did. 0:01:54.350,0:01:56.520 We just applied the derivative[br]operator to y, and we don't 0:01:56.520,0:01:58.650 know what this thing is,[br]we're going to solve for it. 0:01:58.650,0:02:01.180 But obviously, I can't just[br]leave this here, the derivative 0:02:01.180,0:02:02.360 of a with respect to x. 0:02:02.360,0:02:04.610 We just solved for a, and[br]a is just this thing 0:02:04.610,0:02:05.930 right here, right? 0:02:05.930,0:02:09.450 a is tangent of b, and[br]b is just y over x. 0:02:09.450,0:02:11.730 The reason why I wrote it this[br]way is because I wanted to show 0:02:11.730,0:02:14.870 you that when you take the[br]derivative of this, it just 0:02:14.870,0:02:16.500 comes out of the chain rule. 0:02:16.500,0:02:18.840 It's not some type of new[br]voodoo magic that you 0:02:18.840,0:02:20.090 haven't learned yet. 0:02:20.090,0:02:22.200 So the derivative -- let[br]me just write down the 0:02:22.200,0:02:23.990 chain rule right here. 0:02:23.990,0:02:30.930 The derivative of a with[br]respect to x is equal to the 0:02:30.930,0:02:35.280 derivative of a with respect[br]to b times the derivative 0:02:35.280,0:02:37.580 of b with respect to x. 0:02:37.580,0:02:39.720 That's just the chain rule and[br]it's very easy to remember, 0:02:39.720,0:02:43.040 because the db's cancel out and[br]you're just left with the 0:02:43.040,0:02:45.800 derivative of a with respect to[br]x, if you just treated these 0:02:45.800,0:02:47.470 like regular fractions. 0:02:47.470,0:02:50.275 So what's the derivative[br]of a with respect to b? 0:02:50.275,0:02:55.020 0:02:55.020,0:03:01.570 Well, that's just 1 over[br]cosine squared of b. 0:03:01.570,0:03:03.570 And if you don't have that[br]memorized, it's actually not 0:03:03.570,0:03:07.400 too hard to prove to yourself[br]if you just write this as sine 0:03:07.400,0:03:10.670 of b over cosine of b, but this[br]tends to be one of the trig 0:03:10.670,0:03:12.130 derivatives that most[br]people memorize. 0:03:12.130,0:03:14.230 I think I've already made a[br]video where I proved this. 0:03:14.230,0:03:16.840 And some books still write this[br]as secant squared of b, but we 0:03:16.840,0:03:19.070 know that secant squared is the[br]same thing as 1 over 0:03:19.070,0:03:20.340 cosine squared. 0:03:20.340,0:03:25.320 I like to keep it in kind of[br]the fundamental trig functions, 0:03:25.320,0:03:27.360 or trig ratios as opposed to[br]things like secant 0:03:27.360,0:03:28.490 and cosecant. 0:03:28.490,0:03:31.090 Then what's the derivative[br]of b with respect to x? 0:03:31.090,0:03:37.030 0:03:37.030,0:03:38.260 So this is pretty interesting. 0:03:38.260,0:03:39.710 Let me re-write b, actually. 0:03:39.710,0:03:45.730 Let me write b is equal to[br]x times y to the minus 1. 0:03:45.730,0:03:48.520 So the derivative of b with[br]respect to x, we could do a 0:03:48.520,0:03:50.470 little bit of chain[br]rule right here. 0:03:50.470,0:03:53.680 We could say -- let me write[br]this -- the derivative of b 0:03:53.680,0:03:57.530 with respect to x is equal to[br]the derivative of x times 0:03:57.530,0:03:58.790 y to the negative 1. 0:03:58.790,0:04:01.300 So the derivative of x is 1. 0:04:01.300,0:04:07.360 times y to the negative 1 plus[br]the derivative of y -- so 0:04:07.360,0:04:08.030 let me just write this. 0:04:08.030,0:04:12.320 Plus the derivative with[br]respect to x of y to 0:04:12.320,0:04:17.930 the minus 1 times the[br]first term, times x. 0:04:17.930,0:04:20.470 So this thing right here, and[br]clearly I haven't completely 0:04:20.470,0:04:21.190 simplified it yet. 0:04:21.190,0:04:22.890 I still have to figure out[br]what this thing is here. 0:04:22.890,0:04:25.010 But I just simply applied[br]the product rule here. 0:04:25.010,0:04:27.990 Your derivative of the first[br]term, derivative of x is 1 0:04:27.990,0:04:30.380 times the second term plus[br]the derivative of the second 0:04:30.380,0:04:31.310 term times the first term. 0:04:31.310,0:04:32.700 That's all I did there. 0:04:32.700,0:04:35.170 So the derivative of b[br]with respect to x is just 0:04:35.170,0:04:36.560 this thing right there. 0:04:36.560,0:04:42.290 So it equals -- let me do it in[br]the yellow -- so it's times -- 0:04:42.290,0:04:43.520 oh, I'll do it in the blue[br]since I already wrote it. 0:04:43.520,0:04:47.290 This is the blue, derivative of[br]b with respect to x is y to the 0:04:47.290,0:04:52.580 minus 1, or 1 over y plus the[br]derivative with respect to 0:04:52.580,0:04:59.590 x of 1 over y times x. 0:04:59.590,0:05:01.180 So let me write that down here. 0:05:01.180,0:05:04.330 So we just figured out, or[br]we're almost done figuring 0:05:04.330,0:05:07.400 out, what the derivative of a[br]with respect to x is, and we 0:05:07.400,0:05:08.450 could throw that in there. 0:05:08.450,0:05:09.230 But we're not done. 0:05:09.230,0:05:12.280 What's the derivative of 1[br]over y with respect to x? 0:05:12.280,0:05:14.990 Well, do the chain rule again. 0:05:14.990,0:05:17.520 0:05:17.520,0:05:18.830 And I want to be very[br]clear with this. 0:05:18.830,0:05:21.570 I know this might seem a little[br]bit cumbersome what I'm doing 0:05:21.570,0:05:24.020 here, but I think it might[br]make a little bit of sense. 0:05:24.020,0:05:28.390 Let me just set c is[br]equal to 1 over y. 0:05:28.390,0:05:32.550 So the derivative of c with[br]respect to x, just from the 0:05:32.550,0:05:35.580 chain rule, is equal to the[br]derivative of c with respect 0:05:35.580,0:05:40.090 to y times the derivative[br]of y with respect to x. 0:05:40.090,0:05:43.140 What's the derivative of[br]c with respect to y? 0:05:43.140,0:05:44.930 Well this is the same thing[br]as -- I could re-write 0:05:44.930,0:05:46.350 this as y to the minus 1. 0:05:46.350,0:05:51.160 So it's minus y to[br]the minus 2 power. 0:05:51.160,0:05:52.910 That's what this thing is. 0:05:52.910,0:05:55.740 This thing is that right there. 0:05:55.740,0:05:57.220 And I don't know what the[br]derivative of y with 0:05:57.220,0:05:58.020 respect to x is. 0:05:58.020,0:05:59.690 That's what we're[br]trying to solve for. 0:05:59.690,0:06:02.390 So it's that times[br]the derivative of y 0:06:02.390,0:06:03.540 with respect to x. 0:06:03.540,0:06:05.340 That just comes out[br]of the chain rule. 0:06:05.340,0:06:11.400 So this thing right here, this[br]is the derivative of this thing 0:06:11.400,0:06:13.830 with respect to x, which is the[br]same thing as derivative 0:06:13.830,0:06:15.770 of c with respect to x. 0:06:15.770,0:06:19.210 So I can write this little[br]piece right here, I can 0:06:19.210,0:06:25.240 re-write this little piece as[br]minus y to the minus 2 dy 0:06:25.240,0:06:28.910 dx, and then, of course,[br]that there is times x. 0:06:28.910,0:06:33.910 And then we had the plus 1 over[br]y, and all of that was times 0:06:33.910,0:06:38.050 the 1 over cosine squared of b. 0:06:38.050,0:06:40.660 So now we've simplified[br]this a good bit. 0:06:40.660,0:06:42.840 I hope going into the chain[br]rule didn't confuse you, 0:06:42.840,0:06:45.020 because I really want to hit[br]the point home that all of 0:06:45.020,0:06:48.320 these implicit differentiation[br]problems, these dy dx's just 0:06:48.320,0:06:50.570 don't, it's not some rule[br]that you should memorize. 0:06:50.570,0:06:52.890 They come out naturally[br]from the chain rule. 0:06:52.890,0:06:56.930 So we solved da dx,[br]that is equal to this 0:06:56.930,0:06:59.230 expression right here. 0:06:59.230,0:07:07.130 Let me write it, it's equal to[br]1 over cosine squared of b. 0:07:07.130,0:07:07.880 Well what's b? 0:07:07.880,0:07:10.640 I wrote it's cos x over y. 0:07:10.640,0:07:16.920 Cosine squared of x over y[br]times all of this stuff over 0:07:16.920,0:07:19.840 here, times all of this mess. 0:07:19.840,0:07:25.670 1 over y plus, or maybe I[br]should say minus, minus -- if I 0:07:25.670,0:07:32.486 just simplify this, this is x[br]over y squared times dy dx. 0:07:32.486,0:07:36.660 0:07:36.660,0:07:39.000 Then that is equal to[br]the right hand side. 0:07:39.000,0:07:48.490 It is equal to 1 plus dy dx. 0:07:48.490,0:07:51.420 And now all we have to[br]do is solve for dy dx. 0:07:51.420,0:07:53.990 So let me just review[br]how we got here. 0:07:53.990,0:07:56.300 I went through the chain rule[br]at every step of the way, but 0:07:56.300,0:07:58.170 once you get the hang of it,[br]you can literally just go 0:07:58.170,0:07:59.360 straight down this way. 0:07:59.360,0:08:01.380 The way you think about[br]it is -- the right hand 0:08:01.380,0:08:02.033 side I think you get it. 0:08:02.033,0:08:04.380 The derivative of x is 1, the[br]derivative of y with respect 0:08:04.380,0:08:06.560 to x, well that's just dy dx. 0:08:06.560,0:08:09.010 But the left hand side, you[br]take the derivative of 0:08:09.010,0:08:11.630 the whole thing with[br]respect to x over y. 0:08:11.630,0:08:14.100 So that's just the derivative[br]of tangent is 1 over 0:08:14.100,0:08:15.020 cosine squared. 0:08:15.020,0:08:18.620 So it's 1 over cosine squared[br]of x over y, and you multiply 0:08:18.620,0:08:23.530 that times the derivative of[br]x over y with respect to x. 0:08:23.530,0:08:26.770 And the derivative of x over[br]y with respect to x is the 0:08:26.770,0:08:28.970 derivative of-- and it gets[br]complicated, that's why it's 0:08:28.970,0:08:31.590 good to do it on the side here[br]-- but it's the derivative of 0:08:31.590,0:08:34.150 x, which is 1 times 1 over y. 0:08:34.150,0:08:39.680 Which is that term plus the[br]derivative of 1 over Y with 0:08:39.680,0:08:44.200 respect to X, which is minus[br]1 over y squared dy dx, from 0:08:44.200,0:08:46.620 the chain rule, times dx. 0:08:46.620,0:08:48.140 That's why it was good to do[br]over to the side so we don't 0:08:48.140,0:08:49.360 make a careless mistake. 0:08:49.360,0:08:51.410 But once you get used to it you[br]could actually do that in your 0:08:51.410,0:08:53.980 head, and of course, that[br]equals the right hand side. 0:08:53.980,0:08:56.520 So from here on out it's[br]just pure algebra. 0:08:56.520,0:08:59.140 Just to solve for our dy dx. 0:08:59.140,0:09:01.490 So a good place to start is to[br]multiply both sides of this 0:09:01.490,0:09:04.910 equation times cosine[br]squared of x over y. 0:09:04.910,0:09:07.420 So obviously, that'll[br]turn to 1 on this side. 0:09:07.420,0:09:14.970 And the left hand side will be[br]1 over y minus x over y squared 0:09:14.970,0:09:23.690 dy dx is equal to -- I have to[br]multiply both side of the 0:09:23.690,0:09:26.730 equation times this denominator[br]right here -- is equal to 0:09:26.730,0:09:32.530 cosine squared of x over y plus[br]cosine squared of 0:09:32.530,0:09:35.190 x over y dy dx. 0:09:35.190,0:09:39.420 0:09:39.420,0:09:40.190 Now what can we do. 0:09:40.190,0:09:44.210 We can subtract this cosine[br]squared of x over y from both 0:09:44.210,0:09:52.110 sides of the equation, and we[br]get 1 over y minus cosine 0:09:52.110,0:09:53.710 squared of x over y. 0:09:53.710,0:09:55.780 All I did is I subtracted[br]this from both sides of the 0:09:55.780,0:09:57.590 equation, so essentially I[br]moved it over to the 0:09:57.590,0:09:59.040 left hand side. 0:09:59.040,0:10:01.040 What I'm trying to do is I'm[br]going to try to separate the 0:10:01.040,0:10:04.810 non dy dx terms from[br]the dy dx terms. 0:10:04.810,0:10:06.750 So I want to bring this[br]dy dx term over to 0:10:06.750,0:10:07.950 the right hand side. 0:10:07.950,0:10:11.550 So let me add x over y[br]squared dy dx to both sides. 0:10:11.550,0:10:17.260 So then that is equal to x over[br]y -- let me write that in the 0:10:17.260,0:10:21.070 color that I originally wrote[br]it in, a slightly 0:10:21.070,0:10:21.470 different color. 0:10:21.470,0:10:27.110 So that is x over y squared --[br]I'll write the dy dx in orange. 0:10:27.110,0:10:34.120 dy dx, and then you have this[br]term, plus cosine squared 0:10:34.120,0:10:36.880 of x over y dy dx. 0:10:36.880,0:10:40.950 0:10:40.950,0:10:43.000 I think we're in[br]the home stretch. 0:10:43.000,0:10:46.410 Let's factor this dy dx out[br]from the right hand side. 0:10:46.410,0:10:56.770 So this is equal to dy dx[br]times x over y squared plus 0:10:56.770,0:11:01.220 cosine squared of x over y. 0:11:01.220,0:11:04.180 And that is equal to this thing[br]over here, it's equal to 0:11:04.180,0:11:09.250 1 over y minus cosine[br]squared of x over y. 0:11:09.250,0:11:12.240 Now to solve for dy dx, we just[br]have to divide both sides of 0:11:12.240,0:11:15.450 this equation by this[br]expression right here. 0:11:15.450,0:11:16.900 And then what do we get? 0:11:16.900,0:11:21.970 We get, if we just divide both[br]sides by that, we get 1 over y 0:11:21.970,0:11:27.210 minus cosine squared of x over[br]y divided by this whole 0:11:27.210,0:11:28.720 business right there. 0:11:28.720,0:11:36.190 x over y squared plus cosine[br]squared of x over y is 0:11:36.190,0:11:42.150 equal to our dy dx. 0:11:42.150,0:11:43.370 And then we're done. 0:11:43.370,0:11:46.460 We just applied the chain rule[br]multiple times and we were able 0:11:46.460,0:11:50.600 to implicitly differentiate[br]tangent of y over x is 0:11:50.600,0:11:51.600 equal to x plus y. 0:11:51.600,0:11:55.980 The hard part really is getting[br]to this step right here. 0:11:55.980,0:11:59.470 After this step it's literally[br]just pure algebra just to solve 0:11:59.470,0:12:04.730 for the dy dx's, and then you[br]get that answer right there. 0:12:04.730,0:12:07.380 Anyway, hopefully you[br]found that useful.