Undefined Slope

Algebra

Undefined slope describes a vertical line where the horizontal change is zero, making the slope calculation a division by zero.

Formula

\text{run} = 0 \text{ (division by zero)}

Definition

A vertical line has an undefined slope. It goes straight up and down. You can't calculate the slope because the "run" is zero, and you can't divide by zero.

Example

$x = 3$ is a vertical line. All points on it have $x = 3$: $(3, 0)$, $(3, 5)$, $(3, -2)$. The rise is different between points, but the run is always $0$.

Key Insight

An undefined slope means the line is perfectly vertical, like a wall or a cliff. It has an x-intercept but no slope you can calculate.

Definition

Undefined slope occurs when the denominator of the slope formula $(x_2 - x_1)$ equals zero, which happens for any vertical line $x = c$. Vertical lines cannot be written in $y = mx + b$ form (no slope-intercept form applies). Their equation is simply $x = c$.

Example

Points $(4, 1)$ and $(4, 9)$ are on $x = 4$. Slope attempt: $(9-1)/(4-4) = 8/0$, which is undefined. The line rises infinitely for zero horizontal change.

Key Insight

Undefined slope and zero slope are easy to confuse. Zero slope = horizontal ($y =$ constant). Undefined slope = vertical ($x =$ constant). One has a y-intercept only; the other has an x-intercept only.

Definition

A vertical line $x = c$ has no slope in the real number system because the difference quotient $(y_2 - y_1)/(x_2 - x_1)$ involves division by zero. Algebraically, vertical lines are not functions (they fail the vertical line test). In projective geometry, the slope of a vertical line can be treated as the point at infinity in the direction $(0:1:0)$ on the projective line.

Example

In the extended real number system, the limit of $m$ as a line approaches vertical is $+\infty$ or $-\infty$ depending on the direction of approach. $\tan(90^\circ)$ is undefined in standard reals, corresponding to a vertical line.

Key Insight

The undefined slope is a reminder that slope is a property of functions, and vertical lines are not functions. This connects to the definition of function and the vertical line test, foundational concepts throughout algebra.