Property
To find an equation for the line of slope m passing through the point (x1,y1), we use the point-slope formula
x−x1y−y1=m or
y−y1=m(x−x1) To Fit a Line through Two Points.
- Compute the slope between the two points.
- Substitute the slope and either point into the point-slope formula.
Examples
- To find the equation for a line with slope m=4 passing through (1,3), use the formula y−y1=m(x−x1) to get y−3=4(x−1).
- To find the equation for the line passing through (2,5) and (4,11), first calculate the slope: m=4−211−5=26=3. Then use the point-slope formula with the point (2,5): y−5=3(x−2).
- A line passes through (−2,8) with a slope of −3. To write its equation in slope-intercept form, start with point-slope: y−8=−3(x−(−2)). This becomes y−8=−3(x+2). Distribute to get y−8=−3x−6, then add 8 to both sides: y=−3x+2.
Explanation
This formula is the most direct way to write a line's equation when you have its slope and any point it passes through. It's built directly from the definition of slope, m=runrise.