99.1k views
1 vote
What is the equation of the line that passes through 1,4 and 2,1

User TechyDude
by
5.2k points

1 Answer

2 votes

Answer:

y = -3x + 7

Explanation:

The equation of a line

y = mx + c

y - intercept point y

m - slope of the line

x - intercept point x

c - intercept point of the line

Step 1: find the slope

m = y2 - y1 / x2 - x1

Given two points

( 1 , 4) ( 2 , 1)

x1 = 1

y1 = 4

x2 = 2

y2 = 1

insert the values

m = 1 - 4 / 2 - 1

m = -3/1

m = -3

y = -3x + c

Step 2: substitute any of the two points given into the equation of a line

y = -3x + c

( 1 ,4)

x = 1

y = 4

4 = -3(1) + c

4 = -3 + c

4 + 3 = c

c = 7

Step 3: sub c into the equation

y = -3x + 7

The equation of the line is

y = -3x + 7

User Ranbir
by
6.1k points