0:00:00.000,0:00:00.720 0:00:00.720,0:00:03.540 On the Khan Academy web app,[br]which I need to work on a 0:00:03.540,0:00:05.570 little bit more to make it a[br]little bit faster, they have 0:00:05.570,0:00:08.590 this one module that's called[br]the graph of the line. 0:00:08.590,0:00:11.690 It has no directions on it, and[br]I thought I would make a little 0:00:11.690,0:00:14.800 video here, at least to explain[br]how to do this module, and in 0:00:14.800,0:00:17.870 the process, I think it'll help[br]people, even those of you who 0:00:17.870,0:00:21.820 aren't using the module,[br]understand what the slope and 0:00:21.820,0:00:24.590 the y-intercept of a line[br]is a little bit better. 0:00:24.590,0:00:27.380 So this is a screen shot of[br]that module right here, and the 0:00:27.380,0:00:31.550 idea is essentially to change[br]this line, and this line right 0:00:31.550,0:00:34.640 here in orange is the line[br]specified by this equation 0:00:34.640,0:00:36.840 right here, so right now it's[br]the equation of the 0:00:36.840,0:00:38.510 line 1x plus 1. 0:00:38.510,0:00:42.450 It has a slope of 1, you can[br]see that, for every amount it 0:00:42.450,0:00:46.210 moved to the right it moves up[br]exactly 1, and has 1 0:00:46.210,0:00:47.620 for its y-intercept. 0:00:47.620,0:00:52.130 It intersects the y-axis[br]at exactly the point 0,1. 0:00:52.130,0:00:55.920 Now, the goal of this exercise[br]is to change your slope and 0:00:55.920,0:00:59.410 your y-intercept so that you go[br]through these two points, and 0:00:59.410,0:01:02.300 this point's-- half of it's off[br]the screen, hopefully you can 0:01:02.300,0:01:04.940 see them if you're watching[br]these in HD-- you can 0:01:04.940,0:01:06.730 see these two points. 0:01:06.730,0:01:10.700 Our goal is to make this line[br]go through them by essentially 0:01:10.700,0:01:12.210 changing its equation. 0:01:12.210,0:01:18.110 So it's a kind of a tactile way[br]of-- you know, as tactile as 0:01:18.110,0:01:21.010 something on the computer can[br]get-- of trying to figure out 0:01:21.010,0:01:23.560 the equation of the line that[br]goes through these two points. 0:01:23.560,0:01:24.890 So how can we do that? 0:01:24.890,0:01:27.650 So you can see here, when I[br]change the slope, if I make 0:01:27.650,0:01:30.270 the slope higher, it[br]becomes more steep. 0:01:30.270,0:01:31.410 Now the slope is 3. 0:01:31.410,0:01:35.090 For every 1 I move to the[br]right, I have to go 3 up. 0:01:35.090,0:01:38.210 My change in y is 3 for[br]every change in x of 1. 0:01:38.210,0:01:39.470 Or that's my slope. 0:01:39.470,0:01:41.130 My y-intercept is still 1. 0:01:41.130,0:01:44.260 If I change my y-intercept, if[br]I make it go down, notice it 0:01:44.260,0:01:45.920 just shifts the line down. 0:01:45.920,0:01:48.180 It doesn't change its[br]inclination or its slope, it 0:01:48.180,0:01:50.720 just shifts it down along[br]this line right there. 0:01:50.720,0:01:54.850 So how do I make my line go[br]through those two points? 0:01:54.850,0:01:58.890 Well it looks like, if I shift[br]it up enough-- let's shift up 0:01:58.890,0:02:01.210 that point-- and then let's[br]say let's lower the slope. 0:02:01.210,0:02:03.050 This looks like it has[br]a negative slope. 0:02:03.050,0:02:07.130 So if I lower my slope, notice[br]I'm flattening out the line. 0:02:07.130,0:02:08.880 That's a slope of 0. 0:02:08.880,0:02:11.480 It looks like it has to be[br]even more negative than that. 0:02:11.480,0:02:14.200 Let's see, maybe even more[br]negative than that, right? 0:02:14.200,0:02:17.360 It has to look like a line that[br]goes bam, just down like that. 0:02:17.360,0:02:19.750 Even more-- that looks close. 0:02:19.750,0:02:22.810 Let me get my y-intercept[br]down to see if I can 0:02:22.810,0:02:26.110 get closer to that. 0:02:26.110,0:02:28.940 It still seems like my slope[br]is a little bit too high. 0:02:28.940,0:02:29.870 That looks better. 0:02:29.870,0:02:32.950 So let me get my y-intercept[br]down even further. 0:02:32.950,0:02:35.000 It's now intersecting way[br]here, off the screen. 0:02:35.000,0:02:37.050 You can't even see that. 0:02:37.050,0:02:39.480 I just realized this is[br]copyright 2008 Khan 0:02:39.480,0:02:41.100 Academy, it's now 2009. 0:02:41.100,0:02:42.310 It's almost near[br]the end of 2009. 0:02:42.310,0:02:43.680 I could just change that. 0:02:43.680,0:02:45.470 Maybe I'll just[br]write 2010 there. 0:02:45.470,0:02:45.840 OK. 0:02:45.840,0:02:47.280 So y-intercept. 0:02:47.280,0:02:49.940 Even more. 0:02:49.940,0:02:52.210 So I lowered the y-intercept[br]but our slope is still 0:02:52.210,0:02:53.080 not strong enough. 0:02:53.080,0:02:54.870 The y-intercept is[br]actually off the chart. 0:02:54.870,0:02:57.200 It's intersecting at minus 18. 0:02:57.200,0:02:58.450 That's our current y-intercept. 0:02:58.450,0:03:00.730 But the slope of minus 5[br]is still not enough, so 0:03:00.730,0:03:03.240 let me lower the slope. 0:03:03.240,0:03:05.760 So if I lower the slope, let's[br]see, if I lower the y-intercept 0:03:05.760,0:03:09.830 a little bit more,[br]is that getting me? 0:03:09.830,0:03:10.650 There you go. 0:03:10.650,0:03:11.790 It got me to those points. 0:03:11.790,0:03:13.960 So the equation of the line[br]that passes through both 0:03:13.960,0:03:17.970 of those things is[br]minus 6x minus 22. 0:03:17.970,0:03:20.430 Let's do another one. 0:03:20.430,0:03:23.740 So, once again, it resets it,[br]so I just say the equation 1x 0:03:23.740,0:03:26.540 plus 1, but it gives me these[br]two new points that I have 0:03:26.540,0:03:28.060 to make it go through. 0:03:28.060,0:03:31.480 And once again this is going to[br]be a negative slope, because 0:03:31.480,0:03:34.370 for every x that I move[br]forward positive, my y 0:03:34.370,0:03:36.140 is actually going down. 0:03:36.140,0:03:38.030 So I'm going to have a negative[br]slope here, so let me lower 0:03:38.030,0:03:39.890 the slope a little bit. 0:03:39.890,0:03:42.530 0:03:42.530,0:03:44.920 It's actually doing fractions,[br]so this thing jumps 0:03:44.920,0:03:45.600 around a little bit. 0:03:45.600,0:03:47.510 I should probably change[br]that a little bit. 0:03:47.510,0:03:50.210 That looks about right, so let[br]me shift the graph down a 0:03:50.210,0:03:54.170 little bit by lowering[br]its y-intercept. 0:03:54.170,0:04:00.420 By lowering its y-intercept,[br]can I hit those two points? 0:04:00.420,0:04:01.410 There you go. 0:04:01.410,0:04:03.890 This is the equation of that[br]line that goes to the points 0:04:03.890,0:04:08.670 minus 5,1 and the[br]points 9,minus 9. 0:04:08.670,0:04:11.340 You have a slope of minus 5/7. 0:04:11.340,0:04:15.140 For every 7 you go to the[br]right, you go down 5. 0:04:15.140,0:04:18.980 If you go 1, 2, 3, 4, 5,[br]6, 7, you're going to 0:04:18.980,0:04:22.840 go down 1, 2, 3, 4, 5. 0:04:22.840,0:04:25.040 And that, we definitely[br]see that on that line. 0:04:25.040,0:04:27.980 And then the y-intercept is[br]minus 18 over 7, which is a 0:04:27.980,0:04:30.270 little over 2, it's about a[br]little over-- it's what, 0:04:30.270,0:04:32.010 a little over 2 and 1/2. 0:04:32.010,0:04:34.050 And we see right there[br]that the y-intercept is 0:04:34.050,0:04:35.420 a little over 2 and 1/2. 0:04:35.420,0:04:37.340 That's the equation[br]for our line. 0:04:37.340,0:04:38.860 Let's do another one. 0:04:38.860,0:04:41.170 This is a fun module, because[br]there are no wrong answers. 0:04:41.170,0:04:43.580 You can just keep messing with[br]it until you eventually get 0:04:43.580,0:04:46.570 that line to go through both of[br]those points, but the idea is 0:04:46.570,0:04:49.670 really give you that intuition[br]that the slope is just what the 0:04:49.670,0:04:53.560 inclination of the line is, and[br]then the y-intercept is how far 0:04:53.560,0:04:54.900 up and down it gets shifted. 0:04:54.900,0:04:57.110 So this is going to be[br]a positive slope, but 0:04:57.110,0:04:58.490 not as high as 1. 0:04:58.490,0:05:06.510 It looks like, for every 1, 2,[br]3, 4, 5, 6, 7, 8, 9, 10, 11, 0:05:06.510,0:05:08.440 12, for every 12 we go to the[br]right, we're going 0:05:08.440,0:05:11.810 to go 1, 2, 3 up. 0:05:11.810,0:05:15.260 So our slope is going to be 3[br]over 12, which is also 1 over 0:05:15.260,0:05:17.070 4, and we can just look[br]at that visually. 0:05:17.070,0:05:18.680 Let's lower our slope. 0:05:18.680,0:05:20.750 That's 3/4, not low enough. 0:05:20.750,0:05:22.580 1/2, not low enough. 0:05:22.580,0:05:26.060 1/4, which I just figured out[br]it is, that looks right, and 0:05:26.060,0:05:29.020 then we have to lower[br]the y-intercept. 0:05:29.020,0:05:32.470 We're shifting it down,[br]and there we go. 0:05:32.470,0:05:36.840 So the equation of this line,[br]its slope is 1/4, so the 0:05:36.840,0:05:40.150 equation of the line[br]is 1/4x plus 1/4. 0:05:40.150,0:05:43.220 So hopefully, for those of you[br]trying to do this module, that, 0:05:43.220,0:05:46.060 1, explained how to do it, and[br]for those of you who don't even 0:05:46.060,0:05:47.980 know what this module is, it[br]hopefully gives you a little 0:05:47.980,0:05:52.070 intuition about what the slope[br]and the y-intercept do 0:05:52.070,0:05:54.040 to an actual line.