122k views
4 votes
A line passes through (-1,5) and (1,3) which answer is the equation of the line?

A. X+2y=5
B. X+y=4
C. X+2y=7
D. X+y=2

User Israt
by
8.6k points

1 Answer

7 votes
first find the slope m of the line:
m=(y2-y1)/(x2-x1)
=(3-5)/(1-(-1))
=-2/2=-1

now you know y=-1x+b
to calculate b insert x and y of any point, like (-1,5):
y=-1x+b
5=-1*-1+b
5=1+b
4=b

-> y=-1x+4
x+y=4

which matches B. X+y=4
User Tremoloqui
by
9.5k points