Straight up
Undefined slope: vertical lines
x is fixed
Consider x = 2: every point on it has x = 2, whatever y is.
Can x = 2 be written as y = mx + d?
What this lesson covers
The idea
A vertical line, with x constant, is parallel to the y-axis and has undefined slope since the slope calculation divides by zero.
x is fixed
Consider x = 2: every point on it has x = 2, whatever y is.
Can x = 2 be written as y = mx + d?
- No: there is no way to make y depend on x
- Yes, with m = 2
- Yes, with d = 2
Try rise/run
Tap two points on x = 2 and try to compute the slope.
Undefined slope
A vertical line, with x constant, is parallel to the y-axis and has undefined slope: the slope calculation divides by zero.
For (2, −2) and (2, 4): run = 2 − 2 = 0, rise = 6, slope = 6/0, and division by 0 is undefined. So x = 2 is not of the form y = mx + d.
Notes
x = constant: a vertical line, parallel to the y-axis; the run is 0, so the slope is undefined.
Check yourself
What is the slope of the line through (−1, 0) and (−1, 7)?
Which line is vertical?
- Undefined: the run is 0 — correct. Yes: a vertical line.
- 0. Zero slope is horizontal; here the run is 0, not the rise.
- 7. 7 is the rise; we would divide by a run of 0.
- x = −3 — correct. Yes: x is constant.
- y = −3. That is horizontal.
- y = −3x. That has slope −3.