197k views
0 votes
Find the equation of the line passing through the points whose coordinates are p1(0,2) and p2(-5,-1).

2 Answers

7 votes

we have given a line
P_(1) P_(2)

we need to find the equation of line we need find slope of line

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

we know that x1=0 x2=-5 y1=2 and y2=-1


image

we know that equation of straight line is y=mx+b

.we need to choose any of our points.

we are taking (0,2) because it doesnt have any negative.

equation of line with one point form

y-y1=m(x-x1)

y-2=-1/5(x-0)

y=-1/5x+2 which is the required equation of line.

User Chucklukowski
by
6.2k points
5 votes

Here we have two points given which are

p1 (0,2) and p2(-5,-1) .

Since in p1, when x=0, y=2, so the y intercept, b is 2 .

Now we need to find the slope and for that we use the slope intercept form, which is


m = (y_(2)-y_(1))/(x_(2)-x_(1))


m = {-1-2}{-5-0} = (-3)/(-5) = (3)/(5)

So we have slope, m =3/5 and y intercept, b =2

Now we use the slope intercept form which is y =mx+b and substitute the values of m and b. And on doing so , we will get


y = (3)/(5)x +2

User Bjarne Mogstad
by
5.7k points