# How do you find the slope of (2,4) and (1,2)?

Jun 6, 2018

Slope of a line through the given points is $2$.

#### Explanation:

The slope of a line that passes through these two points is:

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

We are given:

$\left({x}_{1} , {y}_{1}\right) = \left(2 , 4\right)$

and

$\left({x}_{2} , {y}_{2}\right) = \left(1 , 2\right)$

We get

$m = \frac{2 - 4}{1 - 2} = \frac{- 2}{- 1} = 2$