Horizontal and Vertical Line Slopes
Distinguish zero slope from undefined slope. Connect horizontal and vertical lines to their equations.
5 min · Expressions and equations · Foundations
Learning goals
- Distinguish zero slope from undefined slope.
- Connect horizontal and vertical lines to their equations.
Understand the concept
Slope is the change in y divided by the change in x between two distinct points. On a horizontal line, y is constant, so the numerator is zero and the denominator is nonzero. Its slope is zero and its equation is y = c.
On a vertical line, x is constant, so the denominator is zero. Its slope is undefined, not zero or a real number called infinity. Its equation is x = c. A vertical line is not the graph of a function y of x, because one x has multiple y values.
The points (−2, 5) and (3, 5) give slope (5 − 5)/(3 − (−2)) = 0. Their line is y = 5.
The points (4, −1) and (4, 7) give (7 − (−1))/(4 − 4) = 8/0. The slope is undefined and the line is x = 4.
Check your understanding
UNVRST English edition · Educational support · Editorial policy