Good question. They have infinite slopes.
Incidentally, vertical lines are not functions in the formal sense. One x value is mapped on to an infinite number of y values. A function requires that each x maps on to only one y value.
Chat with our AI personalities
The slope of a vertical line is undefined. This is because the slope is the rise divided by the run and a vertical line has a run of 0. Since we cannot divide by zero, the slope is undefined.
if the slope is 0, the line is horizontal.
Vertical lines always have an undefined slope. Slope for y = f(x) is given by :slope = dy/dxdx is zero at any point along a vertical line, making the slope undefined along a vertical line.
The slope of a vertical line is undefined and so there cannot be a slope-intercept form of the equation.
A slope is 0 if it is a straight horizontal line. A slope is undefined if it is a straight vertical line.
The slope of a horizontal line is zero. It has a slope, but slope = 0 and this makes it different from a vertical line which has a slope that is undefined because you cannot divide 0 over 0 which is how much a vertical line rises and runs.Ways to find slope:(y2-y1)/(x2-x1 )orrise/run