Question: is an undefined slope horizontal or vertical?
Answer: The slope of a line can be positive, negative, zero, or undefined. A horizontal line has slope zero since it does not rise vertically (i.e. y1 − y2 = 0), while a vertical line has undefined slope since it does not run horizontally (i.e. x1 − x2 = 0). because division by zero is an undefined operation.