# What is the slope of the line passing through the following points: (-2, -1), (-1,1) ?

Apr 8, 2018

The slope is $2$.

Here's how I did it:

#### Explanation:

To find the slope of a line from two points, we use the formula $\left(\text{change in y")/("change in x}\right)$ or $\frac{{y}_{2} - {y}_{1}}{{x}_{2} - {x}_{1}}$.

So let's plug in those two points we have (pay attention to the negative signs!):
$\frac{1 - \left(- 1\right)}{- 1 - \left(- 2\right)}$

And now let's simplify:
$\frac{2}{- 1 + 2}$

$\frac{2}{1}$

$2$

The slope is $2$.