# Write an equation of a line that passes through the points (0,5) and (45,-220)

neela | Student

The equation of the line passing through the two points (x1,y1) and (x2, y2) is given by:

y-y1 = {(y2-y1)/(x2-x1)} (x-x1).

So the equation of the line passing through the given points (0,5) and (45,-225) is:

y- 5 = {(-220-5)/(45-0))(x-0)

y-5 = (-225/45)x

y-5 = -5x.

5x+y -5 = 0.

So the equation of the line is 5x+y-5 = 0.

giorgiana1976 | Student

We'll write the formula of the equation of the line that is passing through 2 given points:

(x2 - x1)/(x - x1) = (y2 - y1)/(y - y1)

We'll identify x1 = 0, x2 = 45, y1 = 5 and y2 = -220. We'll substitute them into the formula above:

(45 - 0)/(x - 0) = (-220 - 5)/(y - 5)

45/x = -225/(y-5)

We'll divide both sides by 45:

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

We'll cross multiply and we'll get:

-5x = y - 5

We'll move all terms to the right side and we'll use symmetric property:

5x + y - 5 = 0

The equation of the lines that is passing through the given points is: 5x + y - 5 = 0.