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