1 00:00:00,000 --> 00:00:07,160 2 00:00:07,160 --> 00:00:09,250 PROFESSOR: Welcome back to recitation. 3 00:00:09,250 --> 00:00:11,290 Today we're going to work on a problem involving 4 00:00:11,290 --> 00:00:12,430 differential equations. 5 00:00:12,430 --> 00:00:15,030 I'm going to read it to you, give you a little hint, give 6 00:00:15,030 --> 00:00:17,570 you some time to work on it, and then I'll be back and work 7 00:00:17,570 --> 00:00:18,810 it out for you. 8 00:00:18,810 --> 00:00:23,030 So, the problem is to find a function y equals f of x that 9 00:00:23,030 --> 00:00:26,790 has the following two properties: d squared y dx 10 00:00:26,790 --> 00:00:28,400 squared is equal to 6x. 11 00:00:28,400 --> 00:00:30,410 And just to remind you what this means, this is really, 12 00:00:30,410 --> 00:00:34,940 this is the second derivative of y with respect to x. 13 00:00:34,940 --> 00:00:38,900 So, the second derivative with respect to x should be 6x. 14 00:00:38,900 --> 00:00:42,340 And the second condition's kind of long, but it says the 15 00:00:42,340 --> 00:00:46,450 graph of the function in the xy plane passes through the 16 00:00:46,450 --> 00:00:49,880 point 1,1 with a horizontal tangent there. 17 00:00:49,880 --> 00:00:51,240 So let me give you one hint. 18 00:00:51,240 --> 00:00:53,710 And that hint is that there are some initial conditions 19 00:00:53,710 --> 00:00:54,420 buried in here. 20 00:00:54,420 --> 00:00:56,940 That's why we have this condition. 21 00:00:56,940 --> 00:00:59,850 So I'm going to give you a little bit of time to work on 22 00:00:59,850 --> 00:01:01,940 it and I'll be back and I'll work it out with you. 23 00:01:01,940 --> 00:01:10,530 24 00:01:10,530 --> 00:01:11,650 Welcome back. 25 00:01:11,650 --> 00:01:13,750 Hopefully you were able to start at least solving the 26 00:01:13,750 --> 00:01:17,890 problem initially, give yourself a little direction. 27 00:01:17,890 --> 00:01:20,460 So let's see how you did. 28 00:01:20,460 --> 00:01:24,770 OK, so the first thing I would like to do is try and figure 29 00:01:24,770 --> 00:01:28,590 out maybe what the first derivative of the function y 30 00:01:28,590 --> 00:01:29,490 equals f of x is. 31 00:01:29,490 --> 00:01:32,170 I have its second derivative, so in order to find the first 32 00:01:32,170 --> 00:01:36,100 derivative I want to find, ultimately a function that 33 00:01:36,100 --> 00:01:37,500 when I take its derivative I get 6x. 34 00:01:37,500 --> 00:01:38,390 Right? 35 00:01:38,390 --> 00:01:40,530 So, we can think about this. 36 00:01:40,530 --> 00:01:43,720 Maybe the easiest thing for us to do would actually be to 37 00:01:43,720 --> 00:01:47,600 consider another function whose derivative is 6x. 38 00:01:47,600 --> 00:01:49,380 And we'll know that's dy dx. 39 00:01:49,380 --> 00:01:52,190 So I'm going to say this: dy-- sorry-- 40 00:01:52,190 --> 00:01:55,070 d squared y dx squared. 41 00:01:55,070 --> 00:01:58,050 I'm going to say is the first derivative of another 42 00:01:58,050 --> 00:02:01,610 function, we'll say dw dx. 43 00:02:01,610 --> 00:02:03,750 And the reason I'm going to do that is so we're not too 44 00:02:03,750 --> 00:02:06,630 nervous about how we solve this problem. 45 00:02:06,630 --> 00:02:08,800 So let's just assume that. 46 00:02:08,800 --> 00:02:11,480 So I'm introducing another function, w, which is the 47 00:02:11,480 --> 00:02:15,980 first derivative of y with respect to x, ultimately. 48 00:02:15,980 --> 00:02:19,010 Because its derivative is the second derivative of y with 49 00:02:19,010 --> 00:02:20,130 respect to x. 50 00:02:20,130 --> 00:02:23,580 So let's see how to solve the differential equation 51 00:02:23,580 --> 00:02:27,040 dw dx equals 6x. 52 00:02:27,040 --> 00:02:28,870 Now you may be able to do that right away. 53 00:02:28,870 --> 00:02:30,100 You may see what this is right away. 54 00:02:30,100 --> 00:02:31,380 If you're a little nervous, we can do a 55 00:02:31,380 --> 00:02:33,050 separation of variables. 56 00:02:33,050 --> 00:02:36,796 So right away, maybe some of you can see that this will be 57 00:02:36,796 --> 00:02:38,730 2x-- sorry-- 58 00:02:38,730 --> 00:02:40,430 3x squared. 59 00:02:40,430 --> 00:02:42,100 But let's just double-check. 60 00:02:42,100 --> 00:02:44,770 So, separation of variables, on this side we get the 61 00:02:44,770 --> 00:02:45,810 integral of dw. 62 00:02:45,810 --> 00:02:48,000 On this side we get the integral of 6x dx. 63 00:02:48,000 --> 00:02:50,590 64 00:02:50,590 --> 00:02:53,480 Here we get a w. 65 00:02:53,480 --> 00:02:58,530 And here, again we get, we should really do 6x squared 66 00:02:58,530 --> 00:03:01,740 over 2 plus a constant. 67 00:03:01,740 --> 00:03:07,060 So that's 3x squared plus a constant. 68 00:03:07,060 --> 00:03:11,410 I'm going to write c1 here because we're went to need a 69 00:03:11,410 --> 00:03:12,990 little bit of information. 70 00:03:12,990 --> 00:03:15,370 We're going to need another constant later. 71 00:03:15,370 --> 00:03:19,370 So we actually now know the derivative of y 72 00:03:19,370 --> 00:03:20,360 with respect to x. 73 00:03:20,360 --> 00:03:27,360 What we found here, I'll just write that in, is dy dx. 74 00:03:27,360 --> 00:03:28,290 Again, let me remind you why. 75 00:03:28,290 --> 00:03:32,670 We had, we were saying the second derivative of y with 76 00:03:32,670 --> 00:03:36,170 respect to x we're going to call dw dx. 77 00:03:36,170 --> 00:03:42,200 So when I took an integral of dw dx, I got w. 78 00:03:42,200 --> 00:03:44,840 So that means I've taken one antiderivative here and so now 79 00:03:44,840 --> 00:03:46,120 I have dy dx. 80 00:03:46,120 --> 00:03:48,241 So this is dy dx. 81 00:03:48,241 --> 00:03:50,830 I'm going to draw a line and now we want to find y. 82 00:03:50,830 --> 00:03:53,250 And again we can use separation of variables. 83 00:03:53,250 --> 00:03:56,750 Or this time I'm just going to do the problem without 84 00:03:56,750 --> 00:03:59,990 separating variables, because I actually know what an 85 00:03:59,990 --> 00:04:02,530 antiderivative is of this, what an antiderivative is of 86 00:04:02,530 --> 00:04:05,150 this, and then I need to add one more constant. 87 00:04:05,150 --> 00:04:10,340 So I can say that y is definitely equal to x cubed 88 00:04:10,340 --> 00:04:14,600 plus c1 x plus c2. 89 00:04:14,600 --> 00:04:17,315 And let me just again, let's see why that is. 90 00:04:17,315 --> 00:04:18,330 Right? 91 00:04:18,330 --> 00:04:22,840 This antiderivative of this is x cubed. 92 00:04:22,840 --> 00:04:26,340 Antiderivative of this is, it's a constant so its 93 00:04:26,340 --> 00:04:29,130 antiderivative is c1 times x. 94 00:04:29,130 --> 00:04:31,270 And then I have to add on another constant because I 95 00:04:31,270 --> 00:04:34,510 have a whole family of possible solutions. 96 00:04:34,510 --> 00:04:35,990 So here I have y. 97 00:04:35,990 --> 00:04:39,850 And now I need to figure out how to use number two. 98 00:04:39,850 --> 00:04:42,110 Maybe before you even go on, you want to check, does this 99 00:04:42,110 --> 00:04:44,700 really satisfy number one? 100 00:04:44,700 --> 00:04:47,300 So if we wanted to check that, we just take two derivatives 101 00:04:47,300 --> 00:04:49,460 of this expression on the right-hand side. 102 00:04:49,460 --> 00:04:51,570 Two derivatives of this is 0. 103 00:04:51,570 --> 00:04:53,370 Two derivative of this is 0. 104 00:04:53,370 --> 00:04:55,240 And two derivatives of this is 6x. 105 00:04:55,240 --> 00:04:57,600 So I do indeed get what I want. 106 00:04:57,600 --> 00:04:59,480 So now we definitely can go on to number 2. 107 00:04:59,480 --> 00:05:01,270 OK? 108 00:05:01,270 --> 00:05:02,460 So, what do we have number two? 109 00:05:02,460 --> 00:05:04,510 It says we have some initial conditions here. 110 00:05:04,510 --> 00:05:07,510 The graph in the x y plane passes through the point 1,1 111 00:05:07,510 --> 00:05:10,550 and it has a horizontal tangent there. 112 00:05:10,550 --> 00:05:11,960 Now what does that actually mean? 113 00:05:11,960 --> 00:05:12,790 Let's think about that. 114 00:05:12,790 --> 00:05:21,215 That actually means that two says f of 1 equals 1. 115 00:05:21,215 --> 00:05:22,970 Right? 116 00:05:22,970 --> 00:05:24,410 y is equal to f of x. 117 00:05:24,410 --> 00:05:27,060 So we can write this also as f of x. 118 00:05:27,060 --> 00:05:30,530 So two, the first part says that f of 1 is 1. 119 00:05:30,530 --> 00:05:31,910 And what does this second condition? 120 00:05:31,910 --> 00:05:33,080 Let's check this second condition. 121 00:05:33,080 --> 00:05:35,670 It says it has a horizontal tangent there. 122 00:05:35,670 --> 00:05:38,820 Horizontal tangent means that its derivative at 123 00:05:38,820 --> 00:05:41,040 that x value is 0. 124 00:05:41,040 --> 00:05:43,790 So let me write down that in a nice form. 125 00:05:43,790 --> 00:05:48,190 The derivative at that x value is equal to 0. 126 00:05:48,190 --> 00:05:49,970 This is a little different, maybe, from what we've seen 127 00:05:49,970 --> 00:05:50,610 previously. 128 00:05:50,610 --> 00:05:53,970 In the lecture you saw examples, at least certainly, 129 00:05:53,970 --> 00:05:55,760 where you had one initial condition. 130 00:05:55,760 --> 00:05:57,460 Here we need two initial conditions. 131 00:05:57,460 --> 00:06:00,450 And you see why, is because we actually have two constants. 132 00:06:00,450 --> 00:06:01,630 Where did that come from? 133 00:06:01,630 --> 00:06:04,010 It's because we started with a second derivative instead of 134 00:06:04,010 --> 00:06:05,370 just the first derivative. 135 00:06:05,370 --> 00:06:07,650 So that's kind of, that's why you see more initial 136 00:06:07,650 --> 00:06:11,330 conditions than maybe you've seen previously. 137 00:06:11,330 --> 00:06:13,570 So, let's plug these in and let's see what we get. 138 00:06:13,570 --> 00:06:17,400 If f of 1 equals 1, then let's evaluate that. 139 00:06:17,400 --> 00:06:23,705 f of 1 is equal to 1 cubed plus 1 times c1 plus 1 times, 140 00:06:23,705 --> 00:06:23,955 or just 1, or c2 there-- sorry, there's no x 141 00:06:23,955 --> 00:06:25,205 there, so just c2. 142 00:06:25,205 --> 00:06:30,780 143 00:06:30,780 --> 00:06:33,810 And that all has to equal 1. 144 00:06:33,810 --> 00:06:35,370 And then let's look at what the derivative is. 145 00:06:35,370 --> 00:06:38,520 The derivative is still over here. 146 00:06:38,520 --> 00:06:43,500 So f prime at 1 is equal to 3 times 1 squared, so 3 147 00:06:43,500 --> 00:06:46,880 times 1, plus c1. 148 00:06:46,880 --> 00:06:51,410 And the condition says that equals 0, equals 0. 149 00:06:51,410 --> 00:06:52,490 So we can read off. 150 00:06:52,490 --> 00:06:54,990 The nice thing is this is system of equations but one of 151 00:06:54,990 --> 00:06:57,400 them is very easy to solve initially, then we can 152 00:06:57,400 --> 00:06:58,460 substitute. 153 00:06:58,460 --> 00:06:59,420 So what does this say? 154 00:06:59,420 --> 00:07:01,990 Well 3 plus c1 equals 0. 155 00:07:01,990 --> 00:07:06,660 So c1 is equal to minus 3, negative 3. 156 00:07:06,660 --> 00:07:10,411 If I plug in negative 3 for c1, in this expression, in 157 00:07:10,411 --> 00:07:15,230 this equation up here, I get negative 3 plus 1 plus c2 has 158 00:07:15,230 --> 00:07:16,910 to equal 1. 159 00:07:16,910 --> 00:07:19,510 If I subtract the 1's from both sides I get negative 3 160 00:07:19,510 --> 00:07:21,580 plus c2 has to equal 0. 161 00:07:21,580 --> 00:07:25,610 So c2 has to actually equal 3. 162 00:07:25,610 --> 00:07:32,430 So the final, final answer is evaluating, or plugging in the 163 00:07:32,430 --> 00:07:35,150 c1 and the c2 in for the constants there. 164 00:07:35,150 --> 00:07:42,820 The final, final answer is x cubed minus 3x plus 3. 165 00:07:42,820 --> 00:07:46,270 166 00:07:46,270 --> 00:07:49,290 So we started with a differential equation and two 167 00:07:49,290 --> 00:07:50,720 sets of initial conditions. 168 00:07:50,720 --> 00:07:54,690 And we came up with one solution that satisfies that. 169 00:07:54,690 --> 00:07:57,410 Now you can look at this, you could graph this on a 170 00:07:57,410 --> 00:08:00,770 calculator or computer and look and see if it satisfies 171 00:08:00,770 --> 00:08:04,780 that it actually passes through the point 1,1 and has 172 00:08:04,780 --> 00:08:06,250 a horizontal tangent there. 173 00:08:06,250 --> 00:08:08,840 But we know, based on our work, that that actually 174 00:08:08,840 --> 00:08:10,230 should happen. 175 00:08:10,230 --> 00:08:13,140 So I think that's where I'll stop. 176 00:08:13,140 --> 00:08:13,493