
Mindy D. answered 10/16/21
High School/College Level Math Tutor - 20 Years of Experience!
Given two points, you can write the equation of the line that passes through them by:
1. Calculating the slope, m.
2. Using the point-slope formula to get the equation of your line.
1. First, let us calculate the slope of the line. Slope, m, is the difference in the y-values divided by the difference in the x-values. If you want to use the formula it is:
m = (y2 - y1)/(x2-x1)
Your first point contains (x1, y1) and your second point contains (x2, y2)
So, m = (1-5)/(1.5-0)
m = -4/1.5
m = -8/3 * Turn your 1.5 into a fraction, then divide.
2. Now use the Point-Slope Formula to write the equation of your line.
Point-Slope Formula:
y - y1 = m(x - x1)
Plug in the values for m, x1, and y1 and leave x and y as they are.
y - 5 = (-8/3)(x - 0)
Now, distribute on the right hand side.
y - 5 = (-8/3)x
Last, add 5 to both sides to achieve y = mx+b form and you are done!
y = (-8/3)x + 5 ✓