Question: why is slope undefined for a vertical line?
Answer: The slope of a vertical line does not exist! We can't divide by zero, which is of course why this slope value is "undefined". ... (By the way, all vertical lines are of the form "x = some number", and "x = some number" means the line is vertical.