Explain why vertical lines have undefined slope.
Solution:-
When calculating the slope of a line, you find the change in y-coordinates divided by the change in x-coordinates. For a vertical line, the x-coordinates are constant with no change. Therefore, when you subtract their values, the difference is zero. In a fraction any number divided by zero is considered undefined. That means the slope of a vertical line is undefined.