If slope is undefined, then you must be dividing by zero. So , or . That is, all x-coordinates have the same value. All the points on a vertical line have the same x-coordinate.