Ashley H. answered 03/16/15
Tutor
New to Wyzant
Knowledgable Math and Science Tutor -- All Grade Levels
there are two ways to go about finding the equation of the line. You can use point slope form or the y intercept form. Either are valid it just depends on what you're looking for.
For both the first atep is to find the slope of the line.
To find the slope you use the following equation:
m = (y1-y2)/(x1-x2)
(5, -1) = (x1,y1)
(-5, 9) = (x2,y2)
it does not matter which point you designate 1 or 2 as long as you are consistent. Now we find the slope.
m= (-1 - 9)/(5 - (-5) )
m = -10 / 10
m = -1
Point Slope Form is the easier way to find the equation.
point slope form is:
y - y1 = m(x - x1)
All you need for the point slope form is the slope, which we found, and a point on the line, which we also have.
now you just substitute the slope and one of the points into the equation.
(-5, 9)
y - 9 = -1(x - (-5))
y - 9 = -1(x + 5)
or
(5, -1)
y - (-1) = -1(x - 5)
y + 1 = -1(x -5)
For the y intercept form or standard form you need the slope of the line and the y intercept.
Standard form: y = mx + b
we already found the slope, m= -1
now we just need the y intercept (b).
To find b you can plug inthe slope and one point into the equation and solve for b.
I'm using the point (-5,9)
y= mx+ b
9 = (-1)(-5) + b
9 = 5 + b
4 = b
Now that we have the slope, m, and the y intercept, b, we use those to form the equation of the line.
y = mx+ b
y = -1x + 4
y = -x + 4
If you take the point slope forms that we found above and solve for y they will match the standard form equation.