220k views
4 votes
Write the equation of the line passing through points ( -2,-5) and (1,1)

1 Answer

3 votes

Answer:

The equation of the line is:


y=2x-1

Explanation:

Given the points

  • (-2, -5)
  • (1, 1)

Finding the slope between the points


\mathrm{Slope}=(y_2-y_1)/(x_2-x_1)


\left(x_1,\:y_1\right)=\left(-2,\:-5\right),\:\left(x_2,\:y_2\right)=\left(1,\:1\right)


m=(1-\left(-5\right))/(1-\left(-2\right))


m=2

We know the slope-intercept form of the line equation


y=mx+b

where m is the slope and b is the slope-intercept form

substituting the value m=2 and the point (-2, -5) to find the b-intercept


y=mx+b

-5 = 2(-2) + b

b = -5+4

b = -1

Now, substituting m=2 and b=-1 in the slope-intercept form to get the equation of a line

y=mx+b

y=2x+(-1)

y=2x-1

Thus, the equation of the line is:


y=2x-1

User Naudster
by
7.3k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.