An undefined slope occurs when a line is perfectly vertical. In such cases, the “run” (horizontal change) is zero, which makes the slope impossible to calculate mathematically.
Vertical lines:
An undefined slope occurs when a line is perfectly vertical. In such cases, the “run” (horizontal change) is zero, which makes the slope impossible to calculate mathematically.
Vertical lines: