
Kathleen C. answered 04/19/17
Experienced Math Fellows Alumna Specializing in Algebra and ACT
We'll start with slope, often described as "rise over run." This just means you calculate it by dividing the vertical change on the y-axis ("rise") by the horizontal change on the x-axis ("run"). To get from point (-2,5) to (3,-4), you'll have a "rise" of -9 units (the difference between your y coordinates) and a "run" of 5 units (the difference between your x coordinates). Rise/run = slope = -9/5.
If we plug that into the slope-intercept formula, we get y=(-9/5)x+b. Remember that we also have, not one, but two sets of x- and y- coordinates, which can be plugged right back into this formula. If we try it with the first set, (-2,5), the equation of our line becomes 5=(-9/5)*(-2)+b.
5=(-9/5)*(-2)+b
5=(18/5)+b
(25/5)-(18/5)=b
7/5=b
Now we have our y-intercept to plug into the equation, which becomes: 5=(-9/5)*(-2)+(7/5).
To check that it works for more than just that ordered pair, swap in the second pair of coordinates we were given, (3,-4), but leave the slope and y-intercept values unchanged. The equation becomes -4=(-9/5)*(3)+(7/5). But is that true?
-4=(-9/5)*(3)+(7/5)
-4=(-27/5)+(7/5)
-4=(-20/5)
-4=-4
The equation is true! Now we know that the slope and y-intercept values will work for any ordered pair of coordinates on that line. So, the equation defining the line is: