Property
They are really the same formula, but they are used for different purposes:
- We use the slope formula to calculate the slope of a line when we know two points on the line. That is, we know (x1,y1) and (x2,y2), and we are looking for m. The slope formula is m=x2−x1y2−y1.
- We use the point-slope formula to find the equation of a line. That is, we know (x1,y1) and m, and we are looking for an equation like y=mx+b. The point-slope formula is m=x−x1y−y1.
Examples
- To find the slope of a line passing through (3,6) and (5,12), use the slope formula: m=5−312−6=26=3.
- A line has a slope of 5 and passes through (−1,4). To find its equation, use the point-slope formula: y−4=5(x−(−1)), which simplifies to y=5x+9.
- To find the equation of a line through (2,1) and (4,7), first find the slope m=4−27−1=3. Then use the point-slope formula with (2,1): y−1=3(x−2).
Explanation
The slope formula finds the value of the slope, m, using two known points. The point-slope formula uses that slope and one point to build the entire equation of the line. Think of it as finding the tool, then using the tool.