## Elementary Algebra

Slope is defined as the equation $\frac{\text{change in}\:y}{\text{change in}\:x}$. If a line is vertical, that means that it's $x$ value is constant, and has no change. When we go to calculate slope, we have a $0$ in the denominator, which makes the slope undefined.