# How do I find the slope of the line which passes through the points (0, -5) and (-5, 12)?

Mar 2, 2018

The slope is $- \frac{17}{5}$.

#### Explanation:

The slope of a line passing through points $\left({x}_{1} , {y}_{1}\right)$ and $\left({x}_{2} , {y}_{2}\right)$ is defined as:

$m = \frac{{y}_{2} - {y}_{1}}{{x}_{2} - {x}_{1}}$

if the $x$ coordinates are not equal. The slope is not defined if the $x$ coordinates are equal because that would require dividing by zero.

Here:

$\left({x}_{1} , {y}_{1}\right) = \left(0 , - 5\right)$

$\left({x}_{2} , {y}_{2}\right) = \left(- 5 , 12\right)$

and then:

$m = \frac{{y}_{2} - {y}_{1}}{{x}_{2} - {x}_{1}} = \frac{12 - \left(- 5\right)}{- 5 - 0} = - \frac{17}{5}$