235 views
1 vote
What is the equation of the line that goes through the points (1,2) and (2,1)?

User Osahon
by
5.5k points

1 Answer

3 votes

Answer:

y = -x+3

Explanation:

We have two points so we can find the slope

m =(y2-y1)/(x2-x1)

(1-2)/(2-1)

-1/1

The slope is -1

We can use the slope intercept form of the equation

y = mx+b where m is the slope and b is the y intercept

y = -x+b

Substitute a point into the equation to find b

2 = -1 +b

Add 1 to each side

2+1 =-1+1 +b

3 =b

y = -x+3

User Craftsman
by
5.8k points