SOLUTION: I have to take a placement test for college for Algebra and the question I am having problems with is this . . . "What is the equation of the line that contains the points with (x,

Algebra ->  Linear-equations -> SOLUTION: I have to take a placement test for college for Algebra and the question I am having problems with is this . . . "What is the equation of the line that contains the points with (x,      Log On


   



Question 6477: I have to take a placement test for college for Algebra and the question I am having problems with is this . . . "What is the equation of the line that contains the points with (x,y) coordinates (-3,7) and (5,-1)? I know that the answer to the problem is y = -x+4. I cannot remember from High School which formula to use to solve the problem. Please help. Thank You!
J from Georgia

Answer by rapaljer(4671) About Me  (Show Source):
You can put this solution on YOUR website!
First step is to find the slope between the two points.
m=%28y%5B2%5D+-+y%5B1%5D%29%2F%28x%5B2%5D-x%5B1%5D%29

In this case,
m=%28-1-7%29%2F%285-%28-3%29%29=+%28-8%29%2F8+=+-1

There are two ways to find the equation of a line given a point and a slope. This may NOT be the way you learned it, but I think the easiest way is to write the formula y+=+mx%2Bb, which contains a total of 4 unknowns: y, x, m, and b, of which you know three of them--all but b, which you will need to find. You know that m = -1, and you know a point (choose either point, say the first point): x=-3 and y=7. So substitute all three numbers into the equation:

y=mx%2Bb
7+=%28-1%29%2A%28-3%29+%2B+b

and solve for b:
7+=+3+%2B+b
4+=+b

So the equation of the line is
y=mx%2Bb where x and y are variables and m= -1 and y = 4:
y+=+-x+%2B+4+