SOLUTION: I am trying to write an equation in slope-intercept form. I know how to find the slope if I am given 2 points, but once I have the slope, I don't know how to find the y intercept.

Algebra ->  Linear-equations -> SOLUTION: I am trying to write an equation in slope-intercept form. I know how to find the slope if I am given 2 points, but once I have the slope, I don't know how to find the y intercept.       Log On


   



Question 113006: I am trying to write an equation in slope-intercept form. I know how to find the slope if I am given 2 points, but once I have the slope, I don't know how to find the y intercept. I am using a this form (((y=mx+b))) How do I find b?
Answer by Earlsdon(6294) About Me  (Show Source):
You can put this solution on YOUR website!
It's probably better to show you with an example:
Write the equation, in slope-intercept form, of the line passing through the two points (2, -5) and (4, 7).
Starting with the general form y = mx + b, you can first find the slope, m.
m+=+%28y%5B2%5D-y%5B1%5D%29%2F%28x%5B2%5D-x%5B1%5D%29
m+=+%287-%28-5%29%29%2F%284-2%29
m+=+12%2F2
m+=+6
So now you have:
y+=+6x%2Bb To find the value of b, the y-intercept, you substitute the x and y of this equation with the x and y of either one of the two given points and solve for b. We'll use the first point (2, -5), so x = 2 and y = -5
-5+=+6%282%29%2Bb
-5+=+12%2Bb Subtract 12 from both sides.
-17+=+b
The final equation is:
y+=+6x-17