# How do you find the slope for x-5 = 0?

Jun 10, 2015

The slope of $x - 5 = 0$ is "undefined".

#### Explanation:

$x - 5 = 0$
or equivalently $x = 5$
is a vertical line.

Slope for any two points $\left({x}_{1} , {y}_{1}\right) \mathmr{and} \left({x}_{2} , {y}_{2}\right)$ is defined as
$\frac{{y}_{2} - {y}_{1}}{{x}_{2} - {x}_{1}}$

${x}_{2} \mathmr{and} {x}_{1}$ must both be $= 5$ based on the equation
so any attempt to evaluate the slope results in an attempt to divide by zero.

$x - 5 = 0$ is a vertical line