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.
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
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.