# How do you find the slope of the line passing through the points (0, 5) and (-2, -1)?

Jan 23, 2016

$y = 3 x + 5$

#### Explanation:

The equation of line is:
$y = m x + b$
where:
$m = \frac{{y}_{2} - {y}_{1}}{{x}_{2} - {x}_{1}} = \frac{5 - \left(- 1\right)}{0 - \left(- 2\right)} = \frac{6}{2} = 3$
Note it is evident that b = 5; Why?

Now we know then: $y = 3 x + b$
Pick any point say (0,5); y = 3(0) + 5; b = 5