Calculate the slope of a line between two points with detailed step-by-step solutions
The slope of a line is a measure of how steep the line is. It represents the rate of change between two points on a line, calculated as the ratio of the vertical change (rise) to the horizontal change (run).
m = (y₂ - y₁) / (x₂ - x₁)
Where m is the slope, and (x₁,y₁) and (x₂,y₂) are two points on the line.
Line rises from left to right (m > 0)
Line falls from left to right (m < 0)
Horizontal line (m = 0)
Vertical line (division by zero)