Find the slope of the line that passes through the points [tex](2,0)[/tex] and [tex](2,3)[/tex].

Solution:We use the slope formula [tex]m=\frac{y_{2}-y_{1}}{x_{2}-x_{1}}[/tex]
[tex]m=\frac{3-0}{2-2}=\frac{3}{0}[/tex]
Division by zero is not defined, so the slope cannot be calculated.
Both points have the same [tex]x[/tex]-coordinate, so the line is vertical and its equation is [tex]x=2[/tex].
A vertical line makes a [tex]90^{\circ}[/tex] angle with the [tex]x[/tex]-axis, and [tex]\tan 90^{\circ}[/tex] is not defined.
Thus, the slope of a vertical line is undefined.
