1 00:00:00,000 --> 00:00:00,000 2 00:00:00,000 --> 00:00:07,330 PROFESSOR: Hi. 3 00:00:07,330 --> 00:00:08,670 Welcome back to recitation. 4 00:00:08,670 --> 00:00:11,700 In lecture you've been talking about implicitly defined 5 00:00:11,700 --> 00:00:14,540 functions and implicit differentiation. 6 00:00:14,540 --> 00:00:18,010 So one of the reasons that these are important is, or 7 00:00:18,010 --> 00:00:21,020 that implicit differentiation is important, is it sometimes 8 00:00:21,020 --> 00:00:23,030 you have a function to find implicitly and you 9 00:00:23,030 --> 00:00:24,270 can't solve for it. 10 00:00:24,270 --> 00:00:27,750 You don't have any algebraic method for computing the 11 00:00:27,750 --> 00:00:30,590 function values as a formula, say. 12 00:00:30,590 --> 00:00:35,060 So, for example, this function that I've written on the board 13 00:00:35,060 --> 00:00:38,830 that I've called w of x is defined implicitly by the 14 00:00:38,830 --> 00:00:43,925 equation that w of x plus 1 quantity times e to the w of x 15 00:00:43,925 --> 00:00:45,910 is equal to x for all x. 16 00:00:45,910 --> 00:00:51,630 So this function, some of its values you can guess. 17 00:00:51,630 --> 00:00:54,970 Like at x equals 0, the function value is going to be 18 00:00:54,970 --> 00:00:55,920 negative 1. 19 00:00:55,920 --> 00:00:58,220 And the reason is that this can't ever be 0, so the only 20 00:00:58,220 --> 00:01:02,410 way to get this side to be 0 is if w is negative 1 if 21 00:01:02,410 --> 00:01:03,150 this term is 0. 22 00:01:03,150 --> 00:01:07,360 So some of its values are easy to compute, but some of its 23 00:01:07,360 --> 00:01:08,240 values aren't. 24 00:01:08,240 --> 00:01:11,710 So for example, if I asked you what w of 3/2 25 00:01:11,710 --> 00:01:14,280 is, it's very hard. 26 00:01:14,280 --> 00:01:17,630 There's no algebraic way you can manipulate this equation 27 00:01:17,630 --> 00:01:19,590 that will let you figure that out. 28 00:01:19,590 --> 00:01:23,230 So in that situation you might still care about what the 29 00:01:23,230 --> 00:01:24,780 function value is. 30 00:01:24,780 --> 00:01:25,790 So what can you do? 31 00:01:25,790 --> 00:01:28,170 Well, you can try and find a numerical approximation. 32 00:01:28,170 --> 00:01:30,650 So in this problem I'd like you to try and estimate the 33 00:01:30,650 --> 00:01:36,825 value w of 3/2 by using a linear approximation to the 34 00:01:36,825 --> 00:01:38,110 function, to the curve-- 35 00:01:38,110 --> 00:01:38,310 yeah. 36 00:01:38,310 --> 00:01:45,030 A linear approximation of the function w of x in order to 37 00:01:45,030 --> 00:01:46,280 compute this value. 38 00:01:46,280 --> 00:01:48,920 39 00:01:48,920 --> 00:01:49,570 So as a hint, I've given you, so you're trying to 40 00:01:49,570 --> 00:01:51,040 compute w of 3/2. 41 00:01:51,040 --> 00:01:55,470 As a hint I'm pointing out to you that w of 1 is 0. 42 00:01:55,470 --> 00:01:56,600 Right? 43 00:01:56,600 --> 00:02:01,530 If you put in x equals 0 and w of 0 equals-- 44 00:02:01,530 --> 00:02:04,330 sorry-- if you put in x equals 1 and w of 1 equals 0 on the 45 00:02:04,330 --> 00:02:08,495 left hand side, you do indeed get 1, as you should. 46 00:02:08,495 --> 00:02:14,050 47 00:02:14,050 --> 00:02:14,146 So, OK. 48 00:02:14,146 --> 00:02:14,242 So, good. 49 00:02:14,242 --> 00:02:17,120 So that'll give you a hint about where you could base 50 00:02:17,120 --> 00:02:18,820 your linear approximation. 51 00:02:18,820 --> 00:02:21,540 So why don't you pause the video, take a few minutes to 52 00:02:21,540 --> 00:02:23,875 work this out, come back, and we can work it out together. 53 00:02:23,875 --> 00:02:31,540 54 00:02:31,540 --> 00:02:31,910 All right. 55 00:02:31,910 --> 00:02:32,520 Welcome back. 56 00:02:32,520 --> 00:02:35,220 So hopefully you've had a chance to work on this 57 00:02:35,220 --> 00:02:36,310 question a little bit. 58 00:02:36,310 --> 00:02:40,290 So in order to do this linear approximation that we want, 59 00:02:40,290 --> 00:02:42,840 what we need to know are we need to know a base point and 60 00:02:42,840 --> 00:02:44,870 we need to know the derivative of the function 61 00:02:44,870 --> 00:02:45,790 at that base point. 62 00:02:45,790 --> 00:02:49,000 And those are the two pieces of data you need in order to 63 00:02:49,000 --> 00:02:50,790 construct a linear approximation. 64 00:02:50,790 --> 00:02:54,540 So we have a good candidate for a base point here, which 65 00:02:54,540 --> 00:02:55,910 is the point 1, 0. 66 00:02:55,910 --> 00:02:58,840 So this curve, whatever it looks like, it passes through 67 00:02:58,840 --> 00:02:59,950 the point 1, 0. 68 00:02:59,950 --> 00:03:02,190 And that's the point we're going to use for our 69 00:03:02,190 --> 00:03:03,220 approximation. 70 00:03:03,220 --> 00:03:13,690 So we're going to use the linear approximation w of x is 71 00:03:13,690 --> 00:03:24,870 approximately equal to w prime of 1 times x minus 1 plus w of 72 00:03:24,870 --> 00:03:32,570 1 when x is approximately equal to 1. 73 00:03:32,570 --> 00:03:34,870 So this is the linear approximation we're going to 74 00:03:34,870 --> 00:03:38,010 use, and we have that w of 1 here is 0. 75 00:03:38,010 --> 00:03:43,980 So this is, this is equal to w prime of one 76 00:03:43,980 --> 00:03:47,460 times x minus one. 77 00:03:47,460 --> 00:03:49,290 Just the w of 1 is 0. 78 00:03:49,290 --> 00:03:50,600 It just goes away. 79 00:03:50,600 --> 00:03:56,400 So in order to estimate w of x, and in particular w of 3/2, 80 00:03:56,400 --> 00:03:58,330 what we need to know is we need to know the 81 00:03:58,330 --> 00:03:59,215 derivative of w. 82 00:03:59,215 --> 00:04:01,640 OK? 83 00:04:01,640 --> 00:04:04,770 And to get the derivative of w, we need to use-- 84 00:04:04,770 --> 00:04:07,530 well, we have only one piece of information about w. 85 00:04:07,530 --> 00:04:10,390 Which is we have that it's defined by 86 00:04:10,390 --> 00:04:12,510 this implicit equation. 87 00:04:12,510 --> 00:04:16,340 So in order to get the derivative of w we have to use 88 00:04:16,340 --> 00:04:16,920 implicit differentiation. 89 00:04:16,920 --> 00:04:18,600 OK? 90 00:04:18,600 --> 00:04:20,920 So let's do that. 91 00:04:20,920 --> 00:04:24,520 So if we implicitly differentiate this equation-- 92 00:04:24,520 --> 00:04:26,810 so let's start with the, the right hand side is going to be 93 00:04:26,810 --> 00:04:27,012 really easy. 94 00:04:27,012 --> 00:04:27,670 Right? 95 00:04:27,670 --> 00:04:29,600 We're going to differentiate with respect to x. 96 00:04:29,600 --> 00:04:31,450 The right hand side is going to be 1. 97 00:04:31,450 --> 00:04:33,680 On the left hand side is going to be a little more 98 00:04:33,680 --> 00:04:34,390 complicated. 99 00:04:34,390 --> 00:04:37,440 We have a product and then this piece, we're going to 100 00:04:37,440 --> 00:04:38,350 have a chain rule situation. 101 00:04:38,350 --> 00:04:38,900 Right? 102 00:04:38,900 --> 00:04:40,460 We have e to the w of x. 103 00:04:40,460 --> 00:04:51,050 104 00:04:51,050 --> 00:04:51,116 So, OK. 105 00:04:51,116 --> 00:04:52,110 So we're going to take an implicit 106 00:04:52,110 --> 00:04:54,730 derivative and on the left-- 107 00:04:54,730 --> 00:04:57,490 so OK, so the product rule first. We take the derivative 108 00:04:57,490 --> 00:05:02,360 of the first part, so that's just w prime of x times the 109 00:05:02,360 --> 00:05:07,330 second part-- that's e to the w of x-- 110 00:05:07,330 --> 00:05:12,980 plus the first part-- that's w of x plus 1-- 111 00:05:12,980 --> 00:05:14,620 times the derivative of the second part. 112 00:05:14,620 --> 00:05:16,880 So the second part is e to the w of x. 113 00:05:16,880 --> 00:05:24,620 So that gives me an e to the w of x times w prime of x. 114 00:05:24,620 --> 00:05:25,520 That's the chain rule. 115 00:05:25,520 --> 00:05:27,970 So that's what happens when I differentiate 116 00:05:27,970 --> 00:05:28,760 the left hand side. 117 00:05:28,760 --> 00:05:31,180 And on the right hand side I take the derivative 118 00:05:31,180 --> 00:05:32,173 of x and I get 1. 119 00:05:32,173 --> 00:05:33,423 OK, good. 120 00:05:33,423 --> 00:05:35,120 121 00:05:35,120 --> 00:05:38,430 So now I've got this equation and I need to solve this 122 00:05:38,430 --> 00:05:40,120 equation for w prime. 123 00:05:40,120 --> 00:05:41,780 Because if you look up here, that's what I want. 124 00:05:41,780 --> 00:05:44,460 I want a particular value of w prime. 125 00:05:44,460 --> 00:05:47,700 And as always happens in implicit differentiation, from 126 00:05:47,700 --> 00:05:52,760 the point of view of this w prime it's only involved in 127 00:05:52,760 --> 00:05:54,200 the equation in a very simple way. 128 00:05:54,200 --> 00:05:59,097 So there's it multiplied by functions of x and w of x, but 129 00:05:59,097 --> 00:06:03,430 not, you know, it's just multiplied by something that 130 00:06:03,430 --> 00:06:05,320 doesn't involve w prime at all. 131 00:06:05,320 --> 00:06:07,090 And then here it's multiplied by something that doesn't 132 00:06:07,090 --> 00:06:08,240 involve w prime at all. 133 00:06:08,240 --> 00:06:11,050 So you can just collect your w prime's and divide through. 134 00:06:11,050 --> 00:06:14,690 You know, it's just like solving a linear equation. 135 00:06:14,690 --> 00:06:23,310 So here if we collect our w prime's, this is w prime of x 136 00:06:23,310 --> 00:06:25,940 times-- looks like-- 137 00:06:25,940 --> 00:06:34,950 w of x plus 2 times e to the w of x. 138 00:06:34,950 --> 00:06:37,220 Did I get that right? 139 00:06:37,220 --> 00:06:37,772 Looks good. 140 00:06:37,772 --> 00:06:41,440 OK, so that's still equal to 1. 141 00:06:41,440 --> 00:06:46,130 So that means that w prime of x is just-- 142 00:06:46,130 --> 00:06:47,760 well, just, you know-- 143 00:06:47,760 --> 00:06:58,250 it's equal to 1 over w of x plus 2 times e to the w of x. 144 00:06:58,250 --> 00:07:01,470 OK, so this is true for every x. 145 00:07:01,470 --> 00:07:03,630 But I don't need this equation for every x. 146 00:07:03,630 --> 00:07:09,150 I just need the particular value of w prime at 1. 147 00:07:09,150 --> 00:07:10,880 So that's, so I'm going to take this equation, then, and 148 00:07:10,880 --> 00:07:13,260 I'm just going to put in x equals 1. 149 00:07:13,260 --> 00:07:15,020 So I put in x equals 1-- 150 00:07:15,020 --> 00:07:19,290 well, let me do it over here-- so I get w prime of 1. 151 00:07:19,290 --> 00:07:21,510 And I just everywhere I had an x, I put in a 1. 152 00:07:21,510 --> 00:07:25,120 So actually, in this equation the only place x appears is in 153 00:07:25,120 --> 00:07:26,130 the argument of w. 154 00:07:26,130 --> 00:07:33,410 So this is w of 1 plus 2 times e to the w of 1. 155 00:07:33,410 --> 00:07:34,010 OK. 156 00:07:34,010 --> 00:07:36,920 So in order to get w prime of 1 I need to 157 00:07:36,920 --> 00:07:38,440 know what w of 1 is. 158 00:07:38,440 --> 00:07:39,280 But I had that. 159 00:07:39,280 --> 00:07:41,456 I had it, it was right back here. 160 00:07:41,456 --> 00:07:43,122 There was, that was my hint to you. 161 00:07:43,122 --> 00:07:46,510 Right, this is why we're using this point as a base point, 162 00:07:46,510 --> 00:07:50,510 which is we know the value of w for this value of x. 163 00:07:50,510 --> 00:07:51,750 So we take that value. 164 00:07:51,750 --> 00:07:53,480 So w of 1 is 0. 165 00:07:53,480 --> 00:07:56,610 So this is just 1 over-- 166 00:07:56,610 --> 00:07:57,990 well, 0 plus 2 is-- 167 00:07:57,990 --> 00:08:00,350 2, and e to the 0 is 1. 168 00:08:00,350 --> 00:08:02,510 So it's just 1 over 2. 169 00:08:02,510 --> 00:08:03,720 Sorry, that's written a little oddly. 170 00:08:03,720 --> 00:08:05,730 We can make it 2 times 1. 171 00:08:05,730 --> 00:08:06,980 So 1 over 2. 172 00:08:06,980 --> 00:08:09,420 173 00:08:09,420 --> 00:08:09,950 OK. 174 00:08:09,950 --> 00:08:12,610 So I take that back upstairs to this 175 00:08:12,610 --> 00:08:13,990 equation that I had here. 176 00:08:13,990 --> 00:08:18,140 And I have that w of x is approximately equal to w prime 177 00:08:18,140 --> 00:08:21,590 of 1 times x minus 1. 178 00:08:21,590 --> 00:08:29,150 So w of x is approximately equal to w prime of 1-- 179 00:08:29,150 --> 00:08:30,110 we saw is-- 180 00:08:30,110 --> 00:08:33,245 1/2 times x minus 1. 181 00:08:33,245 --> 00:08:36,500 182 00:08:36,500 --> 00:08:39,910 And that approximation was good near our base point. 183 00:08:39,910 --> 00:08:42,940 So that's good when x is near 1. 184 00:08:42,940 --> 00:08:45,820 185 00:08:45,820 --> 00:08:47,730 All right. 186 00:08:47,730 --> 00:08:49,090 And then, so this is the linear approximation. 187 00:08:49,090 --> 00:08:52,570 And I asked for the linear approximation, its value at 188 00:08:52,570 --> 00:08:56,680 the particular point, x equals 3/2. 189 00:08:56,680 --> 00:09:03,656 So w of 3/2 is approximately 1/2 times-- 190 00:09:03,656 --> 00:09:07,480 well, 3/2 minus 1 is also 1/2-- 191 00:09:07,480 --> 00:09:10,010 192 00:09:10,010 --> 00:09:10,760 so this is a quarter. 193 00:09:10,760 --> 00:09:14,640 OK, so this is our estimate for w of 3/2. 194 00:09:14,640 --> 00:09:17,730 w of 3/2 is approximately 1/4. 195 00:09:17,730 --> 00:09:19,580 If you wanted a better estimate you could try 196 00:09:19,580 --> 00:09:21,250 iterating this process. 197 00:09:21,250 --> 00:09:24,370 Now you might have a, you know-- 198 00:09:24,370 --> 00:09:26,680 or choosing some base point even closer if you could 199 00:09:26,680 --> 00:09:32,970 figure out the value of w and x near that, near this point 200 00:09:32,970 --> 00:09:33,710 that you're interested in-- 201 00:09:33,710 --> 00:09:35,290 3/2. 202 00:09:35,290 --> 00:09:38,270 So just to sum up what we did was we had this implicitly 203 00:09:38,270 --> 00:09:40,320 defined function w. 204 00:09:40,320 --> 00:09:42,880 We wanted to estimate its value at a point where we 205 00:09:42,880 --> 00:09:44,460 couldn't compute it explicitly. 206 00:09:44,460 --> 00:09:46,230 So what we did was we did our normal linear 207 00:09:46,230 --> 00:09:47,110 approximation method. 208 00:09:47,110 --> 00:09:48,825 Right? 209 00:09:48,825 --> 00:09:52,740 So we wrote down our normal linear approximation formula. 210 00:09:52,740 --> 00:09:55,790 The only thing that was slightly unusual is that we 211 00:09:55,790 --> 00:09:57,550 had to use implicit differentiation. 212 00:09:57,550 --> 00:09:59,960 In order to compute the derivative that appears in the 213 00:09:59,960 --> 00:10:02,035 linear approximation, we implicitly differentiated. 214 00:10:02,035 --> 00:10:03,150 OK? 215 00:10:03,150 --> 00:10:06,290 So that happened just like normal, and then at the end we 216 00:10:06,290 --> 00:10:09,250 plugged in the values that we were interested in, to 217 00:10:09,250 --> 00:10:13,190 actually compute the particular value of that 218 00:10:13,190 --> 00:10:14,190 approximation. 219 00:10:14,190 --> 00:10:15,960 So I'll end there. 220 00:10:15,960 --> 00:10:16,283