SOLUTION: How do I write the equation of the line that passes through point (-1,-2) with a slope of -7.

Algebra ->  Graphs -> SOLUTION: How do I write the equation of the line that passes through point (-1,-2) with a slope of -7.      Log On


   



Question 78913: How do I write the equation of the line that passes through point (-1,-2) with a slope of -7.
Answer by bucky(2189) About Me  (Show Source):
You can put this solution on YOUR website!
Given a line through the point (-1,-2) with a slope of -7. Write an equation for the line.
.
There are several ways that this can be done. One way is to use the equation:
.
m+=+%28y+-+y%5B1%5D%29%2F%28x+-+x%5B1%5D%29
.
in which m is the slope and the values of x%5B1%5D and y%5B1%5D come from the x and y
values of the point you were given. Substituting those values gives you the equation:
.
-7+=+%28y+-+%28-2%29%29%2F%28x+-+%28-1%29%29
.
This simplifies to:
.
-7+=+%28y++%2B+2%29%2F%28x+%2B+1%29
.
and that is one form of an equation for the line.
.
Another way you can do it is to use the slope-intercept form of an equation. The slope
intercept form is:
.
y+=+mx+%2B+b
.
where m is the slope of the line and b is the value where the graph crosses the y axis.
In this case you were told that the slope was -7. So you can substitute that value for
m in the slope intercept form to get:
.
y+=+-7x+%2B+b
.
From the point you were given on the graph you know that the equation is true when
x = -1 and y = -2. Substitute those two values into the slope intercept form and you
get:
.
-2+=+-7%28-1%29+%2B+b
.
by doing the multiplication on the right side this equation becomes:
.
-2+=+7+%2B+b
.
Subtract 7 from both sides and you have solved for b. When you do that subtraction
you get:
.
-2+-+7+=+b
.
which simplifies to b+=+-9
.
Return to the slope intercept form we were working on:
.
y+=+-7x+%2B+b
.
and substitute -9 for b to get:
.
y+=+-7x+-9
.
and this also is an equation for the graph you were given. Believe it or not, if you
take our first answer and manipulate it around, you can work it into this same answer of
.
y+=+-7x+-9
.
Hope this helps you to understand a couple of ways to get the equation of a line when you
are given the slope of the line and a point on the line.