when is it undefined slope?
A vertical line has undefined, or infinite, slope. If you attempt to find the slope using rise over run or any other slope formula, you will get a 0 in the denominator. Since division by 0 is undefined, the slope of the line is undefined. The equation of a line with undefined slope will look like x = 'something.