# How do you find the slope given (2, –5) and (2, 0)?

Apr 3, 2018

Its slope is $m = \infty$

#### Explanation:

Given -

(2, -5); (2,0)

The equation of this line is $x = 2$
It is vertical to x-axis and parallel to y-axis.
Hence its slope is $m = \infty$

${x}_{1} = 2$
${y}_{1} = - 5$
${x}_{2} = 2$
${y}_{2} = 0$

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