# How do you find the slope of the line containing the indicated points: ( -2, 8) and ( -2, -1)?

The general expression for the slope of the line containing two points $\left({x}_{1} , {y}_{1}\right)$ and $\left({x}_{2} , {y}_{2}\right)$ is $\frac{{y}_{2} - {y}_{1}}{{x}_{2} - {x}_{1}}$
However in the case the $x$ coordinate of both points is the same, so the denominator in this expression would be zero and the slope is infinite/undefined.