1 00:00:00,000 --> 00:00:00,000 2 00:00:00,000 --> 00:00:08,700 PROFESSOR: Welcome back to recitation. 3 00:00:08,700 --> 00:00:11,510 Today what we're going to do is use what we know about 4 00:00:11,510 --> 00:00:13,650 first and second derivatives and what we know about 5 00:00:13,650 --> 00:00:17,520 functions from way back in algebra and precalculus, to 6 00:00:17,520 --> 00:00:18,770 sketch a curve. 7 00:00:18,770 --> 00:00:21,540 So I want you to sketch the curve y equals x 8 00:00:21,540 --> 00:00:23,190 over 1 plus x squared. 9 00:00:23,190 --> 00:00:25,900 Doesn't have to be perfect, but try and use what you know 10 00:00:25,900 --> 00:00:28,390 about these derivatives, first and second derivatives of this 11 00:00:28,390 --> 00:00:31,710 function, and what you've talked about in the lecture to 12 00:00:31,710 --> 00:00:33,580 get a, get a pretty good sketch of this. 13 00:00:33,580 --> 00:00:35,740 I'll give you a little time to work on it and then I'll be 14 00:00:35,740 --> 00:00:37,300 back and I'll work on it for you. 15 00:00:37,300 --> 00:00:46,070 16 00:00:46,070 --> 00:00:47,060 Welcome back. 17 00:00:47,060 --> 00:00:49,540 So hopefully you feel good about the sketch you've drawn. 18 00:00:49,540 --> 00:00:52,050 But just to check everything, we can go through it together. 19 00:00:52,050 --> 00:00:54,350 And what I'm going to do, just to keep track of things, is 20 00:00:54,350 --> 00:00:58,050 I'm going to put an axis in this region and then I'm going 21 00:00:58,050 --> 00:00:59,820 to do all my work sort of off to the side 22 00:00:59,820 --> 00:01:00,790 and come back slowly. 23 00:01:00,790 --> 00:01:03,170 So we'll try and keep track of everything that way. 24 00:01:03,170 --> 00:01:07,430 So before I do anything else I'm just going to draw myself 25 00:01:07,430 --> 00:01:10,740 a nice axis here. 26 00:01:10,740 --> 00:01:16,100 And I'll give myself even a little bit of-- 27 00:01:16,100 --> 00:01:19,600 28 00:01:19,600 --> 00:01:22,070 oops, that's maybe a little off, but-- 29 00:01:22,070 --> 00:01:24,930 so we'll assume every hash mark is one unit. 30 00:01:24,930 --> 00:01:28,710 I'll just put a 1 there so we know every hash mark here is 31 00:01:28,710 --> 00:01:30,760 going to represent one unit. 32 00:01:30,760 --> 00:01:32,810 And I won't write the rest of them. 33 00:01:32,810 --> 00:01:35,395 Now one of the things you always do first, is you want 34 00:01:35,395 --> 00:01:37,460 to make sure that you understand where the function 35 00:01:37,460 --> 00:01:38,520 is defined. 36 00:01:38,520 --> 00:01:41,020 So we have to check right away, are there any values of 37 00:01:41,020 --> 00:01:43,030 x for which this function is not defined? 38 00:01:43,030 --> 00:01:45,070 Well, how can that happen? 39 00:01:45,070 --> 00:01:48,100 If it were a logarithm or if it were a square root function 40 00:01:48,100 --> 00:01:50,640 we would have problems in the domain where would have to 41 00:01:50,640 --> 00:01:53,690 check and make sure that the input was positive. 42 00:01:53,690 --> 00:01:56,010 In this case, because we have a rational function, we have 43 00:01:56,010 --> 00:01:59,160 to make sure that the denominator is 44 00:01:59,160 --> 00:02:00,740 never equal to 0. 45 00:02:00,740 --> 00:02:01,600 But if you notice, the 46 00:02:01,600 --> 00:02:03,360 denominator is 1 plus x squared. 47 00:02:03,360 --> 00:02:05,670 Well, x squared is always bigger than or equal to 0, and 48 00:02:05,670 --> 00:02:07,300 once I add 1, I'm in the clear. 49 00:02:07,300 --> 00:02:09,650 I'm always positive in the denominator. 50 00:02:09,650 --> 00:02:12,410 So the denominator is always positive, so I don't have to 51 00:02:12,410 --> 00:02:14,450 put any vertical asymptotes. 52 00:02:14,450 --> 00:02:16,600 Some other things we think about before we even start 53 00:02:16,600 --> 00:02:19,790 taking derivatives, or anything I can find out about 54 00:02:19,790 --> 00:02:21,660 this function, like end behavior. 55 00:02:21,660 --> 00:02:24,720 When we say end behavior we mean, what happens as x goes 56 00:02:24,720 --> 00:02:28,320 to positive infinity and as x goes to negative infinity? 57 00:02:28,320 --> 00:02:31,250 And from what you've seen before, as x goes to positive 58 00:02:31,250 --> 00:02:35,000 infinity, because this is a rational function, the higher 59 00:02:35,000 --> 00:02:36,590 power is going to win out. 60 00:02:36,590 --> 00:02:38,250 The higher power always wins out. 61 00:02:38,250 --> 00:02:42,130 So the higher power here is in the denominator so as x goes 62 00:02:42,130 --> 00:02:44,460 to positive infinity this whole expression is 63 00:02:44,460 --> 00:02:46,110 going to head to 0. 64 00:02:46,110 --> 00:02:48,610 For large values of x the x squared is significantly 65 00:02:48,610 --> 00:02:49,930 bigger than the x. 66 00:02:49,930 --> 00:02:52,640 And so the denominator is significantly 67 00:02:52,640 --> 00:02:54,010 bigger than the numerator. 68 00:02:54,010 --> 00:02:55,850 That's how we can think about this. 69 00:02:55,850 --> 00:02:58,820 So when x goes to plus or minus infinity we know that 70 00:02:58,820 --> 00:03:00,970 our function is going to be headed to 0, so it has a 71 00:03:00,970 --> 00:03:02,930 horizontal asymptote. 72 00:03:02,930 --> 00:03:03,240 OK. 73 00:03:03,240 --> 00:03:06,380 And then another thing we would, we should notice is the 74 00:03:06,380 --> 00:03:07,200 sign of the graph. 75 00:03:07,200 --> 00:03:10,020 Notice where the sign will change. 76 00:03:10,020 --> 00:03:13,140 This denominator is always positive so the sign of the 77 00:03:13,140 --> 00:03:15,580 function depends completely on the numerator. 78 00:03:15,580 --> 00:03:17,267 And so when the numerator is positive this 79 00:03:17,267 --> 00:03:18,590 function will be positive. 80 00:03:18,590 --> 00:03:20,180 When the numerator is negative this 81 00:03:20,180 --> 00:03:21,930 function will be negative. 82 00:03:21,930 --> 00:03:26,130 So that's a little bit that we should keep in mind. 83 00:03:26,130 --> 00:03:30,450 And now let's go to using our derivatives to figure out a 84 00:03:30,450 --> 00:03:33,490 little bit more. 85 00:03:33,490 --> 00:03:36,550 So obviously, first I should take some derivatives and then 86 00:03:36,550 --> 00:03:39,960 we'll look at what we can get out of them. 87 00:03:39,960 --> 00:03:46,460 So let's let f of x equal x over 1 plus x squared. 88 00:03:46,460 --> 00:03:50,400 So then f prime of x, what do we get? 89 00:03:50,400 --> 00:03:58,500 We get 1 plus x squared minus x times 2x over 1 plus x 90 00:03:58,500 --> 00:04:01,590 squared squared. 91 00:04:01,590 --> 00:04:04,060 So I'm just going to continue that straight below. 92 00:04:04,060 --> 00:04:04,460 Let's see. 93 00:04:04,460 --> 00:04:08,870 I can keep this x squared minus 2x squared, gives me a 1 94 00:04:08,870 --> 00:04:10,220 minus x squared-- 95 00:04:10,220 --> 00:04:11,380 in the numerator-- 96 00:04:11,380 --> 00:04:14,890 over 1 plus x squared quantity squared. 97 00:04:14,890 --> 00:04:15,070 OK. 98 00:04:15,070 --> 00:04:16,860 I'm going to keep that right here. 99 00:04:16,860 --> 00:04:19,760 We're going to do a little bit of calculation below in a 100 00:04:19,760 --> 00:04:22,910 moment, but I'm going to record the second derivative 101 00:04:22,910 --> 00:04:24,920 just to the right. 102 00:04:24,920 --> 00:04:27,730 So the second derivative, remember, is the derivative of 103 00:04:27,730 --> 00:04:28,960 the first derivative. 104 00:04:28,960 --> 00:04:31,240 So now I'm going to take this derivative, again using the 105 00:04:31,240 --> 00:04:33,850 quotient rule, which I used here. 106 00:04:33,850 --> 00:04:38,800 So the derivative of the top is minus 2x and then times 1 107 00:04:38,800 --> 00:04:44,460 plus x squared squared and then I subtract the derivative 108 00:04:44,460 --> 00:04:46,770 of the bottom times the top. 109 00:04:46,770 --> 00:04:50,380 So I'll keep the top here, 1 minus x squared. 110 00:04:50,380 --> 00:04:52,630 And then the derivative of the bottom has a little chain rule 111 00:04:52,630 --> 00:04:56,950 on it, so I'm going to get a times 2 times 1 plus x 112 00:04:56,950 --> 00:05:00,570 squared times 2x. 113 00:05:00,570 --> 00:05:05,180 And then this whole thing is over 1 plus-- whoa-- 114 00:05:05,180 --> 00:05:06,350 x plus 1. 115 00:05:06,350 --> 00:05:09,130 We'll write x squared plus 1 for the fourth. 116 00:05:09,130 --> 00:05:12,570 Sorry to switch the direction or the order of those. 117 00:05:12,570 --> 00:05:13,600 OK. 118 00:05:13,600 --> 00:05:17,030 Now I'm going to pull out a 1 plus x squared from the 119 00:05:17,030 --> 00:05:18,310 numerator to simplify it. 120 00:05:18,310 --> 00:05:21,770 121 00:05:21,770 --> 00:05:23,780 And then I'm going to see what I have left. 122 00:05:23,780 --> 00:05:26,420 Here I have a 1 plus x squared times a negative 2x. 123 00:05:26,420 --> 00:05:30,640 That's going to be negative 2x minus 2x cubed. 124 00:05:30,640 --> 00:05:35,230 Here I'm going to have 2 times 2 is 4x times 125 00:05:35,230 --> 00:05:37,180 this 1 minus x squared. 126 00:05:37,180 --> 00:05:45,560 So I have a minus 4x plus 4x squared-- 127 00:05:45,560 --> 00:05:47,900 cubed, sorry. 128 00:05:47,900 --> 00:05:48,430 Let's make sure. 129 00:05:48,430 --> 00:05:53,820 So I should have a 4x here and then an x squared times 4x, 130 00:05:53,820 --> 00:05:55,490 which is 4x cubed. 131 00:05:55,490 --> 00:05:58,680 And that sign should be positive. 132 00:05:58,680 --> 00:06:02,570 And then I still have to divide by 1 plus x squared to 133 00:06:02,570 --> 00:06:03,350 the fourth. 134 00:06:03,350 --> 00:06:06,480 To make this much simpler I'm just going to divide out one 135 00:06:06,480 --> 00:06:09,165 of the 1 plus x squared's, simplify what's inside, and 136 00:06:09,165 --> 00:06:10,250 we'll leave it that way. 137 00:06:10,250 --> 00:06:13,100 Actually, let me move this down so there's 138 00:06:13,100 --> 00:06:15,620 a little more room. 139 00:06:15,620 --> 00:06:27,330 So the numerator will now be 2x cubed minus 6x over 1 plus 140 00:06:27,330 --> 00:06:31,200 x squared to the third. 141 00:06:31,200 --> 00:06:33,060 So these were some tools that we needed. 142 00:06:33,060 --> 00:06:35,200 Now we're going to try and use them. 143 00:06:35,200 --> 00:06:37,640 So let's recall what we know. 144 00:06:37,640 --> 00:06:40,700 We know that when the derivative is equal to 0, we 145 00:06:40,700 --> 00:06:43,590 have a maximum or minimum for the function. 146 00:06:43,590 --> 00:06:45,490 And we know that when the second derivative is equal to 147 00:06:45,490 --> 00:06:47,980 0, we have changes in concavity. 148 00:06:47,980 --> 00:06:49,370 So let's find those places. 149 00:06:49,370 --> 00:06:51,610 Let's find where the first derivative is 0 and let's find 150 00:06:51,610 --> 00:06:53,240 where the second derivative is 0. 151 00:06:53,240 --> 00:06:55,390 So I'm going to work under each individual 152 00:06:55,390 --> 00:06:58,290 function to do that. 153 00:06:58,290 --> 00:07:00,350 So where is f prime equal to 0? 154 00:07:00,350 --> 00:07:02,200 Well, f prime is only equal to 0 when the 155 00:07:02,200 --> 00:07:03,690 numerator is equal to 0. 156 00:07:03,690 --> 00:07:08,150 So let's solve 1 minus x squared equals 0. 157 00:07:08,150 --> 00:07:09,180 Well that's-- 158 00:07:09,180 --> 00:07:10,610 there's a couple ways you can think about that. 159 00:07:10,610 --> 00:07:13,040 You could factor it and then solve, or you could see right 160 00:07:13,040 --> 00:07:15,660 away this is going to be x is plus or minus 1. 161 00:07:15,660 --> 00:07:17,640 You get the same thing if you factor. 162 00:07:17,640 --> 00:07:21,120 But we see x is equal to plus or minus 1. 163 00:07:21,120 --> 00:07:23,270 So those are our maximum values or minimum values for 164 00:07:23,270 --> 00:07:24,490 the function. 165 00:07:24,490 --> 00:07:24,720 OK. 166 00:07:24,720 --> 00:07:27,500 So we know that this is an important spot for the x value 167 00:07:27,500 --> 00:07:30,200 and that's an important spot for the x value. 168 00:07:30,200 --> 00:07:33,320 Now let's just come over here and look at, when is the 169 00:07:33,320 --> 00:07:35,790 second derivative equal to 0? 170 00:07:35,790 --> 00:07:38,550 So the second derivative is equal to 0, again, when the 171 00:07:38,550 --> 00:07:40,370 numerator is equal to 0. 172 00:07:40,370 --> 00:07:41,600 So let's look at what we get. 173 00:07:41,600 --> 00:07:47,270 Well, if we factor that we get 2x times x squared 174 00:07:47,270 --> 00:07:50,460 minus 3 equals 0. 175 00:07:50,460 --> 00:07:52,705 So this has three places it's going to be equal to 0. 176 00:07:52,705 --> 00:07:56,475 It's going to be equal to 0 at 0, x equals 0, and it's going 177 00:07:56,475 --> 00:07:59,710 to be equal to 0 at plus or minus root 3, which is sort of 178 00:07:59,710 --> 00:08:02,000 unfortunate that we don't know exactly where that is, but we 179 00:08:02,000 --> 00:08:04,050 know it's between 1 and 2. 180 00:08:04,050 --> 00:08:06,920 I think it's about 1.7 or something like this. 181 00:08:06,920 --> 00:08:09,760 So we know we're interested in the point x equals 0 and the 182 00:08:09,760 --> 00:08:14,870 points x equal plus or minus square root of 3. 183 00:08:14,870 --> 00:08:17,320 So these are our places of interest. And so let's 184 00:08:17,320 --> 00:08:19,800 evaluate at least a couple of these places and see 185 00:08:19,800 --> 00:08:21,360 what's going on. 186 00:08:21,360 --> 00:08:23,910 Let's go back to the graph to do this. 187 00:08:23,910 --> 00:08:26,880 Now I want to point out something I didn't say 188 00:08:26,880 --> 00:08:29,610 earlier, which is, if you know the function is defined 189 00:08:29,610 --> 00:08:32,110 everywhere, what you might want to do is evaluate the 190 00:08:32,110 --> 00:08:34,470 function at x equals 0 right away. 191 00:08:34,470 --> 00:08:35,850 It's an easy place to evaluate it. 192 00:08:35,850 --> 00:08:37,780 It gives you sort of a launching point. 193 00:08:37,780 --> 00:08:41,460 So if I evaluate this at x equals 0 I get 0. 194 00:08:41,460 --> 00:08:45,940 So I know the point 0, 0 is on the graph. 195 00:08:45,940 --> 00:08:47,240 So I know that's one point. 196 00:08:47,240 --> 00:08:49,550 And now what I'm interested in-- if you think about we 197 00:08:49,550 --> 00:08:52,100 know where max's or min's occur we know a max or min 198 00:08:52,100 --> 00:08:54,000 occurs at x equals plus or minus 1. 199 00:08:54,000 --> 00:08:55,610 Or we have a hope for a max or min there. 200 00:08:55,610 --> 00:08:57,540 It's a critical point, at least. 201 00:08:57,540 --> 00:08:59,240 So I can evaluate the function-- sorry-- 202 00:08:59,240 --> 00:09:03,060 I can evaluate the function at 1 and at negative 1 and I can 203 00:09:03,060 --> 00:09:04,950 then plot those points. 204 00:09:04,950 --> 00:09:09,700 So when x is 1, I get 1 over 1 plus 1 squared, so I get 1/2. 205 00:09:09,700 --> 00:09:11,695 So with input 1 I get output 1/2. 206 00:09:11,695 --> 00:09:14,870 I'm going to erase that 1 now so we don't lose track of 207 00:09:14,870 --> 00:09:16,540 what's happening. 208 00:09:16,540 --> 00:09:19,670 That looks potentially like it could be a maximum, given sort 209 00:09:19,670 --> 00:09:24,280 of what's happening here, to the left. 210 00:09:24,280 --> 00:09:26,365 So let's plug in negative 1 for x. 211 00:09:26,365 --> 00:09:30,520 I get a negative 1 over 1 plus quantity negative 1 squared. 212 00:09:30,520 --> 00:09:33,810 So I get negative 1 over 2, so I get negative 1/2. 213 00:09:33,810 --> 00:09:37,540 So at x equals negative 1, I get negative 1/2. 214 00:09:37,540 --> 00:09:40,450 And let's recall what we know about the end behavior, which 215 00:09:40,450 --> 00:09:41,590 we said at the beginning. 216 00:09:41,590 --> 00:09:44,790 The end behavior of this is as x goes to positive infinity, 217 00:09:44,790 --> 00:09:47,490 the function's outputs go to 0. 218 00:09:47,490 --> 00:09:50,240 Which tells you that, in fact, this has to be a maximum. 219 00:09:50,240 --> 00:09:52,880 There are the only two places where the function can change 220 00:09:52,880 --> 00:09:56,440 direction from going up to going down, or from going down 221 00:09:56,440 --> 00:09:57,680 to going up. 222 00:09:57,680 --> 00:10:00,650 So it has to be that this is a maximum. 223 00:10:00,650 --> 00:10:04,040 It has to be that this is a minimum. 224 00:10:04,040 --> 00:10:06,890 So, and also notice 0, based on what we know about the 225 00:10:06,890 --> 00:10:09,700 second derivative, is one of the inflection points. 226 00:10:09,700 --> 00:10:14,660 So that's also representing a place where the derivative is 227 00:10:14,660 --> 00:10:15,870 changing sign. 228 00:10:15,870 --> 00:10:19,080 So maybe the derivative was increasing and then it's going 229 00:10:19,080 --> 00:10:22,270 to start decreasing. 230 00:10:22,270 --> 00:10:23,030 So let's look-- 231 00:10:23,030 --> 00:10:25,030 I think I might have said something a little off there, 232 00:10:25,030 --> 00:10:27,040 so I'm going to maybe come back and see if I have to fix 233 00:10:27,040 --> 00:10:28,140 anything in a moment-- 234 00:10:28,140 --> 00:10:31,990 but let me draw a rough sketch of what's happening. 235 00:10:31,990 --> 00:10:34,400 Very rough, very roughly we know we're going up and then 236 00:10:34,400 --> 00:10:36,030 we're going down. 237 00:10:36,030 --> 00:10:39,030 We're going down here and then we have to go back up because 238 00:10:39,030 --> 00:10:41,420 the end behavior. 239 00:10:41,420 --> 00:10:44,280 So we have three inflection points-- this is what I want 240 00:10:44,280 --> 00:10:46,070 to point out-- we have three inflection points. 241 00:10:46,070 --> 00:10:49,760 We have an inflection point at 0 and at plus or minus root 3. 242 00:10:49,760 --> 00:10:53,190 So we said root 3 is bigger than 1, it's less than 2. 243 00:10:53,190 --> 00:10:56,170 So I know somewhere in here I have an inflection point, 244 00:10:56,170 --> 00:10:57,545 which represents a change in the concavity. 245 00:10:57,545 --> 00:10:58,550 Right? 246 00:10:58,550 --> 00:11:02,450 Which represents how the derivative is going to change 247 00:11:02,450 --> 00:11:05,990 the direction, whether it's continuing to get more 248 00:11:05,990 --> 00:11:09,110 negative and then getting more positive than it was 249 00:11:09,110 --> 00:11:10,060 previously. 250 00:11:10,060 --> 00:11:11,910 So yeah, that's where we're looking at where the 251 00:11:11,910 --> 00:11:13,740 derivative changes sign. 252 00:11:13,740 --> 00:11:14,620 As I said before. 253 00:11:14,620 --> 00:11:17,850 So let me point out-- this is a change in concavity. 254 00:11:17,850 --> 00:11:21,710 Maybe right about in this x region we want to change 255 00:11:21,710 --> 00:11:23,890 concavity, and then this x region we 256 00:11:23,890 --> 00:11:25,500 want to change concavity. 257 00:11:25,500 --> 00:11:29,370 So the graph will look something like going up, going 258 00:11:29,370 --> 00:11:30,120 down, going down. 259 00:11:30,120 --> 00:11:32,770 And then I've tried to represent the change in 260 00:11:32,770 --> 00:11:35,510 concavity changing that direction there. 261 00:11:35,510 --> 00:11:38,880 262 00:11:38,880 --> 00:11:43,260 And I'm doing something that I didn't tell you yet. 263 00:11:43,260 --> 00:11:47,250 But if you notice, this looks highly symmetric, doesn't it? 264 00:11:47,250 --> 00:11:49,500 And in fact, one thing I didn't tell you about this 265 00:11:49,500 --> 00:11:51,940 function-- that maybe you picked up on already-- 266 00:11:51,940 --> 00:11:55,160 is that when I take the right hand side and I rotate it 267 00:11:55,160 --> 00:11:58,050 about the origin I get the left hand side. 268 00:11:58,050 --> 00:11:59,040 Why is that? 269 00:11:59,040 --> 00:12:00,770 That's because this is an odd function. 270 00:12:00,770 --> 00:12:02,510 Why is it an odd function? 271 00:12:02,510 --> 00:12:04,480 Because the numerator is an odd function and the 272 00:12:04,480 --> 00:12:06,180 denominator is an even function. 273 00:12:06,180 --> 00:12:09,200 And so the quotient is an odd function. 274 00:12:09,200 --> 00:12:13,100 So this is, I would say, a fairly good sketch of the 275 00:12:13,100 --> 00:12:15,400 curve y equals x over 1 plus x squared. 276 00:12:15,400 --> 00:12:17,920 So hopefully yours looked something like this. 277 00:12:17,920 --> 00:12:19,710 And that's where we'll stop. 278 00:12:19,710 --> 00:12:20,007