1 00:00:00,000 --> 00:00:01,110 2 00:00:01,110 --> 00:00:04,540 Welcome to the presentation on finding the equation of a line. 3 00:00:04,540 --> 00:00:05,410 Let's get started. 4 00:00:05,410 --> 00:00:06,345 Say I had two points. 5 00:00:06,344 --> 00:00:12,359 Let's say I have the point 1 comma 2, and I have the point 3 6 00:00:12,359 --> 00:00:14,359 comma 4, and I want to figure out the equation of the 7 00:00:14,359 --> 00:00:15,359 line through these points. 8 00:00:15,359 --> 00:00:19,640 So let's at least figure out what that line looks like. 9 00:00:19,640 --> 00:00:32,490 So 1 comma 2 is here, and 2, 3; 3, 4. 10 00:00:32,490 --> 00:00:39,130 3 comma 4 is here, and if I want to draw a line 11 00:00:39,130 --> 00:00:44,050 through them, it'll look something like that. 12 00:00:44,049 --> 00:00:46,375 So what we want to do is figure out the equation of this line. 13 00:00:46,375 --> 00:00:53,439 Well, we know the form of an equation of a line is y equals 14 00:00:53,439 --> 00:01:00,839 mx plus b, where m is the slope, and that tells you how 15 00:01:00,840 --> 00:01:03,620 steep the line is, and b is the y-intercept. 16 00:01:03,619 --> 00:01:05,429 And I don't know why people chose m and b. 17 00:01:05,430 --> 00:01:06,980 We'll have to do some research on that. 18 00:01:06,980 --> 00:01:09,270 b is the y-intercept and the y-intercept is just where does 19 00:01:09,269 --> 00:01:10,250 it intersect the y-axis. 20 00:01:10,250 --> 00:01:13,250 21 00:01:13,250 --> 00:01:15,049 And this problem, you could actually look at it and 22 00:01:15,049 --> 00:01:17,939 figure it out, but let's do it mathematically. 23 00:01:17,939 --> 00:01:24,390 So the equation for the slope m: it's rise over run. 24 00:01:24,390 --> 00:01:27,640 Another way to view that is for any amount that you 25 00:01:27,640 --> 00:01:31,680 run along the x-axis, how much do you rise? 26 00:01:31,680 --> 00:01:33,350 Well, let's do that numerically. 27 00:01:33,349 --> 00:01:36,429 Rise is the same thing as change over y, and run is the 28 00:01:36,430 --> 00:01:37,800 same thing as change over x. 29 00:01:37,799 --> 00:01:41,569 Delta, this triangle, means change, change in y. 30 00:01:41,569 --> 00:01:44,649 Well, change in y, let's take the starting 31 00:01:44,650 --> 00:01:46,280 point to be 3 comma 4. 32 00:01:46,280 --> 00:01:48,980 Let's say we're going from 3 comma 4 to 2 comma 1. 33 00:01:48,980 --> 00:01:52,079 The change in y is 4 minus 2. 34 00:01:52,079 --> 00:02:01,829 We just took this 4 minus this 2 over 3 minus 1. 35 00:02:01,829 --> 00:02:02,549 My phone was ringing. 36 00:02:02,549 --> 00:02:07,420 37 00:02:07,420 --> 00:02:10,759 And that's just this 3 minus this 1. 38 00:02:10,759 --> 00:02:16,560 So if we just solve for it, we get 4 minus 2 is 2, and 3 39 00:02:16,560 --> 00:02:21,280 minus 1 is also 2, so we get the slope is equal to 1. 40 00:02:21,280 --> 00:02:24,280 And that makes sense because when we move over 1 in x, 41 00:02:24,280 --> 00:02:26,270 we go up exactly 1 in y. 42 00:02:26,270 --> 00:02:32,790 When we move to the left 1 in x, we move down exactly 1 in y. 43 00:02:32,789 --> 00:02:38,489 So now we know the equation is y equals 1x plus b because 44 00:02:38,490 --> 00:02:40,879 we solved the m equals 1. 45 00:02:40,879 --> 00:02:42,579 And this is, of course, the same thing as 46 00:02:42,580 --> 00:02:46,200 y equals x plus b. 47 00:02:46,199 --> 00:02:48,759 Now, all we have left to do is solve for b. 48 00:02:48,759 --> 00:02:52,549 Well, how do we do that because we have three variables here. 49 00:02:52,550 --> 00:02:55,460 Well, we could actually substitute one of these pairs 50 00:02:55,460 --> 00:02:59,780 of points in for y and x, and that makes sense, because 51 00:02:59,780 --> 00:03:02,509 these points have to satisfy this equation. 52 00:03:02,509 --> 00:03:06,599 So let's take this first pair. y is equal to 2. 53 00:03:06,599 --> 00:03:10,359 2 is equal to x, which is 1 plus b. 54 00:03:10,360 --> 00:03:12,160 It's a pretty easy equation to solve. 55 00:03:12,159 --> 00:03:16,180 We get b equals 1, so that tells us that the equation of 56 00:03:16,180 --> 00:03:20,069 this line is y equals x plus 1. 57 00:03:20,069 --> 00:03:22,489 That's a pretty straightforward equation, and it makes sense. 58 00:03:22,490 --> 00:03:25,360 The y-intercept is 1, which is exactly here, 0 comma 59 00:03:25,360 --> 00:03:29,100 1, and the slope is 1, and that's pretty obvious. 60 00:03:29,099 --> 00:03:31,689 For every amount that we move to the right, we move the same 61 00:03:31,689 --> 00:03:34,150 amount up, so the slope is 1. 62 00:03:34,150 --> 00:03:35,110 Let's do another problem. 63 00:03:35,110 --> 00:03:38,090 64 00:03:38,090 --> 00:03:40,200 Let's say I wanted to find the equation of the line between 65 00:03:40,199 --> 00:03:49,349 the points negative 3 comma 5 and 2 comma negative 6. 66 00:03:49,349 --> 00:03:51,259 Well, we do the same thing. 67 00:03:51,259 --> 00:03:55,689 m is equal to change in y over change in x. 68 00:03:55,689 --> 00:03:58,629 So let's take this as the starting point. 69 00:03:58,629 --> 00:04:01,954 So say negative 6 minus 5. 70 00:04:01,955 --> 00:04:08,300 So we just took negative 6 minus 5 over 2 71 00:04:08,300 --> 00:04:11,840 minus negative 3. 72 00:04:11,840 --> 00:04:13,650 You've got to be real careful to get the signs right. 73 00:04:13,650 --> 00:04:16,840 So it's 2 minus negative 3. 74 00:04:16,839 --> 00:04:22,484 Negative 6 minus 5 is minus 11, and 2 minus negative 3, well, 75 00:04:22,485 --> 00:04:26,350 that's the same thing as two plus plus 3, so that's 5. 76 00:04:26,350 --> 00:04:30,370 So we have the slope is equal to negative 11/5. 77 00:04:30,370 --> 00:04:35,449 And notice that if on the numerator we use negative 6 as 78 00:04:35,449 --> 00:04:37,629 the starting point, that in the denominator, we have to use 79 00:04:37,629 --> 00:04:39,939 2 as the starting point. 80 00:04:39,939 --> 00:04:41,089 We could have done it the other way around. 81 00:04:41,089 --> 00:04:48,239 We could have said 5 minus negative 6 over negative 3 82 00:04:48,240 --> 00:04:51,069 minus 2, in which case we would have gotten-- this would have 83 00:04:51,069 --> 00:04:54,569 been 11 over negative 5. 84 00:04:54,569 --> 00:04:58,305 So as long as you-- if you use the negative 6 first, then you 85 00:04:58,305 --> 00:05:00,840 have to use the 2 first, or if you use the 5 first, then 86 00:05:00,839 --> 00:05:01,884 you have to use the negative 3 first. 87 00:05:01,884 --> 00:05:04,079 I hope I'm not completely confusing you guys. 88 00:05:04,079 --> 00:05:07,500 Well, anyway, we know the slope is negative 11/5, so the 89 00:05:07,500 --> 00:05:15,680 equation of this line so far is y equals minus 11/5x plus b. 90 00:05:15,680 --> 00:05:18,410 Now we can take one of these pairs on the top and substitute 91 00:05:18,410 --> 00:05:20,090 back and solve for b. 92 00:05:20,089 --> 00:05:21,759 Let's take the first pair. 93 00:05:21,759 --> 00:05:23,389 So 5 is y. 94 00:05:23,389 --> 00:05:33,319 So we say 5 equals negative 3, so it's negative 11/5 95 00:05:33,319 --> 00:05:35,750 times negative 3, right? 96 00:05:35,750 --> 00:05:40,220 I just put the x in for x plus b. 97 00:05:40,220 --> 00:05:48,450 So just simplifying that, I get 5 is equal to 33/5 plus b, or b 98 00:05:48,449 --> 00:06:01,839 is equal to 5 minus 33/5, and this equals 25 minus 33/5. 99 00:06:01,839 --> 00:06:05,459 25 minus 33 is minus 8/5. 100 00:06:05,459 --> 00:06:07,959 101 00:06:07,959 --> 00:06:10,579 So the equation of this line, and this one wasn't as clean as 102 00:06:10,579 --> 00:06:13,339 the other one, obviously, is-- let me do it in another color 103 00:06:13,339 --> 00:06:23,799 for emphasis-- y equals minus 11/5x minus 8/5. 104 00:06:23,800 --> 00:06:26,400 105 00:06:26,399 --> 00:06:29,529 Hopefully, those two examples will give you enough of an idea 106 00:06:29,529 --> 00:06:34,569 to do the figuring out the equation of a line problems. 107 00:06:34,569 --> 00:06:36,819 And if you have problems with this, you might just want to 108 00:06:36,819 --> 00:06:39,750 try just the slope of the line problems or the y-intercept 109 00:06:39,750 --> 00:06:41,170 problems separately. 110 00:06:41,170 --> 00:06:43,160 I hope you have fun. 111 00:06:43,160 --> 00:06:44,460 Bye. 112 00:06:44,459 --> 00:06:45,432