Find the slope of a line that passes through the points $(2,0)$ and $(2,3)$.

Solution:We will find the slope of the line using the formula
$m=\frac{y_{2}-y_{1}}{x_{2}-x_{1}}$
$m=\frac{3-(0)}{2-2}=\frac{3}{0}$
The graph shows us that it is a vertical line, in this type of line its $x$
coordinate is a constant.
The equation of a vertical line is a special
equation determined as
$x=x_{0}$ where $x_0$ is the constant value of $x$ for all
points of this line. In this special type of line we say that its
slope is infinite, due to the relation between the slope and its angle of
inclination with respect to the positive direction
of the $x$-axis, $m=tan(90^{\circ})=\infty$
Thus, the slope of this vertical line is infinite.
