Writing the equation of a line with a positive slope
About this video
The video finds which equation represents a line through (2, 2) and (8, 10). It calculates the slope 8/6 = 4/3, then uses an arbitrary point (x, y) to write equations like (y - 10)/(x - 8) = 4/3 and (y - 2)/(x - 2) = 4/3, and shows algebraically that both simplify to y = 4/3 x - 2/3.
You'll be able to
- find the slope of a line from two points as change in y over change in x.
- write an equation for a line using an arbitrary point (x, y) and a known point.
- show that equations built from different points on a line simplify to the same equation.
Key words
- slope
- Change in y divided by change in x between any two points on a line; it is the same everywhere on a line.
- delta
- The Greek letter (a triangle) used to mean 'change in', as in change in y.
- rise over run
- Another name for slope: how far up divided by how far across.
- arbitrary point
- Any point at all on the line, written as (x, y) instead of specific numbers.
Transcript
- [Instructor] So we're asked which equation represents this line? And they give us a line here and they give us two points that sit on it. And like always, pause the video and see if you can figure it out on your own before we do it together. Okay. So, before I even look at these choices, I'm actually going to try to figure out the equation of this line based on the slope.
So we have two points. We can calculate a slope between those two points. So the definition of slope is our change in y divided by change in x. Sometimes people will say rise over run, which is the same thing as change in y, Greek letter delta represents change, over change in x.
So what is our change in y? When we have a y that is at two and then we go to a y that it is at eight, or sorry, a y that is at 10. Our y value is going from two to 10. Well, we can see that we went one, two, three, four, five, six, seven, eight up. You can also see it because the difference between 10 and two is eight.
So this is change in y is equal to eight. And then when we had that change in y, what was our change in x? Well, we went from x equals two to x equals eight. Whoops. We went from x equals two to x equals eight. So this is going to be equal to positive six. And you can even count the squares.
One, two, three, four, five, six. So, our slope which is defined as change in y over change in x, or rise over run, is equal to eight over six, which we can rewrite both the numerator and the denominator is divisible by two, that's the same thing as four over three.
Now what we know about lines are, if I take any two points on this line and I were to calculate the slope, I need to get the same slope. The slope is constant throughout this line. So let's say I have some arbitrary point right over here, x,y. x,y right over here.
And x,y I could have drawn it anywhere because I'm just saying some arbitrary x and y. If I were to take the slope of between that and eight, so if I were to do something similar over here where I tried to do a, I tried to do a rise over run, I should get the same thing.
So what would be my change in y here? And I'm not going to literally try to calculate this point. I mean, you can try to look at it and say that looks like 14, but I want you to just say, let's assume this is some arbitrary x and y. Well, if you had to calculate this change in y, you would say change in y is equal to y minus 10, y minus 10.
And then what's this change in x right over here? Our change in x is going to be equal to this x, whatever this value is, minus eight. x minus eight. So here the slope is going to be y minus 10, y minus 10 over x minus eight. The slope over here. And we know that that has to equal 4/3 because we just calculated the slope of this line.
So that equals 4/3. Now do we see that as a choice anywhere over here? y minus 10 over x minus eight is equal to 4/3. y minus 10 over x minus eight is equal to 4/3. I see tens and eights, but they don't seem to be in exactly the right place. Now maybe instead of using this point, they're using this point to calculate the equation.
And to be clear, no matter how you calculate it, if you algebraically manipulate it, you should get the same thing. In fact, I'm going to show you that in a second. So let's say we wanted to calculate the slope between x,y and 2,2. Well then our slope is going to be our change in y is going to be y minus this two.
And our change in x is going to be x minus this two. And that also has to be equal to 4/3. Well, luckily we do see that choice over here. So for the sake of solving this problem, we know it is going to be B. But I want you to feel good about that this is actually the same equation as what I wrote over here.
I'll do that algebraically in a second. And I also want you to appreciate that you pick any two points on this line. In fact, we could even pick these two points all the way over here, which is I just, which is what I actually did just do. All of these triangles I drew are similar triangles.
I can dilate from one of these triangles to the other, and we could talk more about that in other videos. But let me show you what I promised, that I can manipulate both of these equations to get to the same place. So if I multiply both sides of this equation by x minus 8, I get y minus 10 is equal to four over three times x minus eight.
And then I could add 10 to both sides. I get y is equal to 4/3 x minus eight plus 10. And then this is getting a little bit messy here, but let me actually multiply out this part. Actually, let me skip this so I don't get too messy. I get y is equal to 4/3 x minus, what is this?
Four times eight is 32, minus 32 over three plus 10. And I can calculate this in a second. Let's see, this is, negative 32 over three is negative 10 and 2/3. Negative 10 and 2/3. So if I add 10 to that, I'm just left with negative 2/3. So all of this stuff before that simplifies to y is equal to 4/3 x minus 2/3.
Now let me do it with this part here and maybe I'll do it on this part of my screen so it's less messy. If I multiply both sides of this equation by x minus two, I get y minus two is equal to 4/3 times x minus two. Add two to both sides. I get y is equal to 4/3 times x minus two plus two.
Distribute this 4/3. That's equal to 4/3 x. And then 4/3 times negative two is negative 8/3 plus two. Negative 8/3 is the same thing as three and two, sorry, two and 2/3. So this is negative two and 2/3. Well, if I have negative two and 2/3 and then I add two, that adds up to negative 2/3.
So I have, this is all equal to 4/3 x minus 2/3, which is exactly what I got from that other equation. So even if they looked pretty different to begin with, they both are actually the same fundamental equation.
Video © Khan Academy, used under CC BY-NC-SA. Watch on Khan Academy. Puzzicle is not affiliated with Khan Academy.