Graphing Vertical Lines
To graph a vertical line in the standard coordinate system, use the equation where gives the point on the -axis that the line will intersect.
Why This Occurs
Suppose we want a vertical line that passes through In addition to that point, the line will pass through
and in general for any real number the graph will pass through
This means the -coordinate can vary to any real number, so it doesn't get fixed at all and doesn't need to appear in the vertical line equation. on the other hand must always be 5, giving an equation of
The Slope of a Vertical Line
Note that if we attempt to use a more traditional format, like the slope-intercept form we won't be able to form a vertical line. While the slope of could be made very large so a graphing utility makes a line look vertical, an actual vertical line has a slope that is undefined. If we think in terms of the "run" of a vertical line must be zero; but this would cause division by zero, which is an impossible operation.
Note this is different from the slope of a horizontal line, which is 0. This would indicate a "rise" of 0. 0 in the numerator is fine: 0 divided by a real number (other than 0) is still 0. It's only division by zero that is prohibited.
True or False: All vertical lines have a slope (rate of change) of 0.
Suppose instead of graphing a line as (where is the slope and is the -intercept) we graphed it as (Incidentally, this allows graphing vertical lines in the format.)
What is the relationship between and