Property
The slope of the line joining points P1β(x1β,y1β) and P2β(x2β,y2β) is
m=x2ββx1βy2ββy1ββifx2βξ =x1β Examples
- To find the slope of the line through (1,2) and (4,8), we let (x1β,y1β)=(1,2) and (x2β,y2β)=(4,8). The slope is m=4β18β2β=36β=2.
- The slope of the line containing points (β2,5) and (3,β5) is calculated as m=3β(β2)β5β5β=5β10β=β2.
- For the points (5,β3) and (β1,β1), the slope is m=β1β5β1β(β3)β=β62β=β31β. It doesn't matter which point you choose as first or second.
Explanation
This formula is a precise way to calculate 'rise over run.' It finds the vertical change (the 'rise,' y2ββy1β) and divides it by the horizontal change (the 'run,' x2ββx1β) between any two points on a line.