# How do you find the slope given (-2,1), (2,21)?

Mar 24, 2018

The slope is $5$

#### Explanation:

To find the slope using two points, divide the difference of the y-coordinates by the difference of the x-coordinates

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

In this case, ${y}_{2}$ would be 21, ${y}_{1}$ would be 1, ${x}_{2}$ would be 2, and ${x}_{1}$ would be -2

$\frac{21 - 1}{2 - \left(- 2\right)}$

$\frac{20}{2 + 2}$

$\frac{20}{4}$

$5 \rightarrow$ This is the slope