The slope of a line is given by the formula $m = \frac{y_2 - y_1}{x_2 - x_1}$. Let's assume the coordinates of points A and B are $(x_1, y_1)$ and $(x_2, y_2)$ respectively. So, the slope of $\overline{AB}$ is $\frac{y_2 - y_1}{x_2 - x_1}$.
Show more…